Arduino nano esp32 error code avr/ pgmspace no such file or directory
Hi I'm trying to upload a sketch code from Arduino ide to my Arduino nano esp32 but I get the error code
22 Replies
Sounds like the code is not compatible with the ESP32.
Hi maverick yes it is supported by the code

You will have to remove the definition of AVR_BOARD.
https://github.com/Alexbox364/F_Interface_AL/blob/master/F_Interface_AL_Software_v0_06/F_interface_AL.h#L5
Ok will try now boss
If you are UK based I can send you a PCB for free if you are interested

Still getting error

You need to get rid of
#define AVR_BOARD
, or #include "avr/pgmspace"
. You only want the #include "pgmspace.h"
.I uncoment avr board and avr pgmspace still get the same error
If
#include "avr/pgmspace"
no longer exists on the line mentioned by the error message, that will be impossible.So do I uncomment the define or delete
Can you right what I need to uncoment in a step by step guide plz
In the file I linked earlier you will see this:
You can change it to this:
The .ino file has the same problem. Why the author does this twice I cannot say.
https://github.com/Alexbox364/F_Interface_AL/blob/master/F_Interface_AL_Software_v0_06/F_Interface_AL_Software_v0_06.ino#L23
Hi boss I fell asleep I will try now thanks


I done what you said but I get this error now

I can't read the text in these photos.
You can install discord on your computer and copy / paste text.
I was able to view them in a browser.
Here is the solution :https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library/issues/100#issuecomment-1982028761
Hi buddy I haven't tried your solution yet but I burned bootloader from Arduino mega 2560 to Arduino nano and uploaded sketch and it worked. But I'm trying to burn bootloader on Arduino pro micro and I keep getting error code
@j3163290 how about posting the TEXT of the error instead of blurry pictures
Will do tomorrow what is the steps to burn bootloader to Arduino pro micro do i need a 10uf resistor
There are so many guides on this.
https://www.eevblog.com/forum/microcontrollers/reinstall-bootloader-for-an-arduino-pro-micro/
Just double tap it