sn32 boards: add flag for bootloader magic value on devices without jumploader
This commit is contained in:
parent
6d7095947d
commit
ead342d090
|
@ -43,6 +43,8 @@ const PALConfig pal_default_config = {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static int flag __attribute__((section(".flag"))) __attribute__((__used__)) = 0xAAAA5555;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Early initialization code.
|
* @brief Early initialization code.
|
||||||
* @details This initialization must be performed just after stack setup
|
* @details This initialization must be performed just after stack setup
|
||||||
|
|
|
@ -43,6 +43,8 @@ const PALConfig pal_default_config = {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static int flag __attribute__((section(".flag"))) __attribute__((__used__)) = 0xAAAA5555;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Early initialization code.
|
* @brief Early initialization code.
|
||||||
* @details This initialization must be performed just after stack setup
|
* @details This initialization must be performed just after stack setup
|
||||||
|
|
|
@ -43,6 +43,8 @@ const PALConfig pal_default_config = {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static int flag __attribute__((section(".flag"))) __attribute__((__used__)) = 0xAAAA5555;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Early initialization code.
|
* @brief Early initialization code.
|
||||||
* @details This initialization must be performed just after stack setup
|
* @details This initialization must be performed just after stack setup
|
||||||
|
|
|
@ -43,6 +43,8 @@ const PALConfig pal_default_config = {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static int flag __attribute__((section(".flag"))) __attribute__((__used__)) = 0xAAAA5555;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Early initialization code.
|
* @brief Early initialization code.
|
||||||
* @details This initialization must be performed just after stack setup
|
* @details This initialization must be performed just after stack setup
|
||||||
|
|
Loading…
Reference in New Issue