summaryrefslogtreecommitdiff
path: root/obdlogger/obdlogger.cbp
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2013-08-16 00:57:43 +0800
committerStanley Huang <stanleyhuangyc@gmail.com>2013-08-16 00:57:43 +0800
commit6cb3c04fa37588eddf1341d77d1d70cfd8a2fcb3 (patch)
tree945437f3e635019e69d4de2d0384dc2945346c2c /obdlogger/obdlogger.cbp
parentfccdb6d83fe265bc99c94afbf9fd3a284647595b (diff)
download2021-arduino-obd-6cb3c04fa37588eddf1341d77d1d70cfd8a2fcb3.tar.gz
2021-arduino-obd-6cb3c04fa37588eddf1341d77d1d70cfd8a2fcb3.tar.bz2
2021-arduino-obd-6cb3c04fa37588eddf1341d77d1d70cfd8a2fcb3.zip
compiled code can now fit into 32KB
Diffstat (limited to 'obdlogger/obdlogger.cbp')
-rw-r--r--obdlogger/obdlogger.cbp8
1 files changed, 7 insertions, 1 deletions
diff --git a/obdlogger/obdlogger.cbp b/obdlogger/obdlogger.cbp
index f24add3..b2ca76b 100644
--- a/obdlogger/obdlogger.cbp
+++ b/obdlogger/obdlogger.cbp
@@ -33,11 +33,12 @@
<Option type="1" />
<Option compiler="avrgcc" />
<Compiler>
+ <Add option="-Os" />
<Add option="-x c++" />
<Add option="-mmcu=$(MCU)" />
<Add option="-DF_CPU=16000000L" />
<Add option="-D__AVR_ATmega328P__" />
- <Add option="-Os" />
+ <Add option="-DMEMORY_SAVING" />
<Add directory="$(ARDUINO_DIR)/hardware/arduino/cores/arduino" />
<Add directory="$(ARDUINO_DIR)/libraries" />
<Add directory="$(ARDUINO_DIR)/hardware/arduino/variants/standard" />
@@ -582,7 +583,12 @@
<Compiler>
<Add directory="." />
</Compiler>
+ <Unit filename="MultiLCD.cpp" />
+ <Unit filename="MultiLCD.h" />
+ <Unit filename="SSD1306.cpp" />
+ <Unit filename="SSD1306.h" />
<Unit filename="datalogger.h" />
+ <Unit filename="fonts.cpp" />
<Unit filename="images.h" />
<Unit filename="obdlogger.ino">
<Option compile="1" />