From aa801ada609519704218e35b64e7481410eea134 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Fri, 14 Aug 2015 21:54:03 -0700 Subject: [PATCH] Move code comments to project Wiki. --- firmware/application/main.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/firmware/application/main.cpp b/firmware/application/main.cpp index 4fd904ba..372efe15 100755 --- a/firmware/application/main.cpp +++ b/firmware/application/main.cpp @@ -51,28 +51,6 @@ #include -/* From ChibiOS crt0.c: - * Two stacks available for Cortex-M, main stack or process stack. - * - * Thread mode: Used to execute application software. The processor - * enters Thread mode when it comes out of reset. - * Handler mode: Used to handle exceptions. The processor returns to - * Thread mode when it has finished all exception processing. - * - * ChibiOS configures the Cortex-M in dual-stack mode. (CONTROL[1]=1) - * When CONTROL[1]=1, PSP is used when the processor is in Thread mode. - * - * MSP is always used when the processor is in Handler mode. - * - * __main_stack_size__ : 0x2000???? - 0x2000???? = - * Used for exception handlers. Yes, really. - * __process_stack_size__ : 0x2000???? - 0x2000???? = - * Used by main(). - * - * After chSysInit(), the current instructions stream (usually main()) - * becomes the main thread. - */ - #if 0 static const SPIConfig ssp_config_w25q80bv = { .end_cb = NULL,