Closed e135193 closed 2 years ago
Hello,
I have a compile error
boards/WeActStudioSTM32H7xx/bdev.c:5:8: error: unknown type name 'mp_spiflash_cache_t' 5 | STATIC mp_spiflash_cache_t spi_bdev_cache; | ^~~~~~~~~~~~~~~~~~~ boards/WeActStudioSTM32H7xx/bdev.c:11:6: error: 'const struct _mp_spiflash_config_t' has no member named 'cache' 11 | .cache = &spi_bdev_cache, | ^~~~~ boards/WeActStudioSTM32H7xx/bdev.c:11:14: error: excess elements in struct initializer [-Werror] 11 | .cache = &spi_bdev_cache, | ^ boards/WeActStudioSTM32H7xx/bdev.c:11:14: note: (near initialization for 'spiflash_config') cc1: all warnings being treated as errors make[1]: *** [../../py/mkrules.mk:77: /home/engin/openmv/src/build/micropython/boards/WeActStudioSTM32H7xx/bdev.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [omv/ports/stm32/omv_portconfig.mk:591: FIRMWARE_OBJS] Error 2
Hello,
I have a compile error