flash_ram_const.c 212 B

123456789101112
  1. #include "at32f403a_407.h"
  2. #include "model_cfg.h"
  3. #ifdef __ICCARM__
  4. #pragma location = ".model"
  5. const char model[16] = MODEL_STR;
  6. #else
  7. char model[16] __attribute__ ((section (".model"))) = MODEL_STR;
  8. #endif