Import independent seat firmware source without build artifacts

This commit is contained in:
2026-10-26 11:19:21 +08:00
commit 83d003055a
1205 changed files with 1012409 additions and 0 deletions
@@ -0,0 +1,18 @@
#include "cy_project.h"
#include "cy_device_headers.h"
#include "../common/ota_protocol.h"
#include "ota_enter_bootloader.h"
void Ota_EnterBootloader(void)
{
__disable_irq();
BACKUP->unBREG[0].u32Register = OTA_BOOT_REQUEST_MAGIC;
BACKUP->unBREG[1].u32Register = OTA_BOOT_REQUEST_MAGIC_INVERSE;
__DSB();
NVIC_SystemReset();
for(;;)
{
/* Reset must not return. */
}
}