You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Processing Qwiic_OpenLog (src_filter: +<Qwiic_OpenLog.cpp>; platform: atmelavr; framework: arduino; board: ATmega328; targets: program; monitor_speed: 115200; lib_deps: SdFat=https://github.com/greiman/SdFat-beta.git#7016042d22ec9e4a3fe93565bfff1d61fb8271e2)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/ATmega328.html
PLATFORM: Atmel AVR 2.0.0 > ATmega328
HARDWARE: ATMEGA328 16MHz, 2KB RAM, 31.50KB Flash
PACKAGES: toolchain-atmelavr 1.50400.190710 (5.4.0), framework-arduino-avr-minicore 2.0.3, tool-avrdude 1.60300.190628 (6.3.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 9 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <SdFat> #7016042 [git+https://github.com/greiman/SdFat-beta.git#7016042d22ec9e4a3fe93565bfff1d61fb8271e2] (/Users/prakash/Projects/embedded/Qwiic_OpenLog/.pio/libdeps/Qwiic_OpenLog/SdFat)
| |-- <SPI> 1.0 (/Users/prakash/.platformio/packages/framework-arduino-avr-minicore/libraries/SPI)
|-- <EEPROM> 2.0 (/Users/prakash/.platformio/packages/framework-arduino-avr-minicore/libraries/EEPROM)
|-- <SPI> 1.0 (/Users/prakash/.platformio/packages/framework-arduino-avr-minicore/libraries/SPI)
|-- <Wire> 1.0 (/Users/prakash/.platformio/packages/framework-arduino-avr-minicore/libraries/Wire)
Building in release mode
avr-g++ -o .pio/build/Qwiic_OpenLog/src/Qwiic_OpenLog.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328 -DPLATFORMIO=40100 -DARDUINO_AVR_ATmega328 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -Iinclude -Isrc -I/Users/prakash/.platformio/packages/framework-arduino-avr-minicore/libraries/Wire/src -I/Users/prakash/.platformio/packages/framework-arduino-avr-minicore/libraries/EEPROM/src -I.pio/libdeps/Qwiic_OpenLog/SdFat -I/Users/prakash/.platformio/packages/framework-arduino-avr-minicore/libraries/SPI/src -I/Users/prakash/.platformio/packages/framework-arduino-avr-minicore/cores/MiniCore -I/Users/prakash/.platformio/packages/framework-arduino-avr-minicore/variants/standard src/Qwiic_OpenLog.cpp
In file included from .pio/libdeps/Qwiic_OpenLog/SdFat/SdFat/src/FatLib/FatLib.h:28:0,
from .pio/libdeps/Qwiic_OpenLog/SdFat/SdFat/src/SdFat.h:27,
from src/Qwiic_OpenLog.cpp:93:
.pio/libdeps/Qwiic_OpenLog/SdFat/SdFat/src/FatLib/StdioStream.h:289:24: warning: 'prog_char' is deprecated [-Wdeprecated-declarations]
int fputs_P(PGM_P str);
^
In file included from src/Qwiic_OpenLog.cpp:94:0:
include/SerialPort.h:243:41: warning: 'prog_char' is deprecated [-Wdeprecated-declarations]
buf_size_t put_P(PGM_P b, buf_size_t n);
^
include/SerialPort.h:547:35: warning: 'prog_char' is deprecated [-Wdeprecated-declarations]
size_t write_P(PGM_P b, size_t n) {
^
include/SerialPort.h: In member function 'size_t SerialPort<PortNumber, RxBufSize, TxBufSize>::write(const __FlashStringHelper*)':
include/SerialPort.h:583:22: warning: 'prog_char' is deprecated: prog_char type is deprecated. [-Wdeprecated-declarations]
const prog_char* p = (const prog_char*)s;
^
In file included from /Users/prakash/.platformio/packages/framework-arduino-avr-minicore/cores/MiniCore/Arduino.h:28:0,
from /Users/prakash/.platformio/packages/framework-arduino-avr-minicore/libraries/Wire/src/Wire.h:25,
from src/Qwiic_OpenLog.cpp:91:
/Users/prakash/.platformio/packages/toolchain-atmelavr/avr/include/avr/pgmspace.h:354:14: note: declared here
typedef char prog_char __attribute__((__progmem__,deprecated("prog_char type is deprecated.")));
^
In file included from src/Qwiic_OpenLog.cpp:94:0:
include/SerialPort.h:583:42: warning: 'prog_char' is deprecated: prog_char type is deprecated. [-Wdeprecated-declarations]
const prog_char* p = (const prog_char*)s;
^
In file included from /Users/prakash/.platformio/packages/framework-arduino-avr-minicore/cores/MiniCore/Arduino.h:28:0,
from /Users/prakash/.platformio/packages/framework-arduino-avr-minicore/libraries/Wire/src/Wire.h:25,
from src/Qwiic_OpenLog.cpp:91:
/Users/prakash/.platformio/packages/toolchain-atmelavr/avr/include/avr/pgmspace.h:354:14: note: declared here
typedef char prog_char __attribute__((__progmem__,deprecated("prog_char type is deprecated.")));
^
src/Qwiic_OpenLog.cpp: In function 'void recordConfigFile()':
src/Qwiic_OpenLog.cpp:603:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (myFile.write(settings_string, strlen(settings_string)) != strlen(settings_string))
^
src/Qwiic_OpenLog.cpp: In function 'void loadArrayWithFileName(FatFile*, char*)':
src/Qwiic_OpenLog.cpp:1183:53: warning: invalid conversion from 'byte* {aka unsigned char*}' to 'char*' [-fpermissive]
responseSize = sprintf(responseBuffer, "%s", fname) + 1; //Add 1 for null terminator
^
In file included from /Users/prakash/.platformio/packages/framework-arduino-avr-minicore/cores/MiniCore/Print.h:24:0,
from /Users/prakash/.platformio/packages/framework-arduino-avr-minicore/cores/MiniCore/Stream.h:26,
from /Users/prakash/.platformio/packages/framework-arduino-avr-minicore/cores/MiniCore/HardwareSerial.h:29,
from /Users/prakash/.platformio/packages/framework-arduino-avr-minicore/cores/MiniCore/Arduino.h:288,
from /Users/prakash/.platformio/packages/framework-arduino-avr-minicore/libraries/Wire/src/Wire.h:25,
from src/Qwiic_OpenLog.cpp:91:
/Users/prakash/.platformio/packages/toolchain-atmelavr/avr/include/stdio.h:671:12: note: initializing argument 1 of 'int sprintf(char*, const char*, ...)'
extern int sprintf(char *__s, const char *__fmt, ...);
^
src/Qwiic_OpenLog.cpp: In function 'void listFiles(char*)':
src/Qwiic_OpenLog.cpp:1206:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myData = "*\0"; // use global wildcard=
^
src/Qwiic_OpenLog.cpp: In function 'void receiveEvent(int)':
src/Qwiic_OpenLog.cpp:1363:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int regNum = 0; regNum < (sizeof(memoryMap) / sizeof(byte)); regNum++)
^
src/Qwiic_OpenLog.cpp:1369:52: warning: invalid conversion from 'byte* {aka unsigned char*}' to 'char*' [-fpermissive]
functions[regNum].handleFunction(incomingData);
^
In file included from src/Qwiic_OpenLog.cpp:96:0:
src/Qwiic_OpenLog.cpp: At top level:
.pio/libdeps/Qwiic_OpenLog/SdFat/SdFat/src/FreeStack.h:40:12: warning: 'FreeStack' defined but not used [-Wunused-function]
static int FreeStack() {
^
avr-g++ -o .pio/build/Qwiic_OpenLog/firmware.elf -Os -mmcu=atmega328 -Wl,--gc-sections -flto -fuse-linker-plugin .pio/build/Qwiic_OpenLog/src/Qwiic_OpenLog.cpp.o -L.pio/build/Qwiic_OpenLog -Wl,--start-group .pio/build/Qwiic_OpenLog/lib10a/libSPI.a .pio/build/Qwiic_OpenLog/lib201/libSdFat.a .pio/build/Qwiic_OpenLog/lib356/libEEPROM.a .pio/build/Qwiic_OpenLog/libff3/libWire.a .pio/build/Qwiic_OpenLog/libFrameworkArduinoVariant.a .pio/build/Qwiic_OpenLog/libFrameworkArduino.a -lm -Wl,--end-group
/var/folders/f2/ps6dm9rs3y7dqg7xr8_k9_2h0000gn/T//ccy0Fwvq.ltrans0.ltrans.o: In function `SerialPort<(unsigned char)0, 32u, 32u>::flush()':
<artificial>:(.text+0x6c6): undefined reference to `txRingBuf'
<artificial>:(.text+0x6ca): undefined reference to `txRingBuf'
<artificial>:(.text+0x6ce): undefined reference to `txRingBuf'
<artificial>:(.text+0x6d2): undefined reference to `txRingBuf'
/var/folders/f2/ps6dm9rs3y7dqg7xr8_k9_2h0000gn/T//ccy0Fwvq.ltrans0.ltrans.o: In function `SerialPort<(unsigned char)0, 32u, 32u>::peek()':
<artificial>:(.text+0xe1c): undefined reference to `rxRingBuf'
<artificial>:(.text+0xe1e): undefined reference to `rxRingBuf'
<artificial>:(.text+0xe20): undefined reference to `SerialRingBuffer::peek()'
/var/folders/f2/ps6dm9rs3y7dqg7xr8_k9_2h0000gn/T//ccy0Fwvq.ltrans0.ltrans.o: In function `SerialPort<(unsigned char)0, 32u, 32u>::read()':
<artificial>:(.text+0xe34): undefined reference to `rxRingBuf'
<artificial>:(.text+0xe36): undefined reference to `rxRingBuf'
<artificial>:(.text+0xe38): undefined reference to `SerialRingBuffer::get(unsigned char*)'
/var/folders/f2/ps6dm9rs3y7dqg7xr8_k9_2h0000gn/T//ccy0Fwvq.ltrans0.ltrans.o: In function `SerialPort<(unsigned char)0, 32u, 32u>::available()':
<artificial>:(.text+0xe52): undefined reference to `rxRingBuf'
<artificial>:(.text+0xe54): undefined reference to `rxRingBuf'
<artificial>:(.text+0xe56): undefined reference to `SerialRingBuffer::available()'
/var/folders/f2/ps6dm9rs3y7dqg7xr8_k9_2h0000gn/T//ccy0Fwvq.ltrans0.ltrans.o: In function `SerialPort<(unsigned char)0, 32u, 32u>::write(unsigned char const*, unsigned int)':
<artificial>:(.text+0xe76): undefined reference to `txRingBuf'
<artificial>:(.text+0xe78): undefined reference to `txRingBuf'
<artificial>:(.text+0xe7a): undefined reference to `SerialRingBuffer::put(unsigned char const*, unsigned int)'
/var/folders/f2/ps6dm9rs3y7dqg7xr8_k9_2h0000gn/T//ccy0Fwvq.ltrans0.ltrans.o: In function `SerialPort<(unsigned char)0, 32u, 32u>::write(unsigned char)':
<artificial>:(.text+0xeaa): undefined reference to `txRingBuf'
<artificial>:(.text+0xeac): undefined reference to `txRingBuf'
<artificial>:(.text+0xeae): undefined reference to `SerialRingBuffer::put(unsigned char)'
/var/folders/f2/ps6dm9rs3y7dqg7xr8_k9_2h0000gn/T//ccy0Fwvq.ltrans0.ltrans.o: In function `global constructors keyed to 65535_0_Qwiic_OpenLog.cpp.o.3638':
<artificial>:(.text.startup+0x40): undefined reference to `rxRingBuf'
<artificial>:(.text.startup+0x42): undefined reference to `rxRingBuf'
<artificial>:(.text.startup+0x44): undefined reference to `SerialRingBuffer::init(unsigned char*, unsigned int)'
<artificial>:(.text.startup+0x50): undefined reference to `txRingBuf'
<artificial>:(.text.startup+0x52): undefined reference to `txRingBuf'
<artificial>:(.text.startup+0x54): undefined reference to `SerialRingBuffer::init(unsigned char*, unsigned int)'
/var/folders/f2/ps6dm9rs3y7dqg7xr8_k9_2h0000gn/T//ccy0Fwvq.ltrans0.ltrans.o: In function `main':
<artificial>:(.text.startup+0xea): undefined reference to `fopen'
<artificial>:(.text.startup+0x170): undefined reference to `fopen'
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
Compile firmware code returning errors
The text was updated successfully, but these errors were encountered: