1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-15 17:32:44 +01:00
Commit Graph

33148 Commits

Author SHA1 Message Date
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
Marian Buschsieweke
3234b918e3
Merge pull request #15520 from benpicco/cpu/stm32-eth_register
cpu/stm32: periph_eth: register with netdev
2020-11-30 17:04:41 +01:00
Benjamin Valentin
0ed34cdb4d cpu/stm32: periph_eth: drop addr from eth_conf_t
MAC address is now supplied by EUI provider, no need to hard-code
it for the board.
2020-11-29 23:11:14 +01:00
Benjamin Valentin
a28a60f16c cpu/stm32: periph_eth: register with netdev 2020-11-29 23:10:37 +01:00
benpicco
c337089de5
Merge pull request #15518 from aabadie/pr/cpu/cc2538_uart_irq
cpu/cc2538: enable UART IRQ only if cb is not NULL
2020-11-28 18:51:27 +01:00
6e658868e0
cpu/cc2538: enable UART IRQ only if cb is not NULL 2020-11-28 10:30:33 +01:00
Francisco
7237e38436
Merge pull request #15501 from aabadie/pr/boards/renode_hifive
boards/hifive*: add renode support
2020-11-27 10:09:10 +01:00
f1a20d9a78
Merge pull request #13177 from aabadie/pr/boards/arduino-ble-iot
boards/arduino-nano-33-iot: add initial support
2020-11-27 10:03:46 +01:00
Francisco
a618067a76
Merge pull request #15489 from aabadie/pr/boards/renode_firefly
boards/firefly: add renode configuration
2020-11-27 09:21:01 +01:00
fa70cda0c8
tests/bench_xtimer: add arduino-nano-33-iot to low memory 2020-11-27 08:45:07 +01:00
73d36eac38
tests/unittests: exclude arduino-nano-33-iot 2020-11-27 08:45:07 +01:00
8d1f38d572
examples/lua_REPL: exclude arduino-nano-33-iot 2020-11-27 08:45:07 +01:00
dfff56801c
boards/arduino-nano-33-iot: add initial support 2020-11-27 08:45:07 +01:00
19dabc9fd7
Merge pull request #15513 from aabadie/pr/pkg/libb2_update
pkg/libb2: update to latest release
2020-11-26 21:10:58 +01:00
23a2afd8b1
Merge pull request #15514 from aabadie/pr/tools/ci/print_versions_make
ci/print_versions: don't print directory for make shell
2020-11-26 19:49:03 +01:00
c3fa38d9d6
pkg/libb2: blacklist 8bit architectures 2020-11-26 16:13:14 +01:00
b1a05b8c89
pkg/libb2: remove useless define
HAVE_ALIGNED_ACCESS_REQUIRED is not used anymore in libb2
2020-11-26 16:13:13 +01:00
01d2201f4d
pkg/libb2: bump to 0.98.1 2020-11-26 16:13:12 +01:00
529c3142c7
Merge pull request #15510 from kaspar030/add_missing_includes
xtimer, ztimer: add some missing includes
2020-11-26 14:45:23 +01:00
ae053469d5 sys/xtimer: add missing msg.h include 2020-11-26 13:43:13 +01:00
7fe0d5cba8 sys/ztimer: add missing inttypes.h includes 2020-11-26 13:43:13 +01:00
benpicco
aabd5eaca5
Merge pull request #15506 from kaspar030/refactor_thread_info
core: refactor thread info
2020-11-26 13:01:09 +01:00
Francisco
14877443f7
Merge pull request #15494 from gdiribarne/bugfix/sfr04-avr-overflow
drivers/srf04: fix overflow on AVR
2020-11-26 11:14:15 +01:00
Francisco
522e9ebc71
Merge pull request #15500 from benpicco/tests/pkg_jsmn-bump
pkg/jsmn: bump version
2020-11-26 10:47:15 +01:00
Francisco
47ed64fcfd
Merge pull request #15466 from leandrolanzieri/pr/kconfig_drivers_bc
drivers/{b,c}*: model modules in Kconfig
2020-11-26 10:44:28 +01:00
Francisco
ae2246dc80
Merge pull request #15476 from benpicco/tests/malloc-fail
tests/malloc: fail if allocation count does not match
2020-11-26 10:27:02 +01:00
085d61792b
Merge pull request #15475 from aabadie/pr/boards/programmer_common
boards: move programmer includes in Makefile.include
2020-11-26 09:33:01 +01:00
3bafb6e2bc
makefiles/edbg: include openocd.inc.mk to define debug vars 2020-11-25 22:31:13 +01:00
c6ad85a7b0
boards: don't include programmer logic at board level 2020-11-25 22:31:13 +01:00
ae4d505154
Makefile.include: include programmer logic in common place 2020-11-25 21:04:37 +01:00
7e94050bbe sys/ps: make use of thread_is_active() 2020-11-25 20:49:00 +01:00
ceea0ba949 core/thread: add thread_is_active() 2020-11-25 20:49:00 +01:00
benpicco
2453b68249
Merge pull request #15482 from kaspar030/remove_kernel_types
core: remove kernel_types.h
2020-11-25 19:38:00 +01:00
bc34c85226 pkg/lwip: add mips32 ssize_t fix 2020-11-25 17:52:34 +01:00
1936c43689 pkg/ndn-riot: update kernel_pid_t location patch 2020-11-25 17:52:34 +01:00
57e79d6c24 all: add missing sys/types.h includes 2020-11-25 17:52:34 +01:00
a1ca06d6f4 cpu/efm32: coretemp.h: add missing stdint.h include 2020-11-25 17:52:34 +01:00
46737bcdf3 pkg/ccn-lite: add patch for changed kernel_pid_t location 2020-11-25 17:52:34 +01:00
c1874c8d89 all: add missing limits.h includes
Removal of kernel_types.h make these necessary.
2020-11-25 17:52:34 +01:00
1d5e2e9cd9 all: remove traces of kernel_types.h
Automatically removed using:

    $ git grep -l kernel_types | xargs sed -i '/^#include .kernel_types/d'
2020-11-25 17:52:34 +01:00
f17d42c5d4
Merge pull request #15505 from kfessel/patch-scrollTo-0timer
doc/html: Fix scrollTo issue of doxygen
2020-11-25 16:03:14 +01:00
848a5a4e7a sys/ps: make use of thread_get_status() 2020-11-25 14:39:47 +01:00
017e9e9d4d core/thread: add thread_get_status() 2020-11-25 14:39:22 +01:00
5321bcde89 core: thread: move thread_state_to_string() from ps.c 2020-11-25 14:35:00 +01:00
65f997026f core: drop kernel_types.h 2020-11-25 13:18:53 +01:00
Leandro Lanzieri
ae6266bfb4
tests/driver_*: add Kconfig configuration files 2020-11-25 12:43:05 +01:00
Leandro Lanzieri
bf2486a195
drivers/ccs811: add modules to Kconfig 2020-11-25 12:00:39 +01:00