Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for linux headers 6.6.62 #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update readme with GPIOchip numbers
  • Loading branch information
gseqBE committed Jan 7, 2025
commit f2e9d89e645ddf24f96373e16367182ad2f451f3
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,22 @@ I haven't tried cross-compiling this module, but it should work as well.

Module parameters:

* gpio_tx: int [default = 17]
* gpio_rx: int [default = 27]
* gpio_tx: int [default = 529]
* gpio_rx: int [default = 539]

Loading the module with default parameters:
```
sudo insmod soft_uart.ko
```

Loading module with custom parameters:
Look up GPIO number using the following command, for setting up pins other than the default.
```
sudo insmod soft_uart.ko gpio_tx=10 gpio_rx=11
cat /sys/kernel/debug/gpio
```

Loading module with custom parameters with (GPIO17:529) as TX and (GPIO27:539) as RX:
```
sudo insmod soft_uart.ko gpio_tx=529 gpio_rx=539
```


Expand Down