sn32 boards: add flag for bootloader magic value on devices without jumploader

This commit is contained in:
Dimitris Mantzouranis 2022-01-11 16:55:42 +02:00
parent 6d7095947d
commit ead342d090
4 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,8 @@ 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

View File

@ -43,6 +43,8 @@ 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

View File

@ -43,6 +43,8 @@ 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

View File

@ -43,6 +43,8 @@ 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