- Aug 21, 2019
-
-
For messages with lines longer than 129 characters, ble_uart_write would start overwriting adjacent memory. This commit fixes this by starting a new line once the buffer runs full. Signed-off-by:
Rahix <rahix@rahix.de>
-
danukeru authored
-
danukeru authored
-
schneider authored
-
rahix authored
Otherwise Epicardium attempts to print the error to cdcacm again, leading to an endless recursion. Signed-off-by:
Rahix <rahix@rahix.de>
-
Signed-off-by:
Rahix <rahix@rahix.de>
-
Signed-off-by:
Rahix <rahix@rahix.de>
-
Signed-off-by:
Rahix <rahix@rahix.de>
-
Signed-off-by:
Rahix <rahix@rahix.de>
-
schneider authored
-
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>
-
Fixes issue #71 - BTLE advertisements post disconnection of device to cacard10 are Military Grade Encrypted (TM)
-
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>
-
-
-
-
koalo authored
-
rahix authored
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
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>
-