Benjamin Valentin
8424d1845b
cpu/lpc2387: fix doxygen errors
...
Document macros and remove an unused function.
2019-11-22 09:11:39 +01:00
Benjamin Valentin
a9d1825e2e
cpu/lpc2387: implement periph/pm
...
Enable IDLE and Deep Powerdown mode.
IDLE is pretty straightforward - insteady of busy waiting, the CPU will
enter an idle state from which it will resume on any event.
Deep Power Down shuts off the entite system except for the battery backup
power domain.
That means the CPU will reset on resume and can be woken by e.g. RTC.
SLEEP and POWERDOWN disable the PLL and the PLL and Flash respectively.
This requires some proper wake-up handling.
Since this turned out to be a major time sink and those modes are never
currently never used in RIOT outside of tests, I left this as an exercise
for a future reader.
2019-11-22 09:11:39 +01:00
3eae474e74
Merge pull request #12760 from benpicco/debug-puts
...
core: debug: introduce DEBUG_PUTS()
2019-11-21 22:06:01 +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
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
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
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
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
e9bde9eca4
Merge pull request #12754 from gschorcht/cpu/esp32/fix_heap_cmd
...
cpu/esp32: fix heap command output
2019-11-20 21:59:45 +01:00
benpicco
8836f225e6
Merge pull request #12586 from aabadie/pr/drivers/tmp00x_scan_build
...
drivers/tmp00x: cleanup return codes and fix potential use of uninitialized parameter
2019-11-20 20:10:17 +01:00
benpicco
c4d905f518
Merge pull request #12668 from herjulf/avr-rss2-PR
...
Adding: boards/avr-rss2 and AtMega256RFR2 based board See doc.txt for details.
2019-11-20 20:10:04 +01:00
Benjamin Valentin
a98a9e12e9
core: debug: introduce DEBUG_PUTS()
...
The DEBUG() function requires a minimal stack size for printf().
This is not always availiable.
To still allow static debug messages, introduce DEBUG_PUTS() that
gets resolved to puts() and does not carry such stack size requirements.
2019-11-20 19:09:47 +01:00
Francisco
a2b72f4012
Merge pull request #12725 from aabadie/pr/pkg/ndn-riot-blacklist-nimble
...
pkg/ndn-riot: blacklist ble_nimble feature
2019-11-20 14:50:32 +01:00
benpicco
00c21e2f8c
Merge pull request #12701 from aabadie/pr/tests/malloc_autotest
...
tests/malloc: improve application and add an automatic test script
2019-11-20 14:04:31 +01:00
Robert Olsson
c903bc8c1b
boards/avr-rss2: add AtMega256RFR2 based board
...
Co-Authored-By: benpicco <benpicco@googlemail.com>
Support: Alexandre Abadie aabadie, Marian Buschsieweke maribu, Martine Lenders miri64
2019-11-20 11:57:02 +01:00
Gunar Schorcht
3ab5e3ad66
cpu/esp32: fix heap command output
...
The heap command output has to have an output format that is compatible with the test.
2019-11-20 08:44:45 +01:00
Gunar Schorcht
5ba4a7d7cf
boards/esp32*: espreset tool added
2019-11-20 08:33:47 +01:00
1a802fff22
examples/ndn-ping: remove useless BOARD_BLACKLIST
...
the ble_nimble feature is now blacklisted at package level which automatically blacklist the nrf52832 based boards
2019-11-20 07:25:25 +01:00
6bcf492d08
pkg/ndn-riot: blacklist ble_nimble feature
2019-11-20 07:25:25 +01:00
070c6603a0
tests/malloc: add Python script for automatic test
2019-11-20 06:50:34 +01:00