Move code comments to project Wiki.

This commit is contained in:
Jared Boone 2015-08-14 21:54:03 -07:00
parent b1a4418f06
commit aa801ada60

View File

@ -51,28 +51,6 @@
#include <string.h> #include <string.h>
/* 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 #if 0
static const SPIConfig ssp_config_w25q80bv = { static const SPIConfig ssp_config_w25q80bv = {
.end_cb = NULL, .end_cb = NULL,