Hauke Petersen
e71f0bb0c6
periph/flashpage: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
8ef4f0d134
periph/dac.h: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
348b337023
periph/cpuid: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
f361ebc0bd
periph/adc: add doc on low power implications
2019-10-01 23:09:23 +02:00
Dylan Laduranty
aed628f08b
Merge pull request #11486 from benpicco/saml21-lpram
...
cpu/saml21: Make Low-Power SRAM available to programs
2019-10-01 21:02:42 +02:00
benpicco
c4fa0842a2
Merge pull request #11940 from basilfx/feature/efm32_riotboot
...
efm32: add support for riotboot
2019-10-01 20:20:17 +02:00
benpicco
29de470281
Merge pull request #12337 from cladmi/pr/make/cpu/makefile_features/static_test
...
dist/buildsystem_sanity_check: add check for CPU/CPU_MODEL migration
2019-10-01 20:00:32 +02:00
Gunar Schorcht
02d81b717e
Merge pull request #12063 from maribu/i2c_release
...
drivers/periph/i2c: Updated i2c_release() to return void
2019-10-01 19:50:38 +02:00
Benjamin Valentin
84a8a26dde
cpu/cortexm: pointer to .text should be const
...
A pointer to read-only ROM data should be const.
2019-10-01 18:42:56 +02:00
Benjamin Valentin
2ff7e03a94
tests/periph_backup_ram: add test for the Backup RAM feature
...
The test will put a device to sleep, then wake it up to see if
the backup memory was retained.
2019-10-01 18:42:56 +02:00
Benjamin Valentin
618449c7bd
cpu/samd5x: hook up backup RAM
2019-10-01 18:39:40 +02:00
Benjamin Valentin
01b3484ffb
cpu/saml21: add definitions for low power SRAM
...
SAML21 provides 2/4/8 kiB of Low Power SRAM that is retained
in backup mode.
This adds definitions to make that memory availiable to RIOT.
2019-10-01 18:39:40 +02:00
Benjamin Valentin
2c09d9bd5b
cpu/cortexm_common: Make Low-Power SRAM available to programs
...
Many MCUs contain some Backup or Low Power SRAM that is retained'even
in the deepest sleep modes.
In such sleep modes the MCU is essentually turned off with only the RTC
still running.
It can be woken by a GPIO or a RTC alarm. When this happens, a reset is
triggered and the normal startup routine is invoked.
This adds bss & data section for this memory in the linker script.
This allows for structures to be placed in it e.g.:
e.g.:
static uint8_t persistent_buffer[64] __attribute__((section(".backup.bss")));
static uint32_t persistent_counter __attribute__((section(".backup.data"))) = 1234;
2019-10-01 18:39:40 +02:00
Benjamin Valentin
c9b827e5d5
sam0_common: export flag that tells if the CPU woke from deep sleep
...
It is often useful to know whether the CPU was just powered on afresh
or if it was woken from a deep sleep state, e.g. by RTC or GPIO event.
2019-10-01 18:39:40 +02:00
Bas Stottelaar
08bc67c0b6
boards+efm32: skip board initialization when in bootloader
2019-10-01 18:08:27 +02:00
Bas Stottelaar
962b0efaaf
boards+efm32: add support for riotboot
2019-10-01 18:08:27 +02:00
Bas Stottelaar
0b6435560e
efm32: optimize when building the bootloader
2019-10-01 18:05:20 +02:00
benpicco
d7d7923f5a
Merge pull request #12107 from cladmi/pr/tests/cleanterm
...
Makefile.include: add cleanterm target and use it for tests
2019-10-01 17:51:48 +02:00
Hauke Petersen
f8112e2164
pkg/nimble/netif_conn: improve debug messages
2019-10-01 17:33:23 +02:00
6b96f69b55
Merge pull request #12192 from aabadie/pr/ci/stale_issues_only
...
stale: don't stale issues labelled with "Type: bug"
2019-10-01 17:30:31 +02:00
Hauke Petersen
b7885428ce
pkg/nimble: bump NimBLE version
2019-10-01 16:40:08 +02:00
cladmi
4277624b55
Makefile.features: warning if CPU not defined by BOARD/Makefile.features
...
CPU must be defined by `$(RIOTBOARD)/$(BOARD)/Makefile.features` or
one of its common included Makefile.features file.
This currently only adds a warning but not prevents building for the
moment.
2019-10-01 16:02:29 +02:00
Gaëtan Harter
cbfab679d3
dist/buildsystem_sanity_check: add check for CPU/CPU_MODEL definition
...
CPU and CPU_MODEL variables must now be defined by
`boards/**/Makefile.features` or 'cpu/CPU/Makefile.features' files
instead of `**/Makefile.include.
Currently blacklist the slwstk6000b that still define
'CPU_MODEL' in a file that is not a 'Makefile.features.
This allows getting this sanity check script in master
This allow using the variables when parsing dependencies.
2019-10-01 16:02:03 +02:00
Gaëtan Harter
7064f7e0ab
dist/buildsystem_sanity_check: add check for included CPU Makefiles
...
CPU Makefile.include/Makefile.features/Makefile.dep must not be
included by the board directly anymore.
2019-10-01 15:57:42 +02:00
benpicco
a7cb0a4b77
Merge pull request #12323 from basilfx/feature/efm32_uart_modes
...
cpu/efm32: provide periph_uart_mode
2019-10-01 15:32:50 +02:00
benpicco
5f6065f567
Merge pull request #12338 from cladmi/pr/make/cortexm/do_not_set_cpu_model
...
makefiles/arch/cortexm.inc.mk: removing setting CPU_MODEL
2019-10-01 15:25:16 +02:00
Gaëtan Harter
66300b2f72
tests/README.md: add documentation about uart interaction
...
Add some documentation about tests using `cleanterm` and what guarantees
it gives.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
1fce298441
tests/test_tools: test receiving an empty line
...
Test receiving an empty line.
It was before not possible with `pyterm` but is fixed by previous
commit.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
baad72c44a
Makefile.include: allow sending newline with cleanterm
...
Disable repeating the command on empty line to allow sending empty
lines.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
d33e2d215e
tests/test_tools: test to get a command return value
...
Get the output of a one line command without other garbage messages.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
c75d5120b4
testrunner: use 'cleanterm' for testing
...
Use a clean terminal without added decoration on the output for testing.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
d27a43f89a
Makefile.include: add cleanterm target
...
It is similar to 'term' but with removing possible additional behaviors
from pyterm.
It currently removes the logging prefix.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
a514c9bc12
jlink.sh: use PYTERMFLAGS
...
Use PYTERMFLAGS for configuring the terminal.
2019-10-01 14:13:02 +02:00
1663c49418
Merge pull request #12348 from cladmi/pr/make/remove_comments_riotbuild.h
...
Makefile.include: only keep macros in riotbuild.h
2019-10-01 12:52:11 +02:00
3a3c0d34fa
stale: only apply to PRs
2019-10-01 12:04:52 +02:00
Gaëtan Harter
3a938d43e7
makefiles/arch/cortexm.inc.mk: removing setting CPU_MODEL
...
All cortexm boards should now define it on there own.
2019-10-01 11:38:35 +02:00
Gaëtan Harter
e73b4d2d24
cpu/lpc1768: explictly define CPU_MODEL
...
Define CPU_MODEL as it required by cortexm.inc.mk
The default setting will be removed from cortexm.inc.mk.
2019-10-01 11:38:35 +02:00
Gaëtan Harter
3bfe30ae57
Makefile.include: only keep macros in riotbuild.h
...
Rely on creating an intermediate riotbuild.h.in file that is updated on
CFLAGS changes, but then generate 'riotbuild.h' without the comments.
The updated timestamp will still trigger a rebuild but not cause ccache
miss due to the content of the CFLAGS that contains absolute path.
This removes the caching issue due to the absolute path that was
added to `CFLAGS` and so the comment in that file.
2019-10-01 11:26:02 +02:00
benpicco
3f0dfc14ac
Merge pull request #11085 from bergzand/pr/usb/cdcacm
...
usbus: Add CDC-ACM (Serial console) function
2019-10-01 11:22:54 +02:00
49aa83e27e
Merge pull request #12301 from kaspar030/edbg_verify_before_flash
...
edbg: verify before flash
2019-10-01 10:39:24 +02:00
Gunar Schorcht
5009959610
Merge pull request #12346 from benpicco/esp32-thin_archives
...
cpu/esp32: unconditionally disable thin archives
2019-10-01 10:34:04 +02:00
benpicco
52bf448a3b
Merge pull request #12035 from gschorcht/cpu/esp32/fix_periph_flash
...
cpu/esp32: fix and improve periph/flash
2019-10-01 10:22:06 +02:00
Francisco
c215deb952
Merge pull request #12317 from aabadie/pr/make/iotlab_node_flash
...
Makefile.include: set default PROGRAMMER value when flashing on IoT-LAB
2019-10-01 09:46:55 +02:00
Martine Lenders
f4cca412de
Merge pull request #12303 from miri64/sixlowpan_sfr/feat/initial
...
sixlowpan_sfr: initial import Selective Fragment Recovery definitions
2019-10-01 09:46:25 +02:00
Martine Lenders
aab312e8df
Merge pull request #11958 from miri64/emcute/fix/length-calculation
...
emcute: fix length field calculation
2019-10-01 09:29:58 +02:00
Benjamin Valentin
0ca2ce0214
cpu/esp32: unconditionally disable thin archives
...
Thin archives also cause a boot loop when using the flash module.
To prevent further surprises, disable thin archives unconditionally
until the cause for this behaviour is known.
2019-10-01 09:28:33 +02:00
Martine S. Lenders
38571c66fe
tests: add unittests for net/sixlowpan/sfr.h helpers
2019-10-01 08:45:19 +02:00
Martine S. Lenders
60f33bbbf5
sixlowpan_sfr: initial import Selective Fragment Recovery definitions
2019-10-01 08:45:19 +02:00
Martine Lenders
db8dcaee48
Merge pull request #12325 from miri64/gnrc_sixlowpan_frag_vrb/enh/rm-out_dst
...
gnrc_sixlowpan_frag_vrb: re-use now unused super::dst for out_dst
2019-10-01 07:55:49 +02:00
benpicco
846a4bcdae
Merge pull request #12345 from fhessel/adt7310_llvm
...
tests/driver_adt7310: Add explicit cast required for llvm
2019-10-01 06:54:49 +02:00