diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2014-08-15 21:23:06 +1000 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2014-08-15 21:23:06 +1000 |
commit | 881ba1dec955faaf052e55259d5f315e77781934 (patch) | |
tree | f6319c0085009734881fec29c1c6efd394e879f2 /nanologger | |
parent | 14aaf578028ea0fb90dc852123d15f4147c0f3cd (diff) | |
download | 2021-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.h | 16 | ||||
-rw-r--r-- | nanologger/nanologger.cbp | 34 |
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='"$(PROJECT_DIR)bin/lib_${BOARD_ID}_${MCU_CLOCK}.a"' /> - <Add option='"$(PROJECT_DIR)bin/core_${BOARD_ID}_${MCU_CLOCK}.a"' /> - </Linker> - <ExtraCommands> - <Add before='$(TARGET_COMPILER_DIR)ArduinoUploader "$(PROJECT_DIR)." $(BOARD_ID) - $(MCU_CLOCK) 0 "$(PROJECT_DIR)bin/lib_${BOARD_ID}_${MCU_CLOCK}.a" "$(PROJECT_DIR)bin/core_${BOARD_ID}_${MCU_CLOCK}.a"' /> - <Add after='avr-objcopy -O ihex -R .eeprom -R .eesafe "$(TARGET_OUTPUT_FILE)" "$(TARGET_OUTPUT_FILE).hex"' /> - <Add after='avr-objcopy --no-change-warnings -j .eeprom --change-section-lma .eeprom=0 -O ihex "$(TARGET_OUTPUT_FILE)" "$(TARGET_OUTPUT_FILE).eep.hex"' /> - <Add after='avr-size --mcu=$(MCU) --format=avr "$(TARGET_OUTPUT_FILE)"' /> - </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" /> |