• I think it's because it's trying to include an stm32f1 header file. You'll have to edit libs/fat_sd/* and #ifdef STM32F4 all the includes. You'll also need to modify the header file to have the correct pin definitions. If you want to change that and modify build_patform_config.h to automatically set the pin definitions that'd be awesome though.

    Personally I wouldn't use SDIO as it's just ore complexity - just stick with normal SPI and follow the circuit from https://github.com/espruino/EspruinoBoarĀ­d


Avatar for Gordon @Gordon started