-
Notifications
You must be signed in to change notification settings - Fork 349
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
Add Support for the Pcduino2 and Pcduino3 #722
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…his rather than SCLK. Additionally simplify access to the i2c bus by renaming the pins from 'SDA2' and 'SCL2' to 'SDA' and 'SCL' as realistically this is the only i2c port that is actually avaliable on the board
…to remove any potential confusion
…with the A10, it keeps things simple to use the already created pin map file for the A10.
… with the A10 so the existing pin profile can be reused in this case
…n using VScode, files sometimes appear to be missing an eol at the end of the file. Apparently it is not the default behaviour but I have now made this setting permanent
…er can also be used as standard gpio
…he A10 it makes more sense to refer it instead, therefore the additional functionality of the A20 can also be added as required
…date all core files to ensure that previous references to the Allwinner A10 have now been replaced with references to the Allwinner A20
…e logical sense to remove the duplicate and have the A20 checked for directly after the A10
…20/pin.py to be in chronological order
makermelissa
approved these changes
Oct 12, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Looks good.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tested pins D0- D6 using LEDs then repeating on pins D8 - D13.
I2C (i2c-dev) - tested with Adafruit PWM/Servo shield (PCA9685) using servokit library.
SPI (spidev) - Initial detection works. Tested with Ili9341 but was not able to get working, possibly an issue with the CS pin. The internal LED attached to clock pin flashes when trying to run examples under RGB Display. Hoping to find a fix in the near future.
UART - Tested with GPS module (SIM28 chipset) using CircuitPython GPS library on uart 2. Manages to pick up
satelites within a couple of seconds.
PWM - Added support for channel 0 to Allwinner A20 pin file. Tested with pulsing led based
on the example in the CircuitPython essentials guide.
Tested on Armbian 23.05 running kernel 6.1