Skip to content

Commit

Permalink
Added hardware name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Breitschopp committed Sep 6, 2024
1 parent 941142d commit 3711133
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion include/hardware.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#ifdef BOARD_AB_SMARTHOUSE_6TE_8CH
#ifdef BOARD_AB_SMARTHOUSE_SA_REG6_8CH
#define HARDWARE_NAME "AB-SmartHouse-SA-REG6-8CH"

#define INFO_LED_PIN 11
#define INFO_LED_PIN_ACTIVE_ON HIGH
#define PROG_LED_PIN 10
Expand Down
2 changes: 1 addition & 1 deletion include/versions.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#define MAIN_Version "1358d6b"
#define MAIN_Version "941142d"
#define KNX_Version "2.1.0+84a0ce3"
#define MODULE_LogicModule_Version "3.3.1+9335c33"
#define MODULE_LogicModule_ETS 51
Expand Down
6 changes: 3 additions & 3 deletions platformio.custom.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ build_flags =
${RP2040_develop.build_flags}
${RP2040_custom.build_flags}
${custom_develop.build_flags}
-D BOARD_AB_SMARTHOUSE_6TE_8CH
-D BOARD_AB_SMARTHOUSE_SA_REG6_8CH
debug_build_flags =
${custom_develop.debug_build_flags}
-O0
Expand All @@ -45,8 +45,8 @@ extends = RP2040_custom_develop, UPLOAD_JLINK
extends = RP2040_custom_develop, RP2040_UPLOAD_USB
upload_protocol = mbed

[env:release_AB_SMARTHOUSE_6TE_8CH]
[env:release_AB_SMARTHOUSE_SA_REG6_8CH]
extends = RP2040_custom_releases
build_flags =
${RP2040_custom_releases.build_flags}
-D BOARD_AB_SMARTHOUSE_6TE_8CH
-D BOARD_AB_SMARTHOUSE_SA_REG6_8CH
2 changes: 1 addition & 1 deletion scripts/Build-Release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
if (!$?) { exit 1 }

# build firmware
lib/OGM-Common/scripts/setup/reusable/Build-Step.ps1 release_AB_SMARTHOUSE_6TE_8CH firmware-AB-SmartHouse-SwitchActuator-6TE-8CH uf2
lib/OGM-Common/scripts/setup/reusable/Build-Step.ps1 release_AB_SMARTHOUSE_SA_REG6_8CH firmware-AB-SmartHouse-SwitchActuator-REG6-8CH uf2
if (!$?) { exit 1 }

# execute generic post-build steps
Expand Down

0 comments on commit 3711133

Please sign in to comment.