Remove flag (#32)
* Remove flag. The flag is not used/checked when the 260 used with a jump-loader * Futher clean-up. Removed commented-out code
This commit is contained in:
parent
19faddfeb8
commit
45c32fcb56
|
@ -43,8 +43,6 @@ const PALConfig pal_default_config = {
|
|||
};
|
||||
#endif
|
||||
|
||||
static int flag __attribute__((section(".flag"))) __attribute__((__used__)) = 0xAAAA5555;
|
||||
|
||||
/**
|
||||
* @brief Early initialization code.
|
||||
* @details This initialization must be performed just after stack setup
|
||||
|
@ -54,21 +52,6 @@ void __early_init(void) {
|
|||
sn32_clock_init();
|
||||
}
|
||||
|
||||
// void Reset_Handler(void) {
|
||||
// setPinOutput(C4);
|
||||
// setPinInputHigh(A0);
|
||||
// if (readPin(A0) == 0) {
|
||||
// asm ("mov %%sp, %0; bx %1;"
|
||||
// :
|
||||
// : "r"(0x200006C8), "r"(0x1fff0009)
|
||||
// : );
|
||||
// }
|
||||
// asm ("mov %%sp, %0; bx %1;"
|
||||
// :
|
||||
// : "r"(0x200006C8), "r"(0x7801)
|
||||
// : );
|
||||
// }
|
||||
|
||||
/**
|
||||
* @brief Board-specific initialization code.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue