2010-11-08 03:29 AM
STM32L1xx_StdPeriph_Lib
2011-05-17 05:14 AM
Doesn't the entire family consist of just two parts right now?
STM32L151xx and STM32L152xx, both of which are MEDIUM DENSITY parts. The compiler/toolchain expects you to set a define for STM32L1XX_MD ( -DSTM32L1XX_MD) so that the library knows which code to pull in, and which asserts to test. Presume there will be more than two parts at some point, and tell the compiler which family/density you plan on using so when the library gets updated you'll always be pulling in the correct code for your part.2011-05-17 05:14 AM
Hello,
Thank you for replying. Is that mean I do not have to do any changes in the stm32l1xx.h? No uncommenting as well. I need to set the appropriate device when setting compiler/compiler options. Feels like that :)2011-05-17 05:14 AM
I'd use a project based define, which is passed down to the compiler.
2011-05-17 05:14 AM
Hi ANN,
Could you send me STM32L1xx_StdPeriph_Lib ? Herzlich, MCU Lüfter2011-05-17 05:14 AM
Only available in EWARM download.
Posted less .CHM and IAR specificshttps://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/DispForm.aspx?ID=14503
https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/DispForm.aspx?ID=14503