You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I bought an arduino-nano clone on an lgt8F328d chip which is chinease ATMega328 clone with some improvements. Since this is not a 1-to-1 clone they provide a version of arduino stuff.
I tested this on Windows with normal arduino IDE and it seems working fine. The package consists of text files, so it is safe to download. Now I am trying to get it working on Linux (actually Raspbian)
First I had hard time installing this to arduino-cli (at least uncertainty where to put those files). I ended up putting update/hardware/WAV/avr contents from the archive to .arduino15/packages/arduino/hardware/WAV/1.0.0 as arduino-cli wants a version number in the path. Eventually it picked up list of boards
But the next problem looks more serious (at least after 2 days fighting with it I still have no solution).
When I try to compile a regular blink sketch for traditional arduino:avr:nano board build process creates core.a at /tmp/arduino-sketch-098F6BCD4621D373CADE4E832627B4F6/**core/**core.a
When I try to compile for arduino:WAV:lardu_328e arduino-cli calls avr-ar with output path set to /tmp/arduino-sketch-098F6BCD4621D373CADE4E832627B4F6/core.a (no 'core' subdirectory). Later link can't find core.a and build fails.
I tried to find the answer in platforms.txt as well as in arduino-cli sources, but no luck. It looks odd as ar and linker commands both use the same archive {build.path}/{archive_file} path:
Hello and thank you for the great tool!
Recently I bought an arduino-nano clone on an lgt8F328d chip which is chinease ATMega328 clone with some improvements. Since this is not a 1-to-1 clone they provide a version of arduino stuff.
https://drive.google.com/open?id=10gwrG9uTDwaEO-7EudsmBkfgdcyrcABI
I tested this on Windows with normal arduino IDE and it seems working fine. The package consists of text files, so it is safe to download. Now I am trying to get it working on Linux (actually Raspbian)
First I had hard time installing this to arduino-cli (at least uncertainty where to put those files). I ended up putting update/hardware/WAV/avr contents from the archive to .arduino15/packages/arduino/hardware/WAV/1.0.0 as arduino-cli wants a version number in the path. Eventually it picked up list of boards
But the next problem looks more serious (at least after 2 days fighting with it I still have no solution).
When I try to compile a regular blink sketch for traditional arduino:avr:nano board build process creates core.a at /tmp/arduino-sketch-098F6BCD4621D373CADE4E832627B4F6/**core/**core.a
When I try to compile for arduino:WAV:lardu_328e arduino-cli calls avr-ar with output path set to /tmp/arduino-sketch-098F6BCD4621D373CADE4E832627B4F6/core.a (no 'core' subdirectory). Later link can't find core.a and build fails.
I tried to find the answer in platforms.txt as well as in arduino-cli sources, but no luck. It looks odd as ar and linker commands both use the same archive {build.path}/{archive_file} path:
I dumped exact arguments passed to ar and linker:
Can someone help me?
The text was updated successfully, but these errors were encountered: