66d903c209
cpu/nrf5x: move dependencies to Makefile.dep
2020-01-28 13:18:39 +01:00
3222621423
cpu/nrf5x_common: fix typos
2019-11-23 22:39:36 +01:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Yegor Yefremov
fa3b0ff04b
doxygen/SPI: don't include overridden typedefs
...
Add missing #ifndefs to overridden SPI typedefs.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-15 10:35:32 +01:00
Hauke Petersen
4bf14822cb
nrf5x: move nimble_ble feat. to cpu
2019-11-13 13:43:55 +01:00
Martine Lenders
14a2f6bc18
gnrc: use gnrc_netif_default_init() for all implementations
2019-11-07 11:00:36 +01:00
Gaëtan Harter
4b93f27d83
cpu: use makefiles/utils uppercase
...
Convert the variables to uppercase using the 'makefiles/utils' function.
2019-09-30 17:25:24 +02:00
Hauke Petersen
982d730adf
cpu/nrf5x: decelare radio_nrfble feat for all nrfs
2019-09-27 10:00:06 +02:00
40619d18ca
cpu/nrf5x_common: implement periph_wdt driver
2019-09-20 20:45:42 +02:00
Sebastian Meiling
af529531a4
cpu/nrf5x: adapt timer to return 0 on success
...
Adapt periph/timer implementation of nrf5x based MCUs
to return 0 on success for all functions.
2019-09-11 13:51:53 +02:00
Marian Buschsieweke
b87ab96d17
Merge pull request #10661 from miri64/gnrc_netif_hdr/enh/netif_setter
...
gnrc_netif_hdr: add setter for netif
2019-09-10 16:14:28 +02:00
benpicco
1ffe2e5e30
Merge pull request #11512 from skullbox305/cpu-nrf5x
...
cpu/nrf52: i2c bugfix
2019-09-03 18:43:38 +02:00
Martine Lenders
92a8e5d0ee
nrfmin_gnrc: use gnrc_netif_hdr_set_netif()
2019-08-29 14:51:44 +02:00
Gaëtan Harter
1be5b7b10b
cpu: do not locally export compilation variables
...
These are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:53 +02:00
Hauke Petersen
cc5f2cae20
cpu/nrf5x: fix bitrate doc for nrfmin driver
2019-08-14 11:15:08 +02:00
fjmolinas
254934dfa6
cpu/nrf5x_common: add flashpage_raw_support
2019-08-05 17:45:14 +02:00
PeterKietzmann
7ee9905fa6
cpu/nrf5x_common: map hwrng to SoC library if SoftDevice is present
2019-07-04 12:12:28 +02:00
81df812c5b
nrf5x: Add UART modecfg feature implementation
2019-06-28 09:56:40 +02:00
smlng
2de4b3011b
periph_common: add as dependency to periph drivers
...
Rational: the periph_common module is required by (most) other periph drivers
and also during startup of the CPU/MCU to run periph_init. The latter is only
required if other periph drivers are used, hence periph_common should be a
depency of periph_* modules and *not* of the CPU/MCU. This PR fixes that
by making periph_common a depency of periph_* and removing the explicit
include in the CPU/MCU implementation.
2019-06-03 13:44:10 +02:00
Semjon Kerner
65b709aaa7
cpu/nrf5x/radio/nrfmin: apply errata workaround
2019-05-15 14:49:42 +02:00
Semjon Kerner
22b5f8a41a
cpu/nrf5x/radio/nrfmin: wait for state transition
2019-05-15 14:49:42 +02:00
Semjon Kerner
1954807309
cpu/nrf5x/radio/nrfmin: explicit test for power mode
2019-05-15 12:32:14 +02:00
Igor Knippenberg
dbd8c2774f
cpu/nrf52: i2c bugfix
2019-05-13 11:32:57 +02:00
Semjon Kerner
f8873c31ff
cpu/nrf5x/nrfmin: fix isr termination
2019-04-15 13:15:49 +02:00
Hauke Petersen
91057de140
cpu/nrf52840: fix UART DMA when data is in ROM
2019-03-13 13:05:36 +01:00
a142286d8d
cpu/nrf5x_common: add temperature periph driver
2019-03-08 21:14:21 +01:00
Marian Buschsieweke
646a7b79c8
cpu/nrf5x_common: Use NETOPT_MAX_DPU_SIZE
...
Updated nrfmin to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:18:52 +01:00
smlng
6183d5f5c5
netdev: remove layer2 netstats from netdev drivers
...
Removing usage of netdev->stats in all net drivers, as it is
handled by gnrc_netif.
2019-02-01 11:25:27 +02:00
Hauke Petersen
93e7d88f75
cpu/nrf5x: reworked and fixed UART driver
2019-01-25 15:52:25 +01:00
cb8c2b759e
cpu/nrf52: use UARTE device type for nrf52840
...
This requires to implement the use of EasyDMA for this kind of peripheral
2019-01-25 15:52:25 +01:00
336851e3bc
cpu/nrf52: add uart flow control on nrf52840
2019-01-25 15:51:50 +01:00
8e8f48f75e
cpu/nrf52: add multi UART support for nrf52840
2019-01-25 15:51:49 +01:00
73fa699192
cpu/nrf5x: handle multiple exti pins in gpio driver
...
Each pin is associated to a given GPIOTE channel
2019-01-22 16:47:34 +01:00
Martine Lenders
4e53f0fa76
nrfmin: fix type for NETOPT_PROTO
...
The type [is documented as `gnrc_nettype_t`][1] so it should by checked
as such.
[1]: f9a3bdf1a7/sys/include/net/netopt.h (L210-L212)
2019-01-18 18:14:00 +01:00
Martine Lenders
bd08ea1409
nrfmin: remove long address support
...
The driver is claiming it is needed for IPv6 / 6LoWPAN support, which
is not true (the long address is never used for NRFMIN in fact) and
this assumption actually leads to an assertion when compiled as with
the `gnrc_border_router` example.
2019-01-16 14:59:28 +01:00
220d16dc07
cpu/nrf5x: move periph_gpio features to common cpu level
2018-12-18 21:32:46 +01:00
Semjon Kerner
ee3ef1927d
cpu/nrf5x: fix event hang
2018-11-14 12:48:32 +01:00
Hauke Petersen
86b4a41466
Merge pull request #10158 from silkeh/fix-nrf5x-gpio
...
nrf5x_common: gpio: fix port 1 functionality
2018-10-17 17:17:46 +02:00
Silke Hofstra
58e39da255
nrf5x_common: gpio: fix port 1 functionality
...
Pins on GPIO port 1 were not correctly set.
This is resolved by using the (previously unused) pin_num function.
2018-10-12 18:12:22 +02:00
Silke Hofstra
8efeb4a4f1
Revert "Merge pull request #9699 from miri64/nrf5x_common/fix/gpio-unused-function"
...
This reverts commit 2d10390b56
, reversing
changes made to 2f480efb60
.
2018-10-12 17:46:43 +02:00
Martine Lenders
67122b51f3
nrf5x_common: mark closing #endif for MODULE_PERIPH_GPIO_IRQ
2018-10-09 15:11:00 +02:00
Hauke Petersen
2267499873
cpu/nrf5x/gpio: use periph_gpio_irq feature
2018-09-21 09:19:08 +02:00
Semjon Kerner
2063e98b13
cpu/nrf52: initial PWM implementation
2018-08-21 11:28:23 +02:00
MichelRottleuthner
43e65ff5c8
Merge pull request #9500 from PeterKietzmann/pr_puf_nrfx
...
cpu/nrf5x_common: add PUF SRAM feature to makefile
2018-08-06 13:06:33 +02:00
Martine Lenders
1ca6df3313
nrf5x_common: gpio: remove unused pin_num() function
...
This came up when compiling an application for an NRF5x-based board
with LLVM/clang. The function does not seem to be used throughout the
file so I just removed it.
2018-08-03 16:09:38 +02:00
PeterKietzmann
d36f228b24
cpu/nrf5x_common: add PUF SRAM feature to makefile
2018-07-05 11:17:30 +02:00
Hauke Petersen
e99010ac3e
cpu/nrf5x: include nrfx.h compatibility header
2018-06-06 13:52:57 +02:00
Hauke Petersen
9815697b3e
cpu/nrf5x: define nrfmin feature in nrf5x_common
2018-05-04 13:47:46 +02:00
Hauke Petersen
a92b577bc1
cpu/nrf5x: added nrfble radio driver
2018-04-06 11:18:53 +02:00
Vincent Dupont
b40249153d
cpu/nrf5x: use const pointer in flashpage
2018-03-14 16:28:33 +01:00
23b414b732
drivers: net: adapt to iolist-using netdev
2018-03-06 14:00:31 +01:00
Martine Lenders
851eb767be
gnrc_netif: set-up 6Lo for NRFmin
2018-01-18 13:00:25 +01:00
Martine Lenders
39c122155c
Merge pull request #7995 from smlng/make/fix/unused_params
...
make: fix unused-params error
2017-11-28 14:46:23 +01:00
smlng
7309171303
build: fix unused parameter errors
...
cpu, sam0_common: fix unused parameter in periph/spi
cpu, kinetis_common: fix unused parameter in periph/spi
cpu, cc2538: fix unused param in periph/i2c
cpu, cc2538: fix unused param in periph/spi
cpu, sam3: fix unused param in periph/spi
cpu, stm32_common: fix unused param in periph/pm
cpu, stm32f3: fix unused params in periph/i2c
cpu, nrf5x_common: fix unused param in periph/gpio
cpu, nrf5x_common: fix unused param in periph/spi
cpu, lpc2387: fix unused params in periph/spi
cpu, cc2538: fix unused params in radio/netdev
cpu, cc2650: fix unused params in periph/uart
cpu, lm4f120: fix unused param in periph/spi
cpu, lm4f120: fix unused params in periph/timer
cpu, lm4f120: fix unused params in periph/uart
cpu, stm32_common: fix unused params in periph/dac
cpu, stm32l0: fix unused params in periph/i2c
cpu, msp430fxyz: fix unused params in periph/uart
cpu, mips: fix unused params
cpu, cc430: fix unused-params in periph/timer
cpu, msp430fxyz: fix unused params in periph/spi
drivers, cc2420: fix unused param
cpu, mips32r2_common: fix unused params in periph/timer
cpu, cc2538: fix unused-param in periph/i2c
cpu, mips32r2_common: fix unused-param in periph/timer
cpu, msp430fxyz: fix unused params in periph/timer
cpu, atmega_common: fix unused params in periph/spi
driver, nrfmin: fix unused params
cpu, cc2538_rf: fix unused params
driver, netdev_ieee802514: fix unused param
cpu, mip_pic32m: fix unused params
cpu, lpc2387: fix unused params in periph/pwm
tests/driver_sdcard_spi: fix unused params
cpu, sam3: fix unused param in periph/pwm
tests/driver_dynamixel: fix unused params, and style issues
cpu, cc430: fix unused param in periph/rtc
cpu, atmega_common: fix unused params in periph/i2c
2017-11-28 14:36:01 +01:00
smlng
e381317fbf
make: fix sign-compare errors
...
cpu, nrf5x_common: fix sign-compare in periph/flashpage
drivers, periph_common: fix sign-compare in flashpage
cpu, sam0_common: fix sign-compare error in periph/gpio
cpu, cc2538: fix sign-compare in periph/timer
cpu, sam3: fix sign-compare in periph/gpio
cpu, stm32_common: fix sign-compare in periph/pwm
cpu, stm32_common: fix sign-compare in periph/timer
cpu, stm32_common: fix sign-compare in periph/flashpage
cpu, nrf5x_common: fix sign-compare in radio/nrfmin
cpu, samd21: fix sign-compare in periph/pwm
cpu, ezr32wg: fix sign-compare in periph/gpio
cpu, ezr32wg: fix sign-compare in periph/timer
drivers, ethos: fix sign-compare
sys, net: fix sign-compare
cpu, atmega_common: fix sign-compare error
cpu, msp430fxyz: fix sign-compare in periph/gpio
boards, msb-430-common: fix sign-compare in board_init
driver, cc2420: fix sign-compared
sys/net: fix sign-compare in gnrc_tftp
driver, pcd8544: fix sign-compare
driver, pn532: fix sign-compare
driver, sdcard_spi: fix sign-compare
tests: fix sign_compare
sys/net, lwmac: fix sign_compare
pkg, lwip: fix sign-compare
boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
tests, sock_ip: fix sign compare
tests, msg_avail: fix sign compare
tests, sock_udp: fix sign compare
boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
...
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif
2017-11-17 10:41:54 +01:00
dnahm
6f9a5004c6
drivers: add adc driver for nrf52
2017-11-15 11:15:10 +01:00
Hauke Petersen
399169ddcf
cpu/nrf51: remove guards from periph drivers
2017-11-09 12:30:21 +01:00
Martine Lenders
861035f22d
gnrc: integrate gnrc_netif2
...
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
3ec8126c84
cpu: cortexm: provide periph_pm for all cortexm
2017-11-06 12:01:19 +01:00
a20745b6c5
cpu: make use of Makefile.periph
2017-11-06 12:01:19 +01:00
849cc8606a
cpu: nrf5x: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
Hauke Petersen
5920d99752
pm: fix weak-based default implementations
...
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
Martine Lenders
2c7c3d8ae5
nrfmin: adapt for changes to gnrc_netif2_create()
2017-10-10 21:21:14 +02:00
Martine Lenders
4597193da4
nrfmin: port for gnrc_netif2
2017-10-10 11:48:53 +02:00
035d266d49
makefile: indentation cleanup
2017-09-22 12:00:47 +02:00
Joakim Nohlgård
065bc62e0a
netdev: Make set() value parameter const void *
2017-08-25 13:41:19 +02:00
Francisco Acosta
f2efd88f98
Merge pull request #7129 from haukepetersen/opt_periph_sharetimerset
...
cpu: add and use shared code for timer_set()
2017-08-01 15:09:48 +02:00
Martine Lenders
3f00ab18e7
nrfmin: add missing return ( #7412 )
2017-07-26 13:54:25 +02:00
smlng
01af6d94c4
cpu, periph: retain constness in spi_transfer_bytes
2017-06-29 15:47:13 +02:00
smlng
692cf96297
doc: fix doxygen grouping of cpu periph drivers
2017-06-26 14:42:11 +02:00
Hauke Petersen
a1499f4190
cpu: add and use shared code for timer_set()
2017-06-02 12:21:56 +02:00
Hauke Petersen
a7e54e10c0
driver/nrfmin: add get MAX_PACKET_SIZE option
2017-05-05 13:59:18 +02:00
Hauke Petersen
f875c3efc2
cpu/cortexm: s/cpu_sleep_until_.../cortexm_sle.../
2017-05-04 13:45:11 +02:00
Hauke Petersen
e1dde6b456
cpu/nrf5x: unified rtt driver
2017-04-06 11:58:52 +02:00
Hauke Petersen
3060d96bfd
cpu/nrf5x: unified clock initialization code
2017-04-05 18:07:23 +02:00
Hauke Petersen
334b2a6dc1
cpu/nrf52: added support for nRF52840
...
- added vendor header files for nrf52840
- added config for nrf52840
- added additional isr vectors for the nrf52840
- enabled port 1 in GPIO driver
- adapted periph drivers to cope with GPIO driver changes
- adapted the GPIO config of the I2C driver for the nrf51
2017-04-05 16:43:49 +02:00
Joakim Nohlgård
6cda6a6560
periph/cpuid: Unify implementations to a common driver for several platforms
2017-04-05 09:03:49 +02:00
Martine Lenders
29842bb5e4
netdev2: rename to netdev and remove gnrc_netdev
...
With some minor hand-edits I used the following chain of commands:
```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
-e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
-e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
grep "netdev2" | while read dir; do
new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
git mv -f "$dir" "$new_dir"
done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | while read file; do
new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
git mv -f "$file" "$new_file"
done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Hauke Petersen
b0def58927
cpu/nrf5x: implemented UART TX only mode
2017-02-09 10:42:53 +01:00
Martine Lenders
5b026c5753
netdev2: unify doc
2017-02-07 21:37:52 +01:00
Hauke Petersen
2f9e3c89e1
periph/hwrng: use void* buf for hwrng_read()
2017-02-07 13:20:39 +01:00
Hauke Petersen
5bdb3bfa61
misc: aggregated doxygen fixes
2017-01-25 16:46:46 +01:00
Hauke Petersen
b097e0840b
cpu/nrf5x+boards: adapted to new SPI API
...
- adapted the SPI driver
- merged SPI drivers from nrf51 and nrf52
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
3e49d0c8c6
Merge pull request #6434 from aabadie/petersen_typo
...
cpu: fix typo in author email
2017-01-20 10:43:24 +01:00
245f60edfa
cpu: fix typo in author email
2017-01-19 21:45:23 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Hauke Petersen
a35709b4f8
Merge pull request #6360 from OlegHahm/periph_timer_remove_irq
...
periph timer: remove timer_irq_(en|dis)able
2017-01-18 22:58:21 +01:00
Hauke Petersen
b5920a38b9
cpu/nrf5x: unified pm.c
2017-01-18 14:54:56 +01:00
Oleg Hahm
d0316fa7ae
periph timer: remove timer_irq_(en|dis)able
2017-01-14 15:34:53 +01:00
Oleg Hahm
e59f159664
doc: correct doxygen group for nrfmin
2017-01-10 20:04:09 +01:00
Peter Kietzmann
a8297595e6
Merge pull request #6108 from haukepetersen/opt_nrf_nrfmin
...
cpu/nrf5x: ported nrfmin driver to netdev2
2017-01-10 16:52:54 +01:00
Hauke Petersen
a05233633f
cpu/nrf5x: moved nrfmin driver to nrf5x_common
2017-01-10 11:54:49 +01:00
Hauke Petersen
8d48239f9b
cpu/nrf5: restructured periph_cpu.h files
...
- inserted one specific for each family (nrf51 and nrf52)
- renamed the common one to periph_cpu_common.h
2017-01-10 11:52:36 +01:00
Hauke Petersen
3a00fe8e49
cpus: make use of cortexm_isr_end()
2016-12-21 11:28:46 +01:00
jfbortolotti
b2e79959b1
cpu: nRF52: move clearing of TXRDY flag
...
... before writing the data to avoid an infinite loop in case of multiple thread accessing the UART. (#6029 )
2016-12-06 10:52:27 +01:00
Hauke Petersen
df19605145
cpu/nrf5x: added flashpage driver implemenation
2016-11-30 16:51:10 +01:00
Hauke Petersen
2eebf36eb2
cpu/uart: make use of named return values
2016-10-28 10:32:00 +02:00
Ian Martin
49ae438dd5
doc: eliminate clutter in adc and gpio periph docs
2016-06-29 15:08:32 -04:00
Hauke Petersen
af84a5e7aa
cpu/nrf5x_common: adapted GPIO driver
2016-03-17 14:39:11 +01:00
Hauke Petersen
b23cde98cf
cpus: adapted UART implementations to cb type change
2016-03-15 11:02:06 +01:00
Joakim Nohlgård
c5f43e79ba
cpu/nrf5x_common: Give Doxygen group a name
2016-03-14 23:09:49 +01:00
Hauke Petersen
843c456f4b
cpu/nrf51: adapted ADC driver to interface changes
2016-03-14 13:06:23 +01:00
Joakim Nohlgård
f551850642
cpu/nrf51: Use {} notation for empty while loops
2016-03-03 16:30:06 +01:00
Hauke Petersen
a182a44147
cpu/nrf5x: unified hwrng driver
2016-03-01 23:22:03 +01:00
Hauke Petersen
2a92907c96
cpu/nrf: unified and optimized timer driver
2016-03-01 22:20:27 +01:00
Joakim Nohlgård
1f9f6d8548
cpu/nrf5x_common: Use a different module name to prevent linker races in Travis
2016-02-12 08:45:53 +01:00
Hauke Petersen
8dd790bb33
cpu/nrf5x: unified CPUID driver implementation
2016-02-09 16:59:10 +01:00
Hauke Petersen
209e18debd
cpu/nrf5x: unified UART driver
2016-02-09 16:58:56 +01:00
Hauke Petersen
d1808717cb
cpu/nrf5x: unificitaion of GPIO driver
2016-02-09 16:58:56 +01:00
Hauke Petersen
33132c8a60
cpu: added common cpu for the nRF5x family
2016-02-09 16:51:54 +01:00