edgeimpulse / example-portenta-lorawan

Computer vision over LoRaWAN with the Portenta H7
19 stars 3 forks source link

Feature Request: Update MKRWAN and mbedCore #1

Open hpssjellis opened 3 years ago

hpssjellis commented 3 years ago

Feature Request: Update MKRWAN and mbedCore

The arduino-build.sh file has old versions:


$ARDUINO_CLI core install arduino:mbed@1.3.1   

$ARDUINO_CLI lib install MKRWAN@1.0.13  

As of June 6th, 2021

mbed is now 2.1.0

MKRWAN is now 1.1.0

Not sure if the minor version is relevant, but it mentions a warning


EXPECTED_CLI_MINOR=13

Minor Version is now 18

I have tried a compile with all 3 changes and it works, but testing is difficult as North America might need a few changes in the MKRWAN 1.1.0 version. (to enable channels)

Perhaps the Nano Local install can also be updated? Except that is not as pressing as the it does not use LoRaWan?

janjongboom commented 3 years ago

Hi @hpssjellis yep, we'll do a proper release of the Portenta H7 as soon as some fixes are landed in the core and then will update both Nano 33 BLE Sense and the Portenta H7 to latest cores.

wdebbaut commented 2 years ago

Any update on this one? I receive quite a lot of errors when running arduino.sh --build $ sh arduino-build.sh --build arduino-build.sh: line 20: rev: command not found arduino-build.sh: line 24: ((: exe alpha Version: 0: syntax error in expression (error token is "alpha Version: 0") arduino-build.sh: line 30: ((: exe alpha Version: 0: syntax error in expression (error token is "alpha Version: 0") arduino-build.sh: line 57: ((: exe alpha Version: 0: syntax error in expression (error token is "alpha Version: 0")

Although the first release of the example-portenta-lorawan worked well, the newest version of arduino-cli 0.19.3 used in this script seem to cause some issues : __arduino-cli.exe alpha Version: 0.19.3 Commit: 12f1afc2 Date: 2021-10-12T10:15:19Z__

Is there any rewriting of this example possible? We want to use it in our research project on trash image classifications on TTNv3. I would appreciate a lot as my programming knowledge is below all level.