SparkFun Forums 

Where electronics enthusiasts find answers.

Topics pertaining to the Arduino Core & software used with the Artemis module and Artemis development boards.
By tlrrobb
#207474
exec format error
Error compiling for board SparkFun BlackBoard Artemis Nano.

Don't quite understand what the error refers to.
Just trying to compile the stock "blink" script.
The files exist, the IDE is Arduino1.8.9 and the Apollo3 Core is ver.1.0.7 OS is Ubuntu 18.04.3

complete error message follows:

Arduino: 1.8.9 (Linux), Board: "SparkFun BlackBoard Artemis Nano, 921600, SparkFun Variable Loader (Recommended)"
Code: Select all
/home/terry/ArduinoIDE/arduino-1.8.9/arduino-builder -dump-prefs -logger=machine -hardware /home/terry/ArduinoIDE/arduino-1.8.9/hardware -hardware /home/terry/.arduino15/packages -hardware /home/terry/sketchbook/hardware -tools /home/terry/ArduinoIDE/arduino-1.8.9/tools-builder -tools /home/terry/ArduinoIDE/arduino-1.8.9/hardware/tools/avr -tools /home/terry/.arduino15/packages -built-in-libraries /home/terry/ArduinoIDE/arduino-1.8.9/libraries -libraries /home/terry/sketchbook/libraries -fqbn=SparkFun:apollo3:amap3nano:svl_baud=921600,loader=sparkfun_svl -vid-pid=1A86_7523 -ide-version=10809 -build-path /tmp/arduino_build_292058 -warnings=none -build-cache /tmp/arduino_cache_191678 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -prefs=runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path=/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -verbose /home/terry/ArduinoIDE/arduino-1.8.9/examples/01.Basics/Blink/Blink.ino
/home/terry/ArduinoIDE/arduino-1.8.9/arduino-builder -compile -logger=machine -hardware /home/terry/ArduinoIDE/arduino-1.8.9/hardware -hardware /home/terry/.arduino15/packages -hardware /home/terry/sketchbook/hardware -tools /home/terry/ArduinoIDE/arduino-1.8.9/tools-builder -tools /home/terry/ArduinoIDE/arduino-1.8.9/hardware/tools/avr -tools /home/terry/.arduino15/packages -built-in-libraries /home/terry/ArduinoIDE/arduino-1.8.9/libraries -libraries /home/terry/sketchbook/libraries -fqbn=SparkFun:apollo3:amap3nano:svl_baud=921600,loader=sparkfun_svl -vid-pid=1A86_7523 -ide-version=10809 -build-path /tmp/arduino_build_292058 -warnings=none -build-cache /tmp/arduino_cache_191678 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -prefs=runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path=/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -verbose /home/terry/ArduinoIDE/arduino-1.8.9/examples/01.Basics/Blink/Blink.ino
Using board 'amap3nano' from platform in folder: /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7
Using core 'arduino' from platform in folder: /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7
Detecting libraries used...
/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10809 -DARDUINO_AM_AP3_SFE_BB_ARTEMIS_NANO -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/ard_supers -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/utils -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_292058/sketch/Blink.ino.cpp -o /dev/null
fork/exec /home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++: exec format error
Error compiling for board SparkFun BlackBoard Artemis Nano.
User avatar
By El_Duderino
#207592
Hi tlrrobb,

Hmm, that is a really weird error. Out of curiosity, does this error persist regardless of what board you select? Do you have any other board definitions packages installed that use the ARM toolchain? There may be a conflict happening there. Another suggestion would be to try switching to the Ambiq Secure Bootloader and retry compiling. Other Ubuntu users have reported issues compiling with the SparkFun Variable Bootloader that we are still looking into.
User avatar
By tlrobb
#207638
TS-Mark wrote:Hi tlrrobb,
does this error persist regardless of what board you select?
I get the same error with "BlackBoard Artemis ATP", "Artemis Module", and "SparkFun Edge"
Do you have any other board definitions packages installed that use the ARM toolchain?
I have the Adafruit SAMD boards package installed . The Adafruit Feather M0 compiles normally.
Another suggestion would be to try switching to the Ambiq Secure Bootloader and retry compiling.
The SparkFun Edge is compiled with the Ambiq Secure Bootloader by default. I get the same Result.

--Terry
By fe7565
#207697
Similar issue here. I had to manually install the artemis files under Arduino IDE "hardware" folder. The Json link in BoardManager did not work. Here is the error file:

