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
Francisco Acosta
de720730f6
Merge pull request #11127 from bergzand/pr/nrf52/ref_ldscripts
...
nrf52: use cortexm.ld script when applicable
2019-03-13 19:41:13 +01:00
Juan I Carrano
4af354852b
Merge pull request #11170 from haukepetersen/fix_nrf52840_dmafromrom
...
cpu/nrf52840: fix UART DMA when data is in ROM
2019-03-13 14:30:20 +01:00
Hauke Petersen
91057de140
cpu/nrf52840: fix UART DMA when data is in ROM
2019-03-13 13:05:36 +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
francisco
e254235265
cpu/stm32_common: set ULP and regulator LP during stop/standby
2019-03-13 09:57:21 +01:00
francisco
4dda8abecb
cpu/stm32l1: add support for STOP & STAND_BY mode
2019-03-13 09:57:17 +01:00
francisco
78c77c497a
cpu/stm32_common: remove WKUP2 pin enable
2019-03-12 16:34: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
Juan I Carrano
b50ad9ed4c
Merge pull request #11040 from kaspar030/fix_hifive1_reset
...
boards/hifive1: fix hifive1 reset
2019-03-12 14:59:36 +01:00
847dc3d55c
cpu/fe310: implement pm_reset() using watchdog
2019-03-12 11:49:02 +01:00
Gilles DOFFE
90f819eee2
cpu/native: return 0 if GPIO is an output in gpio_init
...
If the GPIO is in an output state, gpio_init() can return 0 without bad
consequences.
-1 was return until now.
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
dc8a44ce14
cpu/native: correct emails in header
...
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
1da6a03f09
cpu/native: add pwm implementation
...
Simulate PWM signals with a 2 dimensions array.
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
a142286d8d
cpu/nrf5x_common: add temperature periph driver
2019-03-08 21:14:21 +01:00
14a5e4924b
nrf802154: take FCS into account for lifs/sifs calculation
2019-03-07 20:26:39 +01:00
Sebastian Meiling
b98fdac01e
Merge pull request #9917 from gschorcht/esp8266
...
cpu/esp8266: esp-now network device support
2019-03-06 20:28:39 +01:00
7b9181ea6f
Merge pull request #11072 from benpicco/samd21_pm
...
samd21: enable idle modes
2019-03-06 13:55:08 +01:00
francisco
31e256734c
cpu/stm32l0: fix CPU_ARCH definition from cortex-m0 to cortex-m0plus
2019-03-06 09:10:56 +01:00
Gunar Schorcht
00ac8ea69a
cpu/esp8266: add init function in dummy lwIP
...
Calling the initialization function ensures that the dummy lwIP library is used instead of the real lwIP, even if the esp_wifi module for esp8266 is not used.
2019-03-05 16:43:45 +01:00
Gunar Schorcht
0ffc26919f
cpu/esp_common: fix multicast version of esp_now
2019-03-05 16:43:45 +01:00
Gunar Schorcht
226e854a28
cpu/esp8266: doc fixes
...
The documentation had to be changed due to the relation of module `esp_now` to `esp_wifi` module. In addition, a number of corrections have been made. In the case of documentation, it is impossible to do this in various commits.
2019-03-05 16:43:45 +01:00
Gunar Schorcht
3d2df7114f
cpu/esp8266: doc restructured for esp_now_netdev
2019-03-05 16:43:45 +01:00
Gunar Schorcht
cd1bd3811c
cpu/esp8266: makefile support for esp_now_netdev
2019-03-05 16:43:45 +01:00
Gunar Schorcht
b6d15565be
cpu/esp8266: macros required by esp_now_netdev
2019-03-05 16:43:45 +01:00
Gunar Schorcht
7c5e3a5ca2
cpu/esp: doc of esp_now_netdev changed for esp8266
2019-03-05 16:43:45 +01:00
Gunar Schorcht
84c23a1695
cpu/esp: support of esp_now_netdev for esp8266
2019-03-05 16:43:45 +01:00
Gunar Schorcht
0ddddcb13e
cpu/esp: esp_now_params style fixes
2019-03-05 16:43:45 +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
Benjamin Valentin
5b0e427a52
samd21: enable idle modes
...
tested on samr21-xpro, UART and 802.15.4 still work as before, but
current draw drops from 12mA to 8mA.
2019-02-27 11:20:49 +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
Marian Buschsieweke
7a05fc09f3
cpu/esp_common: Use NETOPT_MAX_PDU_SIZE
...
Updated esp_now to use NETOPT_MAX_PDU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE.
2019-02-18 20:18:50 +01:00
ZetaR60
1f9e1857f7
Merge pull request #9130 from kYc0o/cpu/atmega/unify_stacks
...
atmega: refactor cpu/board code and build/flash variables
2019-02-08 18:07:22 -05:00
Gunar Schorcht
f4a9f5a0d6
cpu/esp8266: netstats removed from esp_wifi
2019-02-07 15:44:04 +01:00
Sebastian Meiling
6037fa2536
Merge pull request #9666 from OYTIS/s9kea-pr1
...
kinetis: add support for S9KEAZ128
2019-02-07 11:44:36 +02:00
Yegor Yefremov
97d0851de1
cpu/stm32_common: fix UART documentation
...
Don't include overridden typedefs into doxygen as otherwise,
they'll appear twice.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-06 12:46:27 +01:00
Sebastian Meiling
3e5658d407
Merge pull request #10662 from gschorcht/esp32_gpio_fix
...
cpu/esp32: GPIO macro cleanup in periph_cpu.h
2019-02-05 22:23:09 +02:00
Francisco Acosta
2bdcdddd76
cpu/atmega*: make use of common atmega.inc.mk and remove redundancies
...
Everything is now defined in atmega.inc.mk, following the common
RIOT-like reusability of rules and variables (e.g. cortexm.inc.mk).
2019-02-05 17:12:03 +01:00
5a35e6e109
Merge pull request #10825 from maribu/fe310_periph_init
...
cpu/fe310: Add call to periph_init()
2019-02-05 13:12:45 +01:00
Martine Lenders
7220b66708
Merge pull request #10936 from miri64/sam0_common/fix/check-adc-numof
...
sam0_common: check ADC_NUMOF on adc_init()
2019-02-04 16:41:41 +01:00
Kees Bakker
458c95a854
Merge pull request #10914 from keestux/describe-saml1x-source
...
cpu/sam0_common: update README for SAML1x addition
2019-02-04 16:29:15 +01:00
Gunar Schorcht
d9706d1cd5
cpu/esp32: GPIO macro cleanup in periph_cpu.h
...
The default macros GPIO_PIN and GPIO_UNDEF do not have to be overridden. The GPIO_PIN macro definition was even wrong for 40 GPIOs without splitting into ports, even if that did not lead to erroneous behavior.
2019-02-04 14:31:53 +01:00
Martine Lenders
39e90502af
sam0_common: check ADC_NUMOF on adc_init()
2019-02-04 09:28:13 +01:00
Kees Bakker
e4325ed802
cpu/sam0_common: update README for SAML1x addition
...
Rewrite the README to reflect the recent addition of SAMR30 and
SAML10/SAML11.
2019-02-01 23:33:31 +01:00