Closed
Description
The source files in the variant folder are compiled as usual but not linked in the final step.
For example the Arduino Due core has a variant.cpp file that is compiled but its not included in the link. Compiling the empty sketch gives the following error:
/tmp/build000836b13d58999ef1ebfbc27ce3b3be.tmp/core.a(main.cpp.o): In function `main':
/home/megabug/.arduino15/packages/arduino/hardware/sam/1.6.4/cores/arduino/main.cpp:44: warning: undefined reference to `init'
because the init() function is defined inside variant.cpp.
Metadata
Metadata
Assignees
Labels
No labels