https://files.cnblogs.com/files/CodeWorkerLiMing/STM32HAL%E5%BA%93%E5%AD%A6%E4%B9%A0%E2%80%94%E5%B7%A5%E7%A8%8B%E5%BB%BA%E7%AB%8B.7z

具体看参考:https://blog.csdn.net/u011619535/article/details/80159188

文件夹 PATH 列表
卷序列号为 7005-0F54
D:.
│ led.txt

├─BSP
│ stm32l0xx_nucleo_32.c
│ stm32l0xx_nucleo_32.h

├─CORE
│ cmsis_armcc.h
│ core_cm0plus.h
│ core_cmFunc.h
│ core_cmInstr.h
│ core_cmSimd.h
│ startup_stm32l011xx.s
│ stm32l011xx_flash.icf
│ stm32l011xx_sram.icf

├─HAL
│ │ stm32l011xx.h
│ │ stm32l0xx.h
│ │ system_stm32l0xx.h
│ │
│ ├─Inc
│ │ │ stm32l0xx_hal.h
│ │ │ stm32l0xx_hal_adc.h
│ │ │ stm32l0xx_hal_adc_ex.h
│ │ │ stm32l0xx_hal_comp.h
│ │ │ stm32l0xx_hal_comp_ex.h
│ │ │ stm32l0xx_hal_conf_template.h
│ │ │ stm32l0xx_hal_cortex.h
│ │ │ stm32l0xx_hal_crc.h
│ │ │ stm32l0xx_hal_crc_ex.h
│ │ │ stm32l0xx_hal_cryp.h
│ │ │ stm32l0xx_hal_cryp_ex.h
│ │ │ stm32l0xx_hal_dac.h
│ │ │ stm32l0xx_hal_dac_ex.h
│ │ │ stm32l0xx_hal_def.h
│ │ │ stm32l0xx_hal_dma.h
│ │ │ stm32l0xx_hal_firewall.h
│ │ │ stm32l0xx_hal_flash.h
│ │ │ stm32l0xx_hal_flash_ex.h
│ │ │ stm32l0xx_hal_flash_ramfunc.h
│ │ │ stm32l0xx_hal_gpio.h
│ │ │ stm32l0xx_hal_gpio_ex.h
│ │ │ stm32l0xx_hal_i2c.h
│ │ │ stm32l0xx_hal_i2c_ex.h
│ │ │ stm32l0xx_hal_i2s.h
│ │ │ stm32l0xx_hal_irda.h
│ │ │ stm32l0xx_hal_irda_ex.h
│ │ │ stm32l0xx_hal_iwdg.h
│ │ │ stm32l0xx_hal_lcd.h
│ │ │ stm32l0xx_hal_lptim.h
│ │ │ stm32l0xx_hal_lptim_ex.h
│ │ │ stm32l0xx_hal_pcd.h
│ │ │ stm32l0xx_hal_pcd_ex.h
│ │ │ stm32l0xx_hal_pwr.h
│ │ │ stm32l0xx_hal_pwr_ex.h
│ │ │ stm32l0xx_hal_rcc.h
│ │ │ stm32l0xx_hal_rcc_ex.h
│ │ │ stm32l0xx_hal_rng.h
│ │ │ stm32l0xx_hal_rtc.h
│ │ │ stm32l0xx_hal_rtc_ex.h
│ │ │ stm32l0xx_hal_smartcard.h
│ │ │ stm32l0xx_hal_smartcard_ex.h
│ │ │ stm32l0xx_hal_smbus.h
│ │ │ stm32l0xx_hal_spi.h
│ │ │ stm32l0xx_hal_tim.h
│ │ │ stm32l0xx_hal_tim_ex.h
│ │ │ stm32l0xx_hal_tsc.h
│ │ │ stm32l0xx_hal_uart.h
│ │ │ stm32l0xx_hal_uart_ex.h
│ │ │ stm32l0xx_hal_usart.h
│ │ │ stm32l0xx_hal_usart_ex.h
│ │ │ stm32l0xx_hal_wwdg.h
│ │ │ stm32l0xx_ll_adc.h
│ │ │ stm32l0xx_ll_bus.h
│ │ │ stm32l0xx_ll_comp.h
│ │ │ stm32l0xx_ll_cortex.h
│ │ │ stm32l0xx_ll_crc.h
│ │ │ stm32l0xx_ll_crs.h
│ │ │ stm32l0xx_ll_dac.h
│ │ │ stm32l0xx_ll_dma.h
│ │ │ stm32l0xx_ll_exti.h
│ │ │ stm32l0xx_ll_gpio.h
│ │ │ stm32l0xx_ll_i2c.h
│ │ │ stm32l0xx_ll_iwdg.h
│ │ │ stm32l0xx_ll_lptim.h
│ │ │ stm32l0xx_ll_lpuart.h
│ │ │ stm32l0xx_ll_pwr.h
│ │ │ stm32l0xx_ll_rcc.h
│ │ │ stm32l0xx_ll_rng.h
│ │ │ stm32l0xx_ll_rtc.h
│ │ │ stm32l0xx_ll_spi.h
│ │ │ stm32l0xx_ll_system.h
│ │ │ stm32l0xx_ll_tim.h
│ │ │ stm32l0xx_ll_usart.h
│ │ │ stm32l0xx_ll_usb.h
│ │ │ stm32l0xx_ll_utils.h
│ │ │ stm32l0xx_ll_wwdg.h
│ │ │ stm32_assert_template.h
│ │ │
│ │ └─Legacy
│ │ stm32_hal_legacy.h
│ │
│ └─Src
│ stm32l0xx_hal.c
│ stm32l0xx_hal_adc.c
│ stm32l0xx_hal_adc_ex.c
│ stm32l0xx_hal_comp.c
│ stm32l0xx_hal_comp_ex.c
│ stm32l0xx_hal_cortex.c
│ stm32l0xx_hal_crc.c
│ stm32l0xx_hal_crc_ex.c
│ stm32l0xx_hal_cryp.c
│ stm32l0xx_hal_cryp_ex.c
│ stm32l0xx_hal_dac.c
│ stm32l0xx_hal_dac_ex.c
│ stm32l0xx_hal_dma.c
│ stm32l0xx_hal_firewall.c
│ stm32l0xx_hal_flash.c
│ stm32l0xx_hal_flash_ex.c
│ stm32l0xx_hal_flash_ramfunc.c
│ stm32l0xx_hal_gpio.c
│ stm32l0xx_hal_i2c.c
│ stm32l0xx_hal_i2c_ex.c
│ stm32l0xx_hal_i2s.c
│ stm32l0xx_hal_irda.c
│ stm32l0xx_hal_iwdg.c
│ stm32l0xx_hal_lcd.c
│ stm32l0xx_hal_lptim.c
│ stm32l0xx_hal_msp_template.c
│ stm32l0xx_hal_pcd.c
│ stm32l0xx_hal_pcd_ex.c
│ stm32l0xx_hal_pwr.c
│ stm32l0xx_hal_pwr_ex.c
│ stm32l0xx_hal_rcc.c
│ stm32l0xx_hal_rcc_ex.c
│ stm32l0xx_hal_rng.c
│ stm32l0xx_hal_rtc.c
│ stm32l0xx_hal_rtc_ex.c
│ stm32l0xx_hal_smartcard.c
│ stm32l0xx_hal_smartcard_ex.c
│ stm32l0xx_hal_smbus.c
│ stm32l0xx_hal_spi.c
│ stm32l0xx_hal_tim.c
│ stm32l0xx_hal_tim_ex.c
│ stm32l0xx_hal_tsc.c
│ stm32l0xx_hal_uart.c
│ stm32l0xx_hal_uart_ex.c
│ stm32l0xx_hal_usart.c
│ stm32l0xx_hal_wwdg.c
│ stm32l0xx_ll_adc.c
│ stm32l0xx_ll_comp.c
│ stm32l0xx_ll_crc.c
│ stm32l0xx_ll_crs.c
│ stm32l0xx_ll_dac.c
│ stm32l0xx_ll_dma.c
│ stm32l0xx_ll_exti.c
│ stm32l0xx_ll_gpio.c
│ stm32l0xx_ll_i2c.c
│ stm32l0xx_ll_lptim.c
│ stm32l0xx_ll_lpuart.c
│ stm32l0xx_ll_pwr.c
│ stm32l0xx_ll_rcc.c
│ stm32l0xx_ll_rng.c
│ stm32l0xx_ll_rtc.c
│ stm32l0xx_ll_spi.c
│ stm32l0xx_ll_tim.c
│ stm32l0xx_ll_usart.c
│ stm32l0xx_ll_usb.c
│ stm32l0xx_ll_utils.c

