hello
I am using KEIL MDK , I added startup.c file I got the following error on building the project.
startup.c(234): error: #18: expected a ")"
I have attached the files kindly check it. These 2 files were present in
kinetis_50MHz_sc\k20d50m_sc_pex\common\Kinetis\startup folder which I downloaded from
Thanks in advance
Original Attachment has been moved to: startup.c.zip
Original Attachment has been moved to: startup_ARM_CC.c.zip
I already checked those files and as you can see they are part of the folder named "common", all of those files should be used as part of the project (since they are associated to each other); in the folder named "projects" you can find tree different example projects, only "helloword" has examples for both: IAR and CodeWarrior. Everything else inside those folders are for CodeWarrior only.
Hi Perla
Thanks for the reply. In common folder, there are 133 files how would I know which file is essential to use for my Project as I am trying to make a project based on UART1. I think there should be a separate file which is a base file used for all the projects that I think is this startup.c file.
Regards,
Amit Kumar
Hello Amit,
was this suggestion useful?
Please keep us posted, we'd like to know :smileywink:
Best,
Monica.
Hi Monica
The above solution didn't worked. And due to the poor support and lack of document for KEIL uvision4 MDK. I switched to codewarrior with processorexpert.
Regards
Amit Kumar
I suggest you create your project folder in the code exmaples directory [k20d50m_sc_pex/projects/], for this specific case "helloworld", if you create it in this folder you will not have to worry about which files from the common folder the compiler will have to use.