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

27251 Commits

Author SHA1 Message Date
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
Jose Alamos
eaf2fecd20 vera++: remove non-zero exit code 2020-02-18 19:53:08 +01:00
Benjamin Valentin
93d536f761 cpu/sam0_common: samr30 add PIN_(.*)_EIC_EXTINT_NUM to vendor header
samr30 is the only MCU of this family where the vendor files do not
define the PIN_($pin)_EIC_EXTINT_NUM macro yet.

This macro is needed to create a generic EXTI configuration for all
sam0 MCUs.

The defines were generated with

    sed -Ei '/define PIN_(.*)_EIC_EXTINT([0-9]*)/
            {h; x;
             s/define PIN_(.*)A_EIC_EXTINT([0-9]*)(.*)/
               define PIN_\1A_EIC_EXTINT_NUM       _L_\(\2\)
               \/**< \brief EIC signal: PIN_\1 External Interrupt Line *\/
              /g; G}' samr30g18a.h samr30e18a.h
2020-02-18 18:28:10 +01:00
950a206bad cpu/cortex-m: MPU: turn into feature "cortexm_mpu" 2020-02-18 16:41:36 +01:00
Leandro Lanzieri
3e7ddcdd4c
Merge pull request #13399 from cgundogan/pr/make_without_implicit_rules
make: disable implicit rules
2020-02-18 15:12:00 +01:00
Leandro Lanzieri
ea8c85ae8b core/debug: Fix code style errors 2020-02-18 13:20:06 +01:00
Leandro Lanzieri
981b4eb8d0 core/debug: Fix documentation of ENABLE_DEBUG macro 2020-02-18 13:20:06 +01:00
Leandro Lanzieri
0b9f3b4d5f LOSTANDFOUND.md: Add NHDP module removal 2020-02-18 13:20:06 +01:00
Leandro Lanzieri
9026823bb9 net: Remove NHDP module
NHDP has been flagged as deprecated in
056bd35e6c, due to lack of maintenance.
2020-02-18 13:20:05 +01:00
Leandro Lanzieri
7cacc594cd test: Remove nhdp tests
NHDP module has been deprecated and is being removed.
2020-02-18 13:20:05 +01:00
ff57773710
Merge pull request #13354 from bergzand/pr/suit/cbor_cleanup
suit: cleanup of TinyCBOR to NanoCBOR refactor
2020-02-18 12:35:44 +01:00
Cenk Gündoğan
dbd0b21f15 make: disable implicit rules 2020-02-18 12:11:09 +01:00
MichelRottleuthner
098c3ef3e1
Merge pull request #13395 from smlng/pr_doc_phynode
boards: update doc of phyNode (pba-d-01-kw2x)
2020-02-18 11:56:02 +01:00
Sebastian Meiling
85c01f2ebd boards: update supported features of pba-d-01-kw2x 2020-02-18 11:42:05 +01:00
Sebastian Meiling
867090c579 boards: update links in doc of pba-d-01-kw2x 2020-02-18 11:40:34 +01:00
Sebastian Meiling
a9cb3b637f boards: add pinout ref for pba-d-01-kw2x 2020-02-18 11:40:34 +01:00
8c7ebbdc4f
suit: cleanup of TinyCBOR to NanoCBOR refactor 2020-02-18 11:26:40 +01:00
2c0afaa9e2
Merge pull request #13392 from aabadie/pr/cpu/cpu_arch_features
cpu/cortexm: move CPU_ARCH/FAM to Makefile.features
2020-02-18 11:05:43 +01:00
Sebastian Meiling
2aaf811d84
Merge pull request #9778 from jia200x/pr/vera++
style-check/vera++: add style validator and scripts
2020-02-18 10:04:38 +01:00