开始看固件库。UM0427固件库用户手册上第一页写了: ' v/ b; j' Z/ l$ S + P5 D9 S8 S( P mSince the firmware library is generic and covers all peripherals functionalities, the size and/or % H A/ _, b" z6 u7 q, Yexecution speed of the application code may not be optimized. For many applications, the- A s( i3 s9 l0 {# m
library may be used as is. However, for applications having tough constraints in terms of " I% C5 N" ~8 C" v' xcode size and/or execution speed, the library drivers should be used as a reference on how - I) P* i2 D; C% F! q4 n, p7 w& kto configure the peripheral and tailor them to specific application requirements.# T6 ~0 G) Y1 b4 o& M# n
如果对代码大小或执行速度有严格要求,应该把这个固件库当作参考,而不是直接使用。; ^9 C" O4 H) M; }
固件库确实有不足,还有很大的改进空间。不过一个公司的几个人写出来的东西,又怎么经得住满世界推敲呢?放弃固件库是一个追求,但也不要责怪ST的库不行了吧,大伙都不容易。% a$ x1 k) Y0 @' i . p( c( C. q$ ]4 V! z" H
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
回复:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
Since the firmware library is generic and covers all peripherals functionalities, the size and/or
execution speed of the application code may not be optimized. For many applications, the- A s( i3 s9 l0 {# m
library may be used as is. However, for applications having tough constraints in terms of
code size and/or execution speed, the library drivers should be used as a reference on how
to configure the peripheral and tailor them to specific application requirements.# T6 ~0 G) Y1 b4 o& M# n
如果对代码大小或执行速度有严格要求,应该把这个固件库当作参考,而不是直接使用。; ^9 C" O4 H) M; }
固件库确实有不足,还有很大的改进空间。不过一个公司的几个人写出来的东西,又怎么经得住满世界推敲呢?放弃固件库是一个追求,但也不要责怪ST的库不行了吧,大伙都不容易。% a$ x1 k) Y0 @' i
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
使用固件库有利于快速开发
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!