I have a strange thing happening, i use the Arduino Nano 33 BLE Sense.
When i make my model an deploy it using the build firmware option (binary), it runs normally.
When i create it with a library, it is impossible to make it runs
On my terminal i saw nothing (terminal is well configured and data rate is good) seems like the MC cannot initialize serial port or that program dont startā¦
Could you help ?
PS : Addon found, i add delay on my serial port and now see more messages, the serial port running well, the program block at this point
āFAILED TO START PDM!ā
Seems to be the library PDM.h not runningā¦
But this runs when doing a binary using edge impulseā¦
I am also having some issues. On twitter was given the suggestion to try the Arduino cloud. For myself things work with MBED board version 1.1.6 not 1.3.0. Keep in touch about this, I hope things get better.
Some users (including @Rocksetta) have indeed found that the 1.1.6 Mbed core works - Iām not sure whatās going on with 1.3.0 so far, but until weāve figured it out you can revert back via Tools > Boards Boards Manager.
@Rocksetta We donāt use that define though, we just use normal defineās to detect ARDUINO which seems to work well. Did you have to change anything to get Portenta to work with the new core or did the new Edge Impulse Arduino library export fix this?
I havenāt tested yet on the Portenta, but converting DebugLog from how I had it running for the Nano33Ble to how the Portenta M7 Core runs is what fixed it for me. Even if you donāt use ādefinesā your situation with your Arduino Library might be similar. Or it could be something else, but thought I should mention it.
What worked for me using MBED core 1.1.6 on the Nano33BleSense were these lines of code:
#if defined (CORE_CM7) || defined (YOUR_BOARD1) // CORE_CM7 is for the PortentaH7 outer core
// do abosolutely nothing the default works
#elif defined (CORE_CM4) || defined (NANO_33_BLE) || defined (YOUR_BOARD2) // CORE_CM4 is for the PortentaH7 inner core
#define DEBUG_SERIAL_OBJECT (Serial)
extern "C" void DebugLog(const char* s) {
static bool is_initialized = false;
if (!is_initialized) {
DEBUG_SERIAL_OBJECT.begin(9600);
is_initialized = true;
}
DEBUG_SERIAL_OBJECT.print(s);
}
Hello everyone
generated the Arduino library from Edge Impulse. I run the example nano_ble33_sense_accelerometer or nano_ble33_sense_accelerometer + Continuous and get the error
Arduino IDE 1.8.5 -
āArduino: 1.8.5 (Windows 7), Board: āArduino Nano 33 BLEā
WARNING: Category āData processingā in library victoruni-project-1 Inferencing - Edge Impulse is not valid. Setting to āUncategorizedā
fork/exec C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++.exe: The filename or extension is too long.
Error compiling for board Arduino Nano 33 BLE.ā
Arduino IDE 1.8.11, Arduino IDE 1.8.13
āfork/exec C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++.exe: The filename or extension is too long.
Error compiling for board Arduino Nano 33 BLE.ā
There was no such error a few months ago. And now on two different computers. Arduino IDE 1.8.5, Arduino IDE 1.8.11, Arduino IDE 1.8.13 for Windows 7 32-bit