From 49086d3913367d2fb014a615f9d958a47867bc39 Mon Sep 17 00:00:00 2001 From: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Sun, 29 Oct 2023 12:27:55 +0000 Subject: [PATCH 1/2] rename version file to .version --- version => .version | 0 CMakeLists.txt | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename version => .version (100%) diff --git a/version b/.version similarity index 100% rename from version rename to .version diff --git a/CMakeLists.txt b/CMakeLists.txt index ba5dd903..0921e68e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.0.0) -# read and parse version file -file(READ version PROJECT_VERSION) +# read and parse '.version' file +file(READ .version PROJECT_VERSION) string(STRIP ${PROJECT_VERSION} PROJECT_VERSION) string(REGEX REPLACE "([0-9]+)\\.[0-9]+\\.[0-9]+" "\\1" VERSION_MAJOR ${PROJECT_VERSION}) string(REGEX REPLACE "[0-9]+\\.([0-9]+)\\.[0-9]+" "\\1" VERSION_MINOR ${PROJECT_VERSION}) From fb0290fddeb290ed56fb82ed6f55bd55fbbf18bc Mon Sep 17 00:00:00 2001 From: JimmyHatsTCQ Date: Thu, 24 Oct 2024 20:57:28 +0200 Subject: [PATCH 2/2] rev 1 --- rpihw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpihw.c b/rpihw.c index 58147c98..2267b16d 100644 --- a/rpihw.c +++ b/rpihw.c @@ -544,11 +544,11 @@ static const rpi_hw_t rpi_hw_info[] = { .desc = "Pi 3", }, { - .hwver = 0x9020e0, + .hwver = 0x9020e1, .type = RPI_HWVER_TYPE_PI2, .periph_base = PERIPH_BASE_RPI2, .videocore_base = VIDEOCORE_BASE_RPI2, - .desc = "Model 3 A+", + .desc = "Model 3 A+ rev 1", } };