Firmware
Adafruit CircuitPython 6.1.0 on nucleo-f767zi
Bash
Behavior
Use make V=1, make V=2 or set BUILD_VERBOSE similarly in your environment to increase build verbosity.
QSTR updated
../../lib/tinyusb/src/common/tusb_fifo.c: In function 'tu_fifo_write':
../../lib/tinyusb/src/common/tusb_fifo.c:149:6: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow]
if ((p > p + offset) || (p + offset > f->max_pointer_idx))
^
cc1: all warnings being treated as errors
../../py/mkrules.mk:55: recipe for target 'build-nucleo_f767zi/lib/tinyusb/src/common/tusb_fifo.o' failed
make: *** [build-nucleo_f767zi/lib/tinyusb/src/common/tusb_fifo.o] Error 1
Description
CircuitPython drive shows total size of about 90K which is significantly lower than the 2M available on the board.
Flashed MicroPython for same board and it shows the correct amount of available storage i.e. 2M.
Additional Info
I looked at the STM32F767_fs.ld file in each distro and found that the MicroPython version has another line in the file:
FLASH_APP (rx) : ORIGIN = 0x0800x000, LENGTH = 2016K
I believe this line needs to be inserted into the CircuitPython version of the file in order to get the full 2M available to be used. I tried adding that line then performing a build, but ran into a build error (not related to the line I added, BTW).
So, I'm opening this bug report in order for the full 2M of storage for the board to be usable.
Firmware
Bash
Behavior
Description
CircuitPython drive shows total size of about
90Kwhich is significantly lower than the2Mavailable on the board.Flashed MicroPython for same board and it shows the correct amount of available storage i.e.
2M.Additional Info
I looked at the
STM32F767_fs.ldfile in each distro and found that the MicroPython version has another line in the file:FLASH_APP (rx) : ORIGIN = 0x0800x000, LENGTH = 2016KI believe this line needs to be inserted into the CircuitPython version of the file in order to get the full
2Mavailable to be used. I tried adding that line then performing a build, but ran into a build error (not related to the line I added, BTW).So, I'm opening this bug report in order for the full
2Mof storage for the board to be usable.