- This topic has 0 replies, 1 voice, and was last updated 6 years, 4 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Mastering STM32 book support forum › import cubemx SDIO, fatfs
I have started to teach myself to use and program the STM32 MCUs. I have installed eclipse and GCC compiler. I made my own blink program by writing to the registers to get up the GPIO pins and turn them on/off and also make a delay function using the systick. I also setup the UART peripheral using just registers and connected it to my computer via a serial to USB converter and opened a putty terminal and made my own print fuction to write to the putty terminal. I also setup FSCM using just registers to write to a LCD in 16 bit parallel successfully.
I now want to setupand use a SD card. To setup the SDIO perphial and write all my own fuction for using a SD card would just be too big a project so I am up to learning to use cubemx with HAL and middleware. I have tried everything to be able to import a cubemx code into my eclipse project and be able to compile it but nothing has worked.
I brought your book and followed the instructions for manual import but it had shitloads to build errors. I also installed your python script and used it to do the import but same thing just had a shitload of build errors.
here is the output from the python script
C:\data\CubeMXImporter-master>python cubemximporter.py C:\data\STM32Toolchain\try C:\data\STM32Toolchain\try_SDIO
####################################################################################################
#### READ CAREFULLY ####
####################################################################################################
The original CubeMX project contains the FatFs middleware library.
This library was imported in the Eclipse project correctly, but you still need to
exclude from build those uneeded codepage files (cc932.c, etc) not needed for your project.C:\data\CubeMXImporter-master>