e12defd5a0
suit/transport/coap: Use nanocoap coap_tree_handler
2020-03-24 09:38:24 +01:00
benpicco
60cb5ff050
Merge pull request #13687 from bergzand/pr/nanocoap/tree_handler
...
nanocoap: make separate tree handling function
2020-03-24 00:04:47 +01:00
benpicco
457c5245ce
Merge pull request #13507 from benpicco/cpu/cc2538-gpio-cycles
...
cpu/cc2538: gpio: save a few cycles in handle_isr()
2020-03-23 20:53:52 +01:00
benpicco
a3dca87a78
Merge pull request #13300 from JulianHolzwarth/pr/thread_status_t/zombie_fixup
...
core/thread.c: thread_zombify small fix
2020-03-23 20:53:00 +01:00
benpicco
d91f5bf300
Merge pull request #13690 from janosbrodbeck/fix/br_undef_use_slip
...
examples/gnrc_border_router: remove never defined USE_SLIP variable
2020-03-23 20:37:30 +01:00
János Brodbeck
201f599064
examples/gnrc_border_router: remove never defined USE_SLIP variable
2020-03-23 17:47:43 +01:00
benpicco
5982ba0c37
Merge pull request #13681 from fjmolinas/pr_suit_base_guard
...
Makefile.include: guard suit.base.inc.mk inclusion
2020-03-23 16:45:25 +01:00
benpicco
d9d2d71c40
Merge pull request #13629 from btcven/2020_03_12-power
...
cc26xx_cc13xx: power common code
2020-03-23 16:44:18 +01:00
Martine Lenders
522de7df5a
Merge pull request #13689 from benpicco/ethos_fix
...
dist/tools/ethos: fix typo for compiling baud rate 230400
2020-03-23 16:40:03 +01:00
98bd6e34b6
Merge pull request #13674 from benpicco/riotboot-no_stdio_cdc_acm
...
riotboot: disable stdio_cdc_acm
2020-03-23 16:33:05 +01:00
Francisco
6cfbc7800c
Merge pull request #13682 from aabadie/pr/tools/iotlab_firefly_fix
...
dist/testbed-support: fix firefly board mapping
2020-03-23 16:09:13 +01:00
Francisco
dc0f8dda1a
Merge pull request #13684 from aabadie/pr/boards/nrf51_hw_fc_fix
...
boards/nrf51: fix UART hardware flowcontrol configuration
2020-03-23 16:06:00 +01:00
Thomas Stilwell
41ffaed583
dist/tools/ethos: fix typo for compiling baud rate 230400
2020-03-23 16:01:00 +01:00
Jean Pierre Dudey
ffa5005021
cc26xx_cc13xx: add API to manage peripheral clocks
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-03-23 09:33:53 -05:00
Jean Pierre Dudey
c6e4768997
cc26xx_cc13xx: add PRCM_NONBUF register bank
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-03-23 09:33:23 -05:00
Jean Pierre Dudey
7ac28c82b1
cc26x0: enable serial domain only once
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-03-23 09:33:23 -05:00
Jean Pierre Dudey
4643ed5733
cc26xx_cc13xx: add power abstraction
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-03-23 09:33:22 -05:00
1d5010e126
nanocoap: make separate tree handling function
...
This refactors nanocoap to seperate out the resource tree parsing. It
allows for calling the tree handler with custom resource trees. The
advantage is that a resource with COAP_MATCH_SUBTREE can parse a new
separate resource tree.
2020-03-23 15:08:53 +01:00
benpicco
45b635f4c5
Merge pull request #13416 from gschorcht/cpu/esp32/pm_layered
...
cpu/esp32: support for light/deep sleep and pm_layered
2020-03-23 14:11:05 +01:00
benpicco
08afe95572
Merge pull request #13647 from btcven/2020_03_16-new-definitions
...
cc26xx_cc13xx: add RF related registers definitions
2020-03-23 12:48:38 +01:00
Gunar Schorcht
4f977316fe
cpu/esp_common: stop WiFi interface before sleep/reboot
...
The WiFi interface should be stopped before reboot or sleep. But stopping the WiFi interface disconnects an existing connection. Usually, esp_wifi_netdev tries to reconnect on an disconnect event. However, trying reconnect with a stopped WiFi interface may lead to a crash. Therefore, the stop event has to be handled.
2020-03-23 12:38:36 +01:00
Gunar Schorcht
09899e4b8d
cpu/esp32/periph_gpio: funcs for enter/exit sleep
2020-03-23 12:38:36 +01:00
Gunar Schorcht
f4aa253645
cpu/esp32/periph_rtc: funcs for enter/exit sleep
2020-03-23 12:38:36 +01:00
Gunar Schorcht
b1ec6953a3
boards/esp32: add button default interrupt flank definition
2020-03-23 12:38:36 +01:00
Gunar Schorcht
dff74a3278
cpu/esp32: add pm_layered support
2020-03-23 12:38:36 +01:00
Gunar Schorcht
5ec4113893
cpu/esp32: several small doc fixes
2020-03-23 12:25:47 +01:00
Gunar Schorcht
a7652df499
cpu/esp32: function to set gpio drive strength
2020-03-23 12:25:47 +01:00
Gunar Schorcht
15ea6feeaf
cpu/esp32: use hibernate mode for pm_off
...
Now, where the vendor files for light/deep sleep mode are added, function `pm_off` does not need to implement this mode by itself. Instead the existing deep sleep with disabled wakeup sources is used for pm_off.
2020-03-23 12:25:47 +01:00
Gunar Schorcht
3faf99a894
cpu/esp32: add vendor files for light/deep sleep
2020-03-23 12:25:47 +01:00
benpicco
7a6c4653dc
Merge pull request #13653 from fjmolinas/pr_cc2538_timer_pm
...
cpu/cc2538/periph/timer: handle power modes
2020-03-23 12:06:43 +01:00
Francisco Molina
0cc6a51ea8
cpu/cc2538/periph/timer: cleanup styling
2020-03-23 10:59:53 +01:00
Francisco Molina
7e913fe0d9
cpu/cc2538/periph/timer: set pending timer_set_absolute
...
GPT timer needs to be gated to write to TnMATCHR register. If set
when timer is stopped save values and set on next timer_start()
2020-03-23 10:59:30 +01:00
Francisco Molina
ce696c6caa
cpu/cc2538/timer: enable GPT clock in active, sleep and PM0
2020-03-23 10:58:56 +01:00
Francisco Molina
d4e2bede93
Makefile.include: guard suit.base.inc.mk inclusion
2020-03-23 10:22:03 +01:00
d18b77f6e5
dist/testbed-support: fix firefly board mapping
2020-03-23 10:21:54 +01:00
a4a316ec4e
boards/nrf51: remove unused UART_HWFLOWCTRL macro
2020-03-23 10:13:17 +01:00
ce5149d84f
boards/nrf51d*: fix hardware flowcontrol configuration
...
Use the periph_uart_hw_fc module and remove the unused UART_HWFLOWCTRL macro
2020-03-23 10:12:55 +01:00
Benjamin Valentin
345827ce7b
cpu/cc2538: gpio: save a few cycles in handle_isr()
...
If only one it is set in state (one GPIO pin caused an interrupt),
don't loop over all 8 bits.
Use clz to get the position of the first interrupt bit and clear it,
looping only as many times as there are actual interrupts.
2020-03-23 09:21:14 +01:00
Francisco
5ef0cb9c18
Merge pull request #13534 from Ciusss89/stm32l4_can_dev_MASTER
...
Add CAN support for nucleo-l476rg
2020-03-23 09:10:56 +01:00
Gunar Schorcht
2cbf90d9fe
cpu/esp32: small fix of rtc_init for light sleep
...
`rtc_init` is used after light sleep to update the system time from RTC timer. The fix corrects a small difference of about 230 ms which would sum up with each wakeup from light sleep.
2020-03-22 23:53:02 +01:00
Gunar Schorcht
825b01e8e1
cpu/esp32: remove gpio_config_sleep_mode func
...
The function were used to set the GPIO pads in sleep mode. This function isn't required for deep or light sleep.
2020-03-22 23:53:02 +01:00
benpicco
e725111562
Merge pull request #13656 from gschorcht/drivers/apds9xx_fix_wait_long_init
...
drivers/apd99xx: fix wait long initialization
2020-03-22 17:26:22 +01:00
benpicco
921a6a663e
Merge pull request #12024 from gschorcht/cpu/esp32/esp_wifi/wpa2_enterprise
...
cpu/esp32/esp wifi: add WPA2 enterprise mode with IEEE 802.1x/EAP authentication
2020-03-22 17:10:31 +01:00
Giuseppe Tipaldi
0626e7ae83
boards: nucleo-l476rg: enable the CAN feature
2020-03-22 16:53:48 +01:00
Giuseppe Tipaldi
7e6ce086b8
cpu: stm32_common: add CAN support for nucleo-l476rg
...
STM32L4 CAN implementation:
- STM32L47x/L48x has single CAN
- STM32L49x/4Ax has dual CAN
2020-03-22 16:53:48 +01:00
Giuseppe Tipaldi
7479c9e00d
boards: nucleo-l476rg: improve documentation for nucleo-l476rg
2020-03-22 16:53:48 +01:00
Gunar Schorcht
c1e6e70015
cpu/esp32/esp_wifi: doc for WPA2 Enterprise mode
2020-03-22 15:47:06 +01:00
benpicco
1e38a3da63
Merge pull request #13673 from fjmolinas/pr_cc2538_cleanups
...
cpu/cc2538: clock cleanups
2020-03-21 22:24:48 +01:00
Francisco Molina
9a2190cd24
cpu/cc2538/periph/pm: unset OSC_PD when running on 32Mhz
...
Setting OSC_PD before WFI allows for faster wakeup from sleep.
Wait for cc2538_sys_ctrl_clk_sta and not cc2538_sys_ctrl_clk_ctrl
to be set.
2020-03-21 19:32:24 +01:00
Francisco Molina
4cc2457b4f
tests/periph_timer: TIMER_SPEED=CLOCK_CORECLOCK for cc2538 boards
2020-03-21 19:32:24 +01:00