1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

26791 Commits

Author SHA1 Message Date
Benjamin Valentin
a0ac2384ac cpu/sam0_common: samr30: add integer literal macros
All the more recent vendor files have them, so include them for samr30 too.
It is expected for this to become obsolete with the next vendor file update.
2020-02-25 21:52:24 +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
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
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
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
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
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
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
d7c0102115
cpu/cortexm: move CPU_ARCH/FAM to Makefile.features 2020-02-17 16:02:48 +01:00
9866cdd411
Merge pull request #13380 from kaspar030/pm_blocker_one_value
sys/pm_layered: change PM_BLOCKER_INITIAL to single value
2020-02-17 13:07:02 +01:00
benpicco
f1068f9700
Merge pull request #13389 from yegorich/pr/boards/ttgo-t-beam/fix-docu
boards/esp32-ttgo-t-beam: correct SX127x chip frequencies
2020-02-17 11:59:56 +01:00
faa334e6e5
Merge pull request #13388 from yegorich/pr/drivers/sx127x-fix-dead-links
drivers/sx127x: fix dead links
2020-02-17 10:24:48 +01:00
Yegor Yefremov
5cd205dffd boards/esp32-ttgo-t-beam: correct SX127x chip frequencies
According to the datasheet, SX1278 covers frequencies till 525MHz
and hence, cannot be used for the 868/915 MHz band. So swap both
chips.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2020-02-17 10:15:40 +01:00
Yegor Yefremov
f63cc9f900 drivers/sx127x: fix dead links
URLs of the datasheets have been changed again.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2020-02-17 09:54:21 +01:00
benpicco
6f97012237
Merge pull request #13356 from benemorius/pr/at86reset
drivers/at86rf2xx: reset hardware before reading any register
2020-02-16 20:42:41 +01:00
benpicco
860218ee02
Merge pull request #13028 from jue89/feature/dose-optional-sense-pin
drivers/dose: Optional sense pin
2020-02-16 18:41:25 +01:00
Jue
9cb8e2c941 drivers/dose: made the sense pin optional 2020-02-16 17:58:58 +01:00
Jue
cc184ca65b drivers/dose: fixed misspelled OCTET 2020-02-16 17:58:57 +01:00
benpicco
f437a95cb4
Merge pull request #13289 from benpicco/CODEOWNDERS
github: add CODEOWNERS file
2020-02-16 17:35:09 +01:00
a558ed93e4
Merge pull request #13385 from bergzand/pr/suit/remove_hello_world
suit: Remove non-standard hello handler
2020-02-14 22:46:12 +01:00
e1e43118da
suit: Remove non-standard hello handler 2020-02-14 21:38:52 +01:00