summaryrefslogtreecommitdiff
path: root/examples/imx7_colibri_m4/driver_examples/uart_imx/uart_polling/main.c
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2018-08-30 13:00:16 +0200
committerStefan Agner <stefan.agner@toradex.com>2018-08-30 13:00:16 +0200
commit2420eb783ced37259a1b92db34d644937236f2c6 (patch)
treeaa0afd8e2ed83c3c3881e13f061c10abcf1fed8a /examples/imx7_colibri_m4/driver_examples/uart_imx/uart_polling/main.c
parente8fdfaef2028dc68c3cb48f5be5c0ab6327fd1bd (diff)
use -Og for debugging
Currently we use -O0 (no optimization) for debug builds. Unfortunately this leads to large firmwares really quickly, and prevents debugging in TCM/OCRAM. Use -Og which enables some optimization which do not interfere with debugging. GCC manual says: Optimize debugging experience. -Og enables optimizations that do not interfere with debugging. It should be the optimization level of choice for the standard edit-compile-debug cycle, offering a reasonable level of optimization while maintaining fast compilation and a good debugging experience. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples/imx7_colibri_m4/driver_examples/uart_imx/uart_polling/main.c')
0 files changed, 0 insertions, 0 deletions