gives this error ------------------------------------------- make[1]: *** No rule to make target ‘/home/g…/openmv_workspace/openmv/src/build/micropython/modstm_qstr.h’, needed by ‘/home/g…/openmv_workspace/openmv/src/build/micropython/genhdr/qstrdefs.generated.h’. Stop. omv/ports/stm32/omv_portconfig.mk:566: recipe for target ‘FIRMWARE_OBJS’ failed make: *** [FIRMWARE_OBJS] Error 2 ---------------------------------
It does not work. That I had tried. -------------------------------------------------------------------------- g…@ubuntu:~/openmv_workspace/openmv/src$ make TARGET=OPENMV4 CUBEAI=1 Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. make[1]: *** No rule to make target ‘/home/g…/openmv_workspace/openmv/src/build/micropython/modstm_qstr.h’, needed by ‘/home/g…/openmv_workspace/openmv/src/build/micropython/genhdr/qstrdefs.generated.h’. Stop. omv/ports/stm32/omv_portconfig.mk:566: recipe for target ‘FIRMWARE_OBJS’ failed make: *** [FIRMWARE_OBJS] Error 2 ----------------------------------------------------------------------------------------------------------------
The file “modstm_qstr.h” does not exist, and “/mpy-cross make”, works ok
I already have STM32Cube.IA running, for some models that don’t use cameras. And the TFLite core uses more memory and is less efficient, but i don’t know which is better with micropython.
CUBEAI build was working the last time I checked, I made sure to maintain it, but it’s not easy to build. If I remember correctly you need to get the right cubeai version, a newer one or something like that, but that error doesn’t seem related to cubeai… Can you build the firmware without CUBEAI=1 first ? See
Hi,
I tried it without CUBEAI=1 and it didn’t work.
So, if I have a .tflite, I can’t test it with OpenMV?
I have made models in TFLite and I need to embed this firmware in an STM32H7 environment. And I thought to use OpenMV to test the models that have a camera. And for this Edge impulse makes things more difficult for me, the expert mode is very complicated.
I didn’t buy the B-CAMS-OMV module and I bought an OpenMV for the FLiR camera… Please, can you help me.
I also have an issue with the CUBEAI, however the error I get is “execvp: arm-none-eabi-as: Permission denied”.
Also I have a tflite model, is there a way to use tflite to make predictions on array in openmv? What I see in the documentation is the tf.classify function which seems to be for only images. If not, how can I make the cube AI work?
I get is “execvp: arm-none-eabi-as: Permission denied”.
Also unrelated to CUBE.AI, seems to be an issue with your toolchain. I’d suggest that you get the basic firmware build working first before trying to build with CUBE.AI enabled. We have very detailed documentation on building firmware, I suggest you start there.
So I was able to build successfully without the cube.AI and follwing your documentation, however following the tutorial and trying to build with cube.AI in the directory they gave I get this error. How do I fix this
Ok, do you know how long it will take for openmv to support making predictions on array, I tried with the cubeAI library but seems to only suport for images.
Hi, I have list of other things that are higher priority for me than this right now. I will mark it as a new feature that’s wanted but I can’t give an estimate.