mikroC ARM V3.0 and ST Standard Peripherals Library

General discussion on mikroC PRO for ARM.
Author
Message
wiztls
Posts: 2
Joined: 08 Jun 2014 10:41

Re: mikroC ARM V3.0 and ST Standard Peripherals Library

#31 Post by wiztls » 08 Jun 2014 13:23

sshahryiar wrote:Can somebody help with STM32F2xx standard peripheral library with MikroC? I did as in the posts above for the STM32F10x series and it worked well but I can't do the same for STM32F2xx series.
Same for me. :( It would be very nice if we could get it to work with STM32F2xx.

Additionally, I can tell you that I used the CubeMX Tool from ST Micro http://www.st.com/web/en/catalog/tools/PF259242# to generate a HAL (Hardware Abstraction Layer) code for my target combination of a STM32F20(5/7) and my own chip talking to the MCU over SPI. The HAL itself is based on the Standard Periphery Library.

mahmud021
Posts: 7
Joined: 28 Jul 2014 12:33

Re: mikroC ARM V3.0 and ST Standard Peripherals Library

#32 Post by mahmud021 » 01 Aug 2014 01:50

Can anyone help me for standard peripheral library support for stm32f207VC MCU?? stack over here. :? :?

wiztls
Posts: 2
Joined: 08 Jun 2014 10:41

Re: mikroC ARM V3.0 and ST Standard Peripherals Library

#33 Post by wiztls » 03 Sep 2014 14:02

Still having issue with the standard peripheral library (HAL) which was generated using the STM32CubeMX.
Could somebody please help me with that issue or provide me a generic working HAL example code of the STM32F207x chip to tryout.

sfmechatronic
Posts: 1
Joined: 11 Oct 2022 14:10

Re: mikroC ARM V3.0 and ST Standard Peripherals Library

#34 Post by sfmechatronic » 11 Oct 2022 16:28

Hi,

I've successfully compiled the STM Test.zip project for Standard Peripheral Library version 1.1.0 using the current MikroC v6.20 compiler.
The problem I face is that I need to use the arm_math.h from CMSIS but when I inlcude the below lines of code it gives an unknown compiler error.

#define ARM_MATH_CM4
#include "arm_math.h"

Please see the attached screenshot.
Thanks.
Attachments
armmath.png
armmath.png (334.05 KiB) Viewed 1043 times

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

Re: mikroC ARM V3.0 and ST Standard Peripherals Library

#35 Post by filip » 12 Oct 2022 09:52

Hi,

Can you please attach minimal project that demonstrates this issue ?

Regards,
Filip.

Post Reply

Return to “mikroC PRO for ARM General”