Hello,
I am developping a new board called the Mobillyo which it is similar to a LilyPadUSB. I have been able to re-compile the bootloader with our PID, VID board name etc. Now I am building the package that will enable the IDE to add the board in Board Manager. All this works well the package_seenov_index.json puts the files in the correct file structure in user/Arduino15/Packages/Mobillyo. My problem is when I compile a sketch I get errors.
I am on a Windows 7 machine with Arduino 1.8.1
I have been resolving some errors but I am stuck with this one:
"C:\Users\Seenov1\AppData\Local\Temp\arduino_build_500155\preproc\ctags_target_for_gcc_minus_e.cpp"
cc1plus.exe: error: unrecognized command line option "-std=gnu++11"
cc1plus.exe: error: unrecognized command line option "-flto"
exit status 1
Error compiling for board Mobillyo.
I have the compiler in verbose and attached a file showing my compile vs the LiLyPad compile results. LiLy detects 4 libraries, while my compile detects only one before going on to the function prototypes.
I also attached my boards.txt and platform.txt files. Looks like a setting in platform.txt.
I am using the platform.txt from copied from the IDE with compiler.path commented out. If I do not comment it out the compiler has a path problem since all my files are in the User dir while the Arduino is in the Program Files dir.
In the package json file I have no tools or tool dependencies.
Thanks for the support.
Claude
boards.txt (1.04 KB)
platform.txt (7.43 KB)
compile verbose.txt (10.3 KB)