Closed ivanenev closed 4 years ago
fixed the above errors by going in micropython dir and issuing git submodule update --init
but now have lots of others:
../../lib/oofatfs/ff.c:26:10: fatal error: string.h: No such file or directory 26 | #include <string.h> | ^~~~~~~~~~ compilation terminated.
In file included from ../../lib/cmsis/inc/core_cm4.h:34, from ../../lib/stm32lib/CMSIS/STM32F4xx/Include/stm32f407xx.h:183, from ../../lib/stm32lib/CMSIS/STM32F4xx/Include/stm32f4xx.h:151, from ../../lib/stm32lib/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:48, from ../../lib/stm32lib/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:47, from ./boards/stm32f4xx_hal_conf_base.h:30, from boards/BLACK_F407VE/stm32f4xx_hal_conf.h:4, from ../../lib/stm32lib/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:48, from ./mpconfigboard_common.h:30, from ./mpconfigport.h:32, from ../../py/mpconfig.h:62, from ../../lib/oofatfs/ffconf.h:30, from ../../lib/oofatfs/ff.h:33, from ../../lib/oofatfs/ffunicode.c:26: /usr/lib/gcc/arm-none-eabi/10.1.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory 9 | # include_next <stdint.h> | ^~~~~~~~~~ compilation terminated. In file included from ../../lib/mbedtls/library/aes.c:31: ./mbedtls/mbedtls_config.h:88:10: fatal error: stdlib.h: No such file or directory 88 | #include <stdlib.h> | ^~~~~~~~~~ compilation terminated.
maybe I sould downgrade arm-none-eabi-10.1.0 to 9 or 8. Any idea?
Got it Fixed!
on arch, downgreaded to "arm-none-eabi-gcc55" 5.5.0-1 and was able to compile with no errors.
Hi I've got this error when compiling.
make V=1 BOARD=BLACK_F407VE make: *** No rule to make target 'lib/mbedtls/library/aes.c', needed by 'build-BLACK_F407VE/genhdr/qstr.i.last'. Stop.
Any help will be greatly appreciated.
Thanks