Attempting to create small test precompiled sketch

I'm fairly new to Arduino and I've created an app for the Nano series with RS-232/LED connections. I'm using a small test program to learn the in's and out's of creating the library. I was able to create a library using the .h/.cpp listed below but when I try to make it a precompiled library, I'm failing to resolve in the link phase. I've read, probably 20+ posts that describe how to build by changing the library.properties with the dot_a_linkage and then changing to the precompile=true plus the -l flag.

I've managed to create a .a file (and grab it). Rename it and put it, where I think it belongs. I'm using IDE 1.8.15 (tried it on beta 2.0 with same results). The issue is when I attempt to compile it with just the .h / .a and .ino code, I get the dreaded "undefined reference".

I'm going to post the code here: <myL.h>

#ifndef MY_L_H
#define MY_L_H

#include <Arduino.h>

void setupSerial();
void GotParamOne(String myUser, String myPassword);
void GotParamTwo();

#endif

<myL.cpp>

#include "myL.h"

inline String user;
inline String password;

void setupSerial() {
  Serial.begin(9600);
  Serial.println("setup Serial");
  }
void GotParamOne(String myUser, String myPassword) {
  Serial.println("Got this passed: ");
  Serial.println(myUser);
  Serial.println(myPassword);
}
void GotParamTwo() {
  Serial.println("Got this just known: ");
  Serial.println(user);
  Serial.println(password);
}

<TestingLibraryFunctions.ino>

#include <myL.h>

String user = "admin";
String password = "123a456";

void setup() {

  setupSerial();

  GotParamOne(user, password);

  GotParamTwo();

  Serial.println("Done");
}

void loop() {
}

The error messags is very large but I'll post it here.:

Arduino: 1.8.15 (Windows 8.1), Board: "Arduino Nano, ATmega328P"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\TESTJohnson\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\TESTJohnson\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\TESTJohnson\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -vid-pid=1A86_7523 -ide-version=10815 -build-path C:\Users\TESTMI~1\AppData\Local\Temp\arduino_build_848079 -warnings=default -build-cache C:\Users\TESTMI~1\AppData\Local\Temp\arduino_cache_155509 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\TESTJohnson\Documents\Arduino\TestingLibraryFunctions\TestingLibraryFunctions.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\TESTJohnson\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\TESTJohnson\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\TESTJohnson\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -vid-pid=1A86_7523 -ide-version=10815 -build-path C:\Users\TESTMI~1\AppData\Local\Temp\arduino_build_848079 -warnings=default -build-cache C:\Users\TESTMI~1\AppData\Local\Temp\arduino_cache_155509 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\TESTJohnson\Documents\Arduino\TestingLibraryFunctions\TestingLibraryFunctions.ino

Using board 'nano' from platform in folder: C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3

Using core 'arduino' from platform in folder: C:\Users\TESTJohnson\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3

Detecting libraries used...

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\sketch\\TestingLibraryFunctions.ino.cpp" -o nul

Alternatives for myL.h: [myL]

ResolveLibrary(myL.h)

  -> candidates: [myL]

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "-IC:\\Users\\TESTJohnson\\Documents\\Arduino\\libraries\\myL" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\sketch\\TestingLibraryFunctions.ino.cpp" -o nul

Generating function prototypes...

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "-IC:\\Users\\TESTJohnson\\Documents\\Arduino\\libraries\\myL" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\sketch\\TestingLibraryFunctions.ino.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\preproc\\ctags_target_for_gcc_minus_e.cpp"

"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "-IC:\\Users\\TESTJohnson\\Documents\\Arduino\\libraries\\myL" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\sketch\\TestingLibraryFunctions.ino.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\sketch\\TestingLibraryFunctions.ino.cpp.o"

Compiling libraries...

Compiling library "myL"

Compiling core...

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\wiring_pulse.S" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring_pulse.S.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\WInterrupts.c" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\WInterrupts.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\wiring_analog.c" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring_analog.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\wiring.c" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\hooks.c" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\hooks.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\wiring_digital.c" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring_digital.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\wiring_shift.c" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring_shift.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\wiring_pulse.c" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring_pulse.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\HardwareSerial.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\HardwareSerial.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\HardwareSerial0.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\HardwareSerial0.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\CDC.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\CDC.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\HardwareSerial1.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\HardwareSerial1.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\HardwareSerial2.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\HardwareSerial2.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\HardwareSerial3.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\HardwareSerial3.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\IPAddress.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\IPAddress.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\PluggableUSB.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\PluggableUSB.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\Print.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\Print.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\Stream.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\Stream.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\Tone.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\Tone.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\USBCore.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\USBCore.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\WMath.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\WMath.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\WString.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\WString.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\abi.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\abi.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\main.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\main.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino\\new.cpp" -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\new.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring_pulse.S.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\WInterrupts.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\hooks.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring_analog.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring_digital.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring_pulse.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\wiring_shift.c.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\CDC.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\HardwareSerial.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\HardwareSerial0.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\HardwareSerial1.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\HardwareSerial2.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\HardwareSerial3.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\IPAddress.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\PluggableUSB.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\Print.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\Stream.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\Tone.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\USBCore.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\WMath.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\WString.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\abi.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\main.cpp.o"

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\core.a" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\core\\new.cpp.o"

