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

5076 Commits

Author SHA1 Message Date
Francisco
0a265b3114
Merge pull request #15591 from aabadie/pr/boards/stm32l476g-disco-connect-assert-srst
boards/stm32l476g-disco: use connect_assert_srst with openocd
2020-12-11 08:54:04 +01:00
38fdcd318d
Merge pull request #15578 from Hxinrong/devfs_registerBranch
add error checks of devfs_register()
2020-12-09 18:53:26 +01:00
b801d57f0c
Merge pull request #15555 from dylad/pr/makefiles/dfu_optionnal_dfuse
boards: move DfuSe specific argument at board level
2020-12-09 14:08:50 +01:00
dylad
47f8d69845 boards: update boards using DfuSe
Update these boards to make use of a new argument to keep using DfuSe mode of dfu-util
2020-12-09 11:48:37 +01:00
Han Xinrong
385dfe46a5 boards/mulle/board.c:add error checks of devfs_register() 2020-12-09 17:55:25 +08:00
fbc8d4add5
boards/stm32l476g-disco: use connect_assert_srst with openocd 2020-12-08 22:32:48 +01:00
8f6005b26e
boards: cpu: stm32f1: use .config for specific iotlab PLL_PREDIV 2020-12-08 18:02:57 +01:00
591f201c11
boards/nucleo-f303k8: remove custom pll prediv/mul defines 2020-12-08 17:36:52 +01:00
75d2002e76
boards/stm32f1/f3: adapt Kconfig for clock configuration 2020-12-08 17:36:52 +01:00
iosabi
ef4b58f4f0 cpu/qn908x: Add timer driver based on CTIMER.
The QN908x CPU has several timer modules: one RTC (Real-Time Clock) that
can count from the 32kHz internal clock or 32.768 kHz external clock,
four CTIMER that use the APB clock and have four channels each and one
SCT timer with up to 10 channels running on the AHB clock.

This patch implements a timer driver for the CTIMER blocks only, which
is enough to make the xtimer module work. Future patches should improve
on this module to support using the RTC CNT2 32-bit free-running
counter unit and/or the SCT timer.
2020-12-04 23:18:27 +01:00
iosabi
bd929a3746 cpu/qn908x: Add support for UART.
The QN908x has four FLEXCOMM interfaces that support a subset of UART,
SPI or I2C each one. This patch adds generic support for dealing with
the FLEXCOMM initialization and interrupts and adds a driver for
RX/TX support in UART.

With this patch is now possible to use a shell on the device over UART.
2020-12-03 20:53:49 +01:00
iosabi
3f600d869e boards/common/qn908x: Compute the image checksum
QN908X CPUs require the image to have a valid checksum. The checksum is
a simple addition of the first 7 uint32_t values stored in the 8th
position of the image header. This position is a reseved entry of the
Cortex-M Vector Table and its value depends on other fields that are
computed at link time. Performing this checksum at link time seems
hard to do, so instead this patch uses a python script to patch the
checksum from the ELF file. This redefines the value of FLASHFILE
to the new .elf file with the checksum fixed.

With this patch, OpenOCD can program and verify QN908X images since
now they have a valid checksum value.
2020-12-03 17:47:33 +01:00
benpicco
a80631a297
Merge pull request #15074 from maribu/ptp-clock
drivers/periph/ptp_clock
2020-12-03 09:59:07 +01:00
Marian Buschsieweke
a38db4bda3
boards/nucleo-f767zi: Enabeld PTP clock 2020-12-02 17:53:00 +01:00
f150304643
boards/common/qn908x: cleanup Makefile.include
- include serial.inc.mk is not needed as it's handled in the main Makefile.include
- the default serial ports are already defined in serial.inc.mk
- use PROGRAMMER to specify the default programmer (openocd) and don't include openocd.inc.mk
- FLASHFILE is already defined as ELFILE in openocd.inc.mk
2020-12-02 14:05:19 +01:00
7492bd4b3d
Merge pull request #15509 from leandrolanzieri/pr/kconfig/drivers_def
drivers/{d,e,f}*: add Kconfig modules
2020-12-02 13:37:40 +01:00
benpicco
c03e3adfd0
Merge pull request #14647 from benpicco/boards/nrf52840-mdk-dongle
boards/nrf52840-mdk-dongle: add nRF52840 MDK USB Dongle
2020-12-02 12:02:44 +01:00
benpicco
646e665a86
Merge pull request #13855 from iosabi/qn908x_initial
cpu/qn908x: Initial minimal support for NXP QN908x CPUs.
2020-12-02 10:31:38 +01:00
Benjamin Valentin
081c600901 boards/nrf52840-mdk-dongle: configure RGB LED as PWM 2020-12-02 10:20:19 +01:00
Benjamin Valentin
4f28bd3482 boards/nrf52840-mdk-dongle: add nRF52840 MDK USB Dongle 2020-12-02 10:20:19 +01:00
Leandro Lanzieri
92b54ecf94
drivers/edbg_eui: add module to Kconfig 2020-12-02 10:12:12 +01:00
f8822b5f8f
boards: remove not need PORT_LINUX/PORT_DARWIN
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
2020-12-02 09:20:57 +01:00
4c290e1f92
boards: remove include of serial.inc.mk 2020-12-02 09:20:57 +01:00
Francisco
9f3eebd9b9
Merge pull request #15543 from aabadie/pr/tools/robotis-loader_common
boards/opencm904: move robotis-loader in common place
2020-12-02 09:18:51 +01:00
Francisco
b251ca2d4f
Merge pull request #15541 from aabadie/pr/make/goodfet_common
tools/goodfet: define variables in common makefile
2020-12-02 09:18:18 +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
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
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
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
345e0bf063 boards/e104-bt5010a-tb: default to nrfmin
nimble is too large for the board.
2020-12-01 18:28:43 +01:00
d7a3872d42
boards/z1: telosb: use common goodfet makefile 2020-12-01 18:06:47 +01:00
b87b901795
boards/lobaro-lorabox: use common stm32loader 2020-12-01 17:27:14 +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
7272549007
boards/common/msp430: use common mspdebug 2020-12-01 15:52:17 +01:00
41d0272140
boards/common/msba2: use common lpc2k_pgm programmer 2020-12-01 13:39:42 +01:00
aea9d4b0a7
make: move lpc2k_pgm in tools/ 2020-12-01 13:36:36 +01:00
Martine Lenders
df676dc078
Merge pull request #15430 from benpicco/boards/native-zep
boards/native: allow to use ZEP instead of tap
2020-12-01 12:16:41 +01:00
b0b19203a7
Merge pull request #15190 from benpicco/boards/wefun-f401cc
boards/common/weact-f4x1cx: create common WeAct boards
2020-12-01 12:03:38 +01:00
Benjamin Valentin
bfb7cbfa4d boards/nrf52: resolve netdev dependencies for all family members 2020-12-01 11:42:52 +01:00
Benjamin Valentin
851e2c5a9a boards/weact-f401cc: add WeAct-f401cc 2020-12-01 11:02:09 +01:00
Benjamin Valentin
84b62aa12b boards/weact-f401ce: add WeAct-f401ce 2020-12-01 11:02:09 +01:00
Benjamin Valentin
26a907576c boards/weact-f411ce: add WeAct-f411ce 2020-12-01 11:02:09 +01:00
Benjamin Valentin
e200d009ad boards/common/weact-f4x1cx: create common WeAct boards dir 2020-12-01 11:02:09 +01:00
d527ab6994
cpu: boards: esp: use common esptool makefile 2020-12-01 10:36:42 +01:00
Francisco
4afc04523c
Merge pull request #14490 from yarrick/esp32_eth_kit
boards: add support for the ESP32-Ethernet-Kit board
2020-12-01 10:09:36 +01:00