There is not enough rom space

General discussion on mikroC PRO for ARM.
Post Reply
Author
Message
gzoino
Posts: 141
Joined: 05 Sep 2009 15:48

There is not enough rom space

#1 Post by gzoino » 20 Jun 2021 19:42

Hi,

I'm using the MicroC Pro for ARM v.6.2.0 and trying to make a new project with the Dev. Board: Mikromedia_7_for_STM32F4_ARM STM32F407ZG . I'm getting the error "There is not enough Rom Space" everytime I check off the "Mmc" Library from the library manager. I notice that when i put the check in to the box to use it also the "SDIO" and "SPI" libraries are automatically included. I believe this is normal, But I do not know why I get this error only when including the "Mmc" library. I have attached the simple new project. Please any help is gratefully appreciated since I'm stuck and have tried many things to try to get this to work but it just does not like it. Thanks

GZoino
Attachments
Mm7STM32_NewProject.zip
(383.83 KiB) Downloaded 38 times

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: There is not enough rom space

#2 Post by filip » 21 Jun 2021 14:52

Hi,

Try adding sbit Mmc_Chip_Select at GPIOD_ODR.B3; at the top of the driver file (change the port/bit according to your hardware) and recompile.

Regards,
Filip.

gzoino
Posts: 141
Joined: 05 Sep 2009 15:48

Re: There is not enough rom space

#3 Post by gzoino » 21 Jun 2021 19:24

Thanks Filip, that was it. I appreciate the quick response!! :lol: :lol: :lol: :lol:

GZoino

Post Reply

Return to “mikroC PRO for ARM General”