Hello!
I followed the Linux installation instructions from this guide. Instead of cloning the main repository, I used my forked repo with git clone --recursive
. I made no other changes apart from removing the models in src/lib/tflm/models
and replacing them with my own.
When building the firmware for the board H7+ with TARGET=OPENMV4P
, I encountered the following error:
openmv-/src/build/micropython/pins_OPENMV4P.c:1532:44: error: ‘pin_A15’ undeclared here (not in a function); did you mean ‘pin_A10’?
1532 | { MP_ROM_QSTR(MP_QSTR_A15), MP_ROM_PTR(pin_A15) },
openmv-/src/micropython/py/obj.h:348:24: note: in definition of macro ‘MP_ROM_PTR’
348 | #define MP_ROM_PTR(p) (p)
openmv-/src/build/micropython/pins_OPENMV4P.c:1545:44: error: ‘pin_D11’ undeclared here (not in a function); did you mean ‘pin_B11’?
1545 | { MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_PTR(pin_D11) }
openmv-/src/micropython/py/obj.h:348:24: note: in definition of macro ‘MP_ROM_PTR’
348 | #define MP_ROM_PTR(p) (p)
openmv-/src/build/micropython/pins_OPENMV4P.c:1549:43: error: ‘pin_G3’ undeclared here (not in a function); did you mean ‘pin_A3’?
1549 | { MP_ROM_QSTR(MP_QSTR_G3), MP_ROM_PTR(pin_G3) },
openmv-/src/micropython/py/obj.h:348:24: note: in definition of macro ‘MP_ROM_PTR’
348 | #define MP_ROM_PTR(p) (p)
openmv-/src/build/micropython/pins_OPENMV4P.c:1550:43: error: ‘pin_G7’ undeclared here (not in a function); did you mean ‘pin_A0’?
1550 | { MP_ROM_QSTR(MP_QSTR_G7), MP_ROM_PTR(pin_G7) },
openmv-/src/micropython/py/obj.h:348:24: note: in definition of macro ‘MP_ROM_PTR’
348 | #define MP_ROM_PTR(p) (p)
Are these pins supposed to be declared for this board?
How can I resolve this issue?
Thank you for your assistance!