Archiving built core (caching) in: C:\Users\TESTMI~1\AppData\Local\Temp\arduino_cache_155509\core\core_arduino_avr_nano_cpu_atmega328_ce257e1bd01adf15d50eef165f9c0fc8.a

Linking everything together...

"C:\\Users\\TESTJohnson\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079/TestingLibraryFunctions.ino.elf" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079\\sketch\\TestingLibraryFunctions.ino.cpp.o" "C:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079/core\\core.a" "-LC:\\Users\\TESTMI~1\\AppData\\Local\\Temp\\arduino_build_848079" -lm

C:\Users\TESTMI~1\AppData\Local\Temp\cc07paeq.ltrans0.ltrans.o: In function `setup':

C:\Users\TESTJohnson\Documents\Arduino\TestingLibraryFunctions/TestingLibraryFunctions.ino:8: undefined reference to `setupSerial()'

C:\Users\TESTJohnson\Documents\Arduino\TestingLibraryFunctions/TestingLibraryFunctions.ino:10: undefined reference to `GotParamOne(String, String)'

C:\Users\TESTJohnson\Documents\Arduino\TestingLibraryFunctions/TestingLibraryFunctions.ino:12: undefined reference to `GotParamTwo()'

collect2.exe: error: ld returned 1 exit status

Using library myL in folder: C:\Users\TESTJohnson\Documents\Arduino\libraries\myL (legacy)

exit status 1

Error compiling for board Arduino Nano.

If you got this far and have any suggestions, I'd really appreciate it. I'm pretty well stumped at this point.

Cheers,

Gary M

Please share your library.properties file and also describe the exact folder structure containing these files.

The library.properties file is:

name=CodecSideKick
version=1.0.0
author=Gary Miyakawa
maintainer=Gary Miyakawa
sentence=CodecSideKick functions with RS232
paragraph=CodecSideKick functions with RS232
category=Communication
url=http://www.codecsidekick.com
architectures=*
precompiled=true
ldflags=-lmyL

When building the precompile I removed the last two lines and replaced it with dot_a_linkage=true

As for the folder structure.

arduino -> libraries -> myL -> src -> atmega328p -> myL.a

I tried putting the .a in everywhere.. Also tried the -mmcu as atmega328 with no joy.

Anything else I can provide? Please ask !

THANK YOU!

Gary M

It works for me if I change these to:

extern String user;
extern String password;

Thank you John!

I'll give that a try this afternoon!

Cheers,

Gary M

John,

I used the externs in the code as you pointed out. This worked find as a standard library but when I tried to build AND USE IT as a "precompiled" library, I got the same failure. And the failure appears to be resolving the functions themselves.

Thanks for the try but I'm still looking for a solution.

Cheers,

Gary M

I don't see your pre-compiled library included in the link:

"avr-gcc" -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "arduino_build_848079/TestingLibraryFunctions.ino.elf" "arduino_build_848079\sketch\TestingLibraryFunctions.ino.cpp.o" "arduino_build_848079/core\core.a" "-Larduino_build_848079" -lm

I think the -L and -l parameters are instructions to the linker. Check out the avr-gcc manual to see what they actually mean and if they have the values you intended.

Your library.properties should probably NOT say:
architectures=*
If you pre-compile for one architecture the library certainly won't work properly on any other architecture.

The Arduino build system allows the option of a "mixed" "full" type of precompiled library where, in addition to archive(s) precompiled for specific targets, you also provide the source code, which acts as a fallback when compiling for targets that don't have an archive.

This is useful for the use case where you are precompiling the library to save sketch compilation time, but still want to provide support for arbitrary targets. Of course, it is not applicable for the use case where the motivation is to keep the source code secret.

More information:
https://arduino.github.io/arduino-cli/latest/library-specification/#:~:text=included-,precompiled,-available

I notice this:

The filenames of the compiled binaries should start with lib (e.g., libFoo.a).

It would seem that "myL.a" should be "libmyL.a".

John (et al),

Thank you. I'm still trying to make this work.

Most of the examples I've found show, when compiled with the dot_a_linkage option in the library.property the output file generated "should" be, for my example, "myL.a". No where in the build subtree in the Temp folder can I find that file. I do find "core.a" but that's it. I've tried renaming that file to myL.a and putting it in, what looks like the right place in the subtree (/src/atmega328) but without success...

