SparkFun Forums 

Where electronics enthusiasts find answers.

Topics pertaining to the Arduino Core & software used with the Artemis module and Artemis development boards.
#207915
Programming with the Arduino IDE works fine on Windows, but I get the above error message (with a much longer filepath) on Linux. I guess it can't find the compiler. The full error is:
Code: Select all
fork/exec /home/user/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++: no such file or directory
Error compiling for board SparkFun RedBoard Artemis Nano.
I looked at the directory structure and I have everything down to 8-2018-q4-major, but where I should have a bin folder inside that, I just have the directories arm-none-eabi and lib. Any ideas? Thanks.
#207927
Update: I reinstalled the SparkFun boards from the board manager and I can compile, but I'm now getting this on the SVL bootloader:
Code: Select all
 Artemis SVL Bootloader
[
	error receiving packet
{'len': 0, 'cmd': 0, 'data': 0, 'crc': 1, 'timeout': 1}


unknown error
 Upload failed
[
	error receiving packet
{'len': 0, 'cmd': 0, 'data': 0, 'crc': 1, 'timeout': 1}


unknown error
 Upload failed
[
	error receiving packet
{'len': 0, 'cmd': 0, 'data': 0, 'crc': 1, 'timeout': 1}


unknown error
 Upload failed
and this from the Ambiq secure bootloader:
Code: Select all
 [11380] Failed to execute script ambiq_bin2board
Traceback (most recent call last):
  File "ambiq_bin2board.py", line 24, in <module>
ModuleNotFoundError: No module named 'am_defines'
ModuleNotFoundError: No module named 'am_defines'
This doesn't happen on Windows either, just Linux.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum