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

33345 Commits

Author SHA1 Message Date
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
Marian Buschsieweke
9d46bc7d7f
Merge pull request #14703 from maribu/sock-aux-api
net/sock: Add access to auxiliary data (API only)
2020-12-03 12:08:49 +01:00
benpicco
a80631a297
Merge pull request #15074 from maribu/ptp-clock
drivers/periph/ptp_clock
2020-12-03 09:59:07 +01:00
benpicco
72621bcfcf
Merge pull request #15525 from firas-hamdi/fix/suit_coap_wo_progressbar
sys/suit: fix use w/o progress bar
2020-12-03 09:34:38 +01:00
Francisco
d1f1c6baa3
Merge pull request #15545 from aabadie/pr/boards/qn908x_clean_makefile_include
boards/common/qn908x: cleanup Makefile.include
2020-12-03 09:21:09 +01:00
Marian Buschsieweke
152ffe6db9
net/sock_dtls: Extend API for auxiliary data 2020-12-02 17:56:14 +01:00
Marian Buschsieweke
893bfd13d0
net/sock_udp: Extend API for auxiliary data 2020-12-02 17:56:13 +01:00
Marian Buschsieweke
ebcf1c0ab4
net/sock_ip: Extend API for auxiliary data 2020-12-02 17:56:13 +01:00
Marian Buschsieweke
2e529e92a4
tests: Added test for PTP clock 2020-12-02 17:53:01 +01:00
Marian Buschsieweke
0da5d1607c
tests: Added test for PTP timer 2020-12-02 17:53:01 +01:00
Marian Buschsieweke
a38db4bda3
boards/nucleo-f767zi: Enabeld PTP clock 2020-12-02 17:53:00 +01:00
Marian Buschsieweke
ea3752db77
cpu/stm32: Added PTP clock implementation 2020-12-02 17:53:00 +01:00
Marian Buschsieweke
7d1edd51f4
drivers/periph: Added PTP clock API 2020-12-02 17:53:00 +01:00
Marian Buschsieweke
d59607ddb7
sys/timex: change type of NS_PER_SEC
Having NS_PER_SEC defined as `1000000000U` is quite a foot gun, as
multiplication even with small numbers in 32 bit quickly overflows. Using the
`1000000000LLU` instead forces 64 bit math.
2020-12-02 17:53:00 +01:00
benpicco
665c07eb53
Merge pull request #15120 from benpicco/driver/at86rf215-trim
driver/at86rf215: add functions to configure trim & clock output at run-time
2020-12-02 16:53:02 +01:00
Benjamin Valentin
be10d0b9e0 tests/driver_at86rf215: extend with driver specific commands 2020-12-02 14:59:17 +01:00
Benjamin Valentin
95d082a2be driver/at86rf215: add functions to set trim & clock output at run-time
To calibrate the at86rf215 radio, trim value has to be set at run-time
during board production.
Add two helper functions to control the trim value and clock output register.
2020-12-02 14:59:17 +01:00
Benjamin Valentin
b866b5ef2b sys/net/gnrc/netif: add gnrc_netif_get_netdev()
Add a function to retrieve a netdev from the list of interfaces.
2020-12-02 14:59:17 +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
28947e5198
Merge pull request #15542 from miri64/tests/enh/gnrc_ipv6_ext_frag-netif_setter
tests/gnrc_ipv6_ext_frag: use gnrc_netif_hdr_set_netif()
2020-12-02 13:36:58 +01:00
53b1a2f36d
Merge pull request #15544 from aabadie/pr/doc/board_porting_serial
doc: update board porting documentation page
2020-12-02 13:27:07 +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
b31357eccc
doc: update Makefile.include instructions
Specify the programmer using the PROGRAMMER variable, don't include programmer specific makefile and serial makefile
2020-12-02 11:57:10 +01:00
Firas Hamdi
398889cafa sys/suit: fix use w/o progress bar
apply change
2020-12-02 10:51:36 +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
Benjamin Valentin
b7b208829f tools/uf2: add uf2conv.py as a flash tool 2020-12-02 10:20:17 +01:00
Leandro Lanzieri
192b7b4efe
tests/driver_{d,e,f}*: add Kconfig configuration files
Also add the tests to the CI list.
2020-12-02 10:16:49 +01:00
Leandro Lanzieri
d91e8463bb
drivers/fxos8700: add module to Kconfig 2020-12-02 10:15:01 +01:00
Leandro Lanzieri
a2d31be65b
drivers/feetech: add module to Kconfig 2020-12-02 10:15:00 +01:00
Leandro Lanzieri
25917b1986
sys/fmt/Kconfig: make module available only for testing 2020-12-02 10:14:43 +01:00
Leandro Lanzieri
5ab04a28b9
sys/embunit/Kconfig: make module available only for testing 2020-12-02 10:14:43 +01:00
Leandro Lanzieri
af672ca01a
drivers/dynamixel: add module to Kconfig 2020-12-02 10:14:41 +01:00
Leandro Lanzieri
03e94aab1e
drivers/uart_half_duplex: add module to Kconfig 2020-12-02 10:13:50 +01:00
Leandro Lanzieri
fe2c66fd89
drivers/dsp0401: add module to Kconfig 2020-12-02 10:13:11 +01:00
Leandro Lanzieri
2b70d7ab31
drivers/ds3234: add module to Kconfig 2020-12-02 10:13:11 +01:00
Leandro Lanzieri
480840e209
drivers/ds3231: add module to Kconfig 2020-12-02 10:13:11 +01:00
Leandro Lanzieri
53b5f6dac9
drivers/ds1307: add module to Kconfig 2020-12-02 10:13:11 +01:00
Leandro Lanzieri
05e79ed86d
drivers/ds75lx: add module to Kconfig 2020-12-02 10:13:11 +01:00
Leandro Lanzieri
0eb1f03c45
drivers/ds18: add module to Kconfig 2020-12-02 10:13:10 +01:00
Leandro Lanzieri
14ea7a676d
sys/Kconfig.stdio: add printf_float module 2020-12-02 10:13:10 +01:00
Leandro Lanzieri
895be48336
drivers/disp_dev: add module to Kconfig 2020-12-02 10:13:10 +01:00
Leandro Lanzieri
789a197cee
drivers/dht: add module to Kconfig 2020-12-02 10:13:10 +01:00
Leandro Lanzieri
a0f8ad9e8c
drivers/dfplayer: add module to Kconfig 2020-12-02 10:13:08 +01:00
Leandro Lanzieri
3741fc8b92
sys/auto_init/multimedia: add module to Kconfig 2020-12-02 10:12:17 +01:00
Leandro Lanzieri
d7e9b242e9
drivers/dcf77: add module to Kconfig 2020-12-02 10:12:16 +01:00
Leandro Lanzieri
92b54ecf94
drivers/edbg_eui: add module to Kconfig 2020-12-02 10:12:12 +01:00
Francisco
c9720d16ca
Merge pull request #15515 from leandrolanzieri/pr/kconfig/drivers_ghij
drivers/{g,h,i,j}*: add Kconfig modules
2020-12-02 10:03:02 +01:00