Nucleo-64 (F091RC) with mikroC PRO for ARM

mikroC, mikroBasic and mikroPascal for PRO ARM® MCUs, supporting STM32, Tiva, Kinetis, & CEC devices
Post Reply
Author
Message
JohnyQQ
Posts: 21
Joined: 03 Apr 2015 17:18

Nucleo-64 (F091RC) with mikroC PRO for ARM

#1 Post by JohnyQQ » 27 Dec 2018 18:15

Dear Sir,

I'm a hardware engineer & have some firmware experience.
I'd buy EasyMX PRO v7 & many click boards to help some project design & test.
Using these click board's code & library to help all work & test was OK.
But now I want to learning to write program by myself with mikroC IDE.
Would you help to teach me step by step to create a simple LEDblinking project working on Nucleo-64 (F091RC) board??
Thanks a lot~

Johny

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: Nucleo-64 (F091RC) with mikroC PRO for ARM

#2 Post by stefan.filipovic » 28 Dec 2018 12:36

Hi Jonny,

First of all, I'm glad that you have a good experience with our click boards.

I suggest you open LedBlinking project written for STM32F107VC in mikroC PRO for ARM which is located in the following path:
C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for ARM\Examples\ST\Development Systems\EasyMx PRO v7 for STM32 ARM\Led Blinking

After that, just change the Device name to the STM32F091RC and set the frequency and config bits in the Edit Project for your needs, and build the project.
Also, you can use compiler's help file for more information about making a new project.

Kind regards,
Stefan Filipović

JohnyQQ
Posts: 21
Joined: 03 Apr 2015 17:18

Re: Nucleo-64 (F091RC) with mikroC PRO for ARM

#3 Post by JohnyQQ » 28 Dec 2018 17:45

Dear Sir,

Thanks for your reply.
I'm try to your method again, it's work fine.
But I don't know what's happen before I create this new post.
I'm create a new project & past the .c file content.
When I build it, some error happen about "malloc".
I don't know how to check the error, so create post to ask.
But now I retry to create a new project & past c. file content to test again, it's work fine.
Whatever I'd try to test OK & work fine.
Thanks for your help, let me grade to learning continue... :D :D :D

Johny

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: Nucleo-64 (F091RC) with mikroC PRO for ARM

#4 Post by stefan.filipovic » 29 Dec 2018 10:35

Hi Johny,

You're welcome.

Probably you have checked both "MemManager" and "Memory manager dalloc" library from the Library manager, they're contains the same function named "malloc", please uncheck one of them and try to compile.

Kind regards,
Stefan Filipović

Post Reply

Return to “ARM PRO Compilers”