bringupmre / MT2503_SDK

MT2503 firmware source code with some prebuilt things and some fixed code
1 stars 1 forks source link

Problem with building the project #1

Open MahdiGh82 opened 7 months ago

MahdiGh82 commented 7 months ago

i am using your repository to build firmware for MT2503. I read README.md and did what it said but when use "make u" to build project in step "Building track" show me error in track.log:

-----------------------ERROR-----------------------
Module track is in DEFALUT mode
make[1]: Entering directory `C:/MT2503_SDK'
CFLAGS = --cpu ARM7EJ-S --littleend -O3 --remove_unneeded_entities -D__RVCT__ -JC:\Progra~1\ARM\RVCT\Data\3.1\569\include\windows --fpmode=ieee_fixed --split_sections --diag_suppress 1,1295,1296,2548 --dwarf2 -D__SERIAL_FLASH_EN__ -D__SERIAL_FLASH_SUPPORT__ --bss_threshold=0
CPLUSFLAGS = --cpp --cpu ARM7EJ-S --littleend -O3 --remove_unneeded_entities -D__RVCT__ -JC:\Progra~1\ARM\RVCT\Data\3.1\569\include\windows --fpmode=ieee_fixed --split_sections --diag_suppress 1,1295,1296,2548 --dwarf2 --bss_threshold=0
AFLAGS = --debug --littleend --cpu ARM7EJ-S --apcs /interwork -16
ADEFS = -pd "MT6261 SETL {TRUE}" -pd "MT6261_S00 SETL {TRUE}" -pd "__SV5_ENABLED__ SETL {TRUE}" -pd "__EVENT_BASED_TIMER__ SETL {TRUE}" -pd "__PRODUCTION_RELEASE__ SETL {TRUE}" -pd "KAL_ON_NUCLEUS SETL {TRUE}" -pd "__CHIP_VERSION_CHECK__ SETL {TRUE}" -pd "__KEYPAD_DEBUG_TRACE__ SETL {TRUE}" -pd "ESAL_AR_STK_FPU_SUPPORT SETL {FALSE}" -pd "__ARM_FPUV2__ SETL {FALSE}" -pd "__SERIAL_FLASH_EN__ SETL {TRUE}" -pd "__SERIAL_FLASH_SUPPORT__ SETL {TRUE}"
Cannot open .\build\GXQ03D_M2M_11C\gprs\MT6261o\track\track.via: No such file or directoryC:\Progra~1\ARM\RVCT\Programs\3.1\569\win_32-pentium\armar.exe -create ./build/GXQ03D_M2M_11C/gprs/MT6261o/lib/track.lib --via .\build\GXQ03D_M2M_11C\gprs\MT6261o\track\track_sort.via
Warning: L3910W: Old syntax, please use '--create'.
Fatal error: L3904U: Could not open via file '.\build\GXQ03D_M2M_11C\gprs\MT6261o\track\track_sort.via'.
make[1]: *** [build/GXQ03D_M2M_11C/gprs/MT6261o/lib/track.lib] Error 1
make[1]: Leaving directory `C:/MT2503_SDK'
-----------------------ERROR-----------------------

how to solve this problem? thanks you for any help from your side.

raspiduino commented 7 months ago

Hello! I haven't come back to this for a long time, so I didn't remember how to deal with this. Sorry for that. Maybe you have to figure it out on your own (and if possible, log your progress here). Thank you!