From 02c94e0119cd272a333eb3da113720cb2eeb112f Mon Sep 17 00:00:00 2001 From: Bertrand Lemasle Date: Sun, 6 Jan 2019 15:30:17 +1300 Subject: [PATCH] Added MD_DS3231 custom configuration and sensitive configuration file generation --- .travis.yml | 5 ++++- README.md | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dc9a662..e8da337 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,12 @@ install: - arduino --install-library "Low-Power" - arduino --install-library "ArduinoLog" - arduino --install-library "MD_DS3231" +before_script: + - sed -E "s/^#define ENABLE_(12H|DOW|DYNAMIC_CENTURY) 1/#define ENABLE_\1 0/" -i /usr/local/share/arduino/libraries/MD_DS3231/src/MD_DS3231.h # Disabling MD_DS3231 unwanted features + - "tail --line=+`sed -n '/\/\/ #pragma once/=' src/config/User.h` src/config/User.h | sed 's/^\/\/ //' > src/config/Sensitive.h" # Using the example configuration file for compilation script: - arduino --verify --board arduino:avr:uno $PWD/src/GpsTracker.ino - notifications: +notifications: email: on_success: change on_failure: change \ No newline at end of file diff --git a/README.md b/README.md index d6d3731..6ae3705 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # High autonomy GPS tracker. +[![Build Status](https://travis-ci.org/blemasle/gpstracker-firmware.svg?branch=master)](https://travis-ci.org/blemasle/gpstracker-firmware) +[![License](https://img.shields.io/badge/license-MIT%20License-blue.svg)](http://doge.mit-license.org) This project aims to provides a GPS tracker based on an Arduino Pro mini as the central unit. Battery saving has been incorporated into every step of the design. A custom designed [PCB](https://github.com/blemasle/gpstracker-pcb) is available to avoid using poorly power efficient boards.