Menu

The last compilation myHalfStepperESP32.h:24:26: fatal error: avr/pgmspace.h: No such file or directory

deneb
2021-03-26
2021-03-27
  • deneb

    deneb - 2021-03-26

    Hello everyone.
    I have been using myfp2esp for more than two years in all its versions.
    The last compilation I made was 120 and it works perfectly for me, but for
    improvements I am trying to compile the last 209 and it gives me this error.
    check everything and apparently everything is correct.
    where can i get the error?

    In file included from sketch\myBoards.h:13:0,
    from C:\Users\surface\Documents\astronomia\proyecto
    focuser\myFP2ESPFirmware-209\src\myFP2ESP\myFP2ESP.ino:34:
    C:\Users\surface\Documents\Arduino\libraries\myHalfStepperESP32/myHalfStepperESP32.h:24:26:
    fatal error: avr/pgmspace.h: No such file or directory
    compilation terminated.
    exit status 1
    Error compilando para la tarjeta ESP32 Dev Module.

     
  • brownrb

    brownrb - 2021-03-26

    We modified a lot of the libraries since then,
    You need to replace the previous libraries with the new ones that come with the new firmware

    Release 210 is on github. I no longer support 209

    Please try that first.
    Make sure you follow all the instructions.
    Copy the library files
    Install the arduino core
    Install Arduino JSON
    etc
    Install the data uploaders
    Configure the firmware
    Upload the firmware
    Upload the data files

    If that does not work - then read below

    I will need a zip file of your firmware folder so use my email address in the firmware file/pdf to send it to me. Also a copy of your data_per.jsn and boardconfig.jsn files
    Also what your target is set to in the Arduino IDE and what the errors are.

     

    Last edit: brownrb 2021-03-26
  • brownrb

    brownrb - 2021-03-27

    Latest update is this
    It appears that rev 208 onwards has issues due to the migration to automatic board configuration as well as the change to littlefs

    I am currently working on the issues. The code at present is going to be branch 211 on github once I can post it there.

    If you have been using esp8266 then you will need to run the format_spiffs program in the test folder first.

    We have dropped LittleFs so to upload the data sketch files is ESP8266 Sketch data Upload ad it was prior 207 and before.

    Any issues please email me direct.

    (use 207)
    (do not use 208/209/210 if running esp8266)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.