Corrected system libraries for STM32

General discussion on mikroPascal PRO for ARM.
Post Reply
Author
Message
User avatar
mileta.miletic
mikroElektronika team
Posts: 493
Joined: 05 Jun 2009 14:46
Location: Belgrade, Serbia
Contact:

Corrected system libraries for STM32

#1 Post by mileta.miletic » 18 Jun 2012 12:27

Hi,

We made oversight in system libraries for STM32, global variable which holds system frequency wasn't set, so libraries which relies on this variable may not work properly, like UART library (calulating baud rate).
In attachment are corrected system libraries, just copy them in your compiler installation folder in Uses\ST M3\ folder and overwrite old ones.
This affects only STM32F100, STM32F101, STM32F102, STM32F103 and STM32F15x MCUs.
Attachments
mikroPascal.zip
(13.34 KiB) Downloaded 425 times
Regards,
Mileta

jerry
Posts: 10
Joined: 11 Aug 2012 16:49

Re: Corrected system libraries for STM32

#2 Post by jerry » 11 Aug 2012 19:11

mileta.miletic wrote:Hi,

We made oversight in system libraries for STM32, global variable which holds system frequency wasn't set, so libraries which relies on this variable may not work properly, like UART library (calulating baud rate).
In attachment are corrected system libraries, just copy them in your compiler installation folder in Uses\ST M3\ folder and overwrite old ones.
This affects only STM32F100, STM32F101, STM32F102, STM32F103 and STM32F15x MCUs.

Hi developers,
Is this affecting the latest v2.50? And is it affecting the ADC part? Because i try adc_init() on the
STM32-Discovery which is based on the stm32f100 cannot work. When debug, it just hang at the init() command.

Thanks. And this is really great work from u!! cheers

Best Regards,
Jerry

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: Corrected system libraries for STM32

#3 Post by dejan.odabasic » 13 Aug 2012 14:30

Hello,

I think I answered your question on this topic: http://www.mikroe.com/forum/viewtopic.p ... 19#p194119

Best regards.

Post Reply

Return to “mikroPascal PRO for ARM General”