270 lines
17 KiB
C
270 lines
17 KiB
C
|
|
#ifndef _MCU_BSP_FLASH_H_
|
||
|
|
#define _MCU_BSP_FLASH_H_
|
||
|
|
|
||
|
|
#include <stdbool.h>
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
#define ADDR_FLASH_PAGE_0 ((uint32_t)0x08000000 + 0x800 * 0)
|
||
|
|
#define ADDR_FLASH_PAGE_1 ((uint32_t)0x08000000 + 0x800 * 1)
|
||
|
|
#define ADDR_FLASH_PAGE_2 ((uint32_t)0x08000000 + 0x800 * 2)
|
||
|
|
#define ADDR_FLASH_PAGE_3 ((uint32_t)0x08000000 + 0x800 * 3)
|
||
|
|
#define ADDR_FLASH_PAGE_4 ((uint32_t)0x08000000 + 0x800 * 4)
|
||
|
|
#define ADDR_FLASH_PAGE_5 ((uint32_t)0x08000000 + 0x800 * 5)
|
||
|
|
#define ADDR_FLASH_PAGE_6 ((uint32_t)0x08000000 + 0x800 * 6)
|
||
|
|
#define ADDR_FLASH_PAGE_7 ((uint32_t)0x08000000 + 0x800 * 7)
|
||
|
|
#define ADDR_FLASH_PAGE_8 ((uint32_t)0x08000000 + 0x800 * 8)
|
||
|
|
#define ADDR_FLASH_PAGE_9 ((uint32_t)0x08000000 + 0x800 * 9)
|
||
|
|
#define ADDR_FLASH_PAGE_10 ((uint32_t)0x08000000 + 0x800 * 10)
|
||
|
|
#define ADDR_FLASH_PAGE_11 ((uint32_t)0x08000000 + 0x800 * 11)
|
||
|
|
#define ADDR_FLASH_PAGE_12 ((uint32_t)0x08000000 + 0x800 * 12)
|
||
|
|
#define ADDR_FLASH_PAGE_13 ((uint32_t)0x08000000 + 0x800 * 13)
|
||
|
|
#define ADDR_FLASH_PAGE_14 ((uint32_t)0x08000000 + 0x800 * 14)
|
||
|
|
#define ADDR_FLASH_PAGE_15 ((uint32_t)0x08000000 + 0x800 * 15)
|
||
|
|
#define ADDR_FLASH_PAGE_16 ((uint32_t)0x08000000 + 0x800 * 16)
|
||
|
|
#define ADDR_FLASH_PAGE_17 ((uint32_t)0x08000000 + 0x800 * 17)
|
||
|
|
#define ADDR_FLASH_PAGE_18 ((uint32_t)0x08000000 + 0x800 * 18)
|
||
|
|
#define ADDR_FLASH_PAGE_19 ((uint32_t)0x08000000 + 0x800 * 19)
|
||
|
|
#define ADDR_FLASH_PAGE_20 ((uint32_t)0x08000000 + 0x800 * 20)
|
||
|
|
#define ADDR_FLASH_PAGE_21 ((uint32_t)0x08000000 + 0x800 * 21)
|
||
|
|
#define ADDR_FLASH_PAGE_22 ((uint32_t)0x08000000 + 0x800 * 22)
|
||
|
|
#define ADDR_FLASH_PAGE_23 ((uint32_t)0x08000000 + 0x800 * 23)
|
||
|
|
#define ADDR_FLASH_PAGE_24 ((uint32_t)0x08000000 + 0x800 * 24)
|
||
|
|
#define ADDR_FLASH_PAGE_25 ((uint32_t)0x08000000 + 0x800 * 25)
|
||
|
|
#define ADDR_FLASH_PAGE_26 ((uint32_t)0x08000000 + 0x800 * 26)
|
||
|
|
#define ADDR_FLASH_PAGE_27 ((uint32_t)0x08000000 + 0x800 * 27)
|
||
|
|
#define ADDR_FLASH_PAGE_28 ((uint32_t)0x08000000 + 0x800 * 28)
|
||
|
|
#define ADDR_FLASH_PAGE_29 ((uint32_t)0x08000000 + 0x800 * 29)
|
||
|
|
#define ADDR_FLASH_PAGE_30 ((uint32_t)0x08000000 + 0x800 * 30)
|
||
|
|
#define ADDR_FLASH_PAGE_31 ((uint32_t)0x08000000 + 0x800 * 31)
|
||
|
|
#define ADDR_FLASH_PAGE_32 ((uint32_t)0x08000000 + 0x800 * 32)
|
||
|
|
#define ADDR_FLASH_PAGE_33 ((uint32_t)0x08000000 + 0x800 * 33)
|
||
|
|
#define ADDR_FLASH_PAGE_34 ((uint32_t)0x08000000 + 0x800 * 34)
|
||
|
|
#define ADDR_FLASH_PAGE_35 ((uint32_t)0x08000000 + 0x800 * 35)
|
||
|
|
#define ADDR_FLASH_PAGE_36 ((uint32_t)0x08000000 + 0x800 * 36)
|
||
|
|
#define ADDR_FLASH_PAGE_37 ((uint32_t)0x08000000 + 0x800 * 37)
|
||
|
|
#define ADDR_FLASH_PAGE_38 ((uint32_t)0x08000000 + 0x800 * 38)
|
||
|
|
#define ADDR_FLASH_PAGE_39 ((uint32_t)0x08000000 + 0x800 * 39)
|
||
|
|
#define ADDR_FLASH_PAGE_40 ((uint32_t)0x08000000 + 0x800 * 40)
|
||
|
|
#define ADDR_FLASH_PAGE_41 ((uint32_t)0x08000000 + 0x800 * 41)
|
||
|
|
#define ADDR_FLASH_PAGE_42 ((uint32_t)0x08000000 + 0x800 * 42)
|
||
|
|
#define ADDR_FLASH_PAGE_43 ((uint32_t)0x08000000 + 0x800 * 43)
|
||
|
|
#define ADDR_FLASH_PAGE_44 ((uint32_t)0x08000000 + 0x800 * 44)
|
||
|
|
#define ADDR_FLASH_PAGE_45 ((uint32_t)0x08000000 + 0x800 * 45)
|
||
|
|
#define ADDR_FLASH_PAGE_46 ((uint32_t)0x08000000 + 0x800 * 46)
|
||
|
|
#define ADDR_FLASH_PAGE_47 ((uint32_t)0x08000000 + 0x800 * 47)
|
||
|
|
#define ADDR_FLASH_PAGE_48 ((uint32_t)0x08000000 + 0x800 * 48)
|
||
|
|
#define ADDR_FLASH_PAGE_49 ((uint32_t)0x08000000 + 0x800 * 49)
|
||
|
|
#define ADDR_FLASH_PAGE_50 ((uint32_t)0x08000000 + 0x800 * 50)
|
||
|
|
#define ADDR_FLASH_PAGE_51 ((uint32_t)0x08000000 + 0x800 * 51)
|
||
|
|
#define ADDR_FLASH_PAGE_52 ((uint32_t)0x08000000 + 0x800 * 52)
|
||
|
|
#define ADDR_FLASH_PAGE_53 ((uint32_t)0x08000000 + 0x800 * 53)
|
||
|
|
#define ADDR_FLASH_PAGE_54 ((uint32_t)0x08000000 + 0x800 * 54)
|
||
|
|
#define ADDR_FLASH_PAGE_55 ((uint32_t)0x08000000 + 0x800 * 55)
|
||
|
|
#define ADDR_FLASH_PAGE_56 ((uint32_t)0x08000000 + 0x800 * 56)
|
||
|
|
#define ADDR_FLASH_PAGE_57 ((uint32_t)0x08000000 + 0x800 * 57)
|
||
|
|
#define ADDR_FLASH_PAGE_58 ((uint32_t)0x08000000 + 0x800 * 58)
|
||
|
|
#define ADDR_FLASH_PAGE_59 ((uint32_t)0x08000000 + 0x800 * 59)
|
||
|
|
#define ADDR_FLASH_PAGE_60 ((uint32_t)0x08000000 + 0x800 * 60)
|
||
|
|
#define ADDR_FLASH_PAGE_61 ((uint32_t)0x08000000 + 0x800 * 61)
|
||
|
|
#define ADDR_FLASH_PAGE_62 ((uint32_t)0x08000000 + 0x800 * 62)
|
||
|
|
#define ADDR_FLASH_PAGE_63 ((uint32_t)0x08000000 + 0x800 * 63)
|
||
|
|
#define ADDR_FLASH_PAGE_64 ((uint32_t)0x08000000 + 0x800 * 64)
|
||
|
|
#define ADDR_FLASH_PAGE_65 ((uint32_t)0x08000000 + 0x800 * 65)
|
||
|
|
#define ADDR_FLASH_PAGE_66 ((uint32_t)0x08000000 + 0x800 * 66)
|
||
|
|
#define ADDR_FLASH_PAGE_67 ((uint32_t)0x08000000 + 0x800 * 67)
|
||
|
|
#define ADDR_FLASH_PAGE_68 ((uint32_t)0x08000000 + 0x800 * 68)
|
||
|
|
#define ADDR_FLASH_PAGE_69 ((uint32_t)0x08000000 + 0x800 * 69)
|
||
|
|
#define ADDR_FLASH_PAGE_70 ((uint32_t)0x08000000 + 0x800 * 70)
|
||
|
|
#define ADDR_FLASH_PAGE_71 ((uint32_t)0x08000000 + 0x800 * 71)
|
||
|
|
#define ADDR_FLASH_PAGE_72 ((uint32_t)0x08000000 + 0x800 * 72)
|
||
|
|
#define ADDR_FLASH_PAGE_73 ((uint32_t)0x08000000 + 0x800 * 73)
|
||
|
|
#define ADDR_FLASH_PAGE_74 ((uint32_t)0x08000000 + 0x800 * 74)
|
||
|
|
#define ADDR_FLASH_PAGE_75 ((uint32_t)0x08000000 + 0x800 * 75)
|
||
|
|
#define ADDR_FLASH_PAGE_76 ((uint32_t)0x08000000 + 0x800 * 76)
|
||
|
|
#define ADDR_FLASH_PAGE_77 ((uint32_t)0x08000000 + 0x800 * 77)
|
||
|
|
#define ADDR_FLASH_PAGE_78 ((uint32_t)0x08000000 + 0x800 * 78)
|
||
|
|
#define ADDR_FLASH_PAGE_79 ((uint32_t)0x08000000 + 0x800 * 79)
|
||
|
|
#define ADDR_FLASH_PAGE_80 ((uint32_t)0x08000000 + 0x800 * 80)
|
||
|
|
#define ADDR_FLASH_PAGE_81 ((uint32_t)0x08000000 + 0x800 * 81)
|
||
|
|
#define ADDR_FLASH_PAGE_82 ((uint32_t)0x08000000 + 0x800 * 82)
|
||
|
|
#define ADDR_FLASH_PAGE_83 ((uint32_t)0x08000000 + 0x800 * 83)
|
||
|
|
#define ADDR_FLASH_PAGE_84 ((uint32_t)0x08000000 + 0x800 * 84)
|
||
|
|
#define ADDR_FLASH_PAGE_85 ((uint32_t)0x08000000 + 0x800 * 85)
|
||
|
|
#define ADDR_FLASH_PAGE_86 ((uint32_t)0x08000000 + 0x800 * 86)
|
||
|
|
#define ADDR_FLASH_PAGE_87 ((uint32_t)0x08000000 + 0x800 * 87)
|
||
|
|
#define ADDR_FLASH_PAGE_88 ((uint32_t)0x08000000 + 0x800 * 88)
|
||
|
|
#define ADDR_FLASH_PAGE_89 ((uint32_t)0x08000000 + 0x800 * 89)
|
||
|
|
#define ADDR_FLASH_PAGE_90 ((uint32_t)0x08000000 + 0x800 * 90)
|
||
|
|
#define ADDR_FLASH_PAGE_91 ((uint32_t)0x08000000 + 0x800 * 91)
|
||
|
|
#define ADDR_FLASH_PAGE_92 ((uint32_t)0x08000000 + 0x800 * 92)
|
||
|
|
#define ADDR_FLASH_PAGE_93 ((uint32_t)0x08000000 + 0x800 * 93)
|
||
|
|
#define ADDR_FLASH_PAGE_94 ((uint32_t)0x08000000 + 0x800 * 94)
|
||
|
|
#define ADDR_FLASH_PAGE_95 ((uint32_t)0x08000000 + 0x800 * 95)
|
||
|
|
#define ADDR_FLASH_PAGE_96 ((uint32_t)0x08000000 + 0x800 * 96)
|
||
|
|
#define ADDR_FLASH_PAGE_97 ((uint32_t)0x08000000 + 0x800 * 97)
|
||
|
|
#define ADDR_FLASH_PAGE_98 ((uint32_t)0x08000000 + 0x800 * 98)
|
||
|
|
#define ADDR_FLASH_PAGE_99 ((uint32_t)0x08000000 + 0x800 * 99)
|
||
|
|
#define ADDR_FLASH_PAGE_100 ((uint32_t)0x08000000 + 0x800 * 100)
|
||
|
|
#define ADDR_FLASH_PAGE_101 ((uint32_t)0x08000000 + 0x800 * 101)
|
||
|
|
#define ADDR_FLASH_PAGE_102 ((uint32_t)0x08000000 + 0x800 * 102)
|
||
|
|
#define ADDR_FLASH_PAGE_103 ((uint32_t)0x08000000 + 0x800 * 103)
|
||
|
|
#define ADDR_FLASH_PAGE_104 ((uint32_t)0x08000000 + 0x800 * 104)
|
||
|
|
#define ADDR_FLASH_PAGE_105 ((uint32_t)0x08000000 + 0x800 * 105)
|
||
|
|
#define ADDR_FLASH_PAGE_106 ((uint32_t)0x08000000 + 0x800 * 106)
|
||
|
|
#define ADDR_FLASH_PAGE_107 ((uint32_t)0x08000000 + 0x800 * 107)
|
||
|
|
#define ADDR_FLASH_PAGE_108 ((uint32_t)0x08000000 + 0x800 * 108)
|
||
|
|
#define ADDR_FLASH_PAGE_109 ((uint32_t)0x08000000 + 0x800 * 109)
|
||
|
|
#define ADDR_FLASH_PAGE_110 ((uint32_t)0x08000000 + 0x800 * 110)
|
||
|
|
#define ADDR_FLASH_PAGE_111 ((uint32_t)0x08000000 + 0x800 * 111)
|
||
|
|
#define ADDR_FLASH_PAGE_112 ((uint32_t)0x08000000 + 0x800 * 112)
|
||
|
|
#define ADDR_FLASH_PAGE_113 ((uint32_t)0x08000000 + 0x800 * 113)
|
||
|
|
#define ADDR_FLASH_PAGE_114 ((uint32_t)0x08000000 + 0x800 * 114)
|
||
|
|
#define ADDR_FLASH_PAGE_115 ((uint32_t)0x08000000 + 0x800 * 115)
|
||
|
|
#define ADDR_FLASH_PAGE_116 ((uint32_t)0x08000000 + 0x800 * 116)
|
||
|
|
#define ADDR_FLASH_PAGE_117 ((uint32_t)0x08000000 + 0x800 * 117)
|
||
|
|
#define ADDR_FLASH_PAGE_118 ((uint32_t)0x08000000 + 0x800 * 118)
|
||
|
|
#define ADDR_FLASH_PAGE_119 ((uint32_t)0x08000000 + 0x800 * 119)
|
||
|
|
#define ADDR_FLASH_PAGE_120 ((uint32_t)0x08000000 + 0x800 * 120)
|
||
|
|
#define ADDR_FLASH_PAGE_121 ((uint32_t)0x08000000 + 0x800 * 121)
|
||
|
|
#define ADDR_FLASH_PAGE_122 ((uint32_t)0x08000000 + 0x800 * 122)
|
||
|
|
#define ADDR_FLASH_PAGE_123 ((uint32_t)0x08000000 + 0x800 * 123)
|
||
|
|
#define ADDR_FLASH_PAGE_124 ((uint32_t)0x08000000 + 0x800 * 124)
|
||
|
|
#define ADDR_FLASH_PAGE_125 ((uint32_t)0x08000000 + 0x800 * 125)
|
||
|
|
#define ADDR_FLASH_PAGE_126 ((uint32_t)0x08000000 + 0x800 * 126)
|
||
|
|
#define ADDR_FLASH_PAGE_127 ((uint32_t)0x08000000 + 0x800 * 127)
|
||
|
|
#define ADDR_FLASH_PAGE_128 ((uint32_t)0x08000000 + 0x800 * 128)
|
||
|
|
#define ADDR_FLASH_PAGE_129 ((uint32_t)0x08000000 + 0x800 * 129)
|
||
|
|
#define ADDR_FLASH_PAGE_130 ((uint32_t)0x08000000 + 0x800 * 130)
|
||
|
|
#define ADDR_FLASH_PAGE_131 ((uint32_t)0x08000000 + 0x800 * 131)
|
||
|
|
#define ADDR_FLASH_PAGE_132 ((uint32_t)0x08000000 + 0x800 * 132)
|
||
|
|
#define ADDR_FLASH_PAGE_133 ((uint32_t)0x08000000 + 0x800 * 133)
|
||
|
|
#define ADDR_FLASH_PAGE_134 ((uint32_t)0x08000000 + 0x800 * 134)
|
||
|
|
#define ADDR_FLASH_PAGE_135 ((uint32_t)0x08000000 + 0x800 * 135)
|
||
|
|
#define ADDR_FLASH_PAGE_136 ((uint32_t)0x08000000 + 0x800 * 136)
|
||
|
|
#define ADDR_FLASH_PAGE_137 ((uint32_t)0x08000000 + 0x800 * 137)
|
||
|
|
#define ADDR_FLASH_PAGE_138 ((uint32_t)0x08000000 + 0x800 * 138)
|
||
|
|
#define ADDR_FLASH_PAGE_139 ((uint32_t)0x08000000 + 0x800 * 139)
|
||
|
|
#define ADDR_FLASH_PAGE_140 ((uint32_t)0x08000000 + 0x800 * 140)
|
||
|
|
#define ADDR_FLASH_PAGE_141 ((uint32_t)0x08000000 + 0x800 * 141)
|
||
|
|
#define ADDR_FLASH_PAGE_142 ((uint32_t)0x08000000 + 0x800 * 142)
|
||
|
|
#define ADDR_FLASH_PAGE_143 ((uint32_t)0x08000000 + 0x800 * 143)
|
||
|
|
#define ADDR_FLASH_PAGE_144 ((uint32_t)0x08000000 + 0x800 * 144)
|
||
|
|
#define ADDR_FLASH_PAGE_145 ((uint32_t)0x08000000 + 0x800 * 145)
|
||
|
|
#define ADDR_FLASH_PAGE_146 ((uint32_t)0x08000000 + 0x800 * 146)
|
||
|
|
#define ADDR_FLASH_PAGE_147 ((uint32_t)0x08000000 + 0x800 * 147)
|
||
|
|
#define ADDR_FLASH_PAGE_148 ((uint32_t)0x08000000 + 0x800 * 148)
|
||
|
|
#define ADDR_FLASH_PAGE_149 ((uint32_t)0x08000000 + 0x800 * 149)
|
||
|
|
#define ADDR_FLASH_PAGE_150 ((uint32_t)0x08000000 + 0x800 * 150)
|
||
|
|
#define ADDR_FLASH_PAGE_151 ((uint32_t)0x08000000 + 0x800 * 151)
|
||
|
|
#define ADDR_FLASH_PAGE_152 ((uint32_t)0x08000000 + 0x800 * 152)
|
||
|
|
#define ADDR_FLASH_PAGE_153 ((uint32_t)0x08000000 + 0x800 * 153)
|
||
|
|
#define ADDR_FLASH_PAGE_154 ((uint32_t)0x08000000 + 0x800 * 154)
|
||
|
|
#define ADDR_FLASH_PAGE_155 ((uint32_t)0x08000000 + 0x800 * 155)
|
||
|
|
#define ADDR_FLASH_PAGE_156 ((uint32_t)0x08000000 + 0x800 * 156)
|
||
|
|
#define ADDR_FLASH_PAGE_157 ((uint32_t)0x08000000 + 0x800 * 157)
|
||
|
|
#define ADDR_FLASH_PAGE_158 ((uint32_t)0x08000000 + 0x800 * 158)
|
||
|
|
#define ADDR_FLASH_PAGE_159 ((uint32_t)0x08000000 + 0x800 * 159)
|
||
|
|
#define ADDR_FLASH_PAGE_160 ((uint32_t)0x08000000 + 0x800 * 160)
|
||
|
|
#define ADDR_FLASH_PAGE_161 ((uint32_t)0x08000000 + 0x800 * 161)
|
||
|
|
#define ADDR_FLASH_PAGE_162 ((uint32_t)0x08000000 + 0x800 * 162)
|
||
|
|
#define ADDR_FLASH_PAGE_163 ((uint32_t)0x08000000 + 0x800 * 163)
|
||
|
|
#define ADDR_FLASH_PAGE_164 ((uint32_t)0x08000000 + 0x800 * 164)
|
||
|
|
#define ADDR_FLASH_PAGE_165 ((uint32_t)0x08000000 + 0x800 * 165)
|
||
|
|
#define ADDR_FLASH_PAGE_166 ((uint32_t)0x08000000 + 0x800 * 166)
|
||
|
|
#define ADDR_FLASH_PAGE_167 ((uint32_t)0x08000000 + 0x800 * 167)
|
||
|
|
#define ADDR_FLASH_PAGE_168 ((uint32_t)0x08000000 + 0x800 * 168)
|
||
|
|
#define ADDR_FLASH_PAGE_169 ((uint32_t)0x08000000 + 0x800 * 169)
|
||
|
|
#define ADDR_FLASH_PAGE_170 ((uint32_t)0x08000000 + 0x800 * 170)
|
||
|
|
#define ADDR_FLASH_PAGE_171 ((uint32_t)0x08000000 + 0x800 * 171)
|
||
|
|
#define ADDR_FLASH_PAGE_172 ((uint32_t)0x08000000 + 0x800 * 172)
|
||
|
|
#define ADDR_FLASH_PAGE_173 ((uint32_t)0x08000000 + 0x800 * 173)
|
||
|
|
#define ADDR_FLASH_PAGE_174 ((uint32_t)0x08000000 + 0x800 * 174)
|
||
|
|
#define ADDR_FLASH_PAGE_175 ((uint32_t)0x08000000 + 0x800 * 175)
|
||
|
|
#define ADDR_FLASH_PAGE_176 ((uint32_t)0x08000000 + 0x800 * 176)
|
||
|
|
#define ADDR_FLASH_PAGE_177 ((uint32_t)0x08000000 + 0x800 * 177)
|
||
|
|
#define ADDR_FLASH_PAGE_178 ((uint32_t)0x08000000 + 0x800 * 178)
|
||
|
|
#define ADDR_FLASH_PAGE_179 ((uint32_t)0x08000000 + 0x800 * 179)
|
||
|
|
#define ADDR_FLASH_PAGE_180 ((uint32_t)0x08000000 + 0x800 * 180)
|
||
|
|
#define ADDR_FLASH_PAGE_181 ((uint32_t)0x08000000 + 0x800 * 181)
|
||
|
|
#define ADDR_FLASH_PAGE_182 ((uint32_t)0x08000000 + 0x800 * 182)
|
||
|
|
#define ADDR_FLASH_PAGE_183 ((uint32_t)0x08000000 + 0x800 * 183)
|
||
|
|
#define ADDR_FLASH_PAGE_184 ((uint32_t)0x08000000 + 0x800 * 184)
|
||
|
|
#define ADDR_FLASH_PAGE_185 ((uint32_t)0x08000000 + 0x800 * 185)
|
||
|
|
#define ADDR_FLASH_PAGE_186 ((uint32_t)0x08000000 + 0x800 * 186)
|
||
|
|
#define ADDR_FLASH_PAGE_187 ((uint32_t)0x08000000 + 0x800 * 187)
|
||
|
|
#define ADDR_FLASH_PAGE_188 ((uint32_t)0x08000000 + 0x800 * 188)
|
||
|
|
#define ADDR_FLASH_PAGE_189 ((uint32_t)0x08000000 + 0x800 * 189)
|
||
|
|
#define ADDR_FLASH_PAGE_190 ((uint32_t)0x08000000 + 0x800 * 190)
|
||
|
|
#define ADDR_FLASH_PAGE_191 ((uint32_t)0x08000000 + 0x800 * 191)
|
||
|
|
#define ADDR_FLASH_PAGE_192 ((uint32_t)0x08000000 + 0x800 * 192)
|
||
|
|
#define ADDR_FLASH_PAGE_193 ((uint32_t)0x08000000 + 0x800 * 193)
|
||
|
|
#define ADDR_FLASH_PAGE_194 ((uint32_t)0x08000000 + 0x800 * 194)
|
||
|
|
#define ADDR_FLASH_PAGE_195 ((uint32_t)0x08000000 + 0x800 * 195)
|
||
|
|
#define ADDR_FLASH_PAGE_196 ((uint32_t)0x08000000 + 0x800 * 196)
|
||
|
|
#define ADDR_FLASH_PAGE_197 ((uint32_t)0x08000000 + 0x800 * 197)
|
||
|
|
#define ADDR_FLASH_PAGE_198 ((uint32_t)0x08000000 + 0x800 * 198)
|
||
|
|
#define ADDR_FLASH_PAGE_199 ((uint32_t)0x08000000 + 0x800 * 199)
|
||
|
|
#define ADDR_FLASH_PAGE_200 ((uint32_t)0x08000000 + 0x800 * 200)
|
||
|
|
#define ADDR_FLASH_PAGE_201 ((uint32_t)0x08000000 + 0x800 * 201)
|
||
|
|
#define ADDR_FLASH_PAGE_202 ((uint32_t)0x08000000 + 0x800 * 202)
|
||
|
|
#define ADDR_FLASH_PAGE_203 ((uint32_t)0x08000000 + 0x800 * 203)
|
||
|
|
#define ADDR_FLASH_PAGE_204 ((uint32_t)0x08000000 + 0x800 * 204)
|
||
|
|
#define ADDR_FLASH_PAGE_205 ((uint32_t)0x08000000 + 0x800 * 205)
|
||
|
|
#define ADDR_FLASH_PAGE_206 ((uint32_t)0x08000000 + 0x800 * 206)
|
||
|
|
#define ADDR_FLASH_PAGE_207 ((uint32_t)0x08000000 + 0x800 * 207)
|
||
|
|
#define ADDR_FLASH_PAGE_208 ((uint32_t)0x08000000 + 0x800 * 208)
|
||
|
|
#define ADDR_FLASH_PAGE_209 ((uint32_t)0x08000000 + 0x800 * 209)
|
||
|
|
#define ADDR_FLASH_PAGE_210 ((uint32_t)0x08000000 + 0x800 * 210)
|
||
|
|
#define ADDR_FLASH_PAGE_211 ((uint32_t)0x08000000 + 0x800 * 211)
|
||
|
|
#define ADDR_FLASH_PAGE_212 ((uint32_t)0x08000000 + 0x800 * 212)
|
||
|
|
#define ADDR_FLASH_PAGE_213 ((uint32_t)0x08000000 + 0x800 * 213)
|
||
|
|
#define ADDR_FLASH_PAGE_214 ((uint32_t)0x08000000 + 0x800 * 214)
|
||
|
|
#define ADDR_FLASH_PAGE_215 ((uint32_t)0x08000000 + 0x800 * 215)
|
||
|
|
#define ADDR_FLASH_PAGE_216 ((uint32_t)0x08000000 + 0x800 * 216)
|
||
|
|
#define ADDR_FLASH_PAGE_217 ((uint32_t)0x08000000 + 0x800 * 217)
|
||
|
|
#define ADDR_FLASH_PAGE_218 ((uint32_t)0x08000000 + 0x800 * 218)
|
||
|
|
#define ADDR_FLASH_PAGE_219 ((uint32_t)0x08000000 + 0x800 * 219)
|
||
|
|
#define ADDR_FLASH_PAGE_220 ((uint32_t)0x08000000 + 0x800 * 220)
|
||
|
|
#define ADDR_FLASH_PAGE_221 ((uint32_t)0x08000000 + 0x800 * 221)
|
||
|
|
#define ADDR_FLASH_PAGE_222 ((uint32_t)0x08000000 + 0x800 * 222)
|
||
|
|
#define ADDR_FLASH_PAGE_223 ((uint32_t)0x08000000 + 0x800 * 223)
|
||
|
|
#define ADDR_FLASH_PAGE_224 ((uint32_t)0x08000000 + 0x800 * 224)
|
||
|
|
#define ADDR_FLASH_PAGE_225 ((uint32_t)0x08000000 + 0x800 * 225)
|
||
|
|
#define ADDR_FLASH_PAGE_226 ((uint32_t)0x08000000 + 0x800 * 226)
|
||
|
|
#define ADDR_FLASH_PAGE_227 ((uint32_t)0x08000000 + 0x800 * 227)
|
||
|
|
#define ADDR_FLASH_PAGE_228 ((uint32_t)0x08000000 + 0x800 * 228)
|
||
|
|
#define ADDR_FLASH_PAGE_229 ((uint32_t)0x08000000 + 0x800 * 229)
|
||
|
|
#define ADDR_FLASH_PAGE_230 ((uint32_t)0x08000000 + 0x800 * 230)
|
||
|
|
#define ADDR_FLASH_PAGE_231 ((uint32_t)0x08000000 + 0x800 * 231)
|
||
|
|
#define ADDR_FLASH_PAGE_232 ((uint32_t)0x08000000 + 0x800 * 232)
|
||
|
|
#define ADDR_FLASH_PAGE_233 ((uint32_t)0x08000000 + 0x800 * 233)
|
||
|
|
#define ADDR_FLASH_PAGE_234 ((uint32_t)0x08000000 + 0x800 * 234)
|
||
|
|
#define ADDR_FLASH_PAGE_235 ((uint32_t)0x08000000 + 0x800 * 235)
|
||
|
|
#define ADDR_FLASH_PAGE_236 ((uint32_t)0x08000000 + 0x800 * 236)
|
||
|
|
#define ADDR_FLASH_PAGE_237 ((uint32_t)0x08000000 + 0x800 * 237)
|
||
|
|
#define ADDR_FLASH_PAGE_238 ((uint32_t)0x08000000 + 0x800 * 238)
|
||
|
|
#define ADDR_FLASH_PAGE_239 ((uint32_t)0x08000000 + 0x800 * 239)
|
||
|
|
#define ADDR_FLASH_PAGE_240 ((uint32_t)0x08000000 + 0x800 * 240)
|
||
|
|
#define ADDR_FLASH_PAGE_241 ((uint32_t)0x08000000 + 0x800 * 241)
|
||
|
|
#define ADDR_FLASH_PAGE_242 ((uint32_t)0x08000000 + 0x800 * 242)
|
||
|
|
#define ADDR_FLASH_PAGE_243 ((uint32_t)0x08000000 + 0x800 * 243)
|
||
|
|
#define ADDR_FLASH_PAGE_244 ((uint32_t)0x08000000 + 0x800 * 244)
|
||
|
|
#define ADDR_FLASH_PAGE_245 ((uint32_t)0x08000000 + 0x800 * 245)
|
||
|
|
#define ADDR_FLASH_PAGE_246 ((uint32_t)0x08000000 + 0x800 * 246)
|
||
|
|
#define ADDR_FLASH_PAGE_247 ((uint32_t)0x08000000 + 0x800 * 247)
|
||
|
|
#define ADDR_FLASH_PAGE_248 ((uint32_t)0x08000000 + 0x800 * 248)
|
||
|
|
#define ADDR_FLASH_PAGE_249 ((uint32_t)0x08000000 + 0x800 * 249)
|
||
|
|
#define ADDR_FLASH_PAGE_250 ((uint32_t)0x08000000 + 0x800 * 250)
|
||
|
|
#define ADDR_FLASH_PAGE_251 ((uint32_t)0x08000000 + 0x800 * 251)
|
||
|
|
#define ADDR_FLASH_PAGE_252 ((uint32_t)0x08000000 + 0x800 * 252)
|
||
|
|
#define ADDR_FLASH_PAGE_253 ((uint32_t)0x08000000 + 0x800 * 253)
|
||
|
|
#define ADDR_FLASH_PAGE_254 ((uint32_t)0x08000000 + 0x800 * 254)
|
||
|
|
#define ADDR_FLASH_PAGE_255 ((uint32_t)0x08000000 + 0x800 * 255)
|
||
|
|
|
||
|
|
/* 插除函数 */
|
||
|
|
int8_t McuBspFlashErase(uint32_t StartPageAddress, uint32_t NumbPage);
|
||
|
|
/* 写入数据 */
|
||
|
|
int8_t McuBspFlashWrite64(uint32_t StartPageAddress, uint64_t data);
|
||
|
|
|
||
|
|
#endif
|