diff --git a/src/main.c b/src/main.c index aeca14c..bff54ab 100644 --- a/src/main.c +++ b/src/main.c @@ -4,13 +4,23 @@ #define LOG_LEVEL LOG_LEVEL_DEBUG +/** + * @brief Log a debug message to inform about beginning exit procedures + * + */ void notify_exit(void) { DEBUG("Exiting gemstone..."); } +/** + * @brief Run compiler setup here + * + */ void setup(void) { + // setup preample + log_init(); DEBUG("starting gemstone..."); @@ -18,6 +28,8 @@ void setup(void) atexit(¬ify_exit); #endif + // actual setup + DEBUG("finished starting up gemstone..."); }