orangepi-xunlong / wiringOP

wiringPi for Orange Pi
GNU Lesser General Public License v3.0
414 stars 192 forks source link

Compatible with H618/Zero 3? #92

Closed scottw-finao closed 1 year ago

scottw-finao commented 1 year ago

I just noticed the gpio executable reads H616 at the top, but I'm using a Orange Pi Zero 3 with the H618 chip. So the build seems to be detecting it as a Zero 2.

I just wanted to verify it is compatible? Sample output:

 +------+-----+----------+------+---+   H616   +---+------+----------+-----+------+
 | GPIO | wPi |   Name   | Mode | V | Physical | V | Mode | Name     | wPi | GPIO |
 +------+-----+----------+------+---+----++----+---+------+----------+-----+------+
 |      |     |     3.3V |      |   |  1 || 2  |   |      | 5V       |     |      |
 |  229 |   0 |    SDA.3 |  OFF | 0 |  3 || 4  |   |      | 5V       |     |      |
 |  228 |   1 |    SCL.3 |  OFF | 0 |  5 || 6  |   |      | GND      |     |      |
 |   73 |   2 |      PC9 |  OFF | 0 |  7 || 8  | 0 | OFF  | TXD.5    | 3   | 226  |
 |      |     |      GND |      |   |  9 || 10 | 0 | OFF  | RXD.5    | 4   | 227  |
 |   70 |   5 |      PC6 | ALT5 | 0 | 11 || 12 | 0 | OFF  | PC11     | 6   | 75   |
 |   69 |   7 |      PC5 | ALT5 | 0 | 13 || 14 |   |      | GND      |     |      |
 |   72 |   8 |      PC8 |  OFF | 0 | 15 || 16 | 0 | OFF  | PC15     | 9   | 79   |
 |      |     |     3.3V |      |   | 17 || 18 | 0 | OFF  | PC14     | 10  | 78   |
 |  231 |  11 |   MOSI.1 |  OFF | 0 | 19 || 20 |   |      | GND      |     |      |
 |  232 |  12 |   MISO.1 |  OFF | 0 | 21 || 22 | 0 | OFF  | PC7      | 13  | 71   |
 |  230 |  14 |   SCLK.1 |  OFF | 0 | 23 || 24 | 0 | OFF  | CE.1     | 15  | 233  |
 |      |     |      GND |      |   | 25 || 26 | 0 | OFF  | PC10     | 16  | 74   |
 |   65 |  17 |      PC1 |  OFF | 0 | 27 || 28 |   |      |          |     |      |
 |  272 |  18 |     PI16 | ALT2 | 0 | 29 || 30 |   |      |          |     |      |
 |  262 |  19 |      PI6 |  OFF | 0 | 31 || 32 |   |      |          |     |      |
 |  234 |  20 |     PH10 | ALT3 | 0 | 33 || 34 |   |      |          |     |      |
 +------+-----+----------+------+---+----++----+---+------+----------+-----+------+
 | GPIO | wPi |   Name   | Mode | V | Physical | V | Mode | Name     | wPi | GPIO |
 +------+-----+----------+------+---+   H616   +---+------+----------+-----+------+

(I'm trying to figure out how to enable the i2c3 on raspbian btw)

orangepi-xunlong commented 1 year ago

zero3 is the same as zero2.

Please see the user manual for more information.

scottw-finao commented 1 year ago

this is what their support told me. And they didn't read what I wrote either. So let me break it down 'Barney style'

  1. I did read the user manual
  2. the user manual says to use orangepi-config
  3. the orangepi os on the download page for the zero 3 DOES NOT CONTAIN orangepi-config!!!!!!!!
  4. YOU CAN'T DO WHAT THE USER MANUAL SAYS TO DO!

On Wed, Nov 8, 2023 at 8:14 PM Orange Pi @.***> wrote:

zero3 is the same as zero2.

Please see the user manual for more information.

— Reply to this email directly, view it on GitHub https://github.com/orangepi-xunlong/wiringOP/issues/92#issuecomment-1803009764, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJXZ3XLBVR3VKXOWTR6MRDLYDQU7HAVCNFSM6AAAAAA7DDKLHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBTGAYDSNZWGQ . You are receiving this because you authored the thread.Message ID: @.***>