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
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
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
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
Frank Hessel
64ac490fc9
tests/driver_adt7310: Add explicit cast required for llvm
2019-09-30 22:31:15 +02:00
benpicco
c9aa1c3516
Merge pull request #12342 from bergzand/pr/list-ttys/add_punctuation
...
list-ttys: Add punctuation between name and serial
2019-09-30 20:33:50 +02:00
benpicco
5105a2e54d
Merge pull request #12340 from cladmi/pr/makefiles/board_cpu_macros
...
makefiles: CFLAGS convert to the uppercase function instead of using the shell
2019-09-30 19:53:28 +02:00
benpicco
9f7abf67d4
Merge pull request #12334 from cladmi/pr/board/slwstk6000b/move_cpu
...
boards/slwstk6000b: move CPU definiton to Makefile.features
2019-09-30 19:53:18 +02:00
benpicco
acfcdf6679
Merge pull request #12341 from cladmi/pr/make/mips/use_common_lowercase
...
makefiles/arch/mips.inc.mk: use makefiles/utils lowercase function
2019-09-30 19:53:07 +02:00
benpicco
806b0c4d96
Merge pull request #12335 from cladmi/pr/boards/remove_duplicate_include_riotcpu
...
boards: remove duplicate include 'RIOTCPU/cpu/Makefile.features'
2019-09-30 19:52:44 +02:00
c6447b73dc
test/usbus_cdc_acm_stdio: USB CDC ACM STDIO test
2019-09-30 18:53:58 +02:00
59743aed13
USBUS cdc acm: Add STDIO wrapper for CDC ACM
2019-09-30 18:40:59 +02:00
852b7c8d0a
usbus: Add cdc acm function
2019-09-30 18:40:59 +02:00
802012cbda
usb cdc acm: add common defines for cdc acm
2019-09-30 18:40:59 +02:00
6acb523d35
list-ttys: Add punctuation between name and serial
2019-09-30 18:28:32 +02:00
Bas Stottelaar
559fc1fe04
boards+efm32: provide periph_uart_modecfg
2019-09-30 18:12:15 +02:00
Bas Stottelaar
4e6b46ca20
cpu/efm32: implement uart_mode
2019-09-30 18:12:15 +02:00
Bas Stottelaar
8fa920d04c
pkg/gecko_sdk: update to newer version
2019-09-30 18:10:38 +02:00
Bas Stottelaar
3371cf1831
boards+efm32: remove non-standard uart modes feature
2019-09-30 18:10:38 +02:00
benpicco
1243955886
Merge pull request #12322 from basilfx/feature/efm32_low_power_feature
...
cpu/efm32: move LOW_POWER_ENABLED to efm32-features.mk
2019-09-30 17:55:47 +02:00
Gaëtan Harter
0303b96441
makefiles/arch/mips.inc.mk: use makefiles/utils lowercase function
...
Use the new common 'lowercase' function from makefiles/utils.
2019-09-30 17:35:06 +02:00
Gaëtan Harter
4b93f27d83
cpu: use makefiles/utils uppercase
...
Convert the variables to uppercase using the 'makefiles/utils' function.
2019-09-30 17:25:24 +02:00
Gaëtan Harter
ba55d1d7f5
makefiles/arch/cortexm.inc.mk: use makefiles/utils uppercase
...
Convert the variables to uppercase using the 'makefiles/utils' function.
2019-09-30 17:25:24 +02:00
Gaëtan Harter
fbac80d357
Makefile.include: convert board/cpu macros with utils function
...
Convert *DEF variables to uppercase using the 'makefiles/utils' functions.
2019-09-30 17:25:24 +02:00
Gaëtan Harter
e5278a2364
makefiles/modules.inc.mk: convert uppercase with utils function
...
Convert the module to uppercase using the 'makefiles/utils' function.
2019-09-30 17:02:12 +02:00
06123ef85b
Makefile.include: set default PROGRAMMER value when flahsing on IoT-LAB
...
This will avoid to load edbg logic and especially adds it to the list of FLASHDEPS: it won't be unnecessarily built when flashing a samr21-xpro/arduino-zero board on IoT-LAB
2019-09-30 16:16:43 +02:00
fe6d892969
Merge pull request #12302 from fjmolinas/pr_build_files
...
Makefile.include: add BUILD_FILES variable that holds all files to be built
2019-09-30 14:26:24 +02:00
Francisco Molina
5790e061c7
makefiles/boot/riotboot.mk: use BUILD_FILES
...
- Fixes compiling in docker by using BUILD_FILES to define
extra files to be built
2019-09-30 13:09:58 +02:00
Francisco Molina
ded2ebc8e7
Makefile.include: add BUILD_FILES
...
- Add BULD_FILES that holds all files that need to be built
and linked.
2019-09-30 13:00:25 +02:00
Martine Lenders
04f59d6609
gnrc_sixlowpan_frag_vrb: re-use now unused super::dst for out_dst
2019-09-30 12:46:15 +02:00
Gaëtan Harter
fc9f2a0f65
boards: remove duplicate include 'RIOTCPU/cpu/Makefile.features'
...
When 'CPU' is defined, the CPU Makefile.features is included by the
build system in the main Makefile.features.
No need to do it manually anymore.
2019-09-30 12:38:01 +02:00
Gaëtan Harter
769c9ef23f
boards/slwstk6000b: move CPU definiton to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
I did not move CPU_MODEL in that one as it requires other refactoring
first.
2019-09-30 12:23:11 +02:00