warning: cannot find entry symbol Reset_Handler
C언어,ARM / 2019. 11. 20. 01:03
warning: cannot find entry symbol Reset_Handler
스타트업 파일을 못찾아서 발생.
gcc 명령에서 main.c, 스타트업파일은 gcc 파라메터로 적어주면된다. -I가 아니다.
예)
arm-none-eabi-gcc -g -O3 -mthumb -mcpu=cortex-m0 -fdata-sections -ffunction-sections -Wl,--gc-sections ^
-DCORTEX_M0 ^
-DUSE_STDPERIPH_DRIVER ^
-I%prjpath% ^
-I%incpath% ^
%prjpath%\main.c ^
%incpath%\startup_W7500.S ^
-T %incpath%\gcc_W7500.ld ^
-o main.o -v
'C언어,ARM' 카테고리의 다른 글
FreeWebCam (0) | 2019.12.04 |
---|---|
warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) (0) | 2019.11.23 |
SERCOM (0) | 2019.11.17 |
gcc - 사용하지 않는 함수도 실행파일 크기가 늘어날까? (0) | 2019.10.12 |
ST-LINK Utility (0) | 2019.10.05 |