Memory regions described in the ld file

This commit is contained in:
2023-01-25 21:22:34 +03:00
parent a8ef3923ca
commit b02255e661
2 changed files with 11 additions and 1 deletions

View File

@@ -83,6 +83,8 @@ TIM_HandleTypeDef htim17;
/* USER CODE BEGIN PV */
//volatile const uint8_t config_flash[1024 * 2] __attribute__((__section__(".conf_data")));
union FLASH_conf {
conf_t config;
struct FLASH_sector sector;