From 3f338c08c1a1f225eaba5eb442cb4d16f31e19d7 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 7 Nov 2019 10:08:21 -0500 Subject: [PATCH] docs: Minor micro-controller updates to Code_Overview.md Signed-off-by: Kevin O'Connor --- docs/Code_Overview.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/Code_Overview.md b/docs/Code_Overview.md index f7ad1609..35e98dfe 100644 --- a/docs/Code_Overview.md +++ b/docs/Code_Overview.md @@ -5,8 +5,8 @@ Directory Layout ================ The **src/** directory contains the C source for the micro-controller -code. The **src/avr/**, **src/sam3/**, **src/samd21/**, -**src/lpc176x/**, **src/stm32f1/**, **src/pru/**, and **src/linux/** +code. The **src/atsam/**, **src/atsamd/**, **src/avr/**, +**src/linux/**, **src/lpc176x/**, **src/pru/**, and **src/stm32/** directories contain architecture specific micro-controller code. The **src/simulator/** contains code stubs that allow the micro-controller to be test compiled on other architectures. The **src/generic/** @@ -50,10 +50,11 @@ DECL_TASK() macro. One of the main task functions is command_dispatch() located in **src/command.c**. This function is called from the board specific -input/output code (eg, **src/avr/serial.c**) and it runs the command -functions associated with the commands found in the input -stream. Command functions are declared using the DECL_COMMAND() macro -(see the [protocol](Protocol.md) document for more information). +input/output code (eg, **src/avr/serial.c**, +**src/generic/serial_irq.c**) and it runs the command functions +associated with the commands found in the input stream. Command +functions are declared using the DECL_COMMAND() macro (see the +[protocol](Protocol.md) document for more information). Task, init, and command functions always run with interrupts enabled (however, they can temporarily disable interrupts if needed). These