Open PabloGN opened 6 years ago
this is a bug and thank you for mentioning it! i cannot believe that this has slipped form the tests before merging!!
The correct code should be `
but i would need some confirmation with ARM Arduino devices that i do not have in order to optimize it. @FrancMunoz can you please try the library with the above code and report back compatibility with your devices? This is a major bug and will be fixed ASAP.
BTW @PabloGN i see that you have RPI v2, if you own a V3 as well can you please compile it there as well? i have an open issue #30 that i cant solve before i buy a new RPi v3
Hi! @spaniakos and @PabloGN, it was my fault. I will try with ARM arduino and suggest a condition to be appended to the one that works with other platforms, are you agree?
sure :) And i will revise my test methods so this wont happen again :)
BTW @PabloGN i see that you have RPI v2, if you own a V3 as well can you please compile it there as well? i have an open issue #30 that i cant solve before i buy a new RPi v3
I have a RPi3, I'll test as quick as possible :-)
I confirm that the corrected code:
#if (defined(__linux) || defined(linux) || defined(__arm__) ) && !defined(__ARDUINO_X86__)
Works with Arduino MKRGSM1400 AND MKRVIDOR. I've compiled, encrypted and decrypted and worked fine.
good, i will test with my arsenal of devices tonight or tomorrow and push the changes!
@PabloGN Were you able to get it working on the Rpi 3?
A colleague of mine compiled and tested in RPi 3, so she only had to change the flags to set the libs. Quite faster than RPi2. So no core dumps, no freeze, no problem.
So the only flag you had to change was the one mentioned above in the AES_config.h file or was there something else?
She only had to change that line#if (defined(__linux) || defined(linux) || defined(__arm__) ) && !defined(__ARDUINO_X86__)
as far as I know.
Error in platform selection The if statement doesn't set the correct .h file:
#if (defined(__linux) || defined(linux)) && !(defined(__ARDUINO_X86__) || defined(__arm__))
when doing in Raspberry Pi:Flags defined in my system:
So it compiles when:
#if (defined(__linux) || defined(linux)) && !defined(__ARDUINO_X86__) || defined(__arm__)
OS
Taken from https://blog.hypriot.com/