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

25089 Commits

Author SHA1 Message Date
Gunar Schorcht
5d51c03af9 cpu/esp32: replace ets_printf by printf
Wherever possible, ets_printf is replaced by newlib printf.
2019-11-22 11:11:19 +01:00
Gunar Schorcht
1f940b0728 cpu/esp32: map log outputs from SDK libraries
Log outputs generated by binary ESP32 SDK libraries are mapped to the ESP32's log module which supports colored and tagged log outpus. Tagged log outputs from SDK libraries are handled accordingly.
2019-11-22 11:11:19 +01:00
Gunar Schorcht
9a4cdc7e93 cpu/esp32: log_module implementation
The implementation of `log_module` for ESP32 was changed from functions to a macro-based implementation to be able to use the bunch of macros for colored and tagget log output generation.
2019-11-22 11:11:19 +01:00
Gunar Schorcht
327b9fd32e cpu/esp32: introduce module esp_log_tagged
ESP32 log output was always tagged with additional information by default. The tag consists the type of the log message, the system time in ms, and the module or function in which the log message is generated. By introducing module `esp_log_tagged`, these additional information are disabled by default and can be enabled by using module `esp_log_tagged`.
2019-11-20 08:42:27 +01:00
Gunar Schorcht
a3058291b7 cpu/esp32: colored log output
Log module of ESP32 supports colored log outputs when module `esp_log_color` is enabled. The generation of colored log outputs is realized by a extending the bunch of macros with an additional letter indicating the type of log message,
2019-11-20 08:42:22 +01:00
Gunar Schorcht
f2f07252fe cpu/esp32: bootloader versions with and w/o colors
For the implementation of the colored log output, two versions of the bootloader are introduced, one version with colored log output and one version without colors.
2019-11-20 08:42:14 +01:00
5a705762ee
Merge pull request #12708 from kaspar030/make_enable_second_expansion
make: enable SECONDEXPANSION for module/application builds
2019-11-18 16:09:24 +01:00
Dylan Laduranty
5f4b8ef131
Merge pull request #12737 from MrKevinWeiss/pr/doc/gpioenumfix
doc: Fix cpu specific enum in doxygen
2019-11-18 13:52:40 +01:00
588766ab27
Merge pull request #12733 from fjmolinas/pr_jlink_serial
makefiles/tools/jlink.inc.mk: DEBUG_ADAPTER_ID as JLINK_SERIAL
2019-11-18 13:47:26 +01:00
fjmolinas
05782d1495 makefiles/tools/jlink.inc.mk: DEBUG_ADAPTER_ID as JLINK_SERIAL
- export JLINK_SERIAL for required targets
2019-11-18 13:04:42 +01:00
Francisco Molina
f9ebc8658f dist/tools/jlink: cleanup doc 2019-11-18 13:04:42 +01:00
MrKevinWeiss
5c085d711d cpu/native: Suppress cpu specific spi_clk_t in doxygen 2019-11-18 11:44:13 +01:00
MrKevinWeiss
d218b77ff7 cpu/esp8266: Suppress cpu specific i2c_speed_t in doxygen 2019-11-18 11:43:45 +01:00
MrKevinWeiss
02bd107722 cpu/esp8266: Suppress cpu specific gpio_flank_t in doxygen
The enumeration takes both the cpu and the driver, it should only show the driver enum
2019-11-18 11:43:12 +01:00
Kevin "Tristate Tom" Weiss
be39169bd4
Merge pull request #11108 from gschorcht/cpu/esp8266/esp-idf/pr
cpu/esp8266: complete reimplementation based on ESP8266 RTOS SDK
2019-11-18 09:34:49 +01:00
Marian Buschsieweke
cd0b9755eb
Merge pull request #12734 from maribu/atmega328p-doc
boards/atmega328p: Fixed doc
2019-11-18 08:20:35 +01:00
Marian Buschsieweke
f4089d08fe
boards/atmega328p: Fixed doc
- Use proper IEC units for sizes
- Added info on EEPROM
- Fixed incorrect info on default fuse settings
- Added info on how to unlock 8MHz
2019-11-18 00:16:43 +01:00
Marian Buschsieweke
3b8cbec6c5
Merge pull request #12731 from maribu/atmega-reset
makefiles/tools: Allow make reset via avrdude
2019-11-17 15:55:38 +01:00
Marian Buschsieweke
135a37a4d1
makefiles/tools: Allow make reset via avrdude
In order to flash AVR devices, avrdude needs the ability to reset them:
Those using a bootloader will only enter it after a reset, and those programmed
via ISP also need a reset to enter ISP mode.

