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

26807 Commits

Author SHA1 Message Date
986ff50b75
Merge pull request #13200 from fjmolinas/pr_buildtests_boardsdir
makefiles/info-global.inc.mk: reset BOARDSDIR
2020-02-11 16:51:03 +01:00
Francisco Molina
a348f1db48
doc/doxygen: add creating boards doc 2020-02-11 16:50:50 +01:00
1f5340c307
boards/stm32: Add default config for USB OTG HS peripheral 2020-02-11 15:50:22 +01:00
7f1325e48c
pyboard: add usbdev feature 2020-02-11 15:50:22 +01:00
08c74db3d9
stm32f769i-disco: add usbdev feature 2020-02-11 15:50:21 +01:00
033cb5559a
stm32f723e-disco: add usbdev feature 2020-02-11 15:50:21 +01:00
d9837182a0
stm32f4discovery: add usbdev feature 2020-02-11 15:50:21 +01:00
4d0f3d0d3a
stm32f429i-disc1: add usbdev feature 2020-02-11 15:50:20 +01:00
8198c52d17
nucleo-f767zi: add usbdev feature 2020-02-11 15:50:20 +01:00
befac12f9a
nucleo-f746zg: add usbdev feature 2020-02-11 15:50:20 +01:00
dca64d4120
nucleo-f722ze: add usbdev feature 2020-02-11 15:50:20 +01:00
0f885b3789
nucleo-f446ze: add usbdev feature 2020-02-11 15:50:19 +01:00
625698a1d2
nucleo-f429zi: add usbdev feature 2020-02-11 15:50:19 +01:00
2c6f0537df
nucleo-f413zh: add usbdev feature 2020-02-11 15:50:19 +01:00
f37b5d7ec7
nucleo-f412zg: add usbdev feature 2020-02-11 15:50:18 +01:00
3280248e89
nucleo-f207zg: add usbdev feature 2020-02-11 15:50:18 +01:00
fc63fb77bf
boards/stm32: Add default config for USB OTG FS peripheral 2020-02-11 15:50:18 +01:00
bd844435af
stm32: Add dw USB OTG FS usbdev driver 2020-02-11 15:50:18 +01:00
47527e5a00 tests/bench_xtimer_load: initial commit 2020-02-11 15:49:23 +01:00
benpicco
628aa1197e
Merge pull request #13331 from btcven/2020_02_10-sram-size
cc26x2_cc13x2: use correct RAM value
2020-02-11 15:43:38 +01:00
Martine Lenders
34bc658ac6
Merge pull request #12570 from kaspar030/add_codespell_interactive_mode
dist/tools/codespell: add interactive mode
2020-02-11 15:37:07 +01:00
Francisco Molina
dd8e9ae627
makefiles/info-global.inc.mk: reset BOARDSDIR 2020-02-11 15:26:04 +01:00
c30df3cac9
Merge pull request #7572 from kaspar030/zptr
core: add pointer compression header
2020-02-11 15:25:24 +01:00
benpicco
33291ad675
Merge pull request #13306 from fjmolinas/pr_samr21_use_xosc
boards/sam[r/d]21-xpro: prefer XOSC32K for RTC/RTT (GCLK2)
2020-02-11 15:18:36 +01:00
Martine Lenders
8c2174773c
Merge pull request #13334 from chrysn-pull-requests/nordic-softdevice-ipsp-warning
pkg/nordic_softdevice_ble: Imminent deprecation warning
2020-02-11 14:39:42 +01:00
Martine Lenders
4af8a79041
Merge pull request #13333 from miri64/gnrc_pktbuf/cleanup/replace
gnrc_pktbuf: deprecate gnrc_pktbuf_replace_snip()
2020-02-11 14:19:20 +01:00
e360d36a76
Merge pull request #13337 from miri64/murdock/enh/disable-compile-tests
murdock: add capability to skip compile tests via PR label
2020-02-11 14:18:33 +01:00
f3874edd14 tests/unittests: add basic zptr test 2020-02-11 13:59:59 +01:00
5dc32b14cc sys: zptr: initial commit
Provides functionality to compress pointers from 32bit to 16bit if
possible.
2020-02-11 13:59:59 +01:00
bbf274aecc cpu/kinetis: immediately convert shell expansion of RAM_BASE_ADDR 2020-02-11 13:59:59 +01:00
f1799b9910 dist/tools/codespell: add interactive mode 2020-02-11 13:23:47 +01:00
Martine S. Lenders
04cae4c392
murdock: add capability to skip compile tests via PR label 2020-02-11 13:23:04 +01:00
benpicco
d51333485d
Merge pull request #13324 from maribu/ina2xx_fix
drivers/ina2xx: Fixed missing i2c_acquire/release
2020-02-11 11:36:59 +01:00
chrysn
83c889320d nanocoap: State handler idempotentcy requirement
Closes: https://github.com/RIOT-OS/RIOT/issues/12938
2020-02-11 11:12:08 +01:00
496ae49692
Merge pull request #13091 from bergzand/pr/mpu/enable_once
cortexm_common/mpu: Only enable during low low level init
2020-02-11 11:11:13 +01:00
8543dbc263
Merge pull request #9349 from OTAkeys/pr/mtd_no_sleep
mtd_spi_nor: remove sleep when waiting for write completed
2020-02-11 10:24:45 +01:00
chrysn
6a493cce58 pkg/nordic_softdevice_ble: Add note on being outdated
See-Also: https://github.com/RIOT-OS/RIOT/issues/11951
2020-02-11 09:59:18 +01:00
Martine S. Lenders
e94aa40bf5
gnrc_pktbuf: deprecate gnrc_pktbuf_replace_snip()
The function is unused and unneeded since 69d9ecc0d9 and
https://github.com/RIOT-OS/RIOT/issues/5089 calls to provide unittests.
2020-02-11 09:49:57 +01:00
chrysn
461065471d pkg/nordic_softdevice_ble: Move README in with doxygen 2020-02-11 09:46:15 +01:00
Jean Pierre Dudey
de50518146
cc26x2_cc13x2: use correct RAM value
Previous value was 20 K, now it's 80 K. The older family of these MCUs
(cc13x0, cc26x0) had that size, currently for cc13x2 and cc26x2 it's
80 K.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-02-10 18:38:15 -05:00
benpicco
eede974fa0
Merge pull request #12871 from benpicco/lpc2387_rtc_cleanup
cpu/lpc2387: rtc: remove use of localtime()
2020-02-10 23:36:14 +01:00
benpicco
d8c050943c
Merge pull request #13327 from maribu/atmega-bootloader
boards: Cleaned up bootloader selection for ATmega
2020-02-10 23:18:43 +01:00
benpicco
82134ad77a
Merge pull request #13323 from francois-berder/mbedlpc1768-doc
boards: mbed_lpc1768: Improve documentation
2020-02-10 23:07:27 +01:00
Benjamin Valentin
9f4920329b cpu/lpc2387: clear BODR if POR is set
From the data sheet:

