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

25293 Commits

Author SHA1 Message Date
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
Martine Lenders
a6623f834f bitfield: unify order
Currently the bitfield type mixes up the order of bits: While the byte
order is big-endian (most significant byte first), the bit order of each
single byte within the bitfield is little-endian (most significant bit
last). While this isn't a problem for most applications of the bitfield
type it becomes one when sending the bitfield over the network (as done
e.g. in the [ACKs of Selective Fragment Recovery][SFR-ACKs]).

This change unifies byte order and bit order to both be most
significant bX first.

[SFR-ACKs]: https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-07
2019-11-20 18:53:11 +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
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
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
254f6ff9f9
tests/malloc: cleanup in test application
The idea is not fill the memory on the computer running a native instance and to be able to test on hardware. The test application is reworked similarly as the memarray test application. Macro are now overridable and printed at the beginnined of the test: this allows easier automatic testing
2019-11-20 06:44:30 +01:00
benpicco
d91b756d0b
Merge pull request #12735 from aabadie/pr/pkg/cleanup_makefiles
pkg: cleanup management of dependencies
2019-11-20 01:43:26 +01:00
benpicco
1999e2f89c
Merge pull request #12745 from benpicco/atmega-led_fix
boards/atmega_common: remove weak led_init()
2019-11-20 00:14:48 +01:00
benpicco
cfcbb76cd2
Merge pull request #12729 from maribu/atmega1284p
boards/atmega1284p: Add ATmega1284P as board
2019-11-19 23:18:31 +01:00
Hauke Petersen
04dcc3662b
Merge pull request #12344 from chrysn-pull-requests/particle-antenna-switch
particle-*: Configure antenna switch
2019-11-19 23:06:29 +01:00
Benjamin Valentin
c277100dd9 boards/atmega_common: remove weak led_init()
`led_init()` is already protected by an `#ifdef`, so no need for
the weak symbol.

The problem is that the weak function does not get overridden, even when
the board provides it's own led_init(), resulting in no LEDs being
initialized.
2019-11-19 22:36:07 +01:00
ea8257b69f
Merge pull request #12743 from aabadie/review_miniterm
tools/serial.inc.mk: add support miniterm.py
2019-11-19 15:58:20 +01:00
a5785cdf9c
tools/serial.inc.mk: Support miniterm.py
miniterm.py is a simple terminal program that is included with pyserial.
This means that it is available wherever pyterm can work. It allows raw
access, does line translation and passes through special characters.

Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2019-11-19 15:07:32 +01:00
Vincent Dupont
8bf37f3f62
Merge pull request #12664 from benpicco/littlefs-1.7.2
pkg/littlefs: bump littlefs version to 1.7.2
2019-11-19 14:26:46 +01:00
Marian Buschsieweke
277bf803f8
tests/sys_crypto: Blacklist atmega1284p 2019-11-19 09:32:20 +01:00
Marian Buschsieweke
7c1f35daa4
tests/libfixmath_unittests: Blacklist atmega1284p 2019-11-18 23:50:54 +01:00
Marian Buschsieweke
b7150ed6c7
boards/common/atmega: Added ATmega1284P PWM conf
Added PWM configuration for the ATmega1284P CPU; this can be reused for every
board featuring that CPU.
2019-11-18 23:46:08 +01:00
Marian Buschsieweke
8d0a9ead7b
cpu/atmega_common/periph: Fixed typo in gpio.c 2019-11-18 22:45:40 +01:00
Marian Buschsieweke
74db50032f
tests: Added test for the ws281x driver 2019-11-18 22:45:40 +01:00
Marian Buschsieweke
1ed1906023
drivers/ws281x: Added driver for RGB LEDs
Added driver for the WS2812/SK6812 RGB LEDs often sold as NeoPixels, which due
to their integrated RGB controller can be chained to arbitrary length and
controlled with a single GPIO.
2019-11-18 22:45:24 +01:00
76b9642e5f
Merge pull request #11870 from kaspar030/blobs
make: add blob utility header
2019-11-18 21:54:49 +01:00
3091de3a50 tests/blob: add test application for blob.inc.mk 2019-11-18 17:53:48 +01:00
b4da3b464f make: pass BLOBS to makefiles/application.inc.mk
For regular modules, adding files to BLOBS is sufficient to create the
corresponding headers.

Application modules are different, as they use a minimal makefile
(makefiles.application.inc.mk) to build, thus application level
variables are not available.

This commit makes Makefile.include pass BLOBS to the application
Makefile as APPLICATION_BLOBS, and application.inc.mk use that variable
as value for BLOBS.

The indirection is necessary so submakefiles (e.g., those visited by
DIRS) do not hard override BLOBS.
2019-11-18 17:53:48 +01:00
a100c1c0ea makefiles/blob.inc.mk: introduce blob -> hdr utility makefile 2019-11-18 17:53:47 +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
chrysn
9954194ae0 particle boards: Make default antenna selection configurable
The setter function approach makes this switchable at runtime (antenna
diversity?).

Documentation is added both to the board introduction page and the
individual pins and functions.
2019-11-18 13:54:39 +01:00
chrysn
951f7dec2c particle-*: Configure antenna switch
The particle-{argon,boron,xenon} all have a uFL connector and a PCB
antenna for 2.4GHz radio, connected by a SKY13351-378LF switch
configured by a VCTL[12] pin pair.

This sets the default configuration to use the PCB antenna, as driving
an unconnected antenna will deteriorate radio performance.
2019-11-18 13:54:22 +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
6975bab63d
pkg/ndn-riot: move dependency handling in Makefile.dep 2019-11-18 08:57:00 +01:00
d88042d92a
pkg/gecko_sdk: move dependency handling in Makefile.dep 2019-11-18 08:56:51 +01:00
aa8d8a8731
pkg/libcoap: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:55:47 +01:00