├─OBJ
├─Pro
│ │ leddemo.eww
│ │ led_demo.dep
│ │ led_demo.ewd
│ │ led_demo.ewp
│ │ led_demo.ewt
│ │
│ ├─Debug
│ │ ├─Exe
│ │ │ led_demo.out
│ │ │ led_demo.sim
│ │ │
│ │ ├─List
│ │ │ led_demo.map
│ │ │
│ │ └─Obj
│ │ led_demo.pbd
│ │ led_demo.pbd.browse
│ │ led_demo.pbd.linf
│ │ main.o
│ │ main.pbi
│ │ main.pbi.xcl
│ │ startup_stm32l011xx.o
│ │ stm32l0xx_hal.o
│ │ stm32l0xx_hal.pbi
│ │ stm32l0xx_hal.pbi.xcl
│ │ stm32l0xx_hal_adc.o
│ │ stm32l0xx_hal_adc.pbi
│ │ stm32l0xx_hal_adc.pbi.xcl
│ │ stm32l0xx_hal_adc_ex.o
│ │ stm32l0xx_hal_adc_ex.pbi
│ │ stm32l0xx_hal_adc_ex.pbi.xcl
│ │ stm32l0xx_hal_comp.o
│ │ stm32l0xx_hal_comp.pbi
│ │ stm32l0xx_hal_comp.pbi.xcl
│ │ stm32l0xx_hal_comp_ex.o
│ │ stm32l0xx_hal_comp_ex.pbi
│ │ stm32l0xx_hal_comp_ex.pbi.xcl
│ │ stm32l0xx_hal_cortex.o
│ │ stm32l0xx_hal_cortex.pbi
│ │ stm32l0xx_hal_cortex.pbi.xcl
│ │ stm32l0xx_hal_crc.o
│ │ stm32l0xx_hal_crc.pbi
│ │ stm32l0xx_hal_crc.pbi.xcl
│ │ stm32l0xx_hal_crc_ex.o
│ │ stm32l0xx_hal_crc_ex.pbi
│ │ stm32l0xx_hal_crc_ex.pbi.xcl
│ │ stm32l0xx_hal_cryp.o
│ │ stm32l0xx_hal_cryp.pbi
│ │ stm32l0xx_hal_cryp.pbi.xcl
│ │ stm32l0xx_hal_cryp_ex.o
│ │ stm32l0xx_hal_cryp_ex.pbi
│ │ stm32l0xx_hal_cryp_ex.pbi.xcl
│ │ stm32l0xx_hal_dac.o
│ │ stm32l0xx_hal_dac.pbi
│ │ stm32l0xx_hal_dac.pbi.xcl
│ │ stm32l0xx_hal_dac_ex.o
│ │ stm32l0xx_hal_dac_ex.pbi
│ │ stm32l0xx_hal_dac_ex.pbi.xcl
│ │ stm32l0xx_hal_dma.o
│ │ stm32l0xx_hal_dma.pbi
│ │ stm32l0xx_hal_dma.pbi.xcl
│ │ stm32l0xx_hal_firewall.o
│ │ stm32l0xx_hal_firewall.pbi
│ │ stm32l0xx_hal_firewall.pbi.xcl
│ │ stm32l0xx_hal_flash.o
│ │ stm32l0xx_hal_flash.pbi
│ │ stm32l0xx_hal_flash.pbi.xcl
│ │ stm32l0xx_hal_flash_ex.o
│ │ stm32l0xx_hal_flash_ex.pbi
│ │ stm32l0xx_hal_flash_ex.pbi.xcl
│ │ stm32l0xx_hal_flash_ramfunc.o
│ │ stm32l0xx_hal_flash_ramfunc.pbi
│ │ stm32l0xx_hal_flash_ramfunc.pbi.xcl
│ │ stm32l0xx_hal_gpio.o
│ │ stm32l0xx_hal_gpio.pbi
│ │ stm32l0xx_hal_gpio.pbi.xcl
│ │ stm32l0xx_hal_i2c.o
│ │ stm32l0xx_hal_i2c.pbi
│ │ stm32l0xx_hal_i2c.pbi.xcl
│ │ stm32l0xx_hal_i2c_ex.o
│ │ stm32l0xx_hal_i2c_ex.pbi
│ │ stm32l0xx_hal_i2c_ex.pbi.xcl
│ │ stm32l0xx_hal_i2s.o
│ │ stm32l0xx_hal_i2s.pbi
│ │ stm32l0xx_hal_i2s.pbi.xcl
│ │ stm32l0xx_hal_irda.o
│ │ stm32l0xx_hal_irda.pbi
│ │ stm32l0xx_hal_irda.pbi.xcl
│ │ stm32l0xx_hal_iwdg.o
│ │ stm32l0xx_hal_iwdg.pbi
│ │ stm32l0xx_hal_iwdg.pbi.xcl
│ │ stm32l0xx_hal_lcd.o
│ │ stm32l0xx_hal_lcd.pbi
│ │ stm32l0xx_hal_lcd.pbi.xcl
│ │ stm32l0xx_hal_lptim.o
│ │ stm32l0xx_hal_lptim.pbi
│ │ stm32l0xx_hal_lptim.pbi.xcl
│ │ stm32l0xx_hal_msp.o
│ │ stm32l0xx_hal_msp.pbi
│ │ stm32l0xx_hal_msp.pbi.xcl
│ │ stm32l0xx_hal_msp_template.pbi
│ │ stm32l0xx_hal_msp_template.pbi.xcl
│ │ stm32l0xx_hal_pcd.o
│ │ stm32l0xx_hal_pcd.pbi
│ │ stm32l0xx_hal_pcd.pbi.xcl
│ │ stm32l0xx_hal_pcd_ex.o
│ │ stm32l0xx_hal_pcd_ex.pbi
│ │ stm32l0xx_hal_pcd_ex.pbi.xcl
│ │ stm32l0xx_hal_pwr.o
│ │ stm32l0xx_hal_pwr.pbi
│ │ stm32l0xx_hal_pwr.pbi.xcl
│ │ stm32l0xx_hal_pwr_ex.o
│ │ stm32l0xx_hal_pwr_ex.pbi
│ │ stm32l0xx_hal_pwr_ex.pbi.xcl
│ │ stm32l0xx_hal_rcc.o
│ │ stm32l0xx_hal_rcc.pbi
│ │ stm32l0xx_hal_rcc.pbi.xcl
│ │ stm32l0xx_hal_rcc_ex.o
│ │ stm32l0xx_hal_rcc_ex.pbi
│ │ stm32l0xx_hal_rcc_ex.pbi.xcl
│ │ stm32l0xx_hal_rng.o
│ │ stm32l0xx_hal_rng.pbi
│ │ stm32l0xx_hal_rng.pbi.xcl
│ │ stm32l0xx_hal_rtc.o
│ │ stm32l0xx_hal_rtc.pbi
│ │ stm32l0xx_hal_rtc.pbi.xcl
│ │ stm32l0xx_hal_rtc_ex.o
│ │ stm32l0xx_hal_rtc_ex.pbi
│ │ stm32l0xx_hal_rtc_ex.pbi.xcl
│ │ stm32l0xx_hal_smartcard.o
│ │ stm32l0xx_hal_smartcard.pbi
│ │ stm32l0xx_hal_smartcard.pbi.xcl
│ │ stm32l0xx_hal_smartcard_ex.o
│ │ stm32l0xx_hal_smartcard_ex.pbi
│ │ stm32l0xx_hal_smartcard_ex.pbi.xcl
│ │ stm32l0xx_hal_smbus.o
│ │ stm32l0xx_hal_smbus.pbi
│ │ stm32l0xx_hal_smbus.pbi.xcl
│ │ stm32l0xx_hal_spi.o
│ │ stm32l0xx_hal_spi.pbi
│ │ stm32l0xx_hal_spi.pbi.xcl
│ │ stm32l0xx_hal_tim.o
│ │ stm32l0xx_hal_tim.pbi
│ │ stm32l0xx_hal_tim.pbi.xcl
│ │ stm32l0xx_hal_tim_ex.o
│ │ stm32l0xx_hal_tim_ex.pbi
│ │ stm32l0xx_hal_tim_ex.pbi.xcl
│ │ stm32l0xx_hal_tsc.o
│ │ stm32l0xx_hal_tsc.pbi
│ │ stm32l0xx_hal_tsc.pbi.xcl
│ │ stm32l0xx_hal_uart.o
│ │ stm32l0xx_hal_uart.pbi
│ │ stm32l0xx_hal_uart.pbi.xcl
│ │ stm32l0xx_hal_uart_ex.o
│ │ stm32l0xx_hal_uart_ex.pbi
│ │ stm32l0xx_hal_uart_ex.pbi.xcl
│ │ stm32l0xx_hal_usart.o
│ │ stm32l0xx_hal_usart.pbi
│ │ stm32l0xx_hal_usart.pbi.xcl
│ │ stm32l0xx_hal_wwdg.o
│ │ stm32l0xx_hal_wwdg.pbi
│ │ stm32l0xx_hal_wwdg.pbi.xcl
│ │ stm32l0xx_it.o
│ │ stm32l0xx_it.pbi
│ │ stm32l0xx_it.pbi.xcl
│ │ stm32l0xx_nucleo_32.o
│ │ stm32l0xx_nucleo_32.pbi
│ │ stm32l0xx_nucleo_32.pbi.xcl
│ │ system_stm32l0xx.o
│ │ system_stm32l0xx.pbi
│ │ system_stm32l0xx.pbi.xcl
│ │
│ └─settings
│ leddemo.wsdt
│ led_demo.crun
│ led_demo.dbgdt
│ led_demo.Debug.cspy.bat
│ led_demo.Debug.cspy.ps1
│ led_demo.Debug.driver.xcl
│ led_demo.Debug.general.xcl
│ led_demo.dnx
│ led_demo_Debug.jlink

