50d47465a2
boards/nrf52dk: use shared nrf52832 dependency file
2019-10-02 12:54:29 +02:00
0d62accfef
boards/common/nrf52: add shared dependency files for nrf52
2019-10-02 12:54:29 +02:00
benpicco
0778774656
Merge pull request #12260 from JannesVolkens/opt3001
...
drivers/opt3001: Initial support for the Opt3001 sensor
2019-10-02 12:11:47 +02:00
benpicco
69d274d87b
Merge pull request #12290 from benpicco/opt_driver_lis2dh12i2c
...
drivers/lis2dh12: add I2C mode
2019-10-02 12:06:40 +02:00
Kevin "Tristate Tom" Weiss
d900e42d5f
Merge pull request #6563 from haukepetersen/opt_periph_poweraspects
...
drivers/periph: add doc on power management aspects
2019-10-02 11:52:43 +02:00
Ken Bannister
e22d4729e1
net/nanocoap: initialize offset attribute
2019-10-02 05:51:59 -04:00
Ken Bannister
2abcbc0d20
net/coap: add generic get block function
2019-10-02 05:51:59 -04:00
Ken Bannister
5eaa51e426
net/nanocoap: remove unused function
2019-10-02 05:51:59 -04:00
Ken Bannister
efb75c5c4c
net/coap: improve slicer to block helper
2019-10-02 05:51:59 -04:00
Ken Bannister
dae9c4ab89
net/nanocoap: use coap_opt_add_uint() and remove unused
2019-10-02 05:51:59 -04:00
Ken Bannister
233dd31e17
net/nanocoap: add generic uint block option
2019-10-02 05:51:59 -04:00
Hauke Petersen
96db5c3def
boards/thingy52: add SAUL dependency for lis2dh12
2019-10-02 11:39:56 +02:00
Hauke Petersen
1d9fbcb076
boards/thingy52: add config for on-board lis2dh12
2019-10-02 11:39:56 +02:00
Hauke Petersen
9c853b598d
boards/thingy52: added I2C configuration
2019-10-02 11:39:56 +02:00
Hauke Petersen
8a69e4ac69
drivers/lis2dh12: added I2C mode
2019-10-02 11:16:39 +02:00
Leandro Lanzieri
3acb63d3f1
Merge pull request #12326 from benpicco/saul_ek-lm4f120xl
...
boards/ek-lm4f120xl: provide SAUL configuration
2019-10-02 11:02:20 +02:00
Kevin "Tristate Tom" Weiss
5bbfe92c11
Merge pull request #12336 from benpicco/cc2538-spi_fix
...
cpu/cc2538: fix spi_transfer_bytes()
2019-10-02 10:52:16 +02:00
Jannes
33a98100a9
drivers/opt3001: Initial support
2019-10-02 10:06:28 +02:00
Hauke Petersen
7f419f4381
periph/uart: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
0cd8bb47c8
periph/timer: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
4914e6484a
periph/spi: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
44c54c2ae0
periph/rtt: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
bf5ad17b9d
periph/rtc: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
711af7cc27
periph/hwrng.h: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
3e9ee01103
periph/gpio: add doc on low power implications
2019-10-01 23:09:23 +02:00
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
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
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