开始看固件库。UM0427固件库用户手册上第一页写了:; F3 n- ~* z5 q2 V1 _* U4 m
8 E. l" Y5 J6 T0 _: {Since the firmware library is generic and covers all peripherals functionalities, the size and/or , @6 y7 h, \+ [) H0 p5 Rexecution speed of the application code may not be optimized. For many applications, the , h, B8 y! ^/ A6 k; hlibrary may be used as is. However, for applications having tough constraints in terms of" R8 [* V7 c4 d2 M) C1 }
code size and/or execution speed, the library drivers should be used as a reference on how - _8 [( e$ c/ q# f3 l A( Eto configure the peripheral and tailor them to specific application requirements. . E1 n; ]* _* M# h4 I如果对代码大小或执行速度有严格要求,应该把这个固件库当作参考,而不是直接使用。0 F4 j# ~8 t2 G9 i
固件库确实有不足,还有很大的改进空间。不过一个公司的几个人写出来的东西,又怎么经得住满世界推敲呢?放弃固件库是一个追求,但也不要责怪ST的库不行了吧,大伙都不容易。 6 O& J) C2 [6 r' ~2 v) _2 T$ _ 6 W$ {- [ V+ c2 f# v
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
回复:【心得】用传统方法开发STM32,放弃固件库的使用!
$ V) I) H. i0 ^, A
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
library may be used as is. However, for applications having tough constraints in terms of" R8 [* V7 c4 d2 M) C1 }
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.
如果对代码大小或执行速度有严格要求,应该把这个固件库当作参考,而不是直接使用。0 F4 j# ~8 t2 G9 i
固件库确实有不足,还有很大的改进空间。不过一个公司的几个人写出来的东西,又怎么经得住满世界推敲呢?放弃固件库是一个追求,但也不要责怪ST的库不行了吧,大伙都不容易。
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
使用固件库有利于快速开发
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!
RE:【心得】用传统方法开发STM32,放弃固件库的使用!