└─USER
├─Inc
│ main.h
│ stm32l0xx_hal_conf.h
│ stm32l0xx_it.h

└─Src
main.c
stm32l0xx_hal_msp.c
stm32l0xx_it.c
system_stm32l0xx.c $PROJ_DIR$\..\BSP
$PROJ_DIR$\..\CORE
$PROJ_DIR$\..\HAL
$PROJ_DIR$\..\HAL\Inc
$PROJ_DIR$\..\USER
$PROJ_DIR$\..\HAL\Inc\Legacy STM32L011XX
USE_STM32L0XX_NUCLEO_32
USE_HAL_DRIVER
这和是预定义

文件目录如下:

  

工程目录如下:

记得删除ll库和各个template.c的文件

stm32L0工程建立(HAL+IAR,无cubemx)的更多相关文章

  1. keil5工程移植到IAR工程

    keil5工程移植到IAR工程 一. 软件版本 MDK-ARM Professional  Version: 5.14.0.0 IAR 8.1 移植工程:基于正点原子开发板建立的STM32F407ZG ...

  2. Davinci DM6446开发攻略——DSP开发工程建立

    前段时间一直忙一个项目,同时在生活上时时提防和抵抗中国地沟油.国外核心转基因调和油.大豆油.色拉油.大米玉米.可怕的喂药鱼.药水泡农药喷无虫咬的青菜,所以没时间打理自己的博客,让开发攻略停顿了一段时间 ...

  3. springcloud工程建立 父工程+公用子模块+微服务提供模块

    建立 Java Working Set:工程多的时候可以展开收缩,方便管理 切换到Package Explorer视图,并点击视图右侧下箭头,选择Working Sets,如下图: 建立父工程,将后续 ...

  4. Eclipse中STM32工程建立步骤

    前段时间一直在折腾linux系统上STM32的开发,网上一顿搜,费劲九牛二虎之力终于把环境搭好了(现在都有点忘了,后面再折腾环境搭建一定要写个教程,今天先不写了). 自从环境搭好之后,就基本抛弃MDK ...

  5. Quartus II——工程建立和常用设置

    Quartus ii是针对Altera FPGA的一款EDA软件,在此以一个led闪烁工程来简单说一下基本操作: 一.注意事项 Quartus ii最大的注意事项就一点:工程名称以及工程里面的文件名称 ...

  6. STM32F407VET6之IAR之ewarm7.80.4工程建立(基于官方固件库1.6版本)

    今天把stm32F407的工程之IAR建立完成了,特此记录下. 下载官方固件库,STM32F4xx_DSP_StdPeriph_Lib_V1.6.1,V1.8.0版本的同理.新建以下几个文件 src放 ...

  7. STM32F407VET6之IAR之ewarm7.80.4工程建立(基于官方固件库1.6版本) 的工程文件目录

    最后整理结构如下所示,├─cmsis│ startup_stm32f401xx.s│ startup_stm32f40xx.s│ startup_stm32f40_41xxx.s│ startup_s ...

  8. HAL库|神器cubemx的正确打开方式

    前言 工欲善其事,必先利其器.HAL库的开发不一定必须使用cubemx,但是使用了cubemx,你绝对不会后悔.基于一些小伙伴对cubemx的使用还有一些疑问,本次小飞哥从新建工程到生成工程,编写应用 ...

  9. HAL库与Cubemx系列|Systick-系统滴答定时器详解

    Systick是什么? 关于Systick,在Context-M3权威指南中如此描述: SysTick定时器被捆绑在NVIC中,用于产生SYSTICK异常(异常号: 15).在以前,大多操作系统需要一 ...

