added auto version increment

This commit is contained in:
2023-08-07 20:38:44 +02:00
parent 8d437b35e8
commit c4d7afcdb7
8 changed files with 22 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
[submodule "platformio_version_increment"]
path = platformio_version_increment
url = https://github.com/sblantipodi/platformio_version_increment.git
View File
+1
View File
@@ -7,4 +7,5 @@ Für irgendwann:
Besser zügig:
Speedometer buffer ergibt kaum Sinn
Abweichung max 25 cm bevor zu ungenau damit nie mehr als 50 cm gesamt.
Doxygen Kommentare aktualisieren
+9
View File
@@ -0,0 +1,9 @@
// AUTO GENERATED FILE, DO NOT EDIT
#ifndef VERSION
#define VERSION "0.1.3"
#endif
#ifndef BUILD_TIMESTAMP
#define BUILD_TIMESTAMP "2023-08-07 20:34:58.828579"
#endif
+3
View File
@@ -26,6 +26,9 @@ lib_deps =
https://git.kleiax.de/PlatformIO-Libs/Menu.git
nrf24/RF24@^1.4.5
upload_port = COM3
extra_scripts =
pre:platformio_version_increment/version_increment_pre.py
post:platformio_version_increment/version_increment_post.py
[env:release]
build_type = release
+4
View File
@@ -22,6 +22,8 @@
#include <LiquidCrystal_I2C.h>
#include <SPI.h>
#include "Version.h"
#include "driveModi/driveManager.h"
#include "OutputBuf/outputBuf.h"
#include "LcdWrapper.h"
@@ -109,6 +111,8 @@ void setup() {
Network::connectEspNow(receiveCallback, sendCallback);
std::cout << "Welcome to Kleiax-Rover" << std::endl;
std::cout << "Project verion: " << VERSION << std::endl;
std::cout << "Build timestamp: " << BUILD_TIMESTAMP << std::endl;
std::cout << "All actions from the main program run on Core -> " << xPortGetCoreID() << std::endl;
driveManager = new DriveManager(&moveController, spiPort, controlPad->getControlPadDataPtr(), wifiIsActive);
+1
View File
@@ -0,0 +1 @@
0.1.3