X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fmegametrum-v0.1%2Fao_megametrum.c;fp=src%2Fmegametrum-v0.1%2Fao_megametrum.c;h=43c2292d40f2091e2084ba23a5005f4e9122d146;hp=114f144fc3271c10c90b780e8fe6cf8e60bcda37;hb=4b13d3c659240e5a8347b1ba7ab0bf1d8355eba3;hpb=e80fa6de4ccc5c4851eab9fb941f9282d2e3eb16 diff --git a/src/megametrum-v0.1/ao_megametrum.c b/src/megametrum-v0.1/ao_megametrum.c index 114f144f..43c2292d 100644 --- a/src/megametrum-v0.1/ao_megametrum.c +++ b/src/megametrum-v0.1/ao_megametrum.c @@ -28,12 +28,19 @@ #include #endif #include +#if HAS_STACK_GUARD +#include +#endif int main(void) { ao_clock_init(); +#if HAS_STACK_GUARD + ao_mpu_init(); +#endif + ao_serial_init(); ao_led_init(LEDS_AVAILABLE); ao_led_on(AO_LED_GREEN);