# Frequently Asked Questions

# Build Errors

# Flash Overflow

TIP

Use the FMUv4 architecture to obtain double the flash. The first available board from this generation is the Pixracer.

The amount of code that can be loaded onto a board is limited by the amount of flash memory it has. The configurations are stored here (opens new window). 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 configuration is stored in /PX4-Autopilot/boards/px4 (e.g. PX4-Autopilot/boards/px4/fmu-v5/default.cmake (opens new window)). To remove a module, just comment it out:

#drivers/trone

# USB Errors

# The upload never succeeds

On Ubuntu, uninstall the modem manager:

sudo apt-get remove modemmanager