startup_hc32f448.s 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. ;/*****************************************************************************
  2. ; * Copyright (C) 2022, Xiaohua Semiconductor Co., Ltd. All rights reserved.
  3. ; *
  4. ; * This software component is licensed by XHSC under BSD 3-Clause license
  5. ; * (the "License"); You may not use this file except in compliance with the
  6. ; * License. You may obtain a copy of the License at:
  7. ; * opensource.org/licenses/BSD-3-Clause
  8. ; *
  9. ; */
  10. ;/****************************************************************************/
  11. ;/* Startup for MDK */
  12. ;/* Version V1.0 */
  13. ;/* Date 2022-12-31 */
  14. ;/* Target-mcu HC32F448 */
  15. ;/****************************************************************************/
  16. ; Stack Configuration
  17. ; Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
  18. Stack_Size EQU 0x00000C00
  19. AREA STACK, NOINIT, READWRITE, ALIGN=3
  20. Stack_Mem SPACE Stack_Size
  21. __initial_sp
  22. ; Heap Configuration
  23. ; Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
  24. Heap_Size EQU 0x00000400
  25. AREA HEAP, NOINIT, READWRITE, ALIGN=3
  26. __heap_base
  27. Heap_Mem SPACE Heap_Size
  28. __heap_limit
  29. PRESERVE8
  30. THUMB
  31. ; Vector Table Mapped to Address 0 at Reset
  32. AREA RESET, DATA, READONLY
  33. EXPORT __Vectors
  34. EXPORT __Vectors_End
  35. EXPORT __Vectors_Size
  36. __Vectors DCD __initial_sp ; Top of Stack
  37. DCD Reset_Handler ; Reset Handler
  38. DCD NMI_Handler ; NMI Handler
  39. DCD HardFault_Handler ; Hard Fault Handler
  40. DCD MemManage_Handler ; MPU Fault Handler
  41. DCD BusFault_Handler ; Bus Fault Handler
  42. DCD UsageFault_Handler ; Usage Fault Handler
  43. DCD 0 ; Reserved
  44. DCD 0 ; Reserved
  45. DCD 0 ; Reserved
  46. DCD 0 ; Reserved
  47. DCD SVC_Handler ; SVCall Handler
  48. DCD DebugMon_Handler ; Debug Monitor Handler
  49. DCD 0 ; Reserved
  50. DCD PendSV_Handler ; PendSV Handler
  51. DCD SysTick_Handler ; SysTick Handler
  52. ; Peripheral Interrupts
  53. DCD IRQ000_Handler
  54. DCD IRQ001_Handler
  55. DCD IRQ002_Handler
  56. DCD IRQ003_Handler
  57. DCD IRQ004_Handler
  58. DCD IRQ005_Handler
  59. DCD IRQ006_Handler
  60. DCD IRQ007_Handler
  61. DCD IRQ008_Handler
  62. DCD IRQ009_Handler
  63. DCD IRQ010_Handler
  64. DCD IRQ011_Handler
  65. DCD IRQ012_Handler
  66. DCD IRQ013_Handler
  67. DCD IRQ014_Handler
  68. DCD IRQ015_Handler
  69. DCD EXTINT00_SWINT16_Handler
  70. DCD EXTINT01_SWINT17_Handler
  71. DCD EXTINT02_SWINT18_Handler
  72. DCD EXTINT03_SWINT19_Handler
  73. DCD EXTINT04_SWINT20_Handler
  74. DCD EXTINT05_SWINT21_Handler
  75. DCD EXTINT06_SWINT22_Handler
  76. DCD EXTINT07_SWINT23_Handler
  77. DCD EXTINT08_SWINT24_Handler
  78. DCD EXTINT09_SWINT25_Handler
  79. DCD EXTINT10_SWINT26_Handler
  80. DCD EXTINT11_SWINT27_Handler
  81. DCD EXTINT12_SWINT28_Handler
  82. DCD EXTINT13_SWINT29_Handler
  83. DCD EXTINT14_SWINT30_Handler
  84. DCD EXTINT15_SWINT31_Handler
  85. DCD DMA1_Error_Handler
  86. DCD DMA1_TC0_BTC0_Handler
  87. DCD DMA1_TC1_BTC1_Handler
  88. DCD DMA1_TC2_BTC2_Handler
  89. DCD DMA1_TC3_BTC3_Handler
  90. DCD DMA1_TC4_BTC4_Handler
  91. DCD DMA1_TC5_BTC5_Handler
  92. DCD EFM_PEError_ReadCol_Handler
  93. DCD EFM_OpEnd_Handler
  94. DCD QSPI_Handler
  95. DCD DCU1_Handler
  96. DCD DCU2_Handler
  97. DCD DCU3_Handler
  98. DCD DCU4_Handler
  99. DCD DMA2_Error_Handler
  100. DCD DMA2_TC0_BTC0_Handler
  101. DCD DMA2_TC1_BTC1_Handler
  102. DCD DMA2_TC2_BTC2_Handler
  103. DCD DMA2_TC3_BTC3_Handler
  104. DCD DMA2_TC4_BTC4_Handler
  105. DCD DMA2_TC5_BTC5_Handler
  106. DCD TMR0_1_Handler
  107. DCD TMR0_2_Handler
  108. DCD RTC_Handler
  109. DCD CLK_XtalStop_Handler
  110. DCD PWC_WKTM_Handler
  111. DCD SWDT_Handler
  112. DCD TMR6_1_GCmp_Handler
  113. DCD TMR6_1_Ovf_Udf_Handler
  114. DCD TMR6_1_GDet_Handler
  115. DCD TMR6_1_SCmp_Handler
  116. DCD TMRA_1_Ovf_Udf_Handler
  117. DCD TMRA_1_Cmp_Handler
  118. DCD TMR6_2_GCmp_Handler
  119. DCD TMR6_2_Ovf_Udf_Handler
  120. DCD TMR6_2_GDet_Handler
  121. DCD TMR6_2_SCmp_Handler
  122. DCD TMRA_2_Ovf_Udf_Handler
  123. DCD TMRA_2_Cmp_Handler
  124. DCD TMRA_3_Ovf_Udf_Handler
  125. DCD TMRA_3_Cmp_Handler
  126. DCD TMRA_4_Ovf_Udf_Handler
  127. DCD TMRA_4_Cmp_Handler
  128. DCD TMR4_1_GCmp_Handler
  129. DCD TMR4_1_Ovf_Udf_Handler
  130. DCD TMR4_1_Reload_Handler
  131. DCD TMR4_1_SCmp_Handler
  132. DCD TMR4_2_GCmp_Handler
  133. DCD TMR4_2_Ovf_Udf_Handler
  134. DCD TMR4_2_Reload_Handler
  135. DCD TMR4_2_SCmp_Handler
  136. DCD TMR4_3_GCmp_Handler
  137. DCD TMR4_3_Ovf_Udf_Handler
  138. DCD TMR4_3_Reload_Handler
  139. DCD TMR4_3_SCmp_Handler
  140. DCD I2C1_Handler
  141. DCD I2C2_Handler
  142. DCD CMP1_Handler
  143. DCD CMP2_Handler
  144. DCD CMP3_Handler
  145. DCD CMP4_Handler
  146. DCD USART1_Handler
  147. DCD USART1_TxComplete_Handler
  148. DCD USART2_Handler
  149. DCD USART2_TxComplete_Handler
  150. DCD SPI1_Handler
  151. DCD TMRA_5_Ovf_Udf_Handler
  152. DCD TMRA_5_Cmp_Handler
  153. DCD EVENT_PORT1_Handler
  154. DCD EVENT_PORT2_Handler
  155. DCD EVENT_PORT3_Handler
  156. DCD EVENT_PORT4_Handler
  157. DCD USART3_Handler
  158. DCD USART3_TxComplete_Handler
  159. DCD USART4_Handler
  160. DCD USART4_TxComplete_Handler
  161. DCD SPI2_Handler
  162. DCD SPI3_Handler
  163. DCD EMB_GR0_Handler
  164. DCD EMB_GR1_Handler
  165. DCD EMB_GR2_Handler
  166. DCD EMB_GR3_Handler
  167. DCD USART5_Handler
  168. DCD USART5_TxComplete_Handler
  169. DCD USART6_Handler
  170. DCD USART6_TxComplete_Handler
  171. DCD MCAN1_INT0_Handler
  172. DCD MCAN1_INT1_Handler
  173. DCD MCAN2_INT0_Handler
  174. DCD MCAN2_INT1_Handler
  175. DCD USART1_WKUP_Handler
  176. DCD PWC_LVD1_Handler
  177. DCD PWC_LVD2_Handler
  178. DCD FCM_Handler
  179. DCD WDT_Handler
  180. DCD CTC_Handler
  181. DCD ADC1_Handler
  182. DCD ADC2_Handler
  183. DCD ADC3_Handler
  184. DCD TRNG_Handler
  185. __Vectors_End
  186. __Vectors_Size EQU __Vectors_End - __Vectors
  187. AREA |.text|, CODE, READONLY
  188. ; Reset Handler
  189. Reset_Handler PROC
  190. EXPORT Reset_Handler [WEAK]
  191. IMPORT SystemInit
  192. IMPORT __main
  193. LDR R0, =SystemInit
  194. BLX R0
  195. LDR R0, =__main
  196. BX R0
  197. ENDP
  198. ; Dummy Exception Handlers (infinite loops which can be modified)
  199. NMI_Handler PROC
  200. EXPORT NMI_Handler [WEAK]
  201. B .
  202. ENDP
  203. HardFault_Handler\
  204. PROC
  205. EXPORT HardFault_Handler [WEAK]
  206. B .
  207. ENDP
  208. MemManage_Handler\
  209. PROC
  210. EXPORT MemManage_Handler [WEAK]
  211. B .
  212. ENDP
  213. BusFault_Handler\
  214. PROC
  215. EXPORT BusFault_Handler [WEAK]
  216. B .
  217. ENDP
  218. UsageFault_Handler\
  219. PROC
  220. EXPORT UsageFault_Handler [WEAK]
  221. B .
  222. ENDP
  223. SVC_Handler PROC
  224. EXPORT SVC_Handler [WEAK]
  225. B .
  226. ENDP
  227. DebugMon_Handler\
  228. PROC
  229. EXPORT DebugMon_Handler [WEAK]
  230. B .
  231. ENDP
  232. PendSV_Handler PROC
  233. EXPORT PendSV_Handler [WEAK]
  234. B .
  235. ENDP
  236. SysTick_Handler PROC
  237. EXPORT SysTick_Handler [WEAK]
  238. B .
  239. ENDP
  240. Default_Handler PROC
  241. EXPORT IRQ000_Handler [WEAK]
  242. EXPORT IRQ001_Handler [WEAK]
  243. EXPORT IRQ002_Handler [WEAK]
  244. EXPORT IRQ003_Handler [WEAK]
  245. EXPORT IRQ004_Handler [WEAK]
  246. EXPORT IRQ005_Handler [WEAK]
  247. EXPORT IRQ006_Handler [WEAK]
  248. EXPORT IRQ007_Handler [WEAK]
  249. EXPORT IRQ008_Handler [WEAK]
  250. EXPORT IRQ009_Handler [WEAK]
  251. EXPORT IRQ010_Handler [WEAK]
  252. EXPORT IRQ011_Handler [WEAK]
  253. EXPORT IRQ012_Handler [WEAK]
  254. EXPORT IRQ013_Handler [WEAK]
  255. EXPORT IRQ014_Handler [WEAK]
  256. EXPORT IRQ015_Handler [WEAK]
  257. EXPORT EXTINT00_SWINT16_Handler [WEAK]
  258. EXPORT EXTINT01_SWINT17_Handler [WEAK]
  259. EXPORT EXTINT02_SWINT18_Handler [WEAK]
  260. EXPORT EXTINT03_SWINT19_Handler [WEAK]
  261. EXPORT EXTINT04_SWINT20_Handler [WEAK]
  262. EXPORT EXTINT05_SWINT21_Handler [WEAK]
  263. EXPORT EXTINT06_SWINT22_Handler [WEAK]
  264. EXPORT EXTINT07_SWINT23_Handler [WEAK]
  265. EXPORT EXTINT08_SWINT24_Handler [WEAK]
  266. EXPORT EXTINT09_SWINT25_Handler [WEAK]
  267. EXPORT EXTINT10_SWINT26_Handler [WEAK]
  268. EXPORT EXTINT11_SWINT27_Handler [WEAK]
  269. EXPORT EXTINT12_SWINT28_Handler [WEAK]
  270. EXPORT EXTINT13_SWINT29_Handler [WEAK]
  271. EXPORT EXTINT14_SWINT30_Handler [WEAK]
  272. EXPORT EXTINT15_SWINT31_Handler [WEAK]
  273. EXPORT DMA1_Error_Handler [WEAK]
  274. EXPORT DMA1_TC0_BTC0_Handler [WEAK]
  275. EXPORT DMA1_TC1_BTC1_Handler [WEAK]
  276. EXPORT DMA1_TC2_BTC2_Handler [WEAK]
  277. EXPORT DMA1_TC3_BTC3_Handler [WEAK]
  278. EXPORT DMA1_TC4_BTC4_Handler [WEAK]
  279. EXPORT DMA1_TC5_BTC5_Handler [WEAK]
  280. EXPORT EFM_PEError_ReadCol_Handler [WEAK]
  281. EXPORT EFM_OpEnd_Handler [WEAK]
  282. EXPORT QSPI_Handler [WEAK]
  283. EXPORT DCU1_Handler [WEAK]
  284. EXPORT DCU2_Handler [WEAK]
  285. EXPORT DCU3_Handler [WEAK]
  286. EXPORT DCU4_Handler [WEAK]
  287. EXPORT DMA2_Error_Handler [WEAK]
  288. EXPORT DMA2_TC0_BTC0_Handler [WEAK]
  289. EXPORT DMA2_TC1_BTC1_Handler [WEAK]
  290. EXPORT DMA2_TC2_BTC2_Handler [WEAK]
  291. EXPORT DMA2_TC3_BTC3_Handler [WEAK]
  292. EXPORT DMA2_TC4_BTC4_Handler [WEAK]
  293. EXPORT DMA2_TC5_BTC5_Handler [WEAK]
  294. EXPORT TMR0_1_Handler [WEAK]
  295. EXPORT TMR0_2_Handler [WEAK]
  296. EXPORT RTC_Handler [WEAK]
  297. EXPORT CLK_XtalStop_Handler [WEAK]
  298. EXPORT PWC_WKTM_Handler [WEAK]
  299. EXPORT SWDT_Handler [WEAK]
  300. EXPORT TMR6_1_GCmp_Handler [WEAK]
  301. EXPORT TMR6_1_Ovf_Udf_Handler [WEAK]
  302. EXPORT TMR6_1_GDet_Handler [WEAK]
  303. EXPORT TMR6_1_SCmp_Handler [WEAK]
  304. EXPORT TMRA_1_Ovf_Udf_Handler [WEAK]
  305. EXPORT TMRA_1_Cmp_Handler [WEAK]
  306. EXPORT TMR6_2_GCmp_Handler [WEAK]
  307. EXPORT TMR6_2_Ovf_Udf_Handler [WEAK]
  308. EXPORT TMR6_2_GDet_Handler [WEAK]
  309. EXPORT TMR6_2_SCmp_Handler [WEAK]
  310. EXPORT TMRA_2_Ovf_Udf_Handler [WEAK]
  311. EXPORT TMRA_2_Cmp_Handler [WEAK]
  312. EXPORT TMRA_3_Ovf_Udf_Handler [WEAK]
  313. EXPORT TMRA_3_Cmp_Handler [WEAK]
  314. EXPORT TMRA_4_Ovf_Udf_Handler [WEAK]
  315. EXPORT TMRA_4_Cmp_Handler [WEAK]
  316. EXPORT TMR4_1_GCmp_Handler [WEAK]
  317. EXPORT TMR4_1_Ovf_Udf_Handler [WEAK]
  318. EXPORT TMR4_1_Reload_Handler [WEAK]
  319. EXPORT TMR4_1_SCmp_Handler [WEAK]
  320. EXPORT TMR4_2_GCmp_Handler [WEAK]
  321. EXPORT TMR4_2_Ovf_Udf_Handler [WEAK]
  322. EXPORT TMR4_2_Reload_Handler [WEAK]
  323. EXPORT TMR4_2_SCmp_Handler [WEAK]
  324. EXPORT TMR4_3_GCmp_Handler [WEAK]
  325. EXPORT TMR4_3_Ovf_Udf_Handler [WEAK]
  326. EXPORT TMR4_3_Reload_Handler [WEAK]
  327. EXPORT TMR4_3_SCmp_Handler [WEAK]
  328. EXPORT I2C1_Handler [WEAK]
  329. EXPORT I2C2_Handler [WEAK]
  330. EXPORT CMP1_Handler [WEAK]
  331. EXPORT CMP2_Handler [WEAK]
  332. EXPORT CMP3_Handler [WEAK]
  333. EXPORT CMP4_Handler [WEAK]
  334. EXPORT USART1_Handler [WEAK]
  335. EXPORT USART1_TxComplete_Handler [WEAK]
  336. EXPORT USART2_Handler [WEAK]
  337. EXPORT USART2_TxComplete_Handler [WEAK]
  338. EXPORT SPI1_Handler [WEAK]
  339. EXPORT TMRA_5_Ovf_Udf_Handler [WEAK]
  340. EXPORT TMRA_5_Cmp_Handler [WEAK]
  341. EXPORT EVENT_PORT1_Handler [WEAK]
  342. EXPORT EVENT_PORT2_Handler [WEAK]
  343. EXPORT EVENT_PORT3_Handler [WEAK]
  344. EXPORT EVENT_PORT4_Handler [WEAK]
  345. EXPORT USART3_Handler [WEAK]
  346. EXPORT USART3_TxComplete_Handler [WEAK]
  347. EXPORT USART4_Handler [WEAK]
  348. EXPORT USART4_TxComplete_Handler [WEAK]
  349. EXPORT SPI2_Handler [WEAK]
  350. EXPORT SPI3_Handler [WEAK]
  351. EXPORT EMB_GR0_Handler [WEAK]
  352. EXPORT EMB_GR1_Handler [WEAK]
  353. EXPORT EMB_GR2_Handler [WEAK]
  354. EXPORT EMB_GR3_Handler [WEAK]
  355. EXPORT USART5_Handler [WEAK]
  356. EXPORT USART5_TxComplete_Handler [WEAK]
  357. EXPORT USART6_Handler [WEAK]
  358. EXPORT USART6_TxComplete_Handler [WEAK]
  359. EXPORT MCAN1_INT0_Handler [WEAK]
  360. EXPORT MCAN1_INT1_Handler [WEAK]
  361. EXPORT MCAN2_INT0_Handler [WEAK]
  362. EXPORT MCAN2_INT1_Handler [WEAK]
  363. EXPORT USART1_WKUP_Handler [WEAK]
  364. EXPORT PWC_LVD1_Handler [WEAK]
  365. EXPORT PWC_LVD2_Handler [WEAK]
  366. EXPORT FCM_Handler [WEAK]
  367. EXPORT WDT_Handler [WEAK]
  368. EXPORT CTC_Handler [WEAK]
  369. EXPORT ADC1_Handler [WEAK]
  370. EXPORT ADC2_Handler [WEAK]
  371. EXPORT ADC3_Handler [WEAK]
  372. EXPORT TRNG_Handler [WEAK]
  373. IRQ000_Handler
  374. IRQ001_Handler
  375. IRQ002_Handler
  376. IRQ003_Handler
  377. IRQ004_Handler
  378. IRQ005_Handler
  379. IRQ006_Handler
  380. IRQ007_Handler
  381. IRQ008_Handler
  382. IRQ009_Handler
  383. IRQ010_Handler
  384. IRQ011_Handler
  385. IRQ012_Handler
  386. IRQ013_Handler
  387. IRQ014_Handler
  388. IRQ015_Handler
  389. EXTINT00_SWINT16_Handler
  390. EXTINT01_SWINT17_Handler
  391. EXTINT02_SWINT18_Handler
  392. EXTINT03_SWINT19_Handler
  393. EXTINT04_SWINT20_Handler
  394. EXTINT05_SWINT21_Handler
  395. EXTINT06_SWINT22_Handler
  396. EXTINT07_SWINT23_Handler
  397. EXTINT08_SWINT24_Handler
  398. EXTINT09_SWINT25_Handler
  399. EXTINT10_SWINT26_Handler
  400. EXTINT11_SWINT27_Handler
  401. EXTINT12_SWINT28_Handler
  402. EXTINT13_SWINT29_Handler
  403. EXTINT14_SWINT30_Handler
  404. EXTINT15_SWINT31_Handler
  405. DMA1_Error_Handler
  406. DMA1_TC0_BTC0_Handler
  407. DMA1_TC1_BTC1_Handler
  408. DMA1_TC2_BTC2_Handler
  409. DMA1_TC3_BTC3_Handler
  410. DMA1_TC4_BTC4_Handler
  411. DMA1_TC5_BTC5_Handler
  412. EFM_PEError_ReadCol_Handler
  413. EFM_OpEnd_Handler
  414. QSPI_Handler
  415. DCU1_Handler
  416. DCU2_Handler
  417. DCU3_Handler
  418. DCU4_Handler
  419. DMA2_Error_Handler
  420. DMA2_TC0_BTC0_Handler
  421. DMA2_TC1_BTC1_Handler
  422. DMA2_TC2_BTC2_Handler
  423. DMA2_TC3_BTC3_Handler
  424. DMA2_TC4_BTC4_Handler
  425. DMA2_TC5_BTC5_Handler
  426. TMR0_1_Handler
  427. TMR0_2_Handler
  428. RTC_Handler
  429. CLK_XtalStop_Handler
  430. PWC_WKTM_Handler
  431. SWDT_Handler
  432. TMR6_1_GCmp_Handler
  433. TMR6_1_Ovf_Udf_Handler
  434. TMR6_1_GDet_Handler
  435. TMR6_1_SCmp_Handler
  436. TMRA_1_Ovf_Udf_Handler
  437. TMRA_1_Cmp_Handler
  438. TMR6_2_GCmp_Handler
  439. TMR6_2_Ovf_Udf_Handler
  440. TMR6_2_GDet_Handler
  441. TMR6_2_SCmp_Handler
  442. TMRA_2_Ovf_Udf_Handler
  443. TMRA_2_Cmp_Handler
  444. TMRA_3_Ovf_Udf_Handler
  445. TMRA_3_Cmp_Handler
  446. TMRA_4_Ovf_Udf_Handler
  447. TMRA_4_Cmp_Handler
  448. TMR4_1_GCmp_Handler
  449. TMR4_1_Ovf_Udf_Handler
  450. TMR4_1_Reload_Handler
  451. TMR4_1_SCmp_Handler
  452. TMR4_2_GCmp_Handler
  453. TMR4_2_Ovf_Udf_Handler
  454. TMR4_2_Reload_Handler
  455. TMR4_2_SCmp_Handler
  456. TMR4_3_GCmp_Handler
  457. TMR4_3_Ovf_Udf_Handler
  458. TMR4_3_Reload_Handler
  459. TMR4_3_SCmp_Handler
  460. I2C1_Handler
  461. I2C2_Handler
  462. CMP1_Handler
  463. CMP2_Handler
  464. CMP3_Handler
  465. CMP4_Handler
  466. USART1_Handler
  467. USART1_TxComplete_Handler
  468. USART2_Handler
  469. USART2_TxComplete_Handler
  470. SPI1_Handler
  471. TMRA_5_Ovf_Udf_Handler
  472. TMRA_5_Cmp_Handler
  473. EVENT_PORT1_Handler
  474. EVENT_PORT2_Handler
  475. EVENT_PORT3_Handler
  476. EVENT_PORT4_Handler
  477. USART3_Handler
  478. USART3_TxComplete_Handler
  479. USART4_Handler
  480. USART4_TxComplete_Handler
  481. SPI2_Handler
  482. SPI3_Handler
  483. EMB_GR0_Handler
  484. EMB_GR1_Handler
  485. EMB_GR2_Handler
  486. EMB_GR3_Handler
  487. USART5_Handler
  488. USART5_TxComplete_Handler
  489. USART6_Handler
  490. USART6_TxComplete_Handler
  491. MCAN1_INT0_Handler
  492. MCAN1_INT1_Handler
  493. MCAN2_INT0_Handler
  494. MCAN2_INT1_Handler
  495. USART1_WKUP_Handler
  496. PWC_LVD1_Handler
  497. PWC_LVD2_Handler
  498. FCM_Handler
  499. WDT_Handler
  500. CTC_Handler
  501. ADC1_Handler
  502. ADC2_Handler
  503. ADC3_Handler
  504. TRNG_Handler
  505. B .
  506. ENDP
  507. ALIGN
  508. ; User Initial Stack & Heap
  509. IF :DEF:__MICROLIB
  510. EXPORT __initial_sp
  511. EXPORT __heap_base
  512. EXPORT __heap_limit
  513. ELSE
  514. IMPORT __use_two_region_memory
  515. EXPORT __user_initial_stackheap
  516. __user_initial_stackheap
  517. LDR R0, = Heap_Mem
  518. LDR R1, =(Stack_Mem + Stack_Size)
  519. LDR R2, = (Heap_Mem + Heap_Size)
  520. LDR R3, = Stack_Mem
  521. BX LR
  522. ALIGN
  523. ENDIF
  524. END