Open Ami603 opened 2 years ago
Hi,
This is known issue, I believe with the SPL drivers the footprint is bigger. What chip do you have on your board ? If it's a C8T6 instead of a C6T6, you can increase RAM from 4K to 8K and FLASH from 32K to 64K here as a workaround.
C6T6 here, but i managed to compile the code to a suitable firmware by commenting the last while(1) loop since it seems to be outside of the debug loop.
I've just noticed my own fault by commenting the last loop, there's no chance to input any options back.
What are you trying to achieve ?
Just toying with some robotics using hoverboard components, i was trying to obtain the values from the MPU via serial,to gain some knowledge. Main idea is to have something like https://github.com/LuSeKa/HoverBot, but instead making use of the original hardware from the Hoverboard.
i made the code compile for flashing by commenting some code and shortening the debug strings, however i can't seem to get any values from the MPU.
I don't have wiki edit access in this repository, but I had created this
Thanks, so now i can see i have four sideboards with GD32F130C6T6 and MPU6050A, and two sideboards with same GD32 and MPU6050.
It should work with the mpu6050's
Have you had a chance to try my fork that compiles ?
Not yet, somehow i've given up on using the sideboards for now, have yet to find free time to resume the tests.
Hello, i'm trying to compile a debug variant, however i get the following error:
/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: build/firmware.elf section
.rodata' will not fit in region
FLASH' /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: region `FLASH' overflowed by 2696 bytesso it seems it's bigger than flash region on the GD chip.