Jose Alamos
3ad574a822
drivers/netdev: use netdev_trigger_event_isr function
2020-03-06 14:03:43 +01:00
68ec8b2c2b
Merge pull request #13391 from kaspar030/mpu_feature
...
cpu/cortex-m: turn MPU support into a feature
2020-03-04 07:09:40 +01:00
a3c527fdbc
cpu/*: add cortex_mpu to known-to-support CPU families
2020-03-03 22:59:41 +01:00
f568162f9b
cpu/nrf5x: provide specific gpio_t definition
2020-02-19 19:16:58 +01:00
d7c0102115
cpu/cortexm: move CPU_ARCH/FAM to Makefile.features
2020-02-17 16:02:48 +01:00
Karl Fessel
4445faaa3a
core/shed: remove not needed bitarithm include add missing
...
bitarithm.h is not needed for the interface of shed but may cause conflicts
due to different definitions of SETBIT and CLRBIT
common implementations are: (value, offset) xor (value, mask) bitarithm
implements the later
frac.c and nrf52/usbdev.c use bitarithm.h but where missing the include
sam0/rtt.c defined a bit using mask from bitarithm,
changed that to the soulution used in sam0/rtc.c
2020-02-05 12:45:29 +01:00
Martine Lenders
8d749dc024
Merge pull request #13148 from chrysn-pull-requests/usb-default-vidpid
...
USB: Use default VID/PID for RIOT-included peripherals
2020-01-30 17:37:52 +01:00
chrysn
e65f3f372b
USB VID/PID: Set whitelist define for internals that use usb.h
...
This list is probably incomplete as it was created experimentally.
2020-01-30 15:04:10 +01:00
66d903c209
cpu/nrf5x: move dependencies to Makefile.dep
2020-01-28 13:18:39 +01:00
Jose Alamos
709c1aac30
Kconfig: Expose NRF802154 configurations
2020-01-21 11:29:00 +01:00
Jose Alamos
f652564eb1
nrf802154: implement CCA
2020-01-21 11:06:20 +01:00
Jose Alamos
09c79f07e7
nrf802154: use correct ED_RSSIOFFS sign
2020-01-21 11:06:20 +01:00
Marian Buschsieweke
186d2ccfa4
cpu/nrf52/periph: adc_sample() now returns int32_t
2020-01-10 14:13:15 +01:00
c8d1d6b3f3
cpu/nrf52: 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
df7e760588
doxygen/I2C: don't include overridden typedefs
...
Add missing #ifndefs to overridden I2C typedefs.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-15 10:35:33 +01:00
Yegor Yefremov
5b0252b150
doxygen/ADC: don't include overridden typedefs
...
Add missing #ifndefs to overridden ADC resolution typedefs.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-15 10:35:32 +01:00
Hauke Petersen
d87228dab1
cpu/nrf52: add feature 'ble_nimble_netif'
2019-11-13 13:05:34 +01:00
Francisco Molina
347a0fc804
cpu/ boards/: remove exports for CPU_FAM
2019-10-18 08:55:33 +02:00
Francisco Molina
5e9b92a326
cpu: remove CPU_ARCH exports
2019-10-18 08:55:33 +02:00
c1b95733b6
cpu/nrf52: allow accessing multiple i2c peripherals
2019-10-04 08:42:35 +02:00
Gunar Schorcht
02d81b717e
Merge pull request #12063 from maribu/i2c_release
...
drivers/periph/i2c: Updated i2c_release() to return void
2019-10-01 19:50:38 +02:00
07b3bc6918
nrfusb: Fix data stage handling of control writes
2019-09-18 08:11:44 +02:00
88e07c06d2
Merge pull request #11367 from maribu/arm_early_stdio
...
cpu: Moved stdio_init() prior to periph_init() for ARM targets
2019-09-09 16:52:30 +03:00
Marian Buschsieweke
df27dbef7a
cpu: Moved stdio_init() into cpu_init()
...
- Removed stdio_init() from newlib's _init(), as this is too late in the boot
process to allow DEBUG()ing during periph_init()
- Added stdio_init() to the various cpu_init() routines of the ARM CPUs just
before periph_init()
2019-09-06 16:54:23 +02:00
a5c594ae5f
nrfusb: Check chip revision before enabling
...
Engineering sample A doesn't have a functional USB peripheral (errata
issue 94). This commit adds an assertion check for this revision to
prevent some developer headaches.
2019-09-06 10:00:32 +02:00
benpicco
1ffe2e5e30
Merge pull request #11512 from skullbox305/cpu-nrf5x
...
cpu/nrf52: i2c bugfix
2019-09-03 18:43:38 +02:00
Marian Buschsieweke
0863410c09
cpu/nrf52: Updated i2c_release()
2019-08-22 12:03:08 +02:00
fjmolinas
254934dfa6
cpu/nrf5x_common: add flashpage_raw_support
2019-08-05 17:45:14 +02:00
ee39222b2e
nrf52: Add suspend/resume detection to usbdev
2019-06-25 15:39:52 +02:00
ab05e63175
nrf52: Add USB device peripheral driver
2019-06-11 14:14:36 +02:00
francisco
de3314334e
cpu/nrf52: set RIOTBOOT_LEN to 8k
...
- nrf52 flash page is 4k, the bootloader needs to be x2 so slots
start at the beginning of a page.
2019-05-13 21:47:14 +02:00
Igor Knippenberg
dbd8c2774f
cpu/nrf52: i2c bugfix
2019-05-13 11:32:57 +02:00
Semjon Kerner
253cf0f9fc
Merge pull request #11176 from bergzand/pr/nrf802154/undef_memcpy
...
nrf802154: don't call memcpy if iolist->iol_len==0
2019-03-25 08:09:59 +01:00
b4bb144006
nrf802154: don't call memcpy if iolist->iol_len==0
2019-03-22 19:00:53 +01:00
658fb0651e
nrf802154: Disable hardware IFS handling
2019-03-15 13:39:09 +01:00
de2f193da3
nrf802154: Fix timer behaviour of the IFS timer
...
The timer_clear function doesn't clear the hardware timer counter, but
is designed to clear the allocation of the channel. The consequence is
that the IFS timer here is not set to zero in the callback, but only
stopped at the current value. When the timer is started again, it has to
count the full timer range until it matches the timeout value again.
This commit fixes this issue by using timer_set instead of
timer_set_absolute. This way the current timer value (when the timer is
stopped) is read and the IFS timeout value is added to the current timer
value.
2019-03-15 13:39:09 +01:00
8c4760050e
nrf802154: Change timer frequency to match symbols rate
...
ieee802.15.4 specifies 40 symbols as LIFS value and 12 symbols as SIFS
value. Furthermore, the 2.4Ghz DSSS mode has a symbol rate of
62.5Ksymbols/s. To have the LIFS and SIFS in the code match the timings
from the specification, the TIMER_FREQ must match the symbol rate of
62.5Ksymbol/s such that one tick of the timer equals one symbol in time.
2019-03-15 13:38:32 +01:00
Semjon Kerner
6c84b4126f
Merge pull request #11138 from bergzand/pr/nrf802154/fix_fcs_lifs
...
nrf802154: take FCS into account for lifs/sifs calculation
2019-03-15 13:10:39 +01:00
Martine Lenders
eff3b5ec28
nrf52/radio: remove redundant message queue definition
...
Now that `GNRC_NETIF_MSG_QUEUE_SIZE` is set to 16 by default, this
command-line provided define is redundant.
2019-03-15 12:09:39 +01:00
Semjon Kerner
6d3b625f3f
Merge pull request #11133 from bergzand/pr/nrf802154/radio_info
...
nrf802154: Add rssi/lqi to received frames
2019-03-15 11:46:17 +01:00
3163b8d6e2
nrf52: use cortexm.ld script when applicable
...
The common linker script is not used when the nordic_softdevice_ble is
included
2019-03-13 11:57:44 +01:00
b650f355c7
nrf802154: Add rssi/lqi to received frames
...
LQI calculation following the instructions from the datasheet. RSSI
calculation appears to only require the offset and not the scaling
factor
2019-03-12 15:11:13 +01:00
14a5e4924b
nrf802154: take FCS into account for lifs/sifs calculation
2019-03-07 20:26:39 +01:00
Hauke Petersen
824fcf3c9d
cpu/nrf52/nrf802154: unify address generation
2019-03-04 17:12:06 +01:00
Semjon Kerner
91787dcb5c
cpu/nrf52: add 802.15.4 radio driver
2019-03-04 13:21:47 +01: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
Semjon Kerner
d8a30eeedf
cpu/nrf52: update vendor headers
2018-11-08 14:09:33 +01:00
Semjon Kerner
2063e98b13
cpu/nrf52: initial PWM implementation
2018-08-21 11:28:23 +02:00
dylad
4ff319b469
nrf52/i2c: adapt to new I2C API
2018-07-25 12:01:34 +02:00
Hauke Petersen
7ffd6265bb
cpu/nrf52: enable instruction cache
2018-06-22 16:09:23 +02:00
938677cc83
cpu*: fix doxygen grouping
2018-06-11 19:12:02 +02:00
Joakim Nohlgård
72118db964
nrf52: Adjust ldscript memory segment attributes
2018-05-09 06:48:40 +02:00
3bfe4b6986
make: mcuboot: add MCUBOOT_ namespacing
2018-02-06 16:41:48 +01:00
dylad
391164a788
pkg: fix broken nordic softdevice package
...
Prevent CPU from using cortexm_init() when softdevice is used for NRF52 devices
as the softdevice already do some obscur inits
Also ensure the softdevice pkg will be used by hacking Makefile due to RIOT's
build system limitations (will be fix later with the new build system)
2018-02-05 17:04:13 +01:00
Hauke Petersen
b1efc39348
cpu/nrf52: optimized i2c driver implementation
2018-02-02 11:34:40 +01:00
Hauke Petersen
787d69c676
cpu/nrf52: add CPU specific sleep function
...
This function is supposed to be used for putting the CPU into
sleep mode for short amounts of time (e.g. in typical polling
loops used in periph drivers).
2018-02-02 11:33:18 +01:00
Hauke Petersen
959e838836
cpu/nrf52: updated vendor header
2018-02-02 11:33:18 +01:00
Hauke Petersen
503e60ef25
cpu/nrf52/i2c: use static mutex initializtion
2018-01-30 19:07:26 +01:00
dnahm
6245b4165f
cpu/nrf52: add i2c driver and configs
2018-01-04 10:51:05 +01:00
86665b71bf
cpu: adapt to COREIF_NG removal
2017-11-16 14:40:16 +01:00
Hauke Petersen
b3654c2ead
cpu/nrf52: some optimizations for ADC driver
2017-11-15 11:16:05 +01:00
dnahm
6f9a5004c6
drivers: add adc driver for nrf52
2017-11-15 11:15:10 +01:00
Joakim Nohlgård
e3d5a70e0c
cpu/cortexm: Remove leftover _estack declarations
...
These are leftovers from before the Cortex-M common ISR vectors were
split into vectors_cortexm.c
2017-11-10 15:38:14 +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
3ede8e9d95
cpu: force size of CPU specific vector table
2017-09-04 15:13:43 +02:00
Hauke Petersen
1a20ef8223
cpu: unified cortex-m base interrupt vector
2017-09-04 15:13:32 +02:00
Hauke Petersen
e51ff56b96
cpu/nrf52: share const CLOCK_CORECLOCK
2017-08-29 17:28:10 +02:00
kYc0o
41e9884b20
cpu/nrf52: add alignment and image header sizes for bootlaoder usage
2017-07-17 14:48:29 +02:00
kYc0o
7137b7d5c4
cpu/nrf52/ldscripts: extend script for multislot usage
2017-07-17 14:48:28 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +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
339a4da9dc
Makefiles: move to new directory /makefiles
2017-04-04 15:11:54 +02:00
Hauke Petersen
37d4f44379
cpus: mv vendor headers to include/vendor/.
2017-03-07 08:55:15 +01:00
Hauke Petersen
4bfce892d3
drivers/periph&cpu: add and use common periph_init()
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
245f60edfa
cpu: fix typo in author email
2017-01-19 21:45:23 +01:00
Hauke Petersen
b5920a38b9
cpu/nrf5x: unified pm.c
2017-01-18 14:54:56 +01:00
f0cf52f622
cpu: nrf52: initial periph/pm support
2017-01-12 16:26:02 +01:00
0194091673
remove obsolete lpm code
2017-01-12 11:24:15 +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
Hauke Petersen
fe1d4bf9ed
cpu/nrf51/2: unified erase reg in vendor header
2016-11-30 16:51:10 +01:00
Hauke Petersen
df19605145
cpu/nrf5x: added flashpage driver implemenation
2016-11-30 16:51:10 +01:00
5ab97fe38b
cpu: build cortexm vectors.c without LTO
2016-08-29 13:30:17 +02:00
e012df1bac
nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice
2016-07-13 17:06:57 +02:00
zhuoshuguo
efbbca1322
cpu: Fix header include guards
2016-06-20 10:18:59 +02:00
6881f65f46
cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h
2016-03-05 18:20:17 +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
Hauke Petersen
b11a3ad74b
cpus: adapted timer implementations to API changes
2016-02-29 14:45:00 +01:00
Joakim Nohlgård
e2f7ac78f0
Merge pull request #4040 from gebart/pr/periph-timer-init-freq
...
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Hauke Petersen
1b58b187a9
cpu/nrf52: adapted HWRNG implementation
2016-02-14 12:59:46 +01:00
Joakim Nohlgård
f76ecd1491
cpu/nrf52: Update to match timer_init API change
2016-02-13 21:33:52 +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
3745487b95
cpu/nrf52: use the nrf5x_common folder
2016-02-09 16:51:54 +01:00
Hauke Petersen
33132c8a60
cpu: added common cpu for the nRF5x family
2016-02-09 16:51:54 +01:00
Hauke Petersen
940097336a
cpu: cleanup and unification of CPUID implementations
...
- moved definition of CPUID_LEN to periph_cpu.h
- fixed some doxygen
- simplyfied some implementations
2016-02-08 14:36:03 +01:00
Hauke Petersen
2964969600
cpu: added support for nrf52
2016-02-05 12:07:32 +01:00