summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-08-15 21:37:37 +1000
committerStanley Huang <stanleyhuangyc@gmail.com>2014-08-15 21:37:37 +1000
commitb7d42256d2c4c947bea66ecfd2af994124fbbc01 (patch)
tree0000b34cd5b305ef31e53b846ff849f1f4c8c2d5
parent1f4f94baff6a0655c83227164610fab07b947fb9 (diff)
download2021-arduino-obd-b7d42256d2c4c947bea66ecfd2af994124fbbc01.tar.gz
2021-arduino-obd-b7d42256d2c4c947bea66ecfd2af994124fbbc01.tar.bz2
2021-arduino-obd-b7d42256d2c4c947bea66ecfd2af994124fbbc01.zip
Update MegaLogger project file
-rw-r--r--megalogger/megalogger.cbp6
1 files changed, 4 insertions, 2 deletions
diff --git a/megalogger/megalogger.cbp b/megalogger/megalogger.cbp
index dc04552..491af67 100644
--- a/megalogger/megalogger.cbp
+++ b/megalogger/megalogger.cbp
@@ -12,20 +12,20 @@
<Option type="1" />
<Option compiler="avrgcc" />
<Compiler>
+ <Add option="-O2" />
<Add option="-x c++" />
<Add option="-mmcu=$(MCU)" />
<Add option="-DF_CPU=16000000L" />
<Add option="-D__AVR_ATmega2560__" />
- <Add option="-O2" />
<Add directory="$(ARDUINO_DIR)/hardware/arduino/cores/arduino" />
<Add directory="$(ARDUINO_DIR)/libraries" />
<Add directory="$(ARDUINO_DIR)/hardware/arduino/variants/mega" />
</Compiler>
<Linker>
+ <Add option="-s" />
<Add option="-mmcu=$(MCU)" />
<Add option='&quot;$(PROJECT_DIR)${TARGET_OUTPUT_DIR}/lib_${BOARD_ID}_${MCU_CLOCK}.a&quot;' />
<Add option='&quot;$(PROJECT_DIR)${TARGET_OUTPUT_DIR}/core_${BOARD_ID}_${MCU_CLOCK}.a&quot;' />
- <Add option="-s" />
</Linker>
<ExtraCommands>
<Add before='$(TARGET_COMPILER_DIR)ArduinoUploader &quot;$(PROJECT_DIR).&quot; $(BOARD_ID) - $(MCU_CLOCK) 0 &quot;$(PROJECT_DIR)${TARGET_OUTPUT_DIR}/lib_${BOARD_ID}_${MCU_CLOCK}.a&quot; &quot;$(PROJECT_DIR)${TARGET_OUTPUT_DIR}/core_${BOARD_ID}_${MCU_CLOCK}.a&quot;' />
@@ -82,6 +82,8 @@
<Compiler>
<Add directory="." />
</Compiler>
+ <Unit filename="Narcoleptic.cpp" />
+ <Unit filename="Narcoleptic.h" />
<Unit filename="config.h" />
<Unit filename="datalogger.h" />
<Unit filename="images.h" />