Hallo,
ich verzweifle etwas an den Restore-*.ps1 Skripten (trotz https://github.com/OpenKNX/OpenKNX/w...ct-from-Github)
Konkret möchte ich https://github.com/OpenKNX/OAM-Acces...tree/devel-up1 kompilieren.
Da stimmt aber etwas nicht mit dem OAM-Switch-Aktuator.
So bin ich vorgegangen:
Code:
7 git clone https://github.com/OpenKNX/OAM-AccessControl.git 10 cd .\OAM-AccessControl\ 11 git checkout devel-up1 12 cd .\restore\ 13 .\Restore-Dependencies.ps1
Code:
Compiling .pio\build\release_UP1\lib9eb\LittleFS\lfs.c.o In file included from src\main.cpp:2: lib\OFM-SwitchActuator\src/SwitchActuatorModule.h:16:60: error: 'OPENKNX_SWA_SET_PINS' was not declared in this scope 16 | const uint8_t RELAY_SET_PINS[OPENKNX_SWA_CHANNEL_COUNT] = {OPENKNX_SWA_SET_PINS}; | ^~~~~~~~~~~~~~~~~~~~ Compiling .pio\build\release_UP1\lib9eb\LittleFS\lfs_util.c.o lib\OFM-SwitchActuator\src/SwitchActuatorModule.h:17:62: error: 'OPENKNX_SWA_RESET_PINS' was not declared in this scope; did you mean 'OPENKNX_BI_GPIO_PINS'? 17 | const uint8_t RELAY_RESET_PINS[OPENKNX_SWA_CHANNEL_COUNT] = {OPENKNX_SWA_RESET_PINS}; | ^~~~~~~~~~~~~~~~~~~~~~ | OPENKNX_BI_GPIO_PINS Compiling .pio\build\release_UP1\lib79e\OGM-Common\OpenKNX.cpp.o Compiling .pio\build\release_UP1\lib79e\OGM-Common\OpenKNX\Base.cpp.o
Code:
PS C:\Users\hendr\Documents\OpenKNX_Dev_Access_contro ll\OAM-AccessControl\restore> .\Restore-Project.ps1 symbolische Verknüpfung erstellt für C:\Users\hendr\Documents\OpenKNX_Dev_Access_contro ll\OAM-AccessControl\lib\linktest <<===>> ..\restore Everything is fine, project is already in expected state
Ich hatte das aber einmal geschafft, vor der Umbenennung von FingerPrint zu Access-Control.
Ich weiß aber nicht, was ich anders gemacht habe.
Switch-Aktuator ist im nicht-Funktionierenden (Access-Control) cfaf665 und im funktionierenden in
Code:
On branch devel Your branch is up to date with 'origin/devel'
Code:
2b8c0a8 v1 lib/OFM-GPIOModule https://github.com/OpenKNX/OFM-GPIOModule
Gruß,
Hendrik
Kommentar