随机推荐

  1. Linux上常用命令整理(一)—— cat

    近几个月刚从windows上转过来,开始慢慢熟悉linux,先不撕比到底哪个更好,首先要怀着相互借鉴的精神去了解各个平台. Linux上做开发,除去使用文本编辑器做开发的大神之外,大家(包括我这种菜鸟 ...

  2. 关于 SQL Server Reporting Services 匿名登录的解决方案

    每次访问报表都需要windows验证,这样的报表给客户确实很说不过去. SSRS 可以匿名登录的设定步骤: 环境: 开发工具:SQL Server Business Intelligence Deve ...

  3. 一个好用的压力测试工具tsung

    一个好用的压力测试工具tsung          前段时间一直在忙各种事情,快三周没弄过引擎了,今天有点时间,正好之前写的服务器引擎也到了收尾测试的阶段,于是就研究了下怎么测试服务器压力.      ...

  4. AJPFX辨析continue与break的区别

    1.break : (1).结束当前整个循环,执行当前循环下边的语句.忽略循环体中任何其它语句和循环条件测试.(2).只能跳出一层循环,如果你的循环是嵌套循环,那么你需要按照你嵌套的层次,逐步使用br ...

  5. java内存分配(堆、栈、常量池)

    Java内存分配: ◆寄存器:我们在程序中无法控制 ◆栈:存放基本类型的数据和对象的引用,以及成员方法中的局部变量 ◆堆:存放对象本身(成员变量+成员方法的引用) ◆静态域:存放在对象中用static ...

  6. 【extjs6学习笔记】1.3 初始:根据模板创建项目

    使用sencha创建应用 命令说明:sencha -sdk /path/to/sdk generate app -s /your/templates/path/ MyApp /path/to/myap ...

  7. 宿主机Windows访问虚拟机Linux文件(一)

    如果用户使用windows操作系统,但是在虚拟机下配置Linux内核操作操作系统,往往需要实现通过宿主机Windows操作系统访问Linux内核操作系统中资源.本次实验实现的是宿主机windows 1 ...

  8. Image(支持 XML 序列化),注意C#中原生的Image类是无法进行Xml序列化的

    /// <summary> /// Image(支持 XML 序列化) /// </summary> [XmlRoot("XmlImage")] publi ...

  9. 一键部署启动MySQL数据库服务器

    https://market.azure.cn/Vhd/Show?vhdId=9858&version=14359 产品详情 产品介绍MySQL是一个真正的多用户.多线程SQL数据库服务器.S ...

  10. 火狐浏览器不支持location.reload()(以改变页面大小时重新刷新页面为例)

    背景:当页面大小改变时需要重新刷新页面,以适应相应的尺寸 解决方法: var url = window.location.href; var parm = parseInt(Math.random() ...