-
Notifications
You must be signed in to change notification settings - Fork 1.3k
non-DMA SPI working; adding this now for testing; will continue with DMA #443
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
Conversation
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.
Looks really good! One minor thing plus you'll need to update the asf4 module to the real commit now that its pulled.
#include "hal/include/hal_spi_m_sync.h" | ||
#include "hal/include/hpl_spi_m_sync.h" | ||
|
||
#include "peripherals.h" |
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.
This change has two _peripherals.h files. Did you mean to merge them?
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.
Hi - peripherals.h
includes either samd21_peripherals.h
or samd51_peripherals.h
. They are slightly different. Is that what you mean?
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.
I don't see peripherals.h
in the diff.
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.
I added it in the previous PR when I did I2C. It hasn't changed: it's just conditional #include
s.
Ah ok! You'll need to fix the build because CircuitPlayground is out of space. |
Also, fixed pin mappings for rev B Metro M4: swap PA12 and PA13 on SPI 2x3 header swap A3 and A5 Comment out all frozen modules in CPX again to make room while waiting for SPI flash.
Tested with BMP280 SPI on '21 and '51
needs corresponding ASF4 PR as well
Also, fixed pin mappings for rev B Metro M4:
swap PA12 and PA13 on SPI 2x3 header
swap A3 and A5
Comment out all frozen modules in CPX again to make room while waiting
for SPI flash.