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

27219 Commits

Author SHA1 Message Date
Benjamin Valentin
24ed1bbb70 cpu/lpc2387: hook up extra memory sections as heap
This enables the USB, Ethernet and Backup memory regions to be used
as heap memory.
2020-02-20 17:11:25 +01:00
Benjamin Valentin
2ed0dd7405 sys/newlib: enable multiple heaps in _sbrk_r
Some MCUs have non-continuous memory regions.
To support those, iterate over all available memory regions
and allocate the first region that fits.
2020-02-20 17:11:25 +01:00
dbd865413c native: turn on creation of debug symbols (CFLAGS += -g) 2020-02-20 17:06:56 +01:00
Martine S. Lenders
a0b0724f76
examples/gnrc_border_router: add optional DHCPv6 support 2020-02-20 16:42:19 +01:00
Martine S. Lenders
b929d013d8
dhcpv6_client: re-send SOLICITs after failed ADVERTISE 2020-02-20 16:41:48 +01:00
Martine S. Lenders
fc7b2b0760
examples/gnrc_border_router: remove trailing whitespaces in README 2020-02-20 16:37:32 +01:00
benpicco
336bfe54a9
Merge pull request #13366 from bergzand/pr/littlefs2/add_pkg
pkg/littlefs2: Add package for LittleFS v2.x.y
2020-02-20 16:23:59 +01:00
Leandro Lanzieri
ec0e18b821
Merge pull request #12906 from nmeum/pr/remove_gnrc_tftp
gnrc_tftp: remove module
2020-02-20 15:19:23 +01:00
9e11e28686
tests/littlefs2: Add test for LittleFS v2.x.y
Intentionally a copy of the LittleFS v1.x.y test
2020-02-20 14:51:45 +01:00
9b02c7b4ee
pkg/littlefs2: Add package for LittleFS v2.x.y 2020-02-20 14:51:45 +01:00
e324b22c96
Merge pull request #13418 from gschorcht/boards/esp32/fix_btn0_pin
boards/esp32: rename BUTTON0_PIN to BTN0_PIN
2020-02-20 14:40:39 +01:00
Michel Rottleuthner
1743f96fa8 drivers/saul: satisfy vera++ (shorten lines to below 100 chars) 2020-02-20 14:26:55 +01:00
Michel Rottleuthner
7e089bce7b drivers/sps30: add saul integration 2020-02-20 14:26:55 +01:00
Michel Rottleuthner
36fca364f8 sys/phydat: add unit for count per cubic meter 2020-02-20 14:26:55 +01:00
Michel Rottleuthner
46091b6b43 drivers/saul: add class and string for size measurements 2020-02-20 14:26:55 +01:00
Michel Rottleuthner
b5658e61a5 tests: add test application for Sensirion SPS30 sensor driver 2020-02-20 14:26:55 +01:00
Michel Rottleuthner
c4093c29a4 drivers: add driver for Sensirion SPS30 particulate matter sensor 2020-02-20 14:26:55 +01:00
benpicco
410542df90
Merge pull request #13420 from Einhornhool/fix-issue13353
sys/ecc: fix assertion in golay2412
2020-02-20 14:18:55 +01:00
Sören Tempel
e590bf02f2 LOSTANDFOUND.md: Document removal of gnrc_tftp 2020-02-20 14:06:45 +01:00
Lena Boeckmann
463178a892 sys/ecc: fix assertion in golay2412 2020-02-20 13:24:14 +01:00
640cbfe77e
Merge pull request #13405 from kaspar030/introduce_riotboot_slot_offset
sys/riotboot: provide riotboot_slot_offset()
2020-02-20 13:03:29 +01:00
Gunar Schorcht
6a7ba7ba1a boards/esp32: rename BUTTON0_PIN to BTN0_PIN
Since a number of applications rely on the existence of the BTN0_PIN definition, the BUTTON0_PIN  definition has been renamed to BTN0_PIN to make the ESP32 boards compatible with these applications. However, for compatibility with earlier versions, BUTTON0_PIN is still defined as an alias of BTN0_PIN.
2020-02-20 12:14:44 +01:00
Sören Tempel
0e2a620788 gnrc_tftp: remove module
Has been deprecated for awhile (01fc3d8f0b).
2020-02-20 12:04:01 +01:00
Benjamin Valentin
fd9a247200 cpu/sam0_common: use generic exti_config
Creating an `exti_config` array for a new MCU manually is tedious and error prone.
Luckiely all information is already availiable in the vendor files.

Credit for this discovery & method goes to @Sizurka

The file was generated with

```C

int main(void) {
        puts("static const int8_t exti_config[PORT_GROUPS][32] = {");

        for (unsigned port = 1; port < 5; ++port) {
                printf("#if PORT_GROUPS >= %d\n{\n", port);
                for (unsigned pin = 0; pin < 32; ++pin) {
                        printf("#ifdef PIN_P%c%02uA_EIC_EXTINT_NUM\n", '@' + port, pin);
                        printf("    PIN_P%c%02uA_EIC_EXTINT_NUM,\n", '@' + port, pin);
                        printf("#else\n    -1,\n#endif\n");
                }
                printf("},\n#endif\n\n");
        }

        puts("};");

        return 0;
}
```

