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

33442 Commits

Author SHA1 Message Date
ae20873510
makefiles/qemu: add DEBUGGER variables 2020-12-02 08:43:43 +01:00
c066f21b68
Merge pull request #15539 from aabadie/pr/tools/stm32loader
tools/stm32loader: introduce common makefile
2020-12-02 08:24:05 +01:00
iosabi
cc6adbb39d boards/qn9080dk: New board for the QN908x
The QN9080DK is the developer board reference from NXP for the QN908x
CPUs. The developer kit comes with two boards: a larger PCB with many
peripherals and a much smaller "USB dongle". This board adds initial
support for the larger "DK board". At the moment, with the minimal CPU
support this board only configures the GPIOs available in the board,
namely the RGB LED and the two user buttons.
2020-12-02 02:47:07 +00:00
iosabi
86ab9401aa boards/common/qn908x: Define a common qn908x board
Boards based on the qn908x CPU will share the same OpenOCD configuration
regarding the image offset and OpenOCD commands needed to flash the
image directly with "make flash".
2020-12-02 02:47:07 +00:00
iosabi
cde8ac6093 cpu/qn908x: Initial minimal support for NXP QN908x CPUs.
The NXP QN908x CPU family is a Cortex-M4F CPU with integrated USB,
Bluetooth Low Energy and in some variants NFC. This patch implements the
first steps for having support for this CPU.

While the QN908x can be considered the successor of similar chips from
NXP like the KW41Z when looking at the feature set, the internal
architecture, boot image format and CPU peripherals don't match those
in the Kinetis line. Therefore, this patch creates a new directory for
just the QN908x chip under cpu/qn908x.

The minimal set of peripherals are implemented in this patch to allow
the device to boot and enable a GPIO: the gpio and wdt peripheral
modules only.

The wdt driver is required to boot and disable the wdt. On reset, the
wdt is disabled by the chip, however the QN908x bootloader stored in
the internal ROM enables the wdt and sets a timer to reboot after 10
seconds, therefore it is needed to disable the wdt in RIOT OS soon
after booting. This patch sets it up such that when no periph_wdt module
is used the Watchdog is disabled, but if the periph_wdt is used it must
be configured (initialized) within the first 10 seconds.

Tests performed:
Defined a custom board for this CPU and compiled a simple application
that blinks some LEDs. Manually tested with periph_wdt and with
periph_wdt_cb as well.
2020-12-02 02:47:07 +00:00
iosabi
21fd1f9258 Add vendor files for the NXP QN908x cpu
In preparation for adding support for the QN908x cpus, this patch adds
a pristine copy of the vendor SDK files needed for initial support.
The only modification to these files is to add '#ifdef __cplusplus'
guards to all the header files, even if not needed or already
present as '#if defined(__cplusplus)', to make sure
./dist/tools/externc/check.sh check passes.

These files are located under vendor/ directories (both
cpu/qn908x/include/vendor/ and cpu/qn908x/vendor/) and are part of NXP's
SDK for the QN908x family available for download from:
  https://mcuxpresso.nxp.com/en/builder

