SB Source Intro
This is work in progress! Please post in the forum when you find errors or mistakes!
Source Files
The SB Source contains the sensor boards firmware source code. Its located in the folder sb-controller.
Source File |
Description |
State |
compass.c/h |
Communication and attitude compensation of compass data |
|
conf.c/h |
Configuration implementation, print and dump functions |
|
devices.c/h |
Device table |
|
eint.c/h |
External interrupt handler |
|
fifo.c/h |
FIFO implementation |
|
fixp923.c/h |
32-Bit Fixpoint implementation (used for GPS-Position) |
|
led.c/h |
Handling of the LED's |
|
main.c/h |
Starts the show... |
|
math.c/h |
Some mathematic functions |
|
monitor.c/h |
Monitor implementation for shells |
|
ngpp.c/h |
NGPP implementation |
|
nmea.c/h |
NMEA protocol parser (used for GPS), supplies position |
|
position.c/h |
Hold position data and implements print functions |
|
spi.c/h |
SPI communication implementation (for compass) |
|
string_const.c/h |
String constants |
|
task.c/h |
Task management |
|
taskcom.c/h |
Mutexes for task synchronizations |
|
terminal.c/h |
Terminal command parser |
|
terminal_const.h |
Terminal command list |
|
twi_slave.c/h |
TWI (I2C) slave implemenation (used for NGPP) |
|
uart.c/h |
UART driver |
|
version.c/h |
Version command |
|
Configure settings
These are the most important configuration settings:
all clean sb-flash-fuses-dragon sb-flash-dragon sb-flash-dragon-no-verify sb-read-flash-dragon sb-erase-dragon sb-flash-fuses-usbprog sb-flash-usbprog sb-read-flash-usbprog sb-erase-usbprog sb-flash-fuses-stk500 sb-flash-stk500 sb-read-flash-stk500 sb-erase-stk500 indent
