1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

22078 Commits

Author SHA1 Message Date
b4fcccc8fe
boards/calliope-mini: use dap adapter with openocd 2019-04-17 14:08:02 +02:00
Martine Lenders
5e789c6595
Merge pull request #11395 from SemjonKerner/nrfmin_fix_isr
cpu/nrf5x/nrfmin: fix isr termination
2019-04-16 11:27:54 +02:00
Martine Lenders
41657fcffb
Merge pull request #11403 from aabadie/pr/examples/core_typo
examples/cord_ep: fix typo in node information + move it in a define
2019-04-16 11:27:20 +02:00
Dylan Laduranty
8c708110e5
Merge pull request #11317 from benpicco/sam0-rtc
sam0_common: make RTC implementation common across all sam0 MCUs
2019-04-16 11:03:24 +02:00
75d9e7892c
examples/cord_ep: move node information in a define 2019-04-16 10:10:11 +02:00
bbbb62b571
examples/cord_ep: fix typo in node information 2019-04-16 10:09:11 +02:00
Benjamin Valentin
9aa8c619c1 sam0_common: make RTC implementation common across all sam0 MCUs
The currently supported SAM0 MCUs (samd21, saml21, saml1x) share the
same RTC peripheral, yet each of them carries it's own copy of the RTC
driver.

Unify the drivers and move them to sam0_common.
2019-04-15 22:25:47 +02:00
Semjon Kerner
245a499f89
Merge pull request #11399 from miri64/gnrc_netif_ieee802154/fix/i11398
gnrc_netif_ieee802154: check if mhr_len is lesser than nread
2019-04-15 16:51:52 +02:00
Martine Lenders
3c19aa7dfc gnrc_netif_ieee802154: check if mhr_len is lesser than nread 2019-04-15 16:36:31 +02:00
Juan I Carrano
7169695cb5
Merge pull request #11379 from kaspar030/tests/pthread_cooperation_disable_hifive1
tests/pthread_cooperation: add hifive1 to BLACKLIST
2019-04-15 13:52:42 +02:00
Sebastian Meiling
d08a6132bf
Merge pull request #10934 from gschorcht/cpu_atmega_common_heap
cpu/atmega_common: make remaining RAM available as heap
2019-04-15 13:17:57 +02:00
Sebastian Meiling
35c617e08a
Merge pull request #10883 from gschorcht/esp_common_xtensa
cpu/esp*: Xtensa vendor code moved to esp_common
2019-04-15 13:17:01 +02:00
Semjon Kerner
f8873c31ff cpu/nrf5x/nrfmin: fix isr termination 2019-04-15 13:15:49 +02:00
Gunar Schorcht
de91b8dc88 cpu/esp8266: add LoadStoreError exception handler
Usually, the access to the IROM (flash) memory requires 32-bit word aligned reads. Attempts to access data in the IROM (flash) memory less than 32 bits in size triggers a LoadStoreError exception. With the exception handler from esp-open-rtos it becomes possible to access data in IROM (flash) with a size of less than 32 bits and thus to place .rodata sections in the IROM (flash).
2019-04-15 12:50:44 +02:00
Gunar Schorcht
b17070fbf1 cpu/esp_common: doc fixes 2019-04-15 12:50:44 +02:00
Gunar Schorcht
70ab7501af cpu/esp8266: move xtensa lib to esp_common 2019-04-15 11:46:57 +02:00
Gunar Schorcht
18ebfdf059 cpu/esp32: move xtensa lib to esp_common 2019-04-15 11:45:59 +02:00
Gunar Schorcht
5f1383c27d cpu/esp_common: xtensa vendor files added 2019-04-15 11:45:59 +02:00
Gunar Schorcht
fe3d325fd9 cpu/esp32: remove temporary code 2019-04-15 11:45:59 +02:00
Gunar Schorcht
28d9599d52 cpu/esp32: fix coprocessor stack alignment 2019-04-15 11:45:59 +02:00
Gunar Schorcht
950dfba7de cpu/esp32: SDK_USED replace by MODULE_ESP_SDK 2019-04-15 11:45:59 +02:00
Gunar Schorcht
ec1980a438 cpu/esp32: RIOT_OS macro replaced by RIOT_VERSION 2019-04-15 11:45:59 +02:00
Gunar Schorcht
7cc1ee3f6d cpu/esp32: SDK_INT_HANDLING definition removed 2019-04-15 11:45:59 +02:00
Gunar Schorcht
2ac4d08b43 cpu/esp8266: same xtensa basics as ESP32 2019-04-15 11:45:59 +02:00
Gunar Schorcht
75c0d06913 cpu/esp8266: changes for ESP32 compatibility 2019-04-15 11:45:59 +02:00
Gunar Schorcht
dc7f979201 cpu/esp8266: SDK interrupt handling removed 2019-04-15 11:45:59 +02:00
33a4b307a1
Merge pull request #11391 from gdoffe/motor_driver_headers
drivers: add licence to motor_driver source files
2019-04-13 09:34:45 +02:00
Ken Bannister
a4b909dba4
Merge pull request #11386 from chrysn-pull-requests/nanocoap-add-opaque
nanocoap: Support adding opaque (blob / buffer) data
2019-04-12 23:47:35 -04:00
Gilles DOFFE
3a83648f2a drivers: add licence to motor_driver source files
Related to PR #10290, add missing licence to some source files.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-04-13 00:29:58 +02:00
75671ac208
Merge pull request #11355 from fjmolinas/pr_eeprom_wait_for_op
stm32_common/flash: move wait_for_pending_operation to flash_common
2019-04-12 13:36:01 +02:00
0ea3c4f984
Merge pull request #11383 from aabadie/pr/cpu/stm32l0_pm_initial_blocker
cpu/stm32: centralize PM_BLOCKER_INITIAL define
2019-04-12 11:52:02 +02:00
db9b341a36
cpu/stm32f1-l0: remove redundant PM_BLOCKER_INITIAL define 2019-04-12 11:10:48 +02:00
chrysn
09dc930d3a nanocoap: add some const qualifiers 2019-04-12 11:04:47 +02:00
chrysn
a51460984b nanocoap: Add coap_opt_add_opaque
This option complements the existing coap_opt_add_{uint,string} and even
more special-purpose functions; its implementation is trivial given the
existing static _add_opt_pkt function.

