Ask any question, you have, regarding the library
Hi!
I'm new to platformio, so I guess it's a stupid question, but I'm wondering how I integrate your Makefile for avr in platformio?
I can compile your library with the following:
Build the library (variant 1)
cd ssd1306/src && make -f Makefile.avr MCU=
Link library to your project (refer to Makefile.avr in examples folder).
but I wonder how I can integrate this in platformio for my project?
If I install it and compile it the project with pio run, it stops because it doesn't find the Wire.h from the Arduino framework:
avr-gcc -o .pio/build/ATmega168/lib05e/ssd1306/ssd1306_hal/esp/platform.c.o -c -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega168p -DPLATFORMIO=50101 -DARDUINO_AVR_ATmega168P -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -I.pio/libdeps/ATmega168/ssd1306/src -I/home/styx/.platformio/packages/framework-arduino-avr-minicore/cores/MiniCore -I/home/styx/.platformio/packages/framework-arduino-avr-minicore/variants/standard .pio/libdeps/ATmega168/ssd1306/src/ssd1306_hal/esp/platform.c
.pio/libdeps/ATmega168/ssd1306/src/ssd1306_hal/arduino/platform.cpp:41:10: fatal error: Wire.h: No such file or directory
Do you know how I can integrate your lib in my avr project?
Ask any question, you have, regarding the library Hi! I'm new to platformio, so I guess it's a stupid question, but I'm wondering how I integrate your Makefile for avr in platformio? I can compile your library with the following: Build the library (variant 1) cd ssd1306/src && make -f Makefile.avr MCU=
Link library to your project (refer to Makefile.avr in examples folder).
but I wonder how I can integrate this in platformio for my project? If I install it and compile it the project with pio run, it stops because it doesn't find the Wire.h from the Arduino framework: avr-gcc -o .pio/build/ATmega168/lib05e/ssd1306/ssd1306_hal/esp/platform.c.o -c -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega168p -DPLATFORMIO=50101 -DARDUINO_AVR_ATmega168P -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -I.pio/libdeps/ATmega168/ssd1306/src -I/home/styx/.platformio/packages/framework-arduino-avr-minicore/cores/MiniCore -I/home/styx/.platformio/packages/framework-arduino-avr-minicore/variants/standard .pio/libdeps/ATmega168/ssd1306/src/ssd1306_hal/esp/platform.c .pio/libdeps/ATmega168/ssd1306/src/ssd1306_hal/arduino/platform.cpp:41:10: fatal error: Wire.h: No such file or directory
Do you know how I can integrate your lib in my avr project?