Arduino: 1.8.10 (Windows 10), Board: "SparkFun BlackBoard Artemis Nano, 115200, SparkFun Variable Loader (Recommended)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\HPi7\AppData\Local\Arduino15\packages -hardware C:\Users\HPi7\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\HPi7\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\HPi7\Documents\Arduino\libraries -fqbn=Arduino_Boards-master:Arduino_Apollo3-master:amap3nano:svl_baud=115200,loader=sparkfun_svl -vid-pid=1A86_7523 -ide-version=10810 -build-path C:\Temp\arduino_build_52862 -warnings=none -build-cache C:\Temp\arduino_cache_518859 -prefs=build.warn_data_percentage=75 -verbose C:\Users\HPi7\Documents\Arduino\hardware\Arduino_Boards-master\Arduino_Apollo3-master\libraries\Examples\examples\Example1_Blink\Example1_Blink.ino
loading hardware from C:\Users\HPi7\Documents\Arduino\hardware: loading package Arduino_Boards-master: invalid version dir C:\Users\HPi7\Documents\Arduino\hardware\Arduino_Boards-master\sparkfun\avr: no major version found

Error compiling for board SparkFun BlackBoard Artemis Nano.
By Guest
#207698
Managed to get the errors down to one after downloading the Apollo3 directly from github and placing it in "Arduino/hardware/Arduino_Boards-master folder.

This is the error. I suspect that my "avr" folder is in the wrong location or not the correct one.

exec: "/bin/arm-none-eabi-g++": file does not exist
User avatar
By liquid.soulder
#207738
HI all - I suspect we have a few different issues being described here:

fe7565 and Guest:

Can you describe why the boards manager install did not work? It is significantly easier to use that tool than to install manually.

