Building grove vision ai firmware using docker


I am trying to build the firmware for the grove vision ai through this link. At the docker run command in step 3 I get the following error:

Traceback (most recent call last):
  File "", line 1470, in <module>
  File "", line 1417, in main
  File "", line 1310, in BuildXMLHeader
FileNotFoundError: [Errno 2] No such file or directory: 'output/layout.xml'
[19] Failed to execute script image_gen_cstm_gnu
make: *** [options/ flash] Error 1

I get the same error when I try building with native tools. How can I fix this?

I got same error here. can someone help? it happens during make flash

OK i dug deep and realized that i need to create an output folder under tools/image_gen_cstm. i decompiled the binary file of image_gen_cstm_gnu and saw the error is coming from a line myxmlfile = open(xmlfile, 'wb'). and the xmlfile when running make flash is ‘output/layout.xml’. Also when you run make flash, if you follow the rules in, you can see it actually cd into the tools/image_gen_cstm and then run this binary executable. Then this output folder needs to be under tools/image_gen_cstm too.

I think someone from edge impulse team should fix this? there is also another similar issue after I fixed this one. Both can be fixed by creating the folder in advance