What am I missing?

Thank you!

1: Shouldn't that be "atmega328p"?
2: Did you try /src/atmega328p/libmyL.a

John,

Thank you for your suggestion.

I had tried those before but tried it again this morning to make sure I didn't miss something.

Used atmega328p and libmyL.a.

Based on the verbose compile, the compiler found the library ("Compiling library "myL"") but I'm still coming up with the undefined references. I'm posting the compiler/linker output below.

Arduino: 1.8.15 (Windows 8.1), Board: "Arduino Nano, ATmega328P"





















C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\GaryMiyakawa\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10815 -build-path C:\Users\GARYMI~1\AppData\Local\Temp\arduino_build_292102 -warnings=default -build-cache C:\Users\GARYMI~1\AppData\Local\Temp\arduino_cache_868224 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\GaryMiyakawa\Documents\Arduino\TestingLibraryFunctions\TestingLibraryFunctions.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\GaryMiyakawa\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10815 -build-path C:\Users\GARYMI~1\AppData\Local\Temp\arduino_build_292102 -warnings=default -build-cache C:\Users\GARYMI~1\AppData\Local\Temp\arduino_cache_868224 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\GaryMiyakawa\Documents\Arduino\TestingLibraryFunctions\TestingLibraryFunctions.ino

Using board 'nano' from platform in folder: C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3

Using core 'arduino' from platform in folder: C:\Users\GaryMiyakawa\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3

Detecting libraries used...

"C:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "C:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102\\sketch\\TestingLibraryFunctions.ino.cpp" -o nul

Alternatives for myL.h: [myL]

ResolveLibrary(myL.h)

  -> candidates: [myL]

"C:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "-IC:\\Users\\GaryMiyakawa\\Documents\\Arduino\\libraries\\myL" "C:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102\\sketch\\TestingLibraryFunctions.ino.cpp" -o nul

Generating function prototypes...

"C:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "-IC:\\Users\\GaryMiyakawa\\Documents\\Arduino\\libraries\\myL" "C:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102\\sketch\\TestingLibraryFunctions.ino.cpp" -o "C:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102\\preproc\\ctags_target_for_gcc_minus_e.cpp"

"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\eightanaloginputs" "-IC:\\Users\\GaryMiyakawa\\Documents\\Arduino\\libraries\\myL" "C:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102\\sketch\\TestingLibraryFunctions.ino.cpp" -o "C:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102\\sketch\\TestingLibraryFunctions.ino.cpp.o"

Compiling libraries...

Compiling library "myL"

Compiling core...

Using precompiled core: C:\Users\GARYMI~1\AppData\Local\Temp\arduino_cache_868224\core\core_arduino_avr_nano_cpu_atmega328_ce257e1bd01adf15d50eef165f9c0fc8.a

Linking everything together...

"C:\\Users\\GaryMiyakawa\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102/TestingLibraryFunctions.ino.elf" "C:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102\\sketch\\TestingLibraryFunctions.ino.cpp.o" "C:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102/..\\arduino_cache_868224\\core\\core_arduino_avr_nano_cpu_atmega328_ce257e1bd01adf15d50eef165f9c0fc8.a" "-LC:\\Users\\GARYMI~1\\AppData\\Local\\Temp\\arduino_build_292102" -lm

C:\Users\GARYMI~1\AppData\Local\Temp\cc57U5V0.ltrans0.ltrans.o: In function `setup':

C:\Users\GaryMiyakawa\Documents\Arduino\TestingLibraryFunctions/TestingLibraryFunctions.ino:8: undefined reference to `setupSerial()'

C:\Users\GaryMiyakawa\Documents\Arduino\TestingLibraryFunctions/TestingLibraryFunctions.ino:10: undefined reference to `GotParamOne(String, String)'

C:\Users\GaryMiyakawa\Documents\Arduino\TestingLibraryFunctions/TestingLibraryFunctions.ino:12: undefined reference to `GotParamTwo()'

collect2.exe: error: ld returned 1 exit status

Using library myL in folder: C:\Users\GaryMiyakawa\Documents\Arduino\libraries\myL (legacy)

exit status 1

Error compiling for board Arduino Nano.

I also tried various deletes/refreshes/etc which leads me to believe I'm missing something really basic but I really can't figure out what.

Thanks again for the help!

Gary M

I see that that nothing is done between the 'Compiling library' message and the "Compiling core..." message. That may be a good sign. It may mean that it sees the pre-compiled "/src/atmega328p/libmyL.a" file and decide it doesn't need to compile.

I would remove the "atmega328p" directory from the library and see if the compiler actually does know to compile the library sources and put the result in the right place.