The files included in these vendor/ directories are released by NXP
under an Open Source license as described in each file, but only the
files used by the next patch are included here.
2020-12-02 02:45:53 +00:00
benpicco
418aaa6e67
Merge pull request #15388 from benpicco/boards/e104-bt5010a-tb
boards/e104-bt5011a-tb: add support for the E104-BT5011A Test Board
2020-12-02 00:24:33 +01:00
Francisco
0b8ec0ba11
Merge pull request #15490 from aabadie/pr/tools/renode_refactor
tools/renode: refactor integration + add debugger support
2020-12-01 23:16:11 +01:00
Marian Buschsieweke
5c70345aa6
Merge pull request #15537 from fabian18/sx127x_netdev_register
drivers/sx127x: use netdev_register()
2020-12-01 21:38:38 +01:00
2dc5a69939
Merge pull request #15535 from aabadie/pr/tools/lpc2k_pgm
tools/lpc2k_pgm: refactor build system integration
2020-12-01 21:13:52 +01:00
benpicco
b18cbd8c2a
Merge pull request #11068 from miri64/gnrc_sixlowpan_frag/new/minfwd
gnrc_sixlowpan_frag: initial import of minimal forwarding
2020-12-01 18:55:51 +01:00
966221f5a4
boards/opencm904: move robotis-loader in common place 2020-12-01 18:31:41 +01:00
Benjamin Valentin
0b83589bbc boards/common/e104-bt50xxa-tb: enable software reset 2020-12-01 18:29:09 +01:00
Benjamin Valentin
5f4afe12f1 examples, tests: add e104-bt5010a-tb to Makefile.ci 2020-12-01 18:29:08 +01:00
Benjamin Valentin
345e0bf063 boards/e104-bt5010a-tb: default to nrfmin
nimble is too large for the board.
2020-12-01 18:28:43 +01:00
Benjamin Valentin
c27ea1afa1 examples, tests: add e104-bt5011a-tb to Makefile.ci 2020-12-01 18:28:41 +01:00
Martine Lenders
5073d8875f
tests/gnrc_ipv6_ext_frag: use gnrc_netif_hdr_set_netif() 2020-12-01 18:16:21 +01:00
d7a3872d42
boards/z1: telosb: use common goodfet makefile 2020-12-01 18:06:47 +01:00
2e1b26bb8e
makefiles/tools/goodfet: add common makefile 2020-12-01 18:06:20 +01:00
benpicco
ef0eb9044b
Merge pull request #14954 from benpicco/drivers/at86rf215-netif_pktq
drivers/at86rf215: make use of packet queue if available
2020-12-01 17:59:06 +01:00
benpicco
c22bba5cac
Merge pull request #15526 from miri64/gnrc_ipv6_ext_frag/fix/i15521
gnrc_ipv6_ext_frag: check return value of msg_try_send()
2020-12-01 17:58:17 +01:00
edcea0b9f9
Merge pull request #15533 from aabadie/pr/tools/mspdebug_programmer
tools: add common makefile for mspdebug programmer
2020-12-01 17:46:21 +01:00
b87b901795
boards/lobaro-lorabox: use common stm32loader 2020-12-01 17:27:14 +01:00
14d19ee790
makefiles/tools/stm32loader: add common makefile 2020-12-01 17:26:57 +01:00
Leandro Lanzieri
2fc12c8252
Merge pull request #14324 from PeterKietzmann/pr_add_entropy_source
sys/entropy_source: add new module for entropy sources
2020-12-01 16:58:42 +01:00
Fabian Hüßler
c526a34770 sx127x: make use of netdev_register()
Call netdev_register() in sx127x_setup()
and pass the index in auto_init_sx127x()
and semtech_loramac_init()
2020-12-01 16:34:11 +01:00
Fabian Hüßler
8ca2e09d95 drivers/include: add NETDEV_SX127X 2020-12-01 16:34:06 +01:00
Martine Lenders
e70a42c076
tests: add gnrc_sixlowpan_frag_minfwd tests for IPHC reception 2020-12-01 16:25:30 +01:00
Martine Lenders
27e123608f
gnrc_sixlowpan_iphc: forward received fragments 2020-12-01 16:25:30 +01:00
Martine Lenders
d8c5a22238
tests: add gnrc_sixlowpan_frag_minfwd tests for IPHC sending 2020-12-01 16:25:30 +01:00
Martine Lenders
d9be79b266
gnrc_sixlowpan_iphc/minfwd: put only IPHC dispatch in first fragment
This is only the case when minfwd is compiled in.
2020-12-01 16:25:29 +01:00
Martine Lenders
383790af63
tests: add gnrc_sixlowpan_frag_minfwd tests for rbuf integration 2020-12-01 16:25:29 +01:00
Martine Lenders
7fe07e35a3
gnrc_sixlowpan_frag_rb: add VRB and use minfwd handling
When a VRB entry exists use minfwd to forward.

When a route exist for the first fragment received in reassembly create
a virtual reassembly buffer entry.
2020-12-01 16:25:29 +01:00
Martine Lenders
df1171a069
gnrc_sixlowpan_frag_rb: make rbuf pointer generic 2020-12-01 16:25:29 +01:00
Martine Lenders
8564a86989
tests: introduce tests for gnrc_sixlowpan_frag_minfwd 2020-12-01 16:25:29 +01:00
d2c09e798a
dist/tools/lpc2k_pgm: fix headerguards 2020-12-01 16:21:50 +01:00
Marian Buschsieweke
56cf30172f
Merge pull request #15532 from fabian18/cc110x_netdev_register
drivers/cc110x: use netdev_register
2020-12-01 16:17:37 +01:00
4567c108a1
dist/tools/externc: exclude code in dist/tools 2020-12-01 16:17:17 +01:00
Benjamin Valentin
e03034eb87 boards/e104-bt5011a-tb: add support for E104-BT5011A breakout board
This adds support for the nRF52811 based E104-BT5011A break-out board.
2020-12-01 16:14:43 +01:00
Benjamin Valentin
ef96696bab boards/common/e104-bt50xxa-tb: common board for Ebyte nRF52 breakouts 2020-12-01 16:14:43 +01:00
ca58bb332e
Merge pull request #15530 from lazylazyllama/fix-bmx280-readme
tests/driver_bmx280: fix address define in README
2020-12-01 16:09:11 +01:00
Benjamin Valentin
7fc042e2a9 drivers/at86rf215: use non-blocking send if gnrc_netif_pktq is active 2020-12-01 16:04:09 +01:00
7272549007
boards/common/msp430: use common mspdebug 2020-12-01 15:52:17 +01:00
a74e005fbb
makefiles/tools: add common mspdebug makefile 2020-12-01 15:52:17 +01:00
PeterKietzmann
aec75b55fe sys/entropy_source: add new module for entropy sources 2020-12-01 15:51:40 +01:00
Martine Lenders
4ce2d01cb9
gnrc_sixlowpan_frag: initial import of minimal forwarding
See https://tools.ietf.org/html/draft-ietf-6lo-minimal-fragment-04
2020-12-01 15:08:08 +01:00
Lasse Rosenow
2cf41f18b6 tests/driver_bmx280: fix address define in README 2020-12-01 14:54:24 +01:00
41d0272140
boards/common/msba2: use common lpc2k_pgm programmer 2020-12-01 13:39:42 +01:00
9d3cbd5933
make: add common lpc2k_pgm programmer makefile 2020-12-01 13:39:28 +01:00
5ee80aaee5
gh_actions: add step for lpc2k_pgm build test 2020-12-01 13:37:34 +01:00