diff --git a/README.md b/README.md index f5ac890..a599101 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -# Arduino-Photometrics ![CI][] - +# Arduino-Photometrics **Arduino-photometrics** is sub-part of **Robot Go West**, this project aim to collect lighting data of location for training a prediction model for retrieve the location of the sun. The embedded part is made in **C++**, the update RTC time file and the extraction data measure file are made in **Python**. diff --git a/platformio.ini b/platformio.ini index ea7cd0b..a7ab5ea 100755 --- a/platformio.ini +++ b/platformio.ini @@ -17,17 +17,9 @@ test_framework = unity build_flags = -std=gnu++17 -I lib/ - ;-D DEBUG + ;-D DEBUG + lib_deps = northernwidget/DS3231@^1.1.2 -test_filter = - - - - - -lib_ldf_mode = deep+ - -test_lib_deps = - ThrowTheSwitch/Unity@^2.6.0 - -extra_scripts = pre:test_init.py \ No newline at end of file +lib_ldf_mode = deep+ \ No newline at end of file diff --git a/test/EEPROM_test_struct.cpp b/test/EEPROM_test_struct.cpp index 5b05857..fd5b56f 100644 --- a/test/EEPROM_test_struct.cpp +++ b/test/EEPROM_test_struct.cpp @@ -325,15 +325,11 @@ void tearDown(void) { } void setup(void){ - Serial.begin(115200); - - delay(2000); + Serial.begin(9600); } //WARNING: Tests are not exhaustive and do not cover all possibilities. int main( int argc, char **argv) { - // Serial.begin(9600); - TEST_MESSAGE("Debuts des tests."); UNITY_BEGIN(); // The following commented test is here for faciltate the debug "test_get_measure_at", test_get_measure is private function for the storage_interface class // Maybe removed later diff --git a/test_init.py b/test_init.py deleted file mode 100644 index d6788d8..0000000 --- a/test_init.py +++ /dev/null @@ -1,12 +0,0 @@ -# test_init.py - -Import("env") -test_env_name = env["PIOENV"] - -# Injecte manuellement les chemins d'inclusion nécessaires (Unity et votre config) -env.Append( - CPPPATH=[ - "test", - ".pio/libdeps/" + test_env_name + "/Unity/src" - ] -) \ No newline at end of file