Page 1 of 1

using SDIO on STM32L152VD

Posted: Tue Nov 28, 2017 5:35 pm
by cyrosd
Hello,
I am using a STM32L152VD and I am trying to use the SD card to save data I'm recording from ADC, but it seems like Chibi OS doesn't let STM32L1xx use the SD Card. I tried some tweaks (especially defining STM32_SDIO_HANDLER on vector 104 as it is done on all the other platforms) but I'm getting stuck at sdc_lld_init() which only seems to be configured for STM32F1xx and STM32F4xx because rccEnableSDIO is only exists for those. Is there anything I missed in order to use SDIO? Or is it that you willingly left it out?
Thank you,
Cyosd

Re: using SDIO on STM32L152VD

Posted: Tue Nov 28, 2017 7:03 pm
by Giovanni
Hi,

It is not tested on that platform so there could be things not working or left out. You need to provide those RCC macros then start testing.

Giovanni