;CMP r2, sp
;BNE startup_stack_ecc_init_loop
; Call C startup code (no ANSI C context established yet!)
LDR r7, =Startup_Init
BLX r7
; Initialize data sections
LDR r7, =__iar_data_init3
BLX r7
LDR r7, =__iar_program_start
BLX r7
; Note: Control flow does not necessarily return here.
; On some tool-chains (e.g. IAR) control flow will never return from
; the system library.
Cy_Main_Exited:
B Cy_Main_Exited
Getting started with PSoC
™
HV PA family
3 Development environment and tools
Application note 16 002-30264 Rev. *B
2023-04-19