Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
AdRainty
rt-thread
提交
ab508bee
R
rt-thread
项目概览
AdRainty
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
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,发现更多精彩内容 >>
提交
ab508bee
编写于
11月 23, 2020
作者:
xuzhuoyi96
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp][stm32] Fix stm32f429-st-disco compilation errors
上级
ad8d95b1
变更
11
展开全部
隐藏空白更改
内联
并排
Showing
11 changed file
with
1536 addition
and
912 deletion
+1536
-912
bsp/stm32/stm32f429-st-disco/.config
bsp/stm32/stm32f429-st-disco/.config
+23
-35
bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.icf
bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.icf
+1
-1
bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.lds
bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.lds
+2
-2
bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.sct
bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.sct
+3
-3
bsp/stm32/stm32f429-st-disco/project.uvoptx
bsp/stm32/stm32f429-st-disco/project.uvoptx
+1157
-1
bsp/stm32/stm32f429-st-disco/project.uvproj
bsp/stm32/stm32f429-st-disco/project.uvproj
+216
-526
bsp/stm32/stm32f429-st-disco/project.uvprojx
bsp/stm32/stm32f429-st-disco/project.uvprojx
+124
-327
bsp/stm32/stm32f429-st-disco/rtconfig.h
bsp/stm32/stm32f429-st-disco/rtconfig.h
+1
-8
bsp/stm32/stm32f429-st-disco/stm32_rom.ld
bsp/stm32/stm32f429-st-disco/stm32_rom.ld
+3
-3
bsp/stm32/stm32f429-st-disco/stm32_rom.sct
bsp/stm32/stm32f429-st-disco/stm32_rom.sct
+3
-3
bsp/stm32/stm32f429-st-disco/stm32f429_flash.icf
bsp/stm32/stm32f429-st-disco/stm32f429_flash.icf
+3
-3
未找到文件。
bsp/stm32/stm32f429-st-disco/.config
浏览文件 @
ab508bee
...
...
@@ -135,6 +135,7 @@ CONFIG_RT_USING_I2C=y
# CONFIG_RT_I2C_DEBUG is not set
CONFIG_RT_USING_I2C_BITOPS
=
y
# CONFIG_RT_I2C_BITOPS_DEBUG is not set
# CONFIG_RT_USING_PHY is not set
CONFIG_RT_USING_PIN
=
y
# CONFIG_RT_USING_ADC is not set
# CONFIG_RT_USING_DAC is not set
...
...
@@ -145,6 +146,11 @@ CONFIG_RT_USING_PIN=y
# CONFIG_RT_USING_RTC is not set
# CONFIG_RT_USING_SDIO is not set
CONFIG_RT_USING_SPI
=
y
# CONFIG_RT_USING_QSPI is not set
# CONFIG_RT_USING_SPI_MSD is not set
# CONFIG_RT_USING_SFUD is not set
# CONFIG_RT_USING_ENC28J60 is not set
# CONFIG_RT_USING_SPI_WIFI is not set
# CONFIG_RT_USING_WDT is not set
# CONFIG_RT_USING_AUDIO is not set
# CONFIG_RT_USING_SENSOR is not set
...
...
@@ -164,11 +170,11 @@ CONFIG_RT_USING_SPI=y
# POSIX layer and C standard library
#
CONFIG_RT_USING_LIBC
=
y
CONFIG_RT_USING_PTHREADS
=
y
CONFIG_PTHREAD_NUM_MAX
=
8
# CONFIG_RT_USING_PTHREADS is not set
CONFIG_RT_USING_POSIX
=
y
# CONFIG_RT_USING_POSIX_MMAP is not set
# CONFIG_RT_USING_POSIX_TERMIOS is not set
# CONFIG_RT_USING_POSIX_GETLINE is not set
# CONFIG_RT_USING_POSIX_AIO is not set
# CONFIG_RT_USING_MODULE is not set
...
...
@@ -287,6 +293,9 @@ CONFIG_RT_USING_POSIX=y
# CONFIG_PKG_USING_RT_CJSON_TOOLS is not set
# CONFIG_PKG_USING_AGILE_TELNET is not set
# CONFIG_PKG_USING_NMEALIB is not set
# CONFIG_PKG_USING_AGILE_JSMN is not set
# CONFIG_PKG_USING_PDULIB is not set
# CONFIG_PKG_USING_BTSTACK is not set
#
# security packages
...
...
@@ -312,6 +321,7 @@ CONFIG_RT_USING_POSIX=y
# CONFIG_PKG_USING_STEMWIN is not set
# CONFIG_PKG_USING_WAVPLAYER is not set
# CONFIG_PKG_USING_TJPGD is not set
# CONFIG_PKG_USING_HELIX is not set
#
# tools packages
...
...
@@ -332,6 +342,7 @@ CONFIG_RT_USING_POSIX=y
# CONFIG_PKG_USING_BS8116A is not set
# CONFIG_PKG_USING_GPS_RMC is not set
# CONFIG_PKG_USING_URLENCODE is not set
# CONFIG_PKG_USING_UMCN is not set
#
# system packages
...
...
@@ -359,6 +370,8 @@ CONFIG_RT_USING_POSIX=y
# CONFIG_PKG_USING_RAMDISK is not set
# CONFIG_PKG_USING_MININI is not set
# CONFIG_PKG_USING_QBOOT is not set
# CONFIG_PKG_USING_UCOSIII_WRAPPER is not set
# CONFIG_PKG_USING_PPOOL is not set
#
# peripheral libraries and drivers
...
...
@@ -409,6 +422,10 @@ CONFIG_RT_USING_POSIX=y
# CONFIG_PKG_USING_QLED is not set
# CONFIG_PKG_USING_PAJ7620 is not set
# CONFIG_PKG_USING_AGILE_CONSOLE is not set
# CONFIG_PKG_USING_LD3320 is not set
# CONFIG_PKG_USING_WK2124 is not set
# CONFIG_PKG_USING_LY68L6400 is not set
# CONFIG_PKG_USING_DM9051 is not set
#
# miscellaneous packages
...
...
@@ -446,39 +463,10 @@ CONFIG_RT_USING_POSIX=y
# CONFIG_PKG_USING_ULAPACK is not set
# CONFIG_PKG_USING_UKAL is not set
# CONFIG_PKG_USING_CRCLIB is not set
#
# Privated Packages of RealThread
#
# CONFIG_PKG_USING_CODEC is not set
# CONFIG_PKG_USING_PLAYER is not set
# CONFIG_PKG_USING_MPLAYER is not set
# CONFIG_PKG_USING_PERSIMMON_SRC is not set
# CONFIG_PKG_USING_JS_PERSIMMON is not set
# CONFIG_PKG_USING_JERRYSCRIPT_WIN32 is not set
#
# Network Utilities
#
# CONFIG_PKG_USING_WICED is not set
# CONFIG_PKG_USING_CLOUDSDK is not set
# CONFIG_PKG_USING_POWER_MANAGER is not set
# CONFIG_PKG_USING_RT_OTA is not set
# CONFIG_PKG_USING_RDBD_SRC is not set
# CONFIG_PKG_USING_RTINSIGHT is not set
# CONFIG_PKG_USING_SMARTCONFIG is not set
# CONFIG_PKG_USING_RTX is not set
# CONFIG_RT_USING_TESTCASE is not set
# CONFIG_PKG_USING_NGHTTP2 is not set
# CONFIG_PKG_USING_AVS is not set
# CONFIG_PKG_USING_ALI_LINKKIT is not set
# CONFIG_PKG_USING_STS is not set
# CONFIG_PKG_USING_DLMS is not set
# CONFIG_PKG_USING_AUDIO_FRAMEWORK is not set
# CONFIG_PKG_USING_ZBAR is not set
# CONFIG_PKG_USING_MCF is not set
# CONFIG_PKG_USING_URPC is not set
# CONFIG_PKG_USING_BSAL is not set
# CONFIG_PKG_USING_THREES is not set
# CONFIG_PKG_USING_2048 is not set
# CONFIG_PKG_USING_LWGPS is not set
# CONFIG_PKG_USING_TENSORFLOWLITEMICRO is not set
CONFIG_SOC_FAMILY_STM32
=
y
CONFIG_SOC_SERIES_STM32F4
=
y
...
...
bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.icf
浏览文件 @
ab508bee
...
...
@@ -5,7 +5,7 @@
define symbol __ICFEDIT_intvec_start__ = 0x08000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x08
0
FFFFF;
define symbol __ICFEDIT_region_ROM_end__ = 0x08
1
FFFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
/*-Sizes-*/
...
...
bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.lds
浏览文件 @
ab508bee
/*
* linker script for STM32F4xx with GNU ld
* linker script for STM32F4
29
xx with GNU ld
* bernard.xiong 2009-10-14
*/
...
...
@@ -7,7 +7,7 @@
MEMORY
{
ROM (rx) : ORIGIN = 0x08000000, LENGTH = 2048k /* 2048KB flash */
RAM (rw) : ORIGIN = 0x20000000, LENGTH =
320k /* 320
K sram */
RAM (rw) : ORIGIN = 0x20000000, LENGTH =
192k /* 192
K sram */
}
ENTRY(Reset_Handler)
_system_stack_size = 0x200;
...
...
bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.sct
浏览文件 @
ab508bee
...
...
@@ -2,13 +2,13 @@
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
LR_IROM1 0x08000000 0x00
1
00000 { ; load region size_region
ER_IROM1 0x08000000 0x00
1
00000 { ; load address = execution address
LR_IROM1 0x08000000 0x00
2
00000 { ; load region size_region
ER_IROM1 0x08000000 0x00
2
00000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
RW_IRAM1 0x20000000 0x000
2
0000 { ; RW data
RW_IRAM1 0x20000000 0x000
3
0000 { ; RW data
.ANY (+RW +ZI)
}
}
...
...
bsp/stm32/stm32f429-st-disco/project.uvoptx
浏览文件 @
ab508bee
此差异已折叠。
点击以展开。
bsp/stm32/stm32f429-st-disco/project.uvproj
浏览文件 @
ab508bee
此差异已折叠。
点击以展开。
bsp/stm32/stm32f429-st-disco/project.uvprojx
浏览文件 @
ab508bee
此差异已折叠。
点击以展开。
bsp/stm32/stm32f429-st-disco/rtconfig.h
浏览文件 @
ab508bee
...
...
@@ -93,14 +93,13 @@
#define RT_USING_I2C_BITOPS
#define RT_USING_PIN
#define RT_USING_SPI
/* Using USB */
/* POSIX layer and C standard library */
#define RT_USING_LIBC
#define RT_USING_PTHREADS
#define PTHREAD_NUM_MAX 8
#define RT_USING_POSIX
/* Network */
...
...
@@ -162,12 +161,6 @@
/* samples: kernel and components samples */
/* Privated Packages of RealThread */
/* Network Utilities */
#define SOC_FAMILY_STM32
#define SOC_SERIES_STM32F4
...
...
bsp/stm32/stm32f429-st-disco/stm32_rom.ld
浏览文件 @
ab508bee
/*
* linker script for STM32F
10
x with GNU ld
* linker script for STM32F
429x
x with GNU ld
* bernard.xiong 2009-10-14
*/
/* Program Entry, set to mark it as "used" and avoid gc */
MEMORY
{
CODE (rx) : ORIGIN = 0x08000000, LENGTH =
1024
k /* 1024KB flash */
DATA (rw) : ORIGIN = 0x20000000, LENGTH = 1
28
k /* 128K sram */
CODE (rx) : ORIGIN = 0x08000000, LENGTH =
2048
k /* 1024KB flash */
DATA (rw) : ORIGIN = 0x20000000, LENGTH = 1
92
k /* 128K sram */
}
ENTRY(Reset_Handler)
_system_stack_size = 0x200;
...
...
bsp/stm32/stm32f429-st-disco/stm32_rom.sct
浏览文件 @
ab508bee
...
...
@@ -2,13 +2,13 @@
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
LR_IROM1 0x08000000 0x00
1
00000 { ; load region size_region
ER_IROM1 0x08000000 0x00
1
00000 { ; load address = execution address
LR_IROM1 0x08000000 0x00
2
00000 { ; load region size_region
ER_IROM1 0x08000000 0x00
2
00000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
RW_IRAM1 0x20000000 0x000
2
0000 { ; RW data
RW_IRAM1 0x20000000 0x000
3
0000 { ; RW data
.ANY (+RW +ZI)
}
}
...
...
bsp/stm32/stm32f429-st-disco/stm32f429_flash.icf
浏览文件 @
ab508bee
...
...
@@ -2,10 +2,10 @@
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0x08000000;
define symbol __ICFEDIT_intvec_start__ = 0x08000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x08
0FFFFF;
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x08
1FFFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
/*-Sizes-*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录