-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Control flow test modes run w/o sensors + global config
- Loading branch information
Showing
10 changed files
with
194 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#ifndef GLOBAL_H | ||
#define GLOBAL_H | ||
|
||
/* | ||
* Contains all preprocessor definitions that should be held(included) commonly across all source and header | ||
* files in the project. | ||
* | ||
* Notable entries will include: | ||
* 1. Sensor configurations (number of IMUs) | ||
* 2. Peripheral interface enables (Serial, I2C, UART) | ||
* 3. Debug/Test defines for test modes | ||
*/ | ||
|
||
/* SENSOR CONFIGURATIONS */ | ||
#define TWO_IMUS 0 | ||
|
||
/* PERIPHERAL DEFINITIONS */ | ||
#define SERCOM_USB Serial | ||
#define SERCOM_UART Serial1 | ||
#define SERCOM_I2C Wire | ||
|
||
/* DEBUG/TEST DEFINITIONS */ | ||
#define TEST_CONTROL_FLOW 1 /* if non-zero then assume satellite is connected but no sensors */ | ||
#define RTOS_TEST_SUITE 0 /* if non-zero then rtos test tasks in validation_tests.h will be created */ | ||
#define DEBUG 1 /* if non-zero then debug statements will be printed over USB serial */ | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.