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
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
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
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
Alexandre Abadie
340c8e8236
drivers/sx127x: let sx127x driver manage spi pins GPIO modes
2019-08-05 16:46:41 +02:00
Alexandre Abadie
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
Alexandre Abadie
c2d81fc246
stm32-common/spi: add customizable gpio modes for spi pins
2019-08-05 16:46:41 +02:00
Alexandre Abadie
e42307188c
drivers/spi: extend API with updatable gpio mode on pins
2019-08-05 16:46:41 +02:00
Alexandre Abadie
31c52041e6
Merge pull request #11939 from fjmolinas/pr_add_nrf52_i2c_cfg
...
boards/common/nrf52: add common nrf52 i2c config
2019-08-05 16:39:33 +02:00
Alexandre Abadie
60455a9f3a
Merge pull request #11962 from fjmolinas/pr_nucleol152re_qdsa
...
tests/pkg_qdsa: increase timeout
2019-08-05 16:18:46 +02:00
Francisco Molina
b2b915d217
tests/pkg_qdsa: increase timeout
...
- Some boards take longer than the default timeout to finish the test,
e.g. nucleo-l152re
2019-08-05 15:27:36 +02:00
Francisco
db08af4586
Merge pull request #11812 from aabadie/pr/boards/nucleo_doc_cleanup
...
boards/nucleo*: move doxygen group definition to doc.txt
2019-08-05 15:22:03 +02:00
Alexandre Abadie
d99879eb32
Merge pull request #11489 from fjmolinas/pr-update_stm32l1-cmsis
...
stm32l1/vendor: update vendor files to v2.3.0
2019-08-05 15:03:09 +02:00
Marian Buschsieweke
5da1dbc4a6
boards/{blue,black}pill: Fixed flashing
...
A new blue pill variant with only 32 KiB of flash (secretly coming with
64 KiB flash) instead of the use 64 KiB flash (secretly coming with 128 KiB)
is not compatible with `make flash`. This commit changes the OpenOCD config
so that both variants can be flashed.
2019-08-05 13:00:44 +02:00
Hauke Petersen
a04d83e99f
Merge pull request #11797 from haukepetersen/add_test_softdevice
...
tests: add Nordic SoftDevice test app
2019-08-05 12:59:57 +02:00
Hauke Petersen
2e73e7f043
tests: add Nordic SoftDevice test app
2019-08-05 12:09:00 +02:00
Francisco
4e45502fe3
Merge pull request #11345 from aabadie/pr/boards/stm32_rtc_define_remove
...
boards/stm32*: remove useless RTC_NUMOF defines
2019-08-05 11:47:05 +02:00
Alexandre Abadie
f4d65e10cd
Merge pull request #11897 from fjmolinas/pr_stm32_common_define_alignment
...
cpu/stm32_common: uniformize define alignments
2019-08-05 11:27:36 +02:00
francisco
e4a49f023e
stm321l1/vendor: migrate to new v2.3.0 vendor files
...
- remove old header files
- fix new DMA header file macro definitions
- remove old cpu type groups (STM32L1XX_MD, STM32L1XX_MDP,
STM32L1XX_HD, STM32L1XX_XL)
2019-08-05 11:13:08 +02:00
francisco
0adb36e5ef
stm32l1/vendor: add v2.3.0 vendor files
2019-08-05 11:13:08 +02:00
Alexandre Abadie
7853ca0108
boards/stm32*: remove useless RTC_NUMOF defines
2019-08-05 11:08:53 +02:00
Alexandre Abadie
1026fe395b
Merge pull request #11919 from fjmolinas/pr_fix_11820_2
...
cpu/cortexm_common: replace irq_restore by __set_PRIMASK for stm32l152re
2019-08-05 11:02:36 +02:00
Francisco Molina
d075e55bb4
cpu/cortexm_common: replace irq_restore by __set_PRIMASK for stm32l152re
...
- The __NOP() that was added in #8518 is now remooved.
- When DBG_STANDBY, DBG_STOP or DBG_SLEEP are set in DBG_CR a hardfault
occurs on wakeup from sleep. This was first diagnosed in #8518 . When
enabled, a hardfault occured when returning from a branch to irq_restore()
we avoid the call by inlining the function call. See #11830 for more
details.
2019-08-05 10:40:28 +02:00
Martine Lenders
4139370a87
Merge pull request #11952 from PeterKietzmann/pr_ccnl_update_and_bump
...
pkg/ccn-lite: bump version and adapt shell functions accordingly
2019-08-05 10:27:43 +02:00
PeterKietzmann
0cc91a47e1
pkg/ccn-lite: suppress llvm error
2019-08-05 09:36:43 +02:00
benpicco
2ddfd1fdac
Merge pull request #11647 from benpicco/sam0-hwrng
...
cpu/sam0_common: add hwrng driver
2019-08-03 15:16:56 +02:00
Benjamin Valentin
7e5088982b
cpu: saml21: don't silently ignore missing makefile
...
-include will throw no error if sam0_common/Makefile.features does not exist.
This may not have been intentional as none of the other sam0 implementations
do this.
Replace it with a normal include.
2019-08-03 14:50:58 +02:00
Benjamin Valentin
a9b0db3ba4
cpu/sam0_common: add hwrng driver
2019-08-03 14:50:58 +02:00
Francisco
536eaaa085
Merge pull request #11953 from cladmi/pr/tests/compile_and_test_for_board/only_compile_testable_applications
...
compile_and_test_for_board: add --with-test-only
2019-08-02 14:53:25 +02:00
Gaëtan Harter
25890c814a
compile_and_test_for_board: add --with-test-only
...
Add an option to only compile applications that have available test.
The target usage is when running hardware tests to save time by only
compiling what will be tested.
2019-08-02 14:35:05 +02:00
Marian Buschsieweke
e612d3d71b
Merge pull request #11122 from ibr-cm/hartung/atmega-pin-change-interrupt-pseudomodules
...
cpu/atmega_common: pseudomodule-based pin change interrupt implementation
2019-08-02 13:41:37 +02:00
Gaëtan Harter
821c42f5b2
compile_and_test_for_board: add logger info for 'has_test'
...
Add a logger info printing if the application has a test.
2019-08-02 13:24:52 +02:00
Ken Bannister
c8e87e7854
Merge pull request #11787 from miri64/gcoap/enh/backoff-config
...
gcoap: allow for retransmission backoff to be turned off
2019-08-02 06:40:07 -04:00
Ken Bannister
28317019fc
Merge pull request #11784 from miri64/gcoap/fix/ack-variance-0
...
gcoap: don't call random_uint32_range() when COAP_ACK_VARIANCE=0
2019-08-02 05:10:45 -04:00
Cenk Gündoğan
89c3c4e20e
shell/ccn-lite: type fixes
2019-08-02 10:37:47 +02:00
Martine Lenders
5e9aef2dea
Merge pull request #11747 from haukepetersen/opt_emcute_nodeidoverride
...
examples/emcute_mqttsn: allow override of EMCUTE_ID
2019-08-02 10:36:05 +02:00
PeterKietzmann
448e282ff3
pkg/ccn-lite: bump version
2019-08-02 10:35:39 +02:00
Hauke Petersen
e61e6a6cb4
examples/emcute: fix typo in README
2019-08-02 09:30:11 +02:00
Hauke Petersen
514d771064
examples/emcute_mqttsn: allow override of EMCUTE_ID
2019-08-02 09:28:28 +02:00
Hauke Petersen
2ff5720c95
Merge pull request #11576 from miri64/posix_socket/fix/fd-perms
...
posix_sockets: set read/write permissions for socket fd
2019-08-02 09:22:24 +02:00
Martine Lenders
4cdd15457c
Merge pull request #11949 from haukepetersen/opt_nimble_ver997dad8
...
pkg/nimble: bump version to 997dad8
2019-08-01 16:33:18 +02:00
Hauke Petersen
7e9c7ee98d
tests/nimble_l2cap: adjust buffer sizes
2019-08-01 16:15:56 +02:00
Hauke Petersen
4016eeb1ad
pkg/nimble: bump version to 997dad8
2019-08-01 13:55:47 +02:00
Kevin "Bear Puncher" Weiss
2be1323357
Merge pull request #10929 from gschorcht/esp_now_wifi_cleanup
...
cpu/esp*: esp_now and esp_wifi cleanup
2019-08-01 09:56:06 +02:00
Robert Hartung
c8d460eefe
cpu/atmega256rfr2: pin change interrupts
2019-08-01 09:35:35 +02:00
Robert Hartung
18117b4eb8
boards/arduino-mega2560: restrics usable pin change interrupts
2019-08-01 09:35:35 +02:00
Robert Hartung
09b26120fd
boards: adds atmega pin change interrupt to doc
2019-08-01 09:35:35 +02:00