Skip to content

Commit

Permalink
fixed: selecting alternate GPIO set fails (setup script crashes)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwindrem committed Dec 8, 2023
1 parent 05964ef commit bc40cdf
Show file tree
Hide file tree
Showing 35 changed files with 22 additions and 11 deletions.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions FileSets/v3.12/relaystate.py
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions FileSets/v3.13/relaystate.py
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions FileSets/v3.20~14/relaystate.py
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions FileSets/v3.20~17/relaystate.py
File renamed without changes.
Empty file added FileSets/v3.20~18/LINKS_ONLY
Empty file.
1 change: 1 addition & 0 deletions FileSets/v3.20~18/relaystate.py
1 change: 0 additions & 1 deletion FileSets/v3.20~2/relaystate.py

This file was deleted.

Empty file added FileSets/v3.20~26/COMPLETE
Empty file.
Empty file added FileSets/v3.20~26/LINKS_ONLY
Empty file.
1 change: 1 addition & 0 deletions FileSets/v3.20~26/relaystate.py
Empty file added FileSets/v3.20~29/COMPLETE
Empty file.
Empty file added FileSets/v3.20~29/LINKS_ONLY
Empty file.
1 change: 1 addition & 0 deletions FileSets/v3.20~29/relaystate.py
Empty file added FileSets/v3.20~30/COMPLETE
Empty file.
Empty file added FileSets/v3.20~30/LINKS_ONLY
Empty file.
1 change: 1 addition & 0 deletions FileSets/v3.20~30/relaystate.py
Empty file added FileSets/v3.20~33/COMPLETE
Empty file.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion FileSets/v3.20~4/relaystate.py

This file was deleted.

1 change: 0 additions & 1 deletion FileSets/v3.20~5/relaystate.py

This file was deleted.

1 change: 0 additions & 1 deletion FileSets/v3.20~7/relaystate.py

This file was deleted.

12 changes: 8 additions & 4 deletions ReadMe
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@ If /data/setupOptions/RpiGpioSetup/gpio_list exists it is used in place
of the one in the package directory.
This accommodates Relay HATs, etc. that use different GPIO pins.

Setup:
Installation:

The easiest way to install this or other of my packages is to first install SetupHelper
which you need to do anyway,
then use its package install tool. Refer to the SetupHelper ReadMe for instructions.
RpiGpioSetup requires that SetupHelper is installed first.

The easiest way to install RpiGpioSetup is to do a "blind install" of SetupHelper
and then add the RpiGpioSetup package via the PackageManager menus.

Refer to the SetupHelper ReadMe for instructions and for other install options:
https://github.com/kwindrem/SetupHelper


3 changes: 3 additions & 0 deletions changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v4.2:
fixed: selecting alternate GPIO set fails (setup script crashes)

v4.1:
added support for v3.11

Expand Down
4 changes: 2 additions & 2 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ if [ $scriptAction == 'INSTALL' ] ; then
# use a alternate gpio list if option is set
elif [ -f "$setupOptionsDir/alternateGpio" ]; then
logMessage "installing ALTERNATE gpio_list"
updateActiveFile "$setupOptionsDir/gpio_listForCanHats" "$gpioListFile"
# use a legacy gpio list otherwise
updateActiveFile "$pkgFileSets/gpio_listForCanHats" "$gpioListFile"
# otherwise use a legacy gpio list
else
logMessage "installing LEGACY gpio_list"
updateActiveFile "$gpioListFile"
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v4.1
v4.2

0 comments on commit bc40cdf

Please sign in to comment.