I got it to work on my system. I started with your sources and renamed 'myL' to 'libTestPrecompile'. I added "dot_a_linkage=true" to the properties, changed "precompiled=true" to "precompiled=full", and removed the "ldflags" property.

The first build worked by compiling the sources. The second build used those pre-compiled files:

Compiling libraries...

Compiling library "libTestPrecompile"

Library libTestPrecompile has been declared precompiled:

Precompiled library in "/Users/john/Documents/Arduino/libraries/libTestPrecompile/src/atmega328p" not found

Using previously compiled file: /var/folders/kq/89qrmhn9563d565c5th318kw0000gn/T/arduino_build_108642/libraries/libTestPrecompile/libTestPrecompile.cpp.o

Using previously compiled file: /var/folders/kq/89qrmhn9563d565c5th318kw0000gn/T/arduino_build_108642/libraries/libTestPrecompile/libTestPrecompile.a

Compiling core...

Then I copied "/var/folders/kq/89qrmhn9563d565c5th318kw0000gn/T/arduino_build_108642/libraries/libTestPrecompile/libTestPrecompile.a" to "Arduino/libraries/libTestPrecompile/src/atmega328p/libTestPrecompile.a" and the next build used the precompiled library:

Compiling libraries...
Compiling library "libTestPrecompile"
Library libTestPrecompile has been declared precompiled:
Using precompiled library in /Users/john/Documents/Arduino/libraries/libTestPrecompile/src/atmega328p
Compiling core...

WARNING: If you have the src/atmega328p directory, the build process will ASSUME the precompiled library is there and won't compile it. The link will then fail with the symptoms you were seeing. If the directory is missing, the library will be compiled as usual.

DON'T CREATE THE src/atmega328p DIRECTORY UNTIL YOU HAVE THE '.a' FILE TO PUT IN IT.

File: libraries/libTestPrecompile/library.properties

name=TestPrecompile
version=1.0.0
author=Gary Miyakawa
maintainer=Gary Miyakawa
sentence=CodecSideKick functions with RS232
paragraph=CodecSideKick functions with RS232
category=Communication
url=http://www.codecsidekick.com
architectures=*
dot_a_linkage=true
precompiled=full

File libraries/libTestPrecompile/src/libTestPrecompile.h

#ifndef LIBTESTPRECOMPILE_H
#define LIBTESTPRECOMPILE_H

#include <Arduino.h>

void setupSerial();
void GotParamOne(String myUser, String myPassword);
void GotParamTwo();

#endif

File libraries/libTestPrecompile/src/libTestPrecompile.cpp

#include "libTestPrecompile.h"

extern String user;
extern String password;

void setupSerial() {
  Serial.begin(9600);
  Serial.println("setup Serial");
  }
void GotParamOne(String myUser, String myPassword) {
  Serial.println("Got this passed: ");
  Serial.println(myUser);
  Serial.println(myPassword);
}
void GotParamTwo() {
  Serial.println("Got this just known: ");
  Serial.println(user);
  Serial.println(password);
}

John,

THANK YOU !!! I will be trying this out on my end tonight. You threw a couple things in there that I had not seen so I need to read and understand what you did.

Thank you for your efforts here! It will help me out a lot and many others !

Gary M

John,

I have one last question and maybe it obvious to a CPP programmer (which, I am not). You have two files, the .h and .cpp files. How, with the arduino IDE do you load those up without an .ino file? If I create an .ino file, the ide seems to always create a file called "core.a" and not with my .h name.

Thanks again !

Gary M

By "load those up" I guess you mean "edit the files"? On my laptop, when I double-click a .cpp or .h file it opens them in Xcode (the Macintosh IDE). I edit them in Xcode and save them before doing a compilation in the Arduino IDE. If your library does not have a 'atmega328p' directory in the 'src' directory, the IDE will do the compile and leave the results in "/libraries/[LIBRARY_NAME]/[LIBRARY_NAME].a" of the build directory. You can then create the directory "[SKETCHBOOK]/libraries/[LIBRARY_NAME]/src/atmega328p" and copy the .a file to the atmega328p directory:[SKETCHBOOK]/libraries/[LIBRARY_NAME]/src/atmega328p/[LIBRARY_NAME].a"

I'm able to create the .cpp/.h files but If I try to load the .cpp file directly into Arduino IDE I get an error that Arduino IDE can only open .ino/.pde files. When I create a .ino file and add the .cpp/.h file to it, I only get a core.a file created. I'm missing something on how to create the sketch. Sorry I'm dense on this.. And thank you for all of your help!

Gary M

Try putting an empty .ino file in the same directory as your .h and .cpp. Then, opening the .ino in the IDE should also open the .h and .cpp as tabs. You can edit them but you should compile a sketch that uses the library to get the library to compile.