401abd5b71
boards/pic32-clicker: cleanup includes
2019-11-22 08:12:47 +01:00
e8b0399bc9
boards/pic32-clicker: cleanup uart initialization
2019-11-22 08:12:46 +01:00
Benjamin Valentin
9df377d699
cpu/sam*: pm: make use of DEBUG_PUTS()
...
`pm_set()` gets called by the idle thread whose stack is too small
for normal DEBUG()/printf().
Use DEBUG_PUTS() instead to print the static debug strings.
2019-11-22 01:30:03 +01:00
3eae474e74
Merge pull request #12760 from benpicco/debug-puts
...
core: debug: introduce DEBUG_PUTS()
2019-11-21 22:06:01 +01:00
Gunar Schorcht
4b92ce289b
sys/arduino: compilation of Arduino libraries
...
To make it possible to use an Arduino library, a new pseudomodule arduino_lib is introduced. This pseudomodule enables implicitly module arduino but avoids that a sketch is required or generated and compiled. Thus, it is possible to compile and use a package or directory with some source files from an Arduino library in RIOT applications.
2019-11-21 19:13:14 +01:00
Gunar Schorcht
d55225eb29
cpu/esp32: remove SDK crypto dependency from doc
2019-11-21 18:34:08 +01:00
Gunar Schorcht
5f01d0a88f
cpu/esp32: remove SDK crypto function dependency
...
Modules `crypto` and `hashes` have not be disabled any longer when module `esp_wifi` is used.
2019-11-21 18:34:08 +01:00
Gunar Schorcht
1a12f56fbd
cpu/esp32: use renamed SDK crypto functions
2019-11-21 18:32:28 +01:00
Gunar Schorcht
d8f0399eaa
cpu/esp32: rename SDK crypto function
...
Renames crypto functions of ESP32 SDK in vendor code to resolve the conflicts between `wpa-supplicant` crypto functions and RIOT's `crypto` and `hashes` modules.
2019-11-21 18:32:28 +01:00
Gunar Schorcht
f8c740c190
cpu/esp32: use SDK crypto headers from vendor code
...
Changes the include path for ESP32 SDK crypto function headers to find their modified version in vendor codefirst.
2019-11-21 18:32:28 +01:00
Gunar Schorcht
ee349edf3b
cpu/esp32: add SDK crypto headers and rename
...
To resolve the conflicts between `wpa-supplicant` crypto functions (part of the ESP32 SDK) and RIOT's `crypto` and `hashes` modules, the crypto function headers from ESP32 SDK are added to vendor code and the crypto functions are renamed using the prefix `wpa_`.
2019-11-21 18:32:28 +01:00
c7825aa92e
Merge pull request #12508 from gschorcht/cpu/esp32/doc_adc2_and_wifi
...
cpu/esp32: note on using ADC2 and WiFi in documentation
2019-11-21 18:27:06 +01:00
Gunar Schorcht
e942338f78
sys/arduino: add type definitions often used
...
boolean and byte are data types defined in Arduino.h and very often used in Arduino code.
2019-11-21 17:22:38 +01:00
178d0aace2
Merge pull request #12758 from gschorcht/cpu/esp32/fix_fs_tests
...
cpu/esp32: increase timeout for spiffs and littlefs tests
2019-11-21 17:10:16 +01:00
fe255a26d5
Merge pull request #12750 from gschorcht/cpu/esp32/esptools
...
cpu/esp32: use esptool.py from riot tools
2019-11-21 17:09:54 +01:00
4d84c4c495
Merge pull request #12764 from fjmolinas/pr_cpp_check_fix
...
dist/tools/cppcheck: fix all Cppcheck 1.82 errors
2019-11-21 16:25:10 +01:00
af9f105d95
Merge pull request #12770 from kaspar030/also_search_closed_prs_before_contributing
...
CONTRIBUTING.md: hint to also search closed PRs for previous work
2019-11-21 15:52:35 +01:00
Gunar Schorcht
a05027cdba
Merge pull request #12523 from aabadie/pr/sys/arduino_pwm
...
sys/arduino: add implementation for analogWrite
2019-11-21 15:08:10 +01:00
Martine S. Lenders
27510b72f8
tests/unittests: add tests for missing bitfield functions
2019-11-21 12:38:31 +01:00
4c86288ea6
CONTRIBUTING.md: hint to also search closed PRs for previous work
2019-11-21 12:33:35 +01:00
Francisco Molina
fe180daa3b
sys/include/net/gnrc/gomach.h: fix cpp preprocessorErrorDirective
...
Preprocesor fails to evaluate the if condicion on L91-92 because
RTT_FREQUENCY is not defined, and therefore a division by 0 occurs.
TO avoid this replicate the RTT_FREQUENCY undefined warning.
2019-11-21 11:58:07 +01:00
Francisco Molina
d2e90b2370
dist/tools/ethos/ethos.c: remove unusued var 'escaped'
2019-11-21 11:58:07 +01:00
Francisco Molina
7e2fd21f2a
pkg/u8g2/src/csrc/u8g2_riotos.c: fix cpp.check shiftTooManyBitsSigned
2019-11-21 11:58:07 +01:00
Francisco Molina
4c0dd49603
cpu/sam3/periph/gpio.c: fix cpp.check shiftTooManyBitsSigned
2019-11-21 11:58:07 +01:00
Francisco Molina
cc2c3a0163
pkg/ucglib/src/csrc/ucg_riotos.c: fix cpp.check shiftTooManyBitsSigned
2019-11-21 11:58:07 +01:00
Francisco Molina
cf3d584678
sys/cb_mux/cb_mux.c: fix cpp.check shiftTooManyBitsSigned
2019-11-21 11:58:07 +01:00
Francisco Molina
061b494348
cpu/lpc1768/periph/gpio.c: fix cpp.check shiftTooManyBitsSigned
2019-11-21 11:58:07 +01:00
Francisco Molina
254b54847f
shell/commands/sc_gnrc_rpl.c: fix cpp.check unitialized variable
2019-11-21 11:58:07 +01:00
Francisco Molina
ab16222c8b
sys/net/routing/nhdp: fix cpp.check unitialized variable
2019-11-21 11:58:07 +01:00
Francisco Molina
bf3c722abc
sys/net/network_layer: fix cpp.check unitialized variable
2019-11-21 11:58:07 +01:00
Francisco Molina
2c9abf0832
sys/cb_mux/cb_mux.c: fix cpp.check unitialized variable
2019-11-21 11:58:07 +01:00
Francisco Molina
97dda76e7a
cpu/native/irq_cpu.c: fix cpp.check unitialized variable
2019-11-21 11:58:07 +01:00
Martine S. Lenders
880a68c11f
tests/unittests: fix existing bitfield tests for new bit-order
2019-11-21 11:43:31 +01:00
Gunar Schorcht
fe165738e7
cpu/esp32: doc changes for esptool.py
2019-11-21 10:18:56 +01:00
Gunar Schorcht
9080893f06
cpu/esp32: use esptool.py from riot tools
...
Use esptool.py from riot tools instead from ESP-IDF SDK to avoid that the SDK has to be installed to flash an image.
2019-11-21 10:18:56 +01:00
Gunar Schorcht
47a4ff05c0
cpu/esp32: increase timeout for spiffs and littlefs tests
...
The time it takes to erase the entire flash memory of an esp32 card requires increasing the timeout for tests/pkg_spiffs and tests/pkg_littlefs.
2019-11-21 10:15:38 +01:00
Francisco Molina
2202b71f99
flake8: fix PEP8 overidentation E127
2019-11-21 10:11:56 +01:00
8f90da6040
Merge pull request #12687 from aabadie/pr/pkg/libfixmath_update
...
pkg/libfixmath: several improvements and 8bit fix
2019-11-21 09:55:29 +01:00
6cdf656d62
Merge pull request #12753 from gschorcht/cpu/esp32/fix_sched_prio
...
cpu/esp32: fix of thread priorities levels
2019-11-21 09:28:58 +01:00
bef34d400e
Merge pull request #12757 from gschorcht/cpu/esp32/fix_xtimer_deps
...
cpu/esp32: fix xtimer dependency
2019-11-21 09:23:19 +01:00
Gunar Schorcht
7b1ef78054
cpu/esp32: fix of thread priorities levels
...
A number of tests insist that the number of thread priority levels is 16. However, when using the WiFi interface, a number of high priority threads are required to handle the WiFi hardware. In this case, the number of thread priority levels must be 32. Solves the problem of tests `tests/shell`.
2019-11-21 06:55:41 +01:00
Gunar Schorcht
9a1742074a
cpu/esp32: fix xtimer dependency
...
Removes the dependency of the module riot_freertos from module xtimer. This avoids that xtimer is used even if it is not really needed which in turn occupies the first timer device and tests/periph_timer fails.
2019-11-21 06:38:58 +01:00
07f7ac5829
tests/pkg_libfixmath: refactor test and automatic script
...
Print the range of iterations for each subtests and catch the value in the Python script. The number of iterations is reduced on boards that are not native, this is because this test takes a lot of time on slow platforms
2019-11-20 22:27:41 +01:00
326f5f1d12
tests/pkg_libfixmath: fix PEP8 issues
2019-11-20 22:27:41 +01:00
19917f18b7
tests/libfixmath*: rename test applications
...
Use pkg_ prefix to have a consistent name with other pkg tests applications
2019-11-20 22:27:41 +01:00
e4bea426d5
tests/libfixmath_unittests: remove useless BOARD_BLACKLIST
...
The implementation of libfixmath is not compatible with architecture smaller than 32bit
2019-11-20 22:27:41 +01:00
a4bff5f803
pkg/libfixmath: blacklist architectures not supported by unittests
...
8bit architectures are not compatible. round function is not provided by
the msp430 toolchain.
2019-11-20 22:27:12 +01:00
b32dd168a1
pkg/libfixmath: fix computations on 8bit architectures
2019-11-20 22:27:12 +01:00
8e281f8b02
pkg/libfixmath: cleanup Makefiles and patches
2019-11-20 22:27:12 +01:00
4337cb316f
Merge pull request #12752 from gschorcht/cpu/esp32/espreset
...
boards/esp32*: use espreset tool for reset in make test
2019-11-20 22:07:15 +01:00