Error using AES on arduino nano BLE


I would like to use AES decryption on an arduino nano BLE, but I am getting an error while trying to compile the example of the AESLib documentation :
AESLib example
the error I get is the following :

/Users/alexandrerasset/Library/Arduino15/packages/arduino/hardware/mbed/1.3.1/cores/arduino/api/String.h:33:10: fatal error: deprecated-avr-comp/avr/pgmspace.h: No such file or directory
 #include "deprecated-avr-comp/avr/pgmspace.h"

I understand the root cause is that the processor is not an ATMega but is there any quick fix to correct this?

Thank you in advance for your help

My board support version is 1.3.2 and the file pgmspace.h is in the following folder


Maybe you need to update your files and check whether the file is in the folder.

Thank you for your reply.

It looks like mine is located at the same place :

I will try to update my files

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.