capi: platform: maxim: max32657: Add MAX32657 CAPI drivers#3176
capi: platform: maxim: max32657: Add MAX32657 CAPI drivers#3176adi-ramonimbao wants to merge 12 commits into
Conversation
8e94330 to
3452759
Compare
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
3452759 to
4cd810a
Compare
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
4cd810a to
59146a1
Compare
59146a1 to
9486de2
Compare
|
I would say to drop the first commit, will probably integrate that with #3090 |
I had to add my own
Got it. Will update the description of the PR |
we will have to update to latest CAPI implementation, but regarding capi_rtc and capi_trng I think the best flow would be to have them first available here: https://github.com/adi-innersource/core-sw-common-hal/tree/main/api |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
9486de2 to
790d94b
Compare
Add implementation for CAPI alloc and free functions Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
Add implementation for CAPI time that replaces maxim_delay.c Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
Add the implementation for CAPI UART driver Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
Add the implementation for CAPI GPIO driver Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
Add the implementation for the CAPI DMA driver Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
790d94b to
4bde510
Compare
Add the implementation for the CAPI Timer driver Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
Add the implementation for the CAPI SPI driver Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
Add the implementation for the CAPI I2C driver Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
Add the implementation for the CAPI IRQ driver Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
Add the implementation for the CAPI WDT driver Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
Add the implementation for the CAPI RTC driver Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
Add the implementation for the CAPI TRNG driver Signed-off-by: Ramon Miguel Imbao <ramonmiguel.imbao@analog.com>
4bde510 to
2ed76cd
Compare
V2:UART
GPIO
DMA
Timer
SPI
IRQ
With the with the following failed tests: The GPIO test fails because I'm not sure how to set up the test to use individual pins rather than the GPIO port. And I'm not sure why the timer test fails. Wrong prescaler values? |
Pull Request Description
This PR adds implementations of CAPI-based drivers for the MAX32657:
Testing
Testing was done with a MAX32657EVKIT. Examples were created to test out peripherals:
blinkyuartcapi_uart_transmit(), then initializes stdio redirectionprintf(), then echoes received characters backexitbutton_pollingbutton_irqdmai2cspitimertrngwdtNot Tested
PR Type
PR Checklist