S32DS_for_ARM_6.3.1

Posted about 3 years ago by SURESOFT

SURESOFT
SURESOFT Admin

  • 문서 정보
    • 작성자 : 이영석
    • 작성일 : 2020. 09. 04

  • 개발 환경
    • OS :  Windows 10 64bit
    • IDE : S32Design Studio for ARM
    • 컴파일러 : arm-none-eabi-gcc-6.3.1 ("C:\NXP\S32DS_ARM_v2018.R1\Cross_Tools\gcc-6.3-arm32-eabi\bin")
    • Chipset :  S32K116

  • 툴체인
    • 사용한 분석 설정 : 컴파일러 자동추출하여 적용(gcc_toolchain_extractor.py)
    • 시스템 헤더 경로 : 
      • "C:\nxp\s32ds_arm_v2018.r1\cross_tools\gcc-6.3-arm32-eabi\lib\gcc\arm-none-eabi\6.3.1\include"

        "C:\nxp\s32ds_arm_v2018.r1\cross_tools\gcc-6.3-arm32-eabi\lib\gcc\arm-none-eabi\6.3.1\include-fixed"

        "C:\nxp\s32ds_arm_v2018.r1\cross_tools\gcc-6.3-arm32-eabi\arm-none-eabi\include"

        "C:\nxp\s32ds_arm_v2018.r1\cross_tools\gcc-6.3-arm32-eabi\arm-none-eabi\usr\include"

    • 시스템 헤더 확인 방법 :  자동추출한 S32DS_for_ARM_6.3.1_sys.txt 의 경로 추가

  • 프로젝트 생성
    • 대상 소스 파일 확인 방법 :  IDE – console 창에 빌드 로그에서 컴파일 되는 소스 파일 확인
      build 키워드로 검색하여, 각 소스 파일의 절대경로를 정리하여 적용

    • 컴파일 플래그 확인 방법 : IDE에서 컴파일 옵션 추출 (MiniElec_TC275CA_v1.01.xml)
      • - 원본 IDE의 프로젝트 우클릭 - Properties - C/C++ Build탭의 Settings - Staandard S32DS C Compiler탭의 Preprocessor (-D 매크로옵션)

        - 원본 IDE의 프로젝트 우클릭 - Properties - C/C++ Build탭의 Settings - Staandard S32DS C Compiler탭의 Includes (-I 사용자헤더옵션)


  • 원본 전처리
    • 원본 전처리된 파일 생성 방법 : IDE에서 Project Explorer의 전처리파일 추출할 소스파일 우클릭 -> Preprocess Selected File(s) 클릭


마지막 성공한 툴체인 파일 첨부합니다.

0 Votes


1 Comments

민호 김

민호 김 posted 5 months ago

2번 클릭시 새창이 열리면서 원본 전처리파일이 열림

0 Votes

Login to post a comment