Browse Source

remove unused version.h

Fabian Peter Hammerle 3 years ago
parent
commit
f1aff33cd1
3 changed files with 0 additions and 9 deletions
  1. 0 1
      .gitignore
  2. 0 4
      arduino-sketch.ino
  3. 0 4
      pre-build-hook.sh

+ 0 - 1
.gitignore

@@ -1,3 +1,2 @@
 /build-*/
 /scope.py
-/version.h

+ 0 - 4
arduino-sketch.ino

@@ -1,13 +1,9 @@
-#include "version.h"
-
 // https://www.arduino.cc/reference/en/language/functions/time/micros/
 const unsigned long SAMPLE_INTERVAL_MICROSECONDS = 2500L;
 
 void setup() {
     // $ stty -F /dev/ttyUSB0 | grep speed
     Serial.begin(115200);
-    // Serial.println(PROJECT_REPO_URL);
-    // Serial.println(PROJECT_VERSION);
 }
 
 unsigned long last_sample_micros = 0;

+ 0 - 4
pre-build-hook.sh

@@ -1,4 +0,0 @@
-#!/bin/sh
-set -ex
-echo "#define PROJECT_REPO_URL \"$(git config --get remote.origin.url)\"" > version.h
-echo "#define PROJECT_VERSION \"$(git describe --dirty --long --always)\"" >> version.h