fix bootloader ram address

This commit is contained in:
2025-12-17 15:32:11 +08:00
parent 6a3b949530
commit 6a9c3bc616
2 changed files with 51 additions and 37 deletions

12
bsp/inc/bootloader.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef _BOOTLOADER_H_
#define _BOOTLOADER_H_
#define ENABLE_OPTION_BOOTLOADER
#ifdef ENABLE_OPTION_BOOTLOADER
extern void bootloader_enter(void) __trap __naked;
#endif /* ENABLE_OPTION_BOOTLOADER */
#endif /* _BOOTLOADER_H_ */