Development Guide

Frequently Asked Questions

Build Errors

Flash Overflow

The amount of code that can be loaded onto a board is limited by the amount of flash memory it has. When adding additional modules or code its possible that the addition exceeds the flash memory. This will result in a "flash overflow". The upstream version will always build, but depending on what a developer adds it might overflow locally.

region `flash' overflowed by 12456 bytes

To remedy it, either use more recent hardware or remove modules from the build which are not essential to your use case. The configurations are stored here. To remove a module, just comment it out:

#drivers/trone

USB Errors

The upload never succeeds

On Ubuntu, deinstall the modem manager:

sudo apt-get remove modemmanager