I am trying to compile MicroPython version 1.14 on a custom board with STM32F407VGT6, I have all the compile files needed to compile are as follows:
- mpconfigboard.h
- mpconfigboard.mk
- pins.csv
- stm32f4xx_hal_conf.h
Code: Select all
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
make: *** No rule to make target 'build-OPHYRA/genhdr/pins.h', needed by 'build-OPHYRA/py/mpstate.o'. Stop.
Code: Select all
make -j2 BOARD=OPHYRA
Thank you very much if you can give me any guidance as to what the problem is with this error.
Update, now have this issue:
Code: Select all
make BOARD=OPHYRA
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
CC machine_adc.c
In file included from machine_adc.c:29:
adc.h: In function 'adc_deselect_vbat':
adc.h:50:29: error: 'LL_ADC_PATH_INTERNAL_VBAT' undeclared (first use in this function)
50 | adc_common->CCR &= ~LL_ADC_PATH_INTERNAL_VBAT;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
adc.h:50:29: note: each undeclared identifier is reported only once for each function it appears in
make: *** [../../py/mkrules.mk:77: build-OPHYRA/machine_adc.o] Error 1