1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu
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
..
arm7_common cpu/armv7: move dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
atmega32u4 cpu/atmega32u4: remove obsolete -DCOREIF_NG=1 2020-02-05 15:08:13 +01:00
atmega128rfa1 doc: fix doxygen groups for atmega cpus 2020-01-28 15:44:29 +01:00
atmega256rfr2 doc: fix doxygen groups for atmega cpus 2020-01-28 15:44:29 +01:00
atmega328p cpu/atmega328p: fix typos 2019-11-23 22:39:35 +01:00
atmega1281 cpu/atmega1281: fix typos 2019-11-23 22:39:35 +01:00
atmega1284p cpu/atmega1284p: fix typos 2019-11-23 22:39:35 +01:00
atmega2560 cpu/atmega2560: fix typos 2019-11-23 22:39:35 +01:00
atmega_common Merge pull request #13308 from maribu/atmega_state_cleanup 2020-02-10 17:37:24 +01:00
cc26x0 cpu/cc26x0: fix I2C compilation error with NDEBUG 2020-01-30 11:57:56 +01:00
cc26x2_cc13x2 cpu/cc13x2: fix leftover from cc26x2_cc13x2 rename 2020-02-04 14:37:43 +01:00
cc26xx_cc13xx cpu/cc13x2: fix leftover from cc26x2_cc13x2 rename 2020-02-04 14:37:43 +01:00
cc430 cpu/cc430: rtc: remove dead code 2020-02-04 13:20:56 +01:00
cc2538 cpu/cc2538: fix I2C compilation error with NDEBUG 2020-01-30 11:57:36 +01:00
cortexm_common Add CPU feature for stack smash protections 2020-01-22 15:59:02 +01:00
efm32 cpu/efm32: move some dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
esp32 Merge pull request #13061 from gschorcht/cpu/esp32/rtc_xtal_32k 2020-02-07 10:24:22 +01:00
esp8266 cpu/esp8266/esp_wifi: move gnrc specific code to separate file 2020-01-31 09:32:23 +01:00
esp_common cpu/esp_common/esp_now: consistent netif thread naming 2020-01-31 09:32:23 +01:00
ezr32wg Merge pull request #12397 from fjmolinas/pr_CPU_ARCH_FAM 2019-10-21 08:23:51 +02:00
fe310 fe310: fix power management configuration 2020-01-30 10:43:01 +01:00
kinetis cpu/kinetis/periph: adc_sample() now returns int32_t 2020-01-10 14:13:14 +01:00
lm4f120 cpu/lm4f120/periph: adc_sample() now returns int32_t 2020-01-10 14:13:14 +01:00
lpc1768 cpu/lpc1768: move dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
lpc2387 cpu/lpc2387: clear POR bit if we woke from Deep Sleep 2020-02-10 23:04:46 +01:00
mips32r2_common cpu/mips*: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
mips_pic32_common Merge pull request #12475 from francois-berder/wifire-gpio-refactor 2020-01-31 09:46:57 +01:00
mips_pic32mx cpu/mips*: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
mips_pic32mz cpu/mips*: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
msp430_common cpu/msp430: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
msp430fxyz cpu/msp430: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
native native: fix c11_atomic sizes on FreeBSD 2020-01-23 13:23:02 +01:00
nrf5x_common cpu/nrf5x: move dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
nrf51 cpu/nrf5x: move dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
nrf52 core/shed: remove not needed bitarithm include add missing 2020-02-05 12:45:29 +01:00
sam0_common Merge pull request #13312 from benpicco/cpu/sam0-vendor_cleanup 2020-02-07 20:33:45 +01:00
sam3 cpu/sam3/periph: adc_sample() now returns int32_t 2020-01-10 14:13:15 +01:00
sam_common cpu/sam_common: remove use of export for LINKFLAGS 2020-01-02 09:50:14 +01:00
samd5x cpu/sam0_common: use vendor files to dispatch MCU headers 2020-02-06 19:52:05 +01:00
samd21 cpu/sam0_common: use vendor files to dispatch MCU headers 2020-02-06 19:52:05 +01:00
saml1x cpu/sam0_common: use vendor files to dispatch MCU headers 2020-02-06 19:52:05 +01:00
saml21 cpu/sam0_common: use vendor files to dispatch MCU headers 2020-02-06 19:52:05 +01:00
stellaris_common cpu: do not locally export compilation variables 2019-08-29 10:35:53 +02:00
stm32_common cpu/stm32/eth: luid_get_eui48 match type information 2020-01-29 16:58:36 +01:00
stm32f0 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32f1 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32f2 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32f3 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32f4 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32f7 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32l0 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32l1 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32l4 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
doc.txt cpu: doc typos 2017-01-20 13:36:26 +01:00