summaryrefslogtreecommitdiff
path: root/nanologger
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-08-15 21:23:06 +1000
committerStanley Huang <stanleyhuangyc@gmail.com>2014-08-15 21:23:06 +1000
commit881ba1dec955faaf052e55259d5f315e77781934 (patch)
treef6319c0085009734881fec29c1c6efd394e879f2 /nanologger
parent14aaf578028ea0fb90dc852123d15f4147c0f3cd (diff)
download2021-arduino-obd-881ba1dec955faaf052e55259d5f315e77781934.tar.gz
2021-arduino-obd-881ba1dec955faaf052e55259d5f315e77781934.tar.bz2
2021-arduino-obd-881ba1dec955faaf052e55259d5f315e77781934.zip
Update Nano Logger
Diffstat (limited to 'nanologger')
-rw-r--r--nanologger/config.h16
-rw-r--r--nanologger/nanologger.cbp34
2 files changed, 0 insertions, 50 deletions
diff --git a/nanologger/config.h b/nanologger/config.h
index e05b85b..f283d1c 100644
--- a/nanologger/config.h
+++ b/nanologger/config.h
@@ -11,12 +11,6 @@
#define LOG_FORMAT FORMAT_CSV
/**************************************
-* Default working mode
-**************************************/
-#define MODE_DEFAULT MODE_LOGGER /* MODE_LOGGER/MODE_TIMER */
-//#define MODE_SWITCH_PIN 8
-
-/**************************************
* Choose SD pin here
**************************************/
//#define SD_CS_PIN SS // generic
@@ -25,13 +19,6 @@
#define SD_CS_PIN 10 // SD breakout
/**************************************
-* Config GPS here
-**************************************/
-#define USE_GPS 0
-#define GPS_BAUDRATE 38400 /* bps */
-//#define GPS_OPEN_BAUDRATE 4800 /* bps */
-
-/**************************************
* Choose LCD model here
**************************************/
LCD_SH1106 lcd;
@@ -41,9 +28,6 @@ LCD_SH1106 lcd;
/**************************************
* Other options
**************************************/
-#define USE_MPU6050 0
-//#define OBD_MIN_INTERVAL 50 /* ms */
-#define GPS_DATA_TIMEOUT 2000 /* ms */
//#define DEBUG Serial
#define DEBUG_BAUDRATE 9600
diff --git a/nanologger/nanologger.cbp b/nanologger/nanologger.cbp
index 6024094..f60e0be 100644
--- a/nanologger/nanologger.cbp
+++ b/nanologger/nanologger.cbp
@@ -134,40 +134,6 @@
<Variable name="UPLOAD_PORT" value="" />
</Environment>
</Target>
- <Target title="Arduino Duemilanove (328)">
- <Option output="bin/Release/obdlogger_${BOARD_ID}.elf" prefix_auto="1" extension_auto="0" />
- <Option type="1" />
- <Option compiler="avrgcc" />
- <Compiler>
- <Add option="-x c++" />
- <Add option="-mmcu=$(MCU)" />
- <Add option="-DF_CPU=16000000L" />
- <Add option="-D__AVR_ATmega328P__" />
- <Add option="-Os" />
- <Add directory="$(ARDUINO_DIR)/hardware/arduino/cores/arduino" />
- <Add directory="$(ARDUINO_DIR)/libraries" />
- <Add directory="$(ARDUINO_DIR)/hardware/arduino/variants/standard" />
- </Compiler>
- <Linker>
- <Add option="-mmcu=$(MCU)" />
- <Add option='&quot;$(PROJECT_DIR)bin/lib_${BOARD_ID}_${MCU_CLOCK}.a&quot;' />
- <Add option='&quot;$(PROJECT_DIR)bin/core_${BOARD_ID}_${MCU_CLOCK}.a&quot;' />
- </Linker>
- <ExtraCommands>
- <Add before='$(TARGET_COMPILER_DIR)ArduinoUploader &quot;$(PROJECT_DIR).&quot; $(BOARD_ID) - $(MCU_CLOCK) 0 &quot;$(PROJECT_DIR)bin/lib_${BOARD_ID}_${MCU_CLOCK}.a&quot; &quot;$(PROJECT_DIR)bin/core_${BOARD_ID}_${MCU_CLOCK}.a&quot;' />
- <Add after='avr-objcopy -O ihex -R .eeprom -R .eesafe &quot;$(TARGET_OUTPUT_FILE)&quot; &quot;$(TARGET_OUTPUT_FILE).hex&quot;' />
- <Add after='avr-objcopy --no-change-warnings -j .eeprom --change-section-lma .eeprom=0 -O ihex &quot;$(TARGET_OUTPUT_FILE)&quot; &quot;$(TARGET_OUTPUT_FILE).eep.hex&quot;' />
- <Add after='avr-size --mcu=$(MCU) --format=avr &quot;$(TARGET_OUTPUT_FILE)&quot;' />
- </ExtraCommands>
- <Environment>
- <Variable name="BOARD" value="Arduino Duemilanove (328)" />
- <Variable name="BOARD_ID" value="duemilanove328" />
- <Variable name="MCU" value="atmega328p" />
- <Variable name="MCU_CLOCK" value="16" />
- <Variable name="UPLOAD_BAUDRATE" value="57600" />
- <Variable name="UPLOAD_PORT" value="" />
- </Environment>
- </Target>
<Target title="Arduino Nano (328)">
<Option output="bin/Release/obdlogger_${BOARD_ID}.elf" prefix_auto="1" extension_auto="0" />
<Option type="1" />