Closed eiten closed 4 years ago
Did you tested that? I tried as yours, error occurred.
My bad! Sorry, that was a copy paste error! It should read
compiler.S.cmd=arm-none-eabi-gcc
compiler.S.flags=-mcpu=cortex-m0plus -mthumb -c -x assembler-with-cpp -g -w -gdwarf-2 "-I{compiler.sdk.path}/projects/PSoC4"
Indeed the compiler.S.cmd=arm-none-eabi-as
refer from the Cypress original example, the .S files are automatically generated by IDE. So we just keep this part the same as Cypress one.
We are not very professional in compilation principle, can you please tell me why?
Thank you for your hint. I had fixed that.
code like
#ifdef __ASR6501__
are not processed in assembler files. Please change this lines in platform txt toto fix the issue. It's the way it's done in other cortex based Arduino implementations