>populated with some unexplained code
I created a project in mplabx (5.15) for a C21Jsomething, created the standard/mostly empty newmain.c file, and using xc32 v2.20. I can't even compile without error, as it cannot find core_cm0plus.h, and still cannot find it when I add the directory in include settings. I don't know what is going on. I also have the arm gcc compiler added to the build tools, and I would guess that probably works fine but didn't want to take the time to also sort out adding the startup file, linker script, include directories, etc.
In the other thread, Alex showed a link to his github directory for sam parts. He also has a command line programmer app that may work also. I have a samd10xplained project on github, but it is in c++ and probably shouldn't be seen anyway, so will not link to it here. To make mine work I needed the atmel dfp pack, the cmsis pack, the arm gcc compiler, and the programmer app from Alex. I then wrote my own script to do the stuff a makefile does- clean,compile,create lss/hex/bin, program, gitupdate, etc.
me-
>But whether you use xc32 or arm gcc, you may have to fiddle around a little to make it work right.
you-
>So why will i have to fiddle to get the compiler to work? if the compiler works for the chip and the IDE uses it what is the problem?