| 1234567891011121314151617181920 |
- #ifndef __CONFIG_H
- #define __CONFIG_H
- #include "stm32g4xx_hal.h"
- #define FW_VERSION "1.0"
- #define SETTINGS_ADDR 0x08000000 + (63 * 2048) //0x01F7FF
- #define CRC_ADDRESS 0x01FFFC
- #define FLASH_ROW_SIZE 32
- /* @note All the executable code is mapped in SRAM1 area */
- #define FLASH_USER_START_ADDR ADDR_FLASH_PAGE_0 /* Start @ of user Flash area */
- #define FLASH_USER_END_ADDR (ADDR_FLASH_PAGE_63 + FLASH_PAGE_SIZE - 1) /* End @ of user Flash area */
- #endif /* #ifndef __CONFIG_H */
|