The method is useful when working with ETags (ETag, If-Match options).
2019-04-12 11:04:47 +02:00
10d5554f03
Merge pull request #10944 from gschorcht/cpu/msp430_common_heap_real
cpu/msp430_common: add real malloc/free functions
2019-04-12 10:59:00 +02:00
Marian Buschsieweke
b0094a69af
Merge pull request #11380 from gschorcht/cpu/esp32/write_fix
cpu/esp32: use modules newlib_syscalls_default and stdio_uart by default
2019-04-12 10:58:36 +02:00
francisco
2c44cd4f70 stm32_common/flash: move wait_for_pending_operation to flash_common 2019-04-12 08:58:47 +02:00
Gunar Schorcht
86fa6446ef
Merge pull request #11375 from yegorich/esp32-documentation-fixes
ESP32 documentation fixes
2019-04-12 08:15:34 +02:00
Gunar Schorcht
dc4565fdfc cpu/esp32: use newlib_syscalls_default by default
Fix of #11354: Function '_write_r' of ESP32's newlibc does not write the output of function 'write(STDIO_FILENO, ...)' to the UART interface. To fix this problem, module 'newlib_syscalls_default' is now used by default. Function '_write_r' of module 'newlib_syscalls_default' uses 'stdio_write' which in turn uses 'uart_write' if module 'stdio_uart' is used which is now the default case for ESP32.
2019-04-11 16:22:47 +02:00
afc983724b tests/pthread_cooperation: add hifive1 to BLACKLIST
The hifive1 has only 16kB of memory. The tests tries to allocate 12
thread stacks with 1kB (default) stacksize each. The corresponding
malloc() fails for the last two threads, making the test fail silently.
2019-04-11 15:42:42 +02:00
Martine Lenders
364499f212
Merge pull request #11356 from jcarrano/fix_udp_atoi-master
tests/gnrc_udp: Replace atoi() by strtol().
2019-04-11 12:48:21 +02:00
Juan Carrano
c0af4237d8 tests/gnrc_udp: fix printf format string (%d->%u).
This was causing the CI build to fail in the static-check stage
(cppcheck).
2019-04-11 11:26:02 +02:00
Yegor Yefremov
46060cf779 boards/esp32*: revise CAN support
CAN interface is now supported in RIOT. Change feature tables
accordingly.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-11 07:34:29 +02:00
Martine Lenders
df41536b40
Merge pull request #11373 from aabadie/pr/examples/nimble_scanner_typo
examples/nimble_scanner: fix typo in README
2019-04-10 19:50:51 +02:00
c1547efb3a
Merge pull request #11316 from fjmolinas/pr_sx127x_switch
drivers/sx127x: add support for rx and tx switch pin
2019-04-10 18:40:37 +02:00
13d7bb6ec6
examples/nimble_scanner: fix typo in README 2019-04-10 18:17:47 +02:00
Martine Lenders
f11d462b82
Merge pull request #11371 from danpetry/tests/gnrc_sock_dns_timeout
tests/gnrc_sock_dns: Give time to allow node to set its ll address
2019-04-10 17:43:10 +02:00
Martine Lenders
e0de94cb5f
Merge pull request #11309 from miri64/tests/enh/lwip_sock-l2util
tests: remove NETOPT_IPV6_IID dependency from lwip_sock tests
2019-04-10 17:07:16 +02:00
danpetry
b320dd7909 Give time to allow node to set its ll address
Set a delay of three seconds at the beginning of the test. Otherwise,
the node will send a neighbour solicitation with a blank link local
address, it won't receive a reply, and the test will fail.
2019-04-10 16:43:27 +02:00
Juan Carrano
54cbdaaa53 tests/gnrc_udp: Replace atoi() by strtol().
This patch is a reduced version of an earlier one, with the bare minimum
required to be able to run the test and get the release going.

Original description:

atoi() cannot detect errors. Many implementation return zero on error
and that is what was being checked here, making the "udp send" command
unable to parse integer values of zero. On top of this, the behavior on
errors does not seem to be specified in the standard (so it is not even
correct to check for zero even when zero is not an accepted value, like
for a port number).

The result of all this is that sending UDP packets of zero length (as
required by the Release Specs) was not possible.

This patch replaces atoi by strlen, which allows for robust error detection.
Sending zero length packets is possible.
2019-04-10 15:33:46 +02:00