forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
SAMD51 SPI Secondary Mode #9385
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
Merged
Merged
Changes from 59 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
639fed2
Add slave_mode parameter to the SPI bus constructor
Randall-Scharpf b459802
Update SPI construction usages
Randall-Scharpf 58e1ee7
Attempt to change MODE to peripheral
Randall-Scharpf 8444193
fix inversion bitmath error
Randall-Scharpf b98ff01
add build script
Randall-Scharpf c969a64
working edits to spi and can attempts
Randall-Scharpf 82a6f95
SPI responds to clock with this change, data transfer still ununcerta…
Randall-Scharpf 9c8401b
build interpreter (mac version)
anniexiang01 8a552f1
potential fix for busio SPI parameters
anniexiang01 b983bf9
add SS pin and fix DIPO/DOPO assignment
Randall-Scharpf 1728222
Merge branch '9.0.x' of https://github.com/adafruit/circuitpython int…
Randall-Scharpf 09d2c66
Merge branch 'adafruit-9.0.x' into main
Randall-Scharpf c06f9e1
hey wait we dont need a crystal
Randall-Scharpf bd10666
update dma code to use new allocation interface
Randall-Scharpf 5490a82
add async spi interface
Randall-Scharpf cfa4425
enable preloading data register
Randall-Scharpf 5c21495
update samd-peripherals submodule to point to a bruinspace-owned fork
Randall-Scharpf 4d151a0
update reference submodule commit hash
Randall-Scharpf 26e838b
added board configurations for RAPID-0 CDH, ADCS, and EPS boards. rev…
anniexiang01 0ae5be8
corrected board family on rapid0_adcs mpconfigboard.mk file
anniexiang01 a73df58
Updated USB VID, PID, and PRODUCT to reflect sublicense given by Micr…
anniexiang01 d4df61e
updated adcs board files to be based on the bdmicro vina d51, new bui…
anniexiang01 dcc97d7
fixed rapid0-cdh pin error
anniexiang01 14136fc
restore metro_m4_express configuration
Randall-Scharpf 555f1a3
remove extraneous build files
Randall-Scharpf d048667
remove extraneous build files
Randall-Scharpf 4696d07
set SPI drive strength to high
Randall-Scharpf 1fc4d72
haha! adcs works now
Randall-Scharpf 2ba0b56
add annie's new rapid-0 firmware build workflow
Randall-Scharpf a7b3de4
add SPITarget interface (HAL still unimplemented)
Randall-Scharpf 289f420
implement the spitarget methods
Randall-Scharpf 616ec37
fix the type of self within spitarget
Randall-Scharpf 114d49e
fix import errors and transfer_close return typing
Randall-Scharpf 5657f8a
fix typing and naming mismatches
Randall-Scharpf 1aad399
ok this is the one
Randall-Scharpf ff2fb90
fix function name mismatch between call and declaration
Randall-Scharpf dd7056b
return none from bound functions
Randall-Scharpf 1875e70
fix buffer mishandling in spitarget bindings
Randall-Scharpf 0a68f43
remove busio.SPI
Randall-Scharpf ea344c3
repair constructors referencing old API
Randall-Scharpf 100a045
remove asynchronous interface under busio.SPI
Randall-Scharpf 821b7f2
merge implementation of new spitarget api
Randall-Scharpf 022e191
add missing files not found by wildcard
Randall-Scharpf d059736
push samd-peripherals to merge commit in adafruit repository
Randall-Scharpf cd3c95b
update docs and names for consistency and completeness
Randall-Scharpf 193f700
fix typo in documentation comment
Randall-Scharpf 1942d05
Merge branch 'upstream/main' (from adafruit/circuitpython) into main
Randall-Scharpf dd7acd5
apply pre-commit formatting and translations
Randall-Scharpf 137c2c5
fix buffer storage declaration
Randall-Scharpf 62c2107
add manually the pre-commit formatting that could not be automaticall…
Randall-Scharpf d64ce00
Merge remote-tracking branch 'upstream/main' into main
Randall-Scharpf a4a5632
limit spitarget to only boards with enough memory for an additional m…
Randall-Scharpf 84f9849
rebuild zephyr boards
Randall-Scharpf b085b79
save some flash by configuring each busio.SPI pin with a helper function
Randall-Scharpf 186d691
save some flash by configuring each busio.SPI pin with a helper function
Randall-Scharpf f3c144e
slightly increase board firmware size to fit
Randall-Scharpf 2504cd2
rollout spitarget to more boards
Randall-Scharpf d937221
remove spitarget from specific samd51 boards that are already tight o…
Randall-Scharpf 00a831f
update spitarget documentation example to be more complete and respon…
Randall-Scharpf ee6bbec
Merge remote-tracking branch 'upstream/main' into main
Randall-Scharpf 3b864ae
restore pixel_trinkey filesystem size
Randall-Scharpf 3b0b4d3
Merge remote-tracking branch 'upstream/main' into main git diff main …
Randall-Scharpf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,4 +12,5 @@ LONGINT_IMPL = MPZ | |
|
|
||
| CIRCUITPY_PS2IO = 1 | ||
| CIRCUITPY_JPEGIO = 0 | ||
| CIRCUITPY_SPITARGET = 0 | ||
| CIRCUITPY_SYNTHIO = 0 | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.