diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-04-20 17:18:58 -0400 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-04-20 17:21:47 -0400 |
commit | b0bdf35d8f6340be04aebe7fbd368418d8c15043 (patch) | |
tree | abf080fb2529452db286673fee1c4772a3006048 /movement/movement.c | |
parent | 263e7c6543ab580bed0567b018d1f198f918a64b (diff) | |
download | Sensor-Watch-b0bdf35d8f6340be04aebe7fbd368418d8c15043.tar.gz Sensor-Watch-b0bdf35d8f6340be04aebe7fbd368418d8c15043.tar.bz2 Sensor-Watch-b0bdf35d8f6340be04aebe7fbd368418d8c15043.zip |
add mechanism for building alternate firmware images
Diffstat (limited to 'movement/movement.c')
-rw-r--r-- | movement/movement.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/movement/movement.c b/movement/movement.c index 13cef97b..d61c90c7 100644 --- a/movement/movement.c +++ b/movement/movement.c @@ -27,7 +27,24 @@ #include <limits.h> #include "watch.h" #include "movement.h" + +#ifndef MOVEMENT_FIRMWARE +#include "movement_config.h" +#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_STANDARD #include "movement_config.h" +#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_ALT_TIME +#include "alt_fw/alt_time.h" +#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_FOCUS +#include "alt_fw/focus.h" +#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_THE_BACKPACKER +#include "alt_fw/the_backpacker.h" +#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_THE_ATHLETE +#include "alt_fw/the_athlete.h" +#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_THE_STARGAZER +#include "alt_fw/the_stargazer.h" +#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_DEEP_SPACE_NOW +#include "alt_fw/deep_space_now.h" +#endif #if __EMSCRIPTEN__ #include <emscripten.h> |