No changes in generated code are expected, but this makes adding new members
of the sam0 CPU families much easier.
2020-02-20 11:23:51 +01:00
Martine Lenders
ea3296df62
Merge pull request #11823 from miri64/tests/enh/emcute
tests: provide tests for emcute
2020-02-20 11:20:07 +01:00
benpicco
030e7ebc06
Merge pull request #13307 from miri64/dhcpv6-client-6lbr/feat/init
gnrc_dhcpv6_client_6lbr: initial import of a 6LBR DHCPv6 client
2020-02-20 11:00:35 +01:00
Martine Lenders
c6331bfc77
Merge pull request #13379 from cgundogan/pr/gnrc_rpl_p2p
gnrc_rpl_p2p: several compilation fixes
2020-02-20 10:25:55 +01:00
Gunar Schorcht
e4b3ce7c91 boards/esp32: remove MCU feature table in doc
Instead of using the same MCU feature table in every board documentation, it refers to the MCU documentation. This makes it easier to maintain the MCU feature table.
2020-02-20 08:47:18 +01:00
Cenk Gündoğan
47a5c86f86
Merge pull request #13316 from aabadie/pr/tools/packer_update
tools/packer: update vagrant image to Ubuntu 18.04 + refactoring
2020-02-19 22:56:02 +01:00
Cenk Gündoğan
ab414ce813 tests: add simple compile test for gnrc_rpl_p2p 2020-02-19 22:54:09 +01:00
Dylan Laduranty
e1501e200e
Merge pull request #13402 from benpicco/samr30-asf-tweak
cpu/sam0_common: samr30 add PIN_(.*)_EIC_EXTINT_NUM to vendor header
2020-02-19 21:38:10 +01:00
562cc9007c
tools/packer: adapt for Ubuntu 18.04
This change is also a complete refactoring of the generation of the vagrant image
2020-02-19 19:23:07 +01:00
6182e7c977
boards/nrf52: remove uint8_t cast for GPIO_UNDEF 2020-02-19 19:16:58 +01:00
9cebd757a2
cpu/nrf5x: update GPIO_UNDEF value
The gpio_t value is uint8_t so use UINT8_MAX for GPIO_UNDEF
2020-02-19 19:16:58 +01:00
f568162f9b
cpu/nrf5x: provide specific gpio_t definition 2020-02-19 19:16:58 +01:00
Martine Lenders
953e8c9c15
Merge pull request #13403 from jia200x/pr/vera++_relax_errors
vera++: remove non-zero exit code
2020-02-19 18:46:35 +01:00
Martine S. Lenders
8cafcc3ebf
tests: provide tests for 6LBR DHCPv6 client 2020-02-19 18:26:46 +01:00
Benjamin Valentin
3ee7b72431 boards/same54-xpro: don't source peripheral clocks from main clock
Use the dedicated 48 MHz clock as a source for the peripheral clocks.
This was already done for I2C to allow it to work despite the 120 MHz
main clock.

Not running the peripherals off the main clock will allow for dynamic
re-clocking of the main clock in the future, without affecting the
operation of the peripherals.

It also gives more flexibility to the main clock selection in general.
2020-02-19 17:52:12 +01:00
Martine S. Lenders
db463a3373
gnrc_dhcpv6_client_6lbr: initial import of a 6LBR DHCPv6 client 2020-02-19 17:37:47 +01:00
Martine Lenders
48b75d30bd
Merge pull request #13407 from leandrolanzieri/pr/kconfig/include_app_first
Kconfig: Include application-specific symbols first
2020-02-19 17:33:18 +01:00
Martine S. Lenders
5507b1b4a2
tests: provide tests for emcute 2020-02-19 17:28:20 +01:00
Benjamin Valentin
b7b52c4c57 cpu/samd5x: use ONDEMAND bit to run clocks on demand
Set the ONDEMAND bit so clocks are only run if they have a user configured.

This saves 390 µA on same54-xpro.

 examples/default:

    before: 3.88 mA
    after : 3.49 mA

 examples/gnrc_networking: (with REB215-XPRO EXT3)

    before: 13.29 mA
    after : 12.9  mA
2020-02-19 16:56:35 +01:00
benpicco
1aba3eeccf
Merge pull request #13397 from leandrolanzieri/pr/pkg/remove_oonf_api
pkg: Remove oonf_api
2020-02-19 15:27:30 +01:00
Leandro Lanzieri
ce66dcd830 LOSTANDFOUND.md: Add pkg oonf_api 2020-02-19 15:05:19 +01:00
Leandro Lanzieri
c829f820ee pkg: Remove OONF API package
The package has been flagged as deprecated in
07099d99d8, due to lack of users, tests
and maintenance.
2020-02-19 15:04:21 +01:00
Leandro Lanzieri
196345928f tests: Remove pkg_oonf_api tests
The OONF package has been deprecated and is being removed
2020-02-19 15:04:21 +01:00
Martine Lenders
056127bc00
Merge pull request #13396 from leandrolanzieri/pr/net/remove_nhdp
net: Remove NHDP module
2020-02-19 14:34:58 +01:00
Leandro Lanzieri
789c3cf735 Kconfig: Include application-specific symbols first 2020-02-19 14:23:00 +01:00
9ede06fbbb sys/suit: make use of riotboot_slot_offset() 2020-02-19 10:08:47 +01:00
87fcd061a8 sys/riotboot: provide riotboot_slot_offset() 2020-02-19 10:04:52 +01:00