4.7.5 Function Size Limits

For all devices, the code generated for a regular function is limited only by the available program memory. See Allocation of Executable Code for more details.