mit-han-lab / tinyengine

[NeurIPS 2020] MCUNet: Tiny Deep Learning on IoT Devices; [NeurIPS 2021] MCUNetV2: Memory-Efficient Patch-based Inference for Tiny Deep Learning; [NeurIPS 2022] MCUNetV3: On-Device Training Under 256KB Memory
https://mcunet.mit.edu
MIT License
792 stars 130 forks source link

Recipe for target 'FIRMWARE_OBJS' failed - Error 2 #72

Closed senceryucel closed 1 year ago

senceryucel commented 1 year ago

Hello, @meenchen

I get "Error 2" while I am trying to build my OpenMV H7 Plus for your person detection. I could not solve this issue.

make[1]: Leaving directory '/home/senceryucel/Desktop/tinyengine/examples/openmv_person_detection/openmv/src/drivers/winc1500'
omv/ports/stm32/omv_portconfig.mk:593: recipe for target 'FIRMWARE_OBJS' failed
make: *** [FIRMWARE_OBJS] Error 2
make: Leaving directory '/home/senceryucel/Desktop/tinyengine/examples/openmv_person_detection/openmv/src'

How can I handle this? Thanks in advance.

meenchen commented 1 year ago

Hi @senceryucel,

Can you provide more logs? or maybe the patch from git diff to reproduce this error? Hard to tell what's wrong based on the message.

senceryucel commented 1 year ago

Hi, @meenchen

I found the cause behind the error. It is about the patch, like you have said.

I am opening a new issue about it since this issue is not an issue by itself.

Here is the relative issue about the problem for whom that may interested: https://github.com/mit-han-lab/tinyengine/issues/73