putchar - Linking issue with IAR Workbench and STM32F4x using custom startup file -
getting following error:
error[li005]: no definition "__write" [referenced putchar.o(dl7m_tln.a)]
i disabled low level implementation run application without debugger connected. dont have putchar
declaration active in code have following:
thumb pubweak reset_handler section .text:code:noroot:reorder(2) reset_handler ldr r0, =systeminit ; self test library initialization sequence blx r0 ldr r0, =__low_level_init blx r0 cmp r0, #0 beq.n _call_startup ldr r0, =__iar_data_init3 blx r0 _call_startup: ldr r0, =stl_startup ; stl_startup finishes goto __iar_program_start bx r0
where __low_level_init
called. without call removed got same error.
wondering how can track if there somehow putchar call inside code not aware of. @ point debug printf
/putchar
commented out
Comments
Post a Comment