-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Brainboardz_Neuron Updated Pins and Defined Objects #7705
Conversation
Removed "CD" from the pin definitions for (MISO, MOSI and SCK pins). Specifically Pins 13, 15 and 14. Added Pin definitions for I2C and SPI objects
Add #defines for SPI_BUS_SCK, SPI_BUS_MOSI and SPI_BUS.MISO
Chnage the SDA pin define to GPIO9 and SCL pin define to GPIO8. This now matches the currect GPIO pins numbers in pins.c The previous GPIO pins number in mpconfigboard.h were incorrect
Added a comma (,) to the the end of the definition for board_spi_obj
Changed incorrect i2C pins assignment in mpconfigboard.h (changed SDA/SCL to GPIO 8/GPIO 9. Rename SD_MOSI, SD_MISO and SD_SCK to MOSI, MISO and SCK Added SPI define in mpconfigboard.h for SPI
Note that it's better to create a branch for your PR rather than edit your
I'm not sure what you meant here but any changes to |
Hi Dan:
Thanks for the suggestion on not working off my main branch. I will
implement that.
bye for now,
…On Fri, Mar 10, 2023 at 10:06 AM Dan Halbert ***@***.***> wrote:
Note that it's better to create a branch for your PR rather than edit your
main branch. If you do the latter then it can get out of sync with the
upstream main branch. See
https://learn.adafruit.com/contribute-to-circuitpython-with-git-and-github/always-work-on-a-branch#create-your-new-branch-2992239.
Don't worry about changing this now, but be aware your main branch may
diverge.
I tried to commit this upstream but for some reason that is not working
properly.
I'm not sure what you meant here but any changes to adafruit/circuitpython
are via pull requests only.
—
Reply to this email directly, view it on GitHub
<#7705 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AU2ZOBK5PEDJ2KZZF5OSM73W3M7PRANCNFSM6AAAAAAVWR7YAI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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.
Thanks for the fixes!
Awesome! Thanks again Dan.
…On Fri, Mar 10, 2023 at 10:25 AM Dan Halbert ***@***.***> wrote:
Merged #7705 <#7705> into
main.
—
Reply to this email directly, view it on GitHub
<#7705 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AU2ZOBPK6JMU534ESNXO4MLW3NBVBANCNFSM6AAAAAAVWR7YAI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I have added a board_spi declaration in pins.c. I have also corrected erroneous pin definitions for the SCL and SDA pins (these are actually supposed to be GPIO 8 and GPIO 9) in mpconfigboard.h.
I tried to commit this upstream but for some reason that is not working properly.