- Aug 21, 2019
-
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
-
rahix authored
RTC_Init will turn off the RTC and readout will not be possible until RTC_EnableRTCE is called. The previous version worked because the bootloader would call RTC_Init and Epicardium would then call RTC_EnableRTCE. This broke with the hardware-init changes in b76ac8fc and lead to behavior where cold boot would not enable the RTC. This commit switches the order of the two calls in the bootloader so it is always initialized correctly. Because some older bootloaders are already out in the field, this commit also introduces basic rtc init into Epicardium so the new firmware can work correctly with older bootloaders. Signed-off-by:
Rahix <rahix@rahix.de>
-
- Aug 20, 2019
-
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
The lifecycle task needs higher priority than the API to ensure it can win the `api_mutex`, even during a busy payload. This commit is potentially a fix for #94. Signed-off-by:
Rahix <rahix@rahix.de>
-
Martin Ling authored
This reverts part of ffce77e1.
-
Fixes issue #71 - BTLE advertisements post disconnection of device to cacard10 are Military Grade Encrypted (TM)
-
rahix authored
Add support for personal state as described on https://card10.badge.events.ccc.de/ps/
-
trilader authored
-
trilader authored
-
trilader authored
-
trilader authored
This includes a new RTOS task to animate the personal state LED independently of pycardium. While the animation is running pycardium can't control the personal state LED.
-
trilader authored
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
-
-
-
Astro authored
-
koalo authored
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Julian authored
-
koalo authored
-
rahix authored
Implement proper initialization of the different peripherals in hardware_early_init() & hardware_init(). This includes stripping down the display init so it does not perform a full reset anymore; we can do this as the bootloader will have always performed the full reset already. Additionally this changeset enables the hardware_reset() function which resets peripherals on load of a new app. This should increase stability as apps can always assume everything to be in its default state on load. Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
This change allows cleaner loading of payloads and is a preparation for the proper implementation/use of hardware_reset(). Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
The bootloader will have initialized the display in all cases so we don't need to repeat the same init code all over again. Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-