From 624fbe8e3f2184c0b2e1e6e6ea27e404c5aace3c Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Tue, 13 Sep 2016 23:50:51 +1000 Subject: [PATCH] Commenting through most of the remaining files. Fixing logic errors throughout as well --- SystemDesign.md | 11 ++ workspace/ts100/.cproject | 4 +- workspace/ts100/inc/APP_Version.h | 56 +++--- workspace/ts100/inc/Disk.h | 38 ++--- workspace/ts100/inc/Flash.h | 6 +- workspace/ts100/inc/Hardware.h | 2 +- workspace/ts100/inc/MMA8652FC.h | 6 +- workspace/ts100/src/2FAT12.c | 37 ++-- workspace/ts100/src/Bios.c | 27 ++- workspace/ts100/src/CTRL.c | 4 +- workspace/ts100/src/Disk.c | 226 ++++++++++--------------- workspace/ts100/src/Flash.c | 39 ++--- workspace/ts100/src/Hardware.c | 18 +- workspace/ts100/src/Interrupt.c | 13 +- workspace/ts100/src/MMA8652FC.c | 164 +++++++++--------- workspace/ts100/src/Main.c | 33 ++-- workspace/ts100/src/STM32F103_System.c | 157 ----------------- workspace/ts100/src/UI.c | 107 +++++------- workspace/ts100/src/usb_bot.c | 2 +- 19 files changed, 348 insertions(+), 602 deletions(-) delete mode 100644 workspace/ts100/src/STM32F103_System.c diff --git a/SystemDesign.md b/SystemDesign.md index 1fcc36b7..2a4d72c0 100644 --- a/SystemDesign.md +++ b/SystemDesign.md @@ -10,3 +10,14 @@ This is implimented using a ram buffer for the disk. + +# Future improvements to be made +These features are things I would like to add to the firmware + +* Use hardware PWM for driving the heating element. +* Use the sysTick hardware for timing of events +* Move all the settings to an on device menu system instead of usb link +* Move error codes into a unified struct +* Rewrite most of the OLED stack to not require hardcoded values +* Rework the modes of the unit to be neater + diff --git a/workspace/ts100/.cproject b/workspace/ts100/.cproject index 3c031bc3..a061e4ec 100644 --- a/workspace/ts100/.cproject +++ b/workspace/ts100/.cproject @@ -14,7 +14,7 @@ - +