Latest Post
MStory2.0 소스 컴파일 시 에러 발생 시 대처법 (IAR 7.5 Mstory Source 변경)

MStory2.0 소스 컴파일 시 에러 발생 시 대처법 (첨부파일 참조)

Mango-Z1.Firmware

Z1.Src009.USB.HID



 

basic_rf.c 

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned long __get_PSP(void)" (declared at line 52 of "C:\ D:\TmpDnFiles\MStory2.0\Mango-Z1.Firmware\Libraries\CMSIS\Core\CM3\core_cm3.h 667

Program Files (x86)\IAR Systems\Embedded Workbench 7.3\arm\inc\c\intrinsics.h")

... ... ... ... ... ... ...

 

 General Options -> Library Configuration -> USE CMSIS 선택



MStory2.0\Mango-Z1.Firmware\Libraries\CMSIS\Core\CM3폴더로 이동합니다.

core_cm3.ccore_cm3.h를 삭제합니다.

 

이제는 에러는 없이 빌드되지만 Warning이 있습니다.


 

startup_stm32f10x_md.s

Warning[25]: Label 'NMI_Handler' is defined pubweak in a section implicitly declared root D:\TmpDnFiles\MStory2.0\Mango-Z1.Firmware\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_md.s 123

... ... ... ... ... ... ...

 

해당 Warning을 클릭합니다.

startup_stm32f10x_md.s 파일이 열립니다.

 

PUBWEAK NMI_Handler

        SECTION .text:CODE:REORDER:NOROOT(1)

NMI_Handler

        B NMI_Handler

 

        PUBWEAK HardFault_Handler

        SECTION .text:CODE:REORDER:NOROOT(1)

HardFault_Handler

        B HardFault_Handler

 

위와 같이 해당 위치에 :NOROOT를 추가하면 됩니다.

모든 위치에 작업을 합니다.

 

이에 재 빌드를 수행하면 모든 문제가 없이 빌드됩니다.

 

Comments 0
:    :    :
이름 / 2014-11-20 / ★★★☆☆ [수정 / 삭제]

내용

Recent Comments
일방통행  |  ★★★★★
ISE 14.7 virtualbox를 설치했는데, ,iMPACT가 인식을 못하는데, 어케해야하나요?
min  |  ★★★★☆
These are the only Drives available to write images to: # major minor size name 1: 8 0 512805384 sda 2: 8 16 15558144 sdb Enter Device Number or n to exit: 2 Invalid selection! 왜 이런 오류가 나는 걸까요?
dino  |  ★★☆☆☆
NAND Scrub실행 후 에러가 나타납니다/ 조치방법을 알려주세요 에러내용 crz nand_erase_opts erase.addr=0x0, opt->offset=0x0, erase_ieng minfo_erases=0x20000 .....진행후 s3c-nand:ecc uncorrectable error detected---4개발생합니다 빠른 회신부탁드립니다 연락처:010-3752-6251 강희진
bluewind  |  ★★★★★
안녕하세요..구입했는데..회로도 부탁드립니다. percephy@naver.com 입니다.
조형철  |  ★★★★★
상기 Backlight 관련 회로를 구할 수 있을까요?
hwang  |  ★★★★★
구입한지 조금 됬는데 회로도 부탁합니다. rubens7777@paran.com 입니다.