> **Note:** Only in case when a reset occurs and the POR = 0, the BODR bit
indicates if the V DD(DCDC)(3V3) voltage was below 2.6 V or not.

So the value of BODR is undefined if POR is set.
Clear it to bring it to a defined state.
2020-02-10 23:04:47 +01:00
Benjamin Valentin
76e19602a2 cpu/lpc2387: rename cpu_woke_from_backup()
The function would always return `true` after early boot, so it
is not very useful for applications.

Now it will only (but always) return true when we woke from Deep Sleep
*after* early boot. This makes it behave the same ways as the function
of the same name on SAME54.

Rename the existing function to cpu_backup_ram_is_initialized() to better
match it's semantics.
2020-02-10 23:04:47 +01:00
Benjamin Valentin
64107dd3a9 cpu/lpc2387: rtc: only initialize RTC after cold boot or external reset
On the MCB2388 plugging the power will result in both the POR and EXTR
bit being set.
Not sure if this is a property of the board, but it means RTC is also
reset after programming, so it behaves just like Backup RAM.

If we woke from Deep Sleep the POR bit will be cleared, so the RTC is not
reset.
2020-02-10 23:04:47 +01:00
Benjamin Valentin
80dde82c86 cpu/lpc2387: clear POR bit if we woke from Deep Sleep
RSIR is 0x1 (POR) if we woke from Deep Sleep.
This makes it hard to distinguish between real power-on and waking from
Deep Sleep, which is why the Backup RAM signature was introduced.

However, calling cpu_woke_from_backup() a second time will always return
true, as the signature will have been set up by early boot then.

Thus, clear the POR bit if the signature was already in place.
The result is:

	RSIR == 0 -> woke from sleep
	RSIR == 1 -> cold boot
2020-02-10 23:04:46 +01:00
Benjamin Valentin
6dbbc8f33a cpu/lpc2387: rtc: remove _rtc_set()
Calling localtime() adds considerable overhead.
There are easier ways to set the date to 1970.

For tests/periph_rtc this results in this ROM change:

master:

   text    data     bss     dec     hex
  31328     240   98064  129632   1fa60

with this patch:

   text    data     bss     dec     hex
  20036     140   98168  118344   1ce48
2020-02-10 23:04:46 +01:00
Marian Buschsieweke
fec0f8dd48
boards/waspmote-pro: Refactor avrdude conf 2020-02-10 21:48:03 +01:00
Marian Buschsieweke
21b37a3f5e
boards/mega-xplained: Refactor avrdude conf 2020-02-10 21:48:03 +01:00