Commit Graph

42 Commits

Author SHA1 Message Date
dongly 3363586cbb
Fix some compilation warning (#5744)
* Fix some compilation warning

* 补充修正一些数据类型的使用错误

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-02 12:09:49 -04:00
LiuKang 75a7cb6929
[update] add fal component. (#5662)
* [update] add fal component.

* [update] format code.

* [update] change PKG_USING_FAL to RT_USING_FAL

* [update] format code.

* [update] fal

* [update] delete FAL_SW_VERSION
2022-03-15 09:48:05 +08:00
qinge f89625acb6 修复stm32l4系列flash在下载完程序后首次擦除会失败的问题 2021-11-23 17:33:56 +08:00
JasonCang 6dd8682fa8 修改扇区计算错误的bug 2021-08-11 19:42:31 +08:00
YJIE_1998 53a4074f0b i# This is a combination of 3 commits.
【修改】format
2021-08-10 13:06:10 +08:00
zhuyf233 2d5bbbf086
Merge branch 'master' into master 2021-03-10 19:07:53 +08:00
zhuyunfan 6b4cfce082 add name 2021-03-10 12:45:13 +08:00
Meco Man fc04d828ee [stm32][driver] auto formatted 2021-03-08 22:40:39 +08:00
zhuyunfan aad29c0d85 fix error 2021-03-03 14:51:41 +08:00
zhuyunfan 2364033109 fix stm32f7 flash driver error 2021-03-01 12:56:59 +08:00
Dozingfiretruck af1e92e661 stm32wb 2020-10-14 15:03:33 +08:00
Bernard Xiong 03f727d0c6
Merge pull request #3732 from NU-LL/stm32g070-st-nucleo
add stm32g070-st-nucleo bsp
2020-07-08 10:32:30 +08:00
ifreecoding 2b1bcf6833 1.增加对stm32_flash_erase函数入口参数size为0的检测。
2.stm32_flash_write函数按byte、half word、word对齐写入,提升写入效率。
2020-07-03 10:28:37 +08:00
NU-LL d869b605c6 add stm32g070-st-nucleo bsp 2020-07-01 20:29:43 +08:00
whj4674672 8d45e7f856 add drv_flash_h7.c 2020-05-23 17:30:40 +08:00
whj4674672 b91f1ab54e [bsp/stm32/stm32h743-atk-apollo]support stm32h7 fal 2020-05-20 13:40:33 +08:00
redoc 4b46aafa75
Update drv_flash_f1.c
1、【修改】返回值。
2020-03-18 15:38:10 +08:00
redoc 5a5f262649
Update drv_flash_f1.c
调整stm32_flash_erase的返回值
2020-03-18 15:31:20 +08:00
redoc bac9410d7d
Update drv_flash_f1.c
1、【修改】运算方式,更加简洁易懂;
2、【修正】代码格式 tab、 LOG_D;
3、【增加】返回值;
4、【去除】bank1_flag和bank2_flag,改用bank_size判定。
2020-03-18 15:05:12 +08:00
redoc 91a52192b8
update tab 2020-03-12 15:04:10 +08:00
redoc 363903b984
chage tab 2020-03-12 15:02:26 +08:00
redoc acf4fc6d2e
update drv_flash_f1.c
support stm32f103vg
2020-03-12 14:46:46 +08:00
ethan.du 8e4d05d7ae modify assert and code style 2020-01-07 14:29:33 +08:00
ethan.du 8f5e1c5715 add space 2020-01-06 19:43:45 +08:00
ethan.du 6b614c05b8 modify space 2020-01-06 19:40:25 +08:00
ethan.du 516702d69e drv_flash_f7.c support single bank mode 2020-01-06 19:24:23 +08:00
qiyongzhong0 5c15fd615d 修改stm32驱动库:
1.修改drv_flash_l4.c文件中stm32_onchip_flash定义的blk_size字段,由原来2048改为FLASH_PAGE_SIZE,以增强芯片适应性.
2.修改drv_usbd.c文件中stm_usbd_register函数,增加支持RT_USING_DEVICE_OPS配置.
2019-12-05 13:40:04 +08:00
tyustli c4d0c91502 [bsp] [stm32] fix drv_flash_l4.c bug 2019-08-21 18:39:14 +08:00
misonyo aae6274ef1 [bsp/stm32]add stm32f2xx template 2019-06-18 18:26:49 +08:00
SummerGift f23b278d62 【修复】f0 f1 f4 f7 系列 flash 擦除函数返回值与 fal 接口不匹配的问题 2019-05-16 10:24:53 +08:00
jinsheng 24b289b776 增加 flash drv 宏判断,增加fal 配置 2019-03-02 12:52:53 +08:00
jinsheng c0855d1350 增加 flash 2019-02-27 10:34:10 +08:00
sun_shine 4283003981 [bsp][stm32] add onchip flash support 2019-01-31 14:33:51 +08:00
SummerGift 532a14ddd8 [bsp][stm32] fix flash partition bug 2019-01-28 14:00:13 +08:00
MurphyZhao bc2ee9999b [bsp][stm32] 移除 f0 和 f1 中 flash write 对 size 对齐的限制
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-19 14:44:23 +08:00
MurphyZhao 25b49352d5 [bsp][stm32/libraries] 修复 drv_flash_l4.c 驱动中无法写入非8字节对齐的数据的限制
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-18 11:13:10 +08:00
SummerGift 289b4316af [bsp][stm32] add extern "C" for header file 2019-01-09 10:12:35 +08:00
SummerGift 710f82d46b [bsp][stm32] optimize falsh && eth driver 2018-12-28 14:16:49 +08:00
SummerGift a80b272048 [bsp][stm32] add f0 flash driver 2018-12-26 10:15:59 +08:00
SummerGift 08bc2b3f5d [bsp][stm32] fix flash bug 2018-12-20 15:04:20 +08:00
Hao Zhu b9b05fff4b [bsp][stm32][stm32f767] 移植片内flash驱动
补全了必要的hal库,stm32f767-fire的sram大小更正为512
2018-12-11 22:53:25 +08:00
SummerGift d509db834b [bsp][stm32] add more drivers for stm32 bsp 2018-12-10 09:48:10 +08:00