Sadly, avrdude has no option to reset the board. But running it without commands
will read and print the boards identification and fuse settings. For this, as
reset is needed. This commit uses this side-effect reset to implement make reset
for all AVR based boards
2019-11-17 14:46:48 +01:00
61c6b071b2
Merge pull request #12699 from basilfx/feature/netdev_tap_stack
netdev_tap: don't allocate DEBUG_EXTRA_STACKSIZE twice
2019-11-16 23:16:00 +01:00
Gunar Schorcht
92191efc48
Merge pull request #12726 from aabadie/pr/drivers/efm32_pwm_blacklist
drivers/pca9685: blacklist efm32 architecture
2019-11-16 17:09:43 +01:00
1d20e9e1bb
tests/driver_pca9685: remove useless BOARD_BLACKLIST
The efm32 arch is blacklisted at driver dependency level.
2019-11-16 14:16:27 +01:00
79943cb0de
drivers/pca9685: blacklist efm32 arch
The CPU doesn't support PWM_RIGHT
2019-11-16 14:08:49 +01:00
7d3a6fecee
cpu/efm32: provide arch_efm32 features 2019-11-16 14:07:53 +01:00
benpicco
d755d50b1f
Merge pull request #12723 from benpicco/msba2-cleanup
boards/common: clean up msba2 common files
2019-11-16 13:14:33 +01:00
Benjamin Valentin
60686c96dc boards/common: clean up msba2 common files
The 'msba2' common files have accumulated many empty files are files that
do nothing.
This makes reasoning about the boards needlessly difficult.

Trim down on `common/msba2/` so that it now only contains the setup for the
UART/bootloader based flashing.

This should eventuelly be moved to `makefiles/tools/`
2019-11-16 11:57:15 +01:00
Marian Buschsieweke
e52c92eb42
Merge pull request #12720 from maribu/cleanup
examples/default: Removed accidentally added file
2019-11-15 22:10:28 +01:00
Marian Buschsieweke
e6d7d9e167
examples/default: Removed accidentally added file
What a mess :-/
2019-11-15 21:41:26 +01:00
550bd160ae
Merge pull request #12719 from aabadie/pr/pkg/spiffs_msp430
tests/pkg_spiffs: exclude msp430 boards because of missing memory
2019-11-15 20:42:20 +01:00
2f5f69e23a
tests/pkg_spiffs: exclude msp430 boards because missing memory
The build fails during link because of insufficient memory. No need to use BOARD_BLACKLIST for msp430 based boards
2019-11-15 19:11:37 +01:00
9fa6a8c686
Merge pull request #12718 from aabadie/pr/pkg/semtech-loramac_blacklist_arch
pkg/semtech-loramac: blacklist arch_msp430 and remove use of BOARD_BLACKLIST
2019-11-15 19:09:12 +01:00
c3a647f15e
tests/pkg_semtech-loramac: remove useless BOARD_BLACKLIST
msp430 architecture is blacklisted at package level. pic32-clicker/wifire boards doesn't provided the some required features (SPI, GPIO_IRQ)
2019-11-15 18:14:25 +01:00
5400ab7284
pkg/semtech-loramac: blacklist MSP430 based boards
EXIT_SUCCESS/EXIT_FAILURE macros are not provided by the toolchain, which ends-up in a failing build
2019-11-15 18:14:25 +01:00
Martine Lenders
384b1aeec8
Merge pull request #12667 from leandrolanzieri/pr/net/ipv6_get_iface_string
net/ipv6: Don't assume interface specifier is an int for splitting
2019-11-15 15:41:38 +01:00
Leandro Lanzieri
a78354c271 tests/unittests/ipv6_addr: Add tests for ipv6_addr_split_prefix 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
b5930af760 tests/unittests/ipv6_addr: Add tests for ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
39984b1f51 shell/gnrc_netif: Use ipv6_addr_split_int for prefix 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
ad4fc4b76e tests/nanocoap_cli: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
e64d327ea8 tests/gnrc_udp: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
c3a02d86df tests/gnrc_ipv6_ext_frag: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
1d0f92203b shell/sntp: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:09:32 +01:00
Leandro Lanzieri
edae993f63 shell/gnrc_icmpv6_echo: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:02:50 +01:00
Leandro Lanzieri
3c89597c83 net/gnrc/tcp: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:02:50 +01:00
Leandro Lanzieri
a602e0afae examples/gnrc_networking_mac: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:02:50 +01:00
Leandro Lanzieri
2856f166c6 examples/gnrc_networking: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:02:50 +01:00
Leandro Lanzieri
7d41fcc87d examples/gcoap: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:02:50 +01:00
Leandro Lanzieri
4c6da9f178 examples/dtls-wolfssl: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:02:50 +01:00
Leandro Lanzieri
65b852ba15 examples/dtls-echo: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:02:50 +01:00
Leandro Lanzieri
4d4f6ae1d6 net/ipv6: Return string pointer when splitting IPv6 interface.
Right now 'ipv6_addr_split_iface' assumes that the interface specifier
will always be a number (based on GNRC way of identifying interfaces),
but this may not be always the case.In order to be able to use the
Network Interface API, interfaces should be referred by their name.

This changes 'ipv6_addr_split_iface' so it returns a pointer to the
string that specifies the interface.
2019-11-15 14:02:50 +01:00
27e8caf3f3
Merge pull request #12526 from kaspar030/fix_fe310_default_optimization
cpu/fe310: change default optimization to "-Os"
2019-11-15 13:10:13 +01:00