Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2301_76519099
rt-thread
提交
f26dc89d
R
rt-thread
项目概览
2301_76519099
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
3
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f26dc89d
编写于
11月 08, 2021
作者:
L
liukangcc
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[update] rtconfig.py
上级
bae07bda
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
47 addition
and
47 deletion
+47
-47
bsp/stm32/libraries/STM32L5xx_HAL/SConscript
bsp/stm32/libraries/STM32L5xx_HAL/SConscript
+44
-44
bsp/stm32/stm32l552-st-nucleo/rtconfig.py
bsp/stm32/stm32l552-st-nucleo/rtconfig.py
+3
-3
未找到文件。
bsp/stm32/libraries/STM32L5xx_HAL/SConscript
浏览文件 @
f26dc89d
...
...
@@ -27,88 +27,88 @@ STM32L5xx_HAL_Driver/Src/STM32l5xx_hal_gpio.c
'''
)
if
GetDepend
([
'RT_USING_SERIAL'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_uart.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_uart_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_usart.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_usart_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_uart.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_uart_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_usart.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_usart_ex.c'
]
if
GetDepend
([
'RT_USING_I2C'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_i2c.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_i2c_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_i2c.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_i2c_ex.c'
]
if
GetDepend
([
'RT_USING_SPI'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_spi.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_spi_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_qspi.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_spi.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_spi_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_qspi.c'
]
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_hcd.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_pcd.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_pcd_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_ll_usb.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_hcd.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_pcd.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_pcd_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_ll_usb.c'
]
if
GetDepend
([
'RT_USING_CAN'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_can.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_can.c'
]
if
GetDepend
([
'RT_USING_HWTIMER'
])
or
GetDepend
([
'RT_USING_PWM'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_lptim.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_tim.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_tim_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_lptim.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_tim.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_tim_ex.c'
]
if
GetDepend
([
'RT_USING_ADC'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_adc.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_adc_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_adc.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_adc_ex.c'
]
if
GetDepend
([
'RT_USING_DAC'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_dac.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_dac_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_dac.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_dac_ex.c'
]
if
GetDepend
([
'RT_USING_RTC'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_rtc.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_rtc_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_rtc.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_rtc_ex.c'
]
if
GetDepend
([
'RT_USING_WDT'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_iwdg.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_wwdg.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_iwdg.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_wwdg.c'
]
if
GetDepend
([
'RT_USING_SDIO'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_sd.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_sd_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_ll_sdmmc.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_sd.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_sd_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_ll_sdmmc.c'
]
if
GetDepend
([
'RT_USING_AUDIO'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_sai.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_sai_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_sai.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_sai_ex.c'
]
if
GetDepend
([
'RT_USING_MTD_NOR'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_nor.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_nor.c'
]
if
GetDepend
([
'RT_USING_MTD_NAND'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_nand.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_nand.c'
]
if
GetDepend
([
'RT_USING_PM'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_lptim.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_lptim.c'
]
if
GetDepend
([
'BSP_USING_ON_CHIP_FLASH'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_flash.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_flash_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_flash_ramfunc.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_flash.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_flash_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_flash_ramfunc.c'
]
if
GetDepend
([
'BSP_USING_FMC'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_ll_fmc.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_ll_fmc.c'
]
if
GetDepend
([
'BSP_USING_GFXMMU'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_gfxmmu.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_gfxmmu.c'
]
if
GetDepend
([
'BSP_USING_DSI'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_dsi.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_dma2d.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_ll_dma2d.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_ltdc.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_ltdc_ex.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_dsi.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_dma2d.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_ll_dma2d.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_ltdc.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_ltdc_ex.c'
]
if
GetDepend
([
'BSP_USING_SRAM'
]):
src
+=
[
'STM32L5xx_HAL_Driver/Src/
STM
32l5xx_hal_sram.c'
]
src
+=
[
'STM32L5xx_HAL_Driver/Src/
stm
32l5xx_hal_sram.c'
]
...
...
bsp/stm32/stm32l552-st-nucleo/rtconfig.py
浏览文件 @
f26dc89d
...
...
@@ -43,7 +43,7 @@ if PLATFORM == 'gcc':
OBJDUMP
=
PREFIX
+
'objdump'
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcpu=cortex-m33 -mthumb -mfpu=fpv
4
-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
DEVICE
=
' -mcpu=cortex-m33 -mthumb -mfpu=fpv
5
-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -Dgcc'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rt-thread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'
...
...
@@ -104,7 +104,7 @@ elif PLATFORM == 'armclang':
DEVICE
=
' --cpu Cortex-M33.fp '
CFLAGS
=
' --target=arm-arm-none-eabi -mcpu=cortex-m4 '
CFLAGS
+=
' -mcpu=cortex-m33 -mfpu=fpv
4
-sp-d16 '
CFLAGS
+=
' -mcpu=cortex-m33 -mfpu=fpv
5
-sp-d16 '
CFLAGS
+=
' -mfloat-abi=hard -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar '
CFLAGS
+=
' -gdwarf-3 -ffunction-sections '
AFLAGS
=
DEVICE
+
' --apcs=interwork '
...
...
@@ -159,7 +159,7 @@ elif PLATFORM == 'iar':
AFLAGS
+=
' -w+'
AFLAGS
+=
' -r'
AFLAGS
+=
' --cpu Cortex-M33'
AFLAGS
+=
' --fpu VFPv
4
_sp'
AFLAGS
+=
' --fpu VFPv
5
_sp'
AFLAGS
+=
' -S'
if
BUILD
==
'debug'
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录