There should be no "avr" directory involved with the Apollo3 arduino core. If you must perform a manual install there will be a few additional steps you need to take. First make sure that the repo is contained by the directory
Code: Select all
{Arduino_Sketchbook}/hardware/SparkFun/apollo3
(You can find your sketchbook location in Arduino's preferences, and as an example path you should have '{Arduino_Sketchbook}/hardware/SparkFun/apollo3/platform.txt')

Then you will have to modify 'platform.txt' to use the ARMCC compiler tools of your choice. You could, for one, point at the tools that are used for Arduino SAMD boards, or you could download your own copy to use from https://developer.arm.com/tools-and-sof ... /downloads
(Beware that the latest release - Version 8-2019-q3-update - has known issues so I recommend 8-2018-q4-major)


tlrrob:

It appears that you have the arm-non-eabi-gcc executables properly installed, but your machine says that they are an invalid executable format. I would suspect that this is because we only provide a couple different flavors of the toolchain (specifically one for Windows, one for Mac, and one for any other *nix flavor).

You can see the tools we provide for various platforms here: https://github.com/sparkfun/Arduino_Boa ... 1093-L1133

For the time being you might be able to solve this in one of two ways:

1. replace the provided tools with a copy that works on your system (i.e. download the correct tools [use version 8-2018-q4-major] from https://developer.arm.com/tools-and-sof ... /downloads) and replace the tools that live at your equivalent of
Code: Select all
C:\Users\owen.lyke\AppData\Local\Arduino15\packages\SparkFun\tools\arm-none-eabi-gcc\8-2018-q4-major
2. Redirect the apollo3 core to use the arm-none-eabi-gcc tool that is downloaded by the SAMD boards. (You must install Arduino SAMD boards to do this). This means changing '~\AppData\Local\Arduino15\packages\SparkFun\hardware\apollo3\1.0.7\platform.txt' under the section '## Compiler and Toolchain' so that compiler.path equals '{runtime.tools.arm-none-eabi-gcc-4.8.3-2014q1.path}'

Hope that helps!
User avatar
By tlrobb
#207870
Regarding compile problems and Linux install.
Thank you liquid.soulder
Both suggestions (reinstalling the toolchain and redirecting the apollo3 core in platform.txt) allow the script to compile but the Arduino IDE will not upload; leaving a syntax error about artemis_svl or ambiq_bin2board depending on the chosen bootloader.
artemis_svl: Syntax error: "("
See error message below.
Code: Select all
Arduino: 1.8.9 (Linux), Board: "SparkFun BlackBoard Artemis Nano, 921600, SparkFun Variable Loader (Recommended)"

/home/terry/ArduinoIDE/arduino-1.8.9/arduino-builder -dump-prefs -logger=machine -hardware /home/terry/ArduinoIDE/arduino-1.8.9/hardware -hardware /home/terry/.arduino15/packages -hardware /home/terry/sketchbook/hardware -tools /home/terry/ArduinoIDE/arduino-1.8.9/tools-builder -tools /home/terry/ArduinoIDE/arduino-1.8.9/hardware/tools/avr -tools /home/terry/.arduino15/packages -built-in-libraries /home/terry/ArduinoIDE/arduino-1.8.9/libraries -libraries /home/terry/sketchbook/libraries -fqbn=SparkFun:apollo3:amap3nano:svl_baud=921600,loader=sparkfun_svl -vid-pid=1A86_7523 -ide-version=10809 -build-path /tmp/arduino_build_530972 -warnings=none -build-cache /tmp/arduino_cache_637543 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -prefs=runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path=/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -verbose /tmp/arduino_modified_sketch_186923/Example1_Blink.ino
/home/terry/ArduinoIDE/arduino-1.8.9/arduino-builder -compile -logger=machine -hardware /home/terry/ArduinoIDE/arduino-1.8.9/hardware -hardware /home/terry/.arduino15/packages -hardware /home/terry/sketchbook/hardware -tools /home/terry/ArduinoIDE/arduino-1.8.9/tools-builder -tools /home/terry/ArduinoIDE/arduino-1.8.9/hardware/tools/avr -tools /home/terry/.arduino15/packages -built-in-libraries /home/terry/ArduinoIDE/arduino-1.8.9/libraries -libraries /home/terry/sketchbook/libraries -fqbn=SparkFun:apollo3:amap3nano:svl_baud=921600,loader=sparkfun_svl -vid-pid=1A86_7523 -ide-version=10809 -build-path /tmp/arduino_build_530972 -warnings=none -build-cache /tmp/arduino_cache_637543 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -prefs=runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path=/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -verbose /tmp/arduino_modified_sketch_186923/Example1_Blink.ino
Using board 'amap3nano' from platform in folder: /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7
Using core 'arduino' from platform in folder: /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7
Build options changed, rebuilding all
Detecting libraries used...
/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10809 -DARDUINO_AM_AP3_SFE_BB_ARTEMIS_NANO -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/ard_supers -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/utils -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_530972/sketch/Example1_Blink.ino.cpp -o /dev/null
Generating function prototypes...
/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10809 -DARDUINO_AM_AP3_SFE_BB_ARTEMIS_NANO -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/ard_supers -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/utils -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_530972/sketch/Example1_Blink.ino.cpp -o /tmp/arduino_build_530972/preproc/ctags_target_for_gcc_minus_e.cpp
/home/terry/ArduinoIDE/arduino-1.8.9/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_530972/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -MMD -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DF_CPU=48000000L -DARDUINO=10809 -DARDUINO_AM_AP3_SFE_BB_ARTEMIS_NANO -DARDUINO_ARCH_APOLLO3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/ard_supers -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/utils -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_530972/sketch/Example1_Blink.ino.cpp -o /tmp/arduino_build_530972/sketch/Example1_Blink.ino.cpp.o
In file included from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/Arduino.h:84,
                 from /tmp/arduino_build_530972/sketch/Example1_Blink.ino.cpp:1:
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.h:58: warning: "ADC_DIFF0" redefined
 #define ADC_DIFF0 32 //Not legal pins. Used for pad lookup
 
In file included from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/Arduino.h:64,
                 from /tmp/arduino_build_530972/sketch/Example1_Blink.ino.cpp:1:
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/Arduino_defines.h:19: note: this is the location of the previous definition
 #define ADC_DIFF0 100
 
In file included from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/Arduino.h:84,
                 from /tmp/arduino_build_530972/sketch/Example1_Blink.ino.cpp:1:
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.h:59: warning: "ADC_DIFF1" redefined
 #define ADC_DIFF1 33
 
In file included from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/Arduino.h:64,
                 from /tmp/arduino_build_530972/sketch/Example1_Blink.ino.cpp:1:
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/Arduino_defines.h:20: note: this is the location of the previous definition
 #define ADC_DIFF1 101
 
Compiling libraries...
Compiling core...
/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-gcc -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -MMD -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -Wno-unused-but-set-variable --function-sections -mfpu=fpv4-sp-d16 -std=gnu11 -Wall -DF_CPU=48000000L -DARDUINO=10809 -DARDUINO_AM_AP3_SFE_BB_ARTEMIS_NANO -DARDUINO_ARCH_APOLLO3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/ard_supers -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/utils -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/startup/startup_gcc.c -o /tmp/arduino_build_530972/core/startup/startup_gcc.c.o
/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -MMD -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DF_CPU=48000000L -DARDUINO=10809 -DARDUINO_AM_AP3_SFE_BB_ARTEMIS_NANO -DARDUINO_ARCH_APOLLO3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/ard_supers -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/utils -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.cpp -o /tmp/arduino_build_530972/core/config/variant.cpp.o
In file included from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.cpp:23:
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.h:58: warning: "ADC_DIFF0" redefined
 #define ADC_DIFF0 32 //Not legal pins. Used for pad lookup
 
In file included from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/Arduino.h:64,
                 from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.h:25,
                 from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.cpp:23:
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/Arduino_defines.h:19: note: this is the location of the previous definition
 #define ADC_DIFF0 100
 
In file included from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.cpp:23:
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.h:59: warning: "ADC_DIFF1" redefined
 #define ADC_DIFF1 33
 
In file included from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/Arduino.h:64,
                 from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.h:25,
                 from /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/config/variant.cpp:23:
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/ard_sup/Arduino_defines.h:20: note: this is the location of the previous definition
 #define ADC_DIFF1 101
 
Using precompiled core: /tmp/arduino_cache_637543/core/core_41b5ca9629d795e62b8bc3be5fb01a7d.a
Linking everything together...
/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-gcc -T/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/variants/SparkFun_BlackBoard_Artemis_Nano/linker_scripts/gcc/artemis_sbl_svl_app.ld -Wl,-Map,/tmp/arduino_build_530972/Example1_Blink.ino.map -o /tmp/arduino_build_530972/Example1_Blink.ino.axf /tmp/arduino_build_530972/sketch/Example1_Blink.ino.cpp.o /tmp/arduino_build_530972/core/config/variant.cpp.o /tmp/arduino_build_530972/core/startup/startup_gcc.c.o /tmp/arduino_cache_637543/core/core_41b5ca9629d795e62b8bc3be5fb01a7d.a /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/uecc/gcc/bin/lib_uecc.a /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/projects/generic/stacklib/gcc/bin-cortex-m4/libstacklib.a -L/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/ARM/Lib/ARM -larm_cortexM4lf_math -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -static -Wl,--gc-sections,--entry,Reset_Handler -Wl,--start-group -lm -lc -lgcc -Wl,--end-group -fno-exceptions -nostdlib --specs=nano.specs -t -lstdc++ -lc -lnosys -lm
/tmp/arduino_build_530972/sketch/Example1_Blink.ino.cpp.o
/tmp/arduino_build_530972/core/config/variant.cpp.o
/tmp/arduino_build_530972/core/startup/startup_gcc.c.o
/tmp/arduino_cache_637543/core/core_41b5ca9629d795e62b8bc3be5fb01a7d.a
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/uecc/gcc/bin/lib_uecc.a
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/third_party/exactle/projects/generic/stacklib/gcc/bin-cortex-m4/libstacklib.a
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/cores/arduino/am_sdk_ap3/CMSIS/ARM/Lib/ARM/libarm_cortexM4lf_math.a
/home/terry/ArduinoIDE/gcc-arm-none-eabi-8-2019-q3-update/install-native/lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libm.a
/home/terry/ArduinoIDE/gcc-arm-none-eabi-8-2019-q3-update/install-native/lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a
/home/terry/ArduinoIDE/gcc-arm-none-eabi-8-2019-q3-update/install-native/lib/gcc/arm-none-eabi/8.3.1/thumb/v7e-m+fp/hard/libgcc.a
/home/terry/ArduinoIDE/gcc-arm-none-eabi-8-2019-q3-update/install-native/lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libm.a
/home/terry/ArduinoIDE/gcc-arm-none-eabi-8-2019-q3-update/install-native/lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a
/home/terry/ArduinoIDE/gcc-arm-none-eabi-8-2019-q3-update/install-native/lib/gcc/arm-none-eabi/8.3.1/thumb/v7e-m+fp/hard/libgcc.a
/home/terry/ArduinoIDE/gcc-arm-none-eabi-8-2019-q3-update/install-native/lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libstdc++_nano.a
/home/terry/ArduinoIDE/gcc-arm-none-eabi-8-2019-q3-update/install-native/lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a
/home/terry/ArduinoIDE/gcc-arm-none-eabi-8-2019-q3-update/install-native/lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libnosys.a
/home/terry/ArduinoIDE/gcc-arm-none-eabi-8-2019-q3-update/install-native/lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libm.a
/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-objcopy -O binary /tmp/arduino_build_530972/Example1_Blink.ino.axf /tmp/arduino_build_530972/Example1_Blink.ino.bin
/home/terry/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-size -A /tmp/arduino_build_530972/Example1_Blink.ino.axf
Sketch uses 7396 bytes (0%) of program storage space. Maximum is 960000 bytes.
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/tools/artemis/linux/artemis_svl /dev/ttyUSB0 -f /tmp/arduino_build_530972/Example1_Blink.ino.bin -b 921600 -v 
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/tools/artemis/linux/artemis_svl: 1: /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/tools/artemis/linux/artemis_svl: Syntax error: "(" unexpected
/home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/tools/artemis/linux/artemis_svl: 1: /home/terry/.arduino15/packages/SparkFun/hardware/apollo3/1.0.7/tools/artemis/linux/artemis_svl: Syntax error: "(" unexpected
User avatar
By tlrobb
#208809
I did not find a solution to the syntax error, but running the Arduino IDE vers. 1.8.10 on a new install of Xubuntu Linux 18.04 runs Sparkfun demo code for the Redboard Artemis Nano without problems. So my issues seem to be with conflicting installs and old 32b OS integration.
 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