Benjamin Valentin
d16afe5422
examples: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Benjamin Valentin
9d6d93ef2f
drivers: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Benjamin Valentin
e8dc1119b8
sys: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Benjamin Valentin
4918dfe590
tests: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Benjamin Valentin
8af04cd939
boards: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Benjamin Valentin
fcf31724a6
core: add ARRAY_SIZE macro
2019-08-06 19:31:10 +02:00
Gunar Schorcht
d4f818b5f3
pkg/lwip: add esp_wifi network device
...
The changes allow to use an esp_wifi network device of ESP32 with lwIP.
2019-08-06 19:12:29 +02:00
Gunar Schorcht
73552b2c11
cpu/esp32: _esp_wifi_dev exposed for lwIP
...
To be able to access the single esp_wifi network device from lwIP adaptation layer, static keyword was removed from esp_wifi_dev variable.
2019-08-06 19:12:29 +02:00
Gunar Schorcht
33a6f42fa5
cpu/esp32: lwIP Ethernet address option length
...
The option value length of Ethernet addresses can be more than 6 byte in lwIP. Therefore, the max_len parameter is check to be greater than or equal to ETHERNET_ADDR_LEN.
2019-08-06 19:12:29 +02:00
MichelRottleuthner
900fdcf783
Merge pull request #11971 from gschorcht/cpu/esp32/make/fix-conditional-linker-options
...
cpu/esp32: fix of conditional linker options for esp_idf_heap
2019-08-06 19:11:10 +02:00
dylad
f92eb109e7
cpu/saml1x: fix adc resolution issue
2019-08-06 19:08:39 +02:00
Gunar Schorcht
b2b17c5912
cpu/esp32: fix conditional linker options for esp_idf_heap
...
Module esp_idf_heap is enabled in cpu/esp32/Makefile.dep depending on other modules. Since cpu/esp32/Makefile.dep is read after cpu/esp32/Makefile.include, the conditional definition of the linker options for the wrapper functions had to be moved from cpu/esp32/Makefile.include to cpu/esp32/Makefile.dep.
2019-08-06 18:17:59 +02:00
Francisco
b8cd3c0724
Merge pull request #11809 from aabadie/pr/boards/stm32_timer_conf_common
...
boards/stm32: introduce common timer configurations and use them where possible
2019-08-06 17:07:22 +02:00
653c23ea31
Merge pull request #11963 from fjmolinas/pr_efm32_flashpage_raw
...
cpu/efm32: add flashpage_raw
2019-08-06 16:29:15 +02:00
MichelRottleuthner
8589382899
Merge pull request #11967 from gschorcht/cpu/esp32/make/fix-undefined-symbols
...
cpu/esp32: cleanup to fix undefined symbols
2019-08-06 15:36:58 +02:00
Gunar Schorcht
e4198542d1
cpu/esp32: fix multiple definitions with esp_idf_heap
...
If module esp_idf_heap is used, the memory management functions _malloc_r, _realloc_r, _calloc_r and _free_r have to be overridden by wrapper functions to use the heap_* functions of module _esp_idf_heap. However, this can lead to multiple symbol errors for these functions for some applications. To solve this symbol conflict, _malloc_r, _realloc_r, _calloc_r and _free_r functions are renamed to __wrap_* and the linker options are extended by -Wl,-wrap option when module esp_idf_heap is used.
2019-08-06 14:21:17 +02:00
accff501d9
tests/log_printfnoformat: add test application & script
2019-08-06 12:05:52 +02:00
b388a5b3d2
Merge pull request #11572 from aabadie/pr/boards/native_fix_log
...
boards/native: fix overriden INCLUDES leading to build failure
2019-08-06 12:05:26 +02:00
Martine Lenders
d13d49d11f
Merge pull request #11814 from aabadie/pr/doc/remove_duplicate_group_define
...
doc: remove duplicate definitions of Doxygen groups
2019-08-06 09:50:59 +02:00
d8746add06
native: don't use NATIVEINCLUDES in board and board/drivers
2019-08-06 09:44:19 +02:00
51e40084c1
Merge pull request #11832 from fjmolinas/pr_optimize_pm_stm32l1
...
cpu/stm32l1: optimize power consumption
2019-08-06 09:34:07 +02:00
ff8990750a
Merge pull request #11966 from aabadie/pr/drivers/periph_wdt_doc_fix
...
drivers/periph_wdt: small doxygen fixes
2019-08-06 09:27:18 +02:00
Gunar Schorcht
7f30bf2aef
cpu/esp32: optimizing compilation of subdirs
...
A number of subdirectories in cpu/esp32/vendor/esp-idf have to be compiled ony, when according modules are required by the application.
2019-08-06 08:05:28 +02:00
Gunar Schorcht
9e47872a59
cpu/esp32: fix multiple definition of putchar
...
When standard C libraries are added to BASELIBS to group them together with all other modules, there are multiple definitions for the putchar function. The one that is defined writing to the UART as standard output and the one that is provided by the standard C libraries. To solve this symbol conflict, putchar and getchar functions that use the UART as standard output/input are renamed to __wrap_putchar and __wrap_getchar and the linker options are extended by -Wl,-wrap option.
2019-08-06 08:05:22 +02:00
Gunar Schorcht
4972d5bd67
cpu/esp32: fix pthread_setcancelstate symbol problem
...
When linking an application, symbol pthread_setcancelstate is not known in standard C libraries, even if the pthread module is linked. This is because the pthread module is grouped with all other modules, but not with the default C libraries when they are added to LINK_FLAGS. Therefore, standard C libraries have to be added also to BASELIBS to group them with all other modules.
2019-08-06 08:05:18 +02:00
Gunar Schorcht
e9ecca2c62
cpu/esp32: fix unknown symbols for unused functions
...
Fixes the problem that the compilation of an applications can throw unknown symbol errors for functions that aren't use at all. Thus, it is possible to remove the warning for unknown symbols and the compilation can abort if there are real unknown symbols.
2019-08-06 08:04:57 +02:00
cf2228e23e
drivers/periph_wdt: cleanup normal mode inline example
...
Remove a useless blankline
2019-08-05 21:48:10 +02:00
bd1eb6e285
drivers/periph_wdt: fix inline callback example
...
Function was renamed to wdt_setup_reboot_with_callback
2019-08-05 21:47:25 +02:00
MichelRottleuthner
a55e1fcb15
Merge pull request #11964 from gschorcht/cpu/esp32/esp_wifi/fix_send_return_value
...
cpu/esp32: fix of the return code in esp_wifi_send
2019-08-05 18:50:52 +02:00
fjmolinas
254934dfa6
cpu/nrf5x_common: add flashpage_raw_support
2019-08-05 17:45:14 +02:00
Gunar Schorcht
b571757bcd
cpu/esp32: fix of the return code in esp_wifi_send
2019-08-05 17:38:03 +02:00
Kevin "Bear Puncher" Weiss
9821fa8043
Merge pull request #11959 from maribu/bluepill
...
boards/{blue,black}pill: Fixed flashing
2019-08-05 17:34:56 +02:00
fjmolinas
e1576c986c
cpu/efm32: add flashpage_raw
2019-08-05 17:24:26 +02:00
Francisco
86870c7ede
Merge pull request #11542 from aabadie/stm32_spi_gpio_mode
...
stm32-common/spi: allow custom pin modes on spi to minimize power consumption
2019-08-05 17:13:08 +02:00
e352b54a9b
net/gnrc/tcp: remove duplicate net_gnrc_tcp group definitions
2019-08-05 16:57:37 +02:00
f922df8c99
net/gnrc/sock: remove duplicate net_gnrc_sock group definition
2019-08-05 16:57:37 +02:00
fdfd3133f7
core/sched_native: fix duplicate core_sched group definition
...
Introduce core_sched_native group and put this in group in parent
core_sched group
2019-08-05 16:57:37 +02:00
8196ea7e58
boards/arduino-leonardo: remove duplicate doc group definition
2019-08-05 16:57:37 +02:00
90e136405e
boards/common/esp: deduplicate common esp boards group definitions
2019-08-05 16:57:36 +02:00
bd816f3fb1
pkg/lwip: cleanup doxygen documentation
...
- Deduplicate lwip group definition
- Fix reference to sock instead of conn
2019-08-05 16:57:36 +02:00
998fd6bcc9
sys/pthread: deduplicate pthread group definition
2019-08-05 16:57:36 +02:00
9e9ef3293d
sys/sha1: deduplicate sys_hashes_sha1 group definition
2019-08-05 16:57:36 +02:00
570f308551
cpu/efm32: deduplicate cpu_efm32 group definition
2019-08-05 16:57:36 +02:00
6bf9290ed5
boards/stm32f769i-disco: deduplicate doxygen group definition
...
The group is already defined in the doc.txt file so no need to define it again in board.h
2019-08-05 16:57:36 +02:00
01814dec19
boards/nucleo-*: deduplicate doxygen board group definitions
2019-08-05 16:57:35 +02:00
248f8d3284
boards/esp8266: deduplicate board doxygen group definition
2019-08-05 16:57:35 +02:00
340c8e8236
drivers/sx127x: let sx127x driver manage spi pins GPIO modes
2019-08-05 16:46:41 +02:00
cb25ed7b05
boards/stm32: provide support custom spi pins mode for lora boards
...
This minimize a lot power consumption when going to sleep after the spi has been used
2019-08-05 16:46:41 +02:00
c2d81fc246
stm32-common/spi: add customizable gpio modes for spi pins
2019-08-05 16:46:41 +02:00
e42307188c
drivers/spi: extend API with updatable gpio mode on pins
2019-08-05 16:46:41 +02:00