You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.\build\app.axf: Warning: L6330W: Undefined symbol SHT$$INIT_ARRAY$$Base (referred from crt_init.o). Unused section has been removed.
.\build\app.axf: Warning: L6330W: Undefined symbol SHT$$INIT_ARRAY$$Limit (referred from crt_init.o). Unused section has been removed.
Activity
liangyongxiang commentedon May 6, 2018
你可以参考一些打开c++的bsp,例如stm32h743-nucleo, i.mx rt 1052等等bsp。
需要修改的地方大致有:rtconfig.py里添加CXX和CXXFLAGS,SConstruct里添加CXX的信息。如果你在C里使用C99,还有一些需要注意的地方(参考i.mx rt 1052)
cendikj commentedon May 7, 2018
在bsp下找不到打开c++的demo呢,试了几个stm32的工程,打开了对c++的支持项RT_USING_CPLUSPLUS和RT_USING_LIBC,mdk5.21编译都提示这两个警告
.\build\app.axf: Warning: L6330W: Undefined symbol SHT$$INIT_ARRAY$$Base (referred from crt_init.o). Unused section has been removed.
.\build\app.axf: Warning: L6330W: Undefined symbol SHT$$INIT_ARRAY$$Limit (referred from crt_init.o). Unused section has been removed.
cl1217982730 commentedon Oct 29, 2019
情况SHT$$INIT_ARRAY$$Base 这个warning 是怎么解决的?