I'm learning MCUXpresso, so I created "LPCOpen - C project" for LPC1788 MCU, no board.
In "cr_startup_lpc177x_8x.c" source file "ResetISR" calls "SystemInit", which after several more invocations ends up calling "Chip_SetupIrcClocking" located in "sysinit_17xx_40xx.c" source file wherein internal oscillator IRC is setup. This all happens before "main" is called.
How do I change this setup, for example switch to external oscillator? Do I change "sysinit_17xx_40xx.c" source file (downloaded with LPCOpen 2.10 devkit) directly or shall I write my own clock configuration routine and call it from "main"?
Note that this is NOT a question regarding which registers need which values.
Understandably, "Clocks" perspective doesn't work since my project is not based on MCUXpresso SDK.
Please advise.
Thank you,
Eugene