Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PHPmihuan
rt-thread
提交
f549c792
R
rt-thread
项目概览
PHPmihuan
/
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,发现更多精彩内容 >>
提交
f549c792
编写于
12月 17, 2020
作者:
T
thread-liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[update] stm32mp1 mdk link script file.
上级
95130a90
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
44 addition
and
70 deletion
+44
-70
bsp/stm32/libraries/STM32MPxx_HAL/SConscript
bsp/stm32/libraries/STM32MPxx_HAL/SConscript
+0
-4
bsp/stm32/stm32mp157a-st-discovery/board/CubeMX_Config/CM4/Src/stm32mp1xx_hal_msp.c
...iscovery/board/CubeMX_Config/CM4/Src/stm32mp1xx_hal_msp.c
+4
-4
bsp/stm32/stm32mp157a-st-discovery/board/board.h
bsp/stm32/stm32mp157a-st-discovery/board/board.h
+7
-12
bsp/stm32/stm32mp157a-st-discovery/board/linker_scripts/link.sct
...32/stm32mp157a-st-discovery/board/linker_scripts/link.sct
+8
-16
bsp/stm32/stm32mp157a-st-discovery/template.uvoptx
bsp/stm32/stm32mp157a-st-discovery/template.uvoptx
+2
-2
bsp/stm32/stm32mp157a-st-discovery/template.uvprojx
bsp/stm32/stm32mp157a-st-discovery/template.uvprojx
+3
-8
bsp/stm32/stm32mp157a-st-ev1/board/CubeMX_Config/CM4/Src/stm32mp1xx_hal_msp.c
...a-st-ev1/board/CubeMX_Config/CM4/Src/stm32mp1xx_hal_msp.c
+5
-4
bsp/stm32/stm32mp157a-st-ev1/board/Kconfig
bsp/stm32/stm32mp157a-st-ev1/board/Kconfig
+1
-1
bsp/stm32/stm32mp157a-st-ev1/board/linker_scripts/link.sct
bsp/stm32/stm32mp157a-st-ev1/board/linker_scripts/link.sct
+8
-8
bsp/stm32/stm32mp157a-st-ev1/template.uvoptx
bsp/stm32/stm32mp157a-st-ev1/template.uvoptx
+2
-2
bsp/stm32/stm32mp157a-st-ev1/template.uvprojx
bsp/stm32/stm32mp157a-st-ev1/template.uvprojx
+4
-9
未找到文件。
bsp/stm32/libraries/STM32MPxx_HAL/SConscript
浏览文件 @
f549c792
...
@@ -104,10 +104,6 @@ if GetDepend(['BSP_USING_DFSDM']):
...
@@ -104,10 +104,6 @@ if GetDepend(['BSP_USING_DFSDM']):
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_dfsdm.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_dfsdm.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_dfsdm_ex.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_dfsdm_ex.c'
]
if
GetDepend
([
'BSP_USING_SDMMC'
]):
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_ll_sdmmc.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_sd.c'
]
if
GetDepend
([
'BSP_USING_HASH'
]):
if
GetDepend
([
'BSP_USING_HASH'
]):
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_hash.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_hash.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_hash_ex.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_hash_ex.c'
]
...
...
bsp/stm32/stm32mp157a-st-discovery/board/CubeMX_Config/CM4/Src/stm32mp1xx_hal_msp.c
浏览文件 @
f549c792
...
@@ -74,10 +74,10 @@ void HAL_MspInit(void)
...
@@ -74,10 +74,10 @@ void HAL_MspInit(void)
/* System interrupt init*/
/* System interrupt init*/
/* USER CODE BEGIN MspInit 1 */
/* USER CODE BEGIN MspInit 1 */
#if !defined(BSP_USING_OPENAMP)
if
(
IS_ENGINEERING_BOOT_MODE
())
__HAL_RCC_SYSRAM_CLK_ENABLE
();
{
__HAL_RCC_RET
RAM_CLK_ENABLE
();
__HAL_RCC_SYS
RAM_CLK_ENABLE
();
#endif
}
HAL_NVIC_SetPriority
(
RCC_WAKEUP_IRQn
,
0
,
0
);
HAL_NVIC_SetPriority
(
RCC_WAKEUP_IRQn
,
0
,
0
);
HAL_NVIC_EnableIRQ
(
RCC_WAKEUP_IRQn
);
HAL_NVIC_EnableIRQ
(
RCC_WAKEUP_IRQn
);
...
...
bsp/stm32/stm32mp157a-st-discovery/board/board.h
浏览文件 @
f549c792
...
@@ -23,20 +23,15 @@ extern "C" {
...
@@ -23,20 +23,15 @@ extern "C" {
#endif
#endif
#define STM32_FLASH_START_ADRESS ((uint32_t)0x10000000)
#define STM32_FLASH_START_ADRESS ((uint32_t)0x10000000)
#if defined(BSP_USING_OPENAMP)
#define STM32_FLASH_SIZE (192 * 1024)
#define STM32_FLASH_SIZE (64 * 1024)
#else
#define STM32_FLASH_SIZE (256 * 1024)
#endif
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
#if defined(BSP_USING_OPENAMP)
#if defined(BSP_USING_OPENAMP)
#define STM32_SRAM_BEGIN (uint32_t)0x10030000
#define STM32_SRAM_BEGIN (uint32_t)0x10030000
#else
#else
#define STM32_SRAM_BEGIN (uint32_t)0x2FFF0000
#define STM32_SRAM_BEGIN (uint32_t)0x2FFF0000
#endif
#endif
#define STM32_SRAM_SIZE (64)
#define STM32_SRAM_SIZE (64)
#define STM32_SRAM_END (STM32_SRAM_BEGIN + (STM32_SRAM_SIZE * 1024))
#define STM32_SRAM_END (STM32_SRAM_BEGIN + (STM32_SRAM_SIZE * 1024))
#define HEAP_BEGIN STM32_SRAM_BEGIN
#define HEAP_BEGIN STM32_SRAM_BEGIN
...
...
bsp/stm32/stm32mp157a-st-discovery/board/linker_scripts/link.sct
浏览文件 @
f549c792
...
@@ -8,28 +8,20 @@ LR_VECTORS 0x00000000 0x00000400 { ; load region size_region
...
@@ -8,28 +8,20 @@ LR_VECTORS 0x00000000 0x00000400 { ; load region size_region
}
}
}
}
LR_IROM1 0x10000000 0x000
2
0000 { ; load region size_region
LR_IROM1 0x10000000 0x000
3
0000 { ; load region size_region
ER_IROM1 0x10000000 0x000
2
0000 { ; load address = execution address
ER_IROM1 0x10000000 0x000
3
0000 { ; load address = execution address
*(InRoot$$Sections)
*(InRoot$$Sections)
.ANY (+RO)
.ANY (+RO)
.ANY (+XO)
.ANY (+XO)
}
}
RW_IRAM1 0x100
20000 0x0005
0000 { ; RW data
RW_IRAM1 0x100
30000 0x0001
0000 { ; RW data
.ANY (+RW +ZI)
.ANY (+RW +ZI)
}
}
; RW_IRAM2 0x10020000 0x00020000 { ; RW data
; .ANY (+RW +ZI)
; }
; ***** Create region for OPENAMP *****
; RW_IRAM3 0x10040000 0x00010000 { ; RW data
; *** These 4 lines can be commented if OPENAMP is not used *****
; .ANY (+RW +ZI)
; }
; RW_IRAM4 0x10050000 0x00010000 { ; RW data
; .ANY (+RW +ZI)
; }
; ***** To uncomment these 4 lines if OPENAMP used *****
; *** Create region for OPENAMP ***
.resource_table +0 ALIGN 4 { ; resource table
.resource_table +0 ALIGN 4 { ; resource table
*(.resource_table)
*(.resource_table)
}
} __OpenAMP_SHMEM__ 0x10040000 EMPTY 0x8000 {} ; Shared Memory area used by OpenAMP
__OpenAMP_SHMEM__ 0x10050000 EMPTY 0x8000 {} ; Shared Memory area used by OpenAMP
}
}
bsp/stm32/stm32mp157a-st-discovery/template.uvoptx
浏览文件 @
f549c792
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<aExt>
*.s*; *.src; *.a*
</aExt>
<aExt>
*.s*; *.src; *.a*
</aExt>
<oExt>
*.obj; *.o
</oExt>
<oExt>
*.obj; *.o
</oExt>
<lExt>
*.lib
</lExt>
<lExt>
*.lib
</lExt>
<tExt>
*.txt; *.h; *.inc
</tExt>
<tExt>
*.txt; *.h; *.inc
; *.md
</tExt>
<pExt>
*.plm
</pExt>
<pExt>
*.plm
</pExt>
<CppX>
*.cpp
</CppX>
<CppX>
*.cpp
</CppX>
<nMigrate>
0
</nMigrate>
<nMigrate>
0
</nMigrate>
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
<SetRegEntry>
<SetRegEntry>
<Number>
0
</Number>
<Number>
0
</Number>
<Key>
ST-LINKIII-KEIL_SWO
</Key>
<Key>
ST-LINKIII-KEIL_SWO
</Key>
<Name>
-U066
DFF343339415043182234 -O206 -SF10000 -C0 -A2 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(6BA02477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD1002
0000 -FC1000 -FN0
</Name>
<Name>
-U066
6FF343339415043182420 -O206 -SF10000 -C0 -A2 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(6BA02477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD1003
0000 -FC1000 -FN0
</Name>
</SetRegEntry>
</SetRegEntry>
</TargetDriverDllRegistry>
</TargetDriverDllRegistry>
<Breakpoint/>
<Breakpoint/>
...
...
bsp/stm32/stm32mp157a-st-discovery/template.uvprojx
浏览文件 @
f549c792
...
@@ -276,7 +276,7 @@
...
@@ -276,7 +276,7 @@
<OCR_RVCT4>
<OCR_RVCT4>
<Type>
1
</Type>
<Type>
1
</Type>
<StartAddress>
0x10000000
</StartAddress>
<StartAddress>
0x10000000
</StartAddress>
<Size>
0x
2
0000
</Size>
<Size>
0x
3
0000
</Size>
</OCR_RVCT4>
</OCR_RVCT4>
<OCR_RVCT5>
<OCR_RVCT5>
<Type>
1
</Type>
<Type>
1
</Type>
...
@@ -300,8 +300,8 @@
...
@@ -300,8 +300,8 @@
</OCR_RVCT8>
</OCR_RVCT8>
<OCR_RVCT9>
<OCR_RVCT9>
<Type>
0
</Type>
<Type>
0
</Type>
<StartAddress>
0x100
2
0000
</StartAddress>
<StartAddress>
0x100
3
0000
</StartAddress>
<Size>
0x
2
0000
</Size>
<Size>
0x
1
0000
</Size>
</OCR_RVCT9>
</OCR_RVCT9>
<OCR_RVCT10>
<OCR_RVCT10>
<Type>
0
</Type>
<Type>
0
</Type>
...
@@ -397,11 +397,6 @@
...
@@ -397,11 +397,6 @@
<Layers>
<Layers>
<Layer>
<Layer>
<LayName>
<
Project Info
>
</LayName>
<LayName>
<
Project Info
>
</LayName>
<LayDesc></LayDesc>
<LayUrl></LayUrl>
<LayKeys></LayKeys>
<LayCat></LayCat>
<LayLic></LayLic>
<LayTarg>
0
</LayTarg>
<LayTarg>
0
</LayTarg>
<LayPrjMark>
1
</LayPrjMark>
<LayPrjMark>
1
</LayPrjMark>
</Layer>
</Layer>
...
...
bsp/stm32/stm32mp157a-st-ev1/board/CubeMX_Config/CM4/Src/stm32mp1xx_hal_msp.c
浏览文件 @
f549c792
...
@@ -81,10 +81,11 @@ void HAL_MspInit(void)
...
@@ -81,10 +81,11 @@ void HAL_MspInit(void)
/* System interrupt init*/
/* System interrupt init*/
/* USER CODE BEGIN MspInit 1 */
/* USER CODE BEGIN MspInit 1 */
#if !defined(BSP_USING_OPENAMP)
if
(
IS_ENGINEERING_BOOT_MODE
())
__HAL_RCC_SYSRAM_CLK_ENABLE
();
{
__HAL_RCC_RETRAM_CLK_ENABLE
();
__HAL_RCC_SYSRAM_CLK_ENABLE
();
#endif
__HAL_RCC_RETRAM_CLK_ENABLE
();
}
HAL_NVIC_SetPriority
(
RCC_WAKEUP_IRQn
,
0
,
0
);
HAL_NVIC_SetPriority
(
RCC_WAKEUP_IRQn
,
0
,
0
);
HAL_NVIC_EnableIRQ
(
RCC_WAKEUP_IRQn
);
HAL_NVIC_EnableIRQ
(
RCC_WAKEUP_IRQn
);
...
...
bsp/stm32/stm32mp157a-st-ev1/board/Kconfig
浏览文件 @
f549c792
...
@@ -77,7 +77,7 @@ menu "Onboard Peripheral Drivers"
...
@@ -77,7 +77,7 @@ menu "Onboard Peripheral Drivers"
if BSP_USING_EMMC
if BSP_USING_EMMC
config EMMC_USING_DFS
config EMMC_USING_DFS
bool "emmc card fatfs"
bool "emmc card fatfs"
default
n
default
y
endif
endif
endif
endif
...
...
bsp/stm32/stm32mp157a-st-ev1/board/linker_scripts/link.sct
浏览文件 @
f549c792
...
@@ -8,20 +8,20 @@ LR_VECTORS 0x00000000 0x00000400 { ; load region size_region
...
@@ -8,20 +8,20 @@ LR_VECTORS 0x00000000 0x00000400 { ; load region size_region
}
}
}
}
LR_IROM1 0x10000000 0x000
4
0000 { ; load region size_region
LR_IROM1 0x10000000 0x000
3
0000 { ; load region size_region
ER_IROM1 0x10000000 0x000
4
0000 { ; load address = execution address
ER_IROM1 0x10000000 0x000
3
0000 { ; load address = execution address
*(InRoot$$Sections)
*(InRoot$$Sections)
.ANY (+RO)
.ANY (+RO)
.ANY (+XO)
.ANY (+XO)
}
}
RW_IRAM1 0x100
5
0000 0x00010000 { ; RW data
RW_IRAM1 0x100
3
0000 0x00010000 { ; RW data
.ANY (+RW +ZI)
.ANY (+RW +ZI)
}
}
;
;
***** Create region for OPENAMP *****
; ***** Create region for OPENAMP *****
;
;
*** These 4 lines can be commented if OPENAMP is not used *****
; *** These 4 lines can be commented if OPENAMP is not used *****
;
.resource_table +0 ALIGN 4 { ; resource table
.resource_table +0 ALIGN 4 { ; resource table
;
*(.resource_table)
*(.resource_table)
;
} __OpenAMP_SHMEM__ 0x10040000 EMPTY 0x8000 {} ; Shared Memory area used by OpenAMP
} __OpenAMP_SHMEM__ 0x10040000 EMPTY 0x8000 {} ; Shared Memory area used by OpenAMP
}
}
bsp/stm32/stm32mp157a-st-ev1/template.uvoptx
浏览文件 @
f549c792
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<aExt>
*.s*; *.src; *.a*
</aExt>
<aExt>
*.s*; *.src; *.a*
</aExt>
<oExt>
*.obj; *.o
</oExt>
<oExt>
*.obj; *.o
</oExt>
<lExt>
*.lib
</lExt>
<lExt>
*.lib
</lExt>
<tExt>
*.txt; *.h; *.inc
</tExt>
<tExt>
*.txt; *.h; *.inc
; *.md
</tExt>
<pExt>
*.plm
</pExt>
<pExt>
*.plm
</pExt>
<CppX>
*.cpp
</CppX>
<CppX>
*.cpp
</CppX>
<nMigrate>
0
</nMigrate>
<nMigrate>
0
</nMigrate>
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
<SetRegEntry>
<SetRegEntry>
<Number>
0
</Number>
<Number>
0
</Number>
<Key>
ST-LINKIII-KEIL_SWO
</Key>
<Key>
ST-LINKIII-KEIL_SWO
</Key>
<Name>
-U066
BFF343339415043223048 -O206 -SF10000 -C0 -A2 -I0 -HNlocalhost -HP7184 -P1 -N00("") -D00(00000000) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8000 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD1005
0000 -FC1000 -FN0
</Name>
<Name>
-U066
6FF343339415043182420 -O206 -SF10000 -C0 -A2 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(6BA02477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8000 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD1003
0000 -FC1000 -FN0
</Name>
</SetRegEntry>
</SetRegEntry>
</TargetDriverDllRegistry>
</TargetDriverDllRegistry>
<Breakpoint/>
<Breakpoint/>
...
...
bsp/stm32/stm32mp157a-st-ev1/template.uvprojx
浏览文件 @
f549c792
...
@@ -276,7 +276,7 @@
...
@@ -276,7 +276,7 @@
<OCR_RVCT4>
<OCR_RVCT4>
<Type>
1
</Type>
<Type>
1
</Type>
<StartAddress>
0x10000000
</StartAddress>
<StartAddress>
0x10000000
</StartAddress>
<Size>
0x
4
0000
</Size>
<Size>
0x
3
0000
</Size>
</OCR_RVCT4>
</OCR_RVCT4>
<OCR_RVCT5>
<OCR_RVCT5>
<Type>
1
</Type>
<Type>
1
</Type>
...
@@ -300,13 +300,13 @@
...
@@ -300,13 +300,13 @@
</OCR_RVCT8>
</OCR_RVCT8>
<OCR_RVCT9>
<OCR_RVCT9>
<Type>
0
</Type>
<Type>
0
</Type>
<StartAddress>
0x100
5
0000
</StartAddress>
<StartAddress>
0x100
3
0000
</StartAddress>
<Size>
0x10000
</Size>
<Size>
0x10000
</Size>
</OCR_RVCT9>
</OCR_RVCT9>
<OCR_RVCT10>
<OCR_RVCT10>
<Type>
0
</Type>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<StartAddress>
0x
1004000
0
</StartAddress>
<Size>
0x0
</Size>
<Size>
0x
2000
0
</Size>
</OCR_RVCT10>
</OCR_RVCT10>
</OnChipMemories>
</OnChipMemories>
<RvctStartVector></RvctStartVector>
<RvctStartVector></RvctStartVector>
...
@@ -397,11 +397,6 @@
...
@@ -397,11 +397,6 @@
<Layers>
<Layers>
<Layer>
<Layer>
<LayName>
<
Project Info
>
</LayName>
<LayName>
<
Project Info
>
</LayName>
<LayDesc></LayDesc>
<LayUrl></LayUrl>
<LayKeys></LayKeys>
<LayCat></LayCat>
<LayLic></LayLic>
<LayTarg>
0
</LayTarg>
<LayTarg>
0
</LayTarg>
<LayPrjMark>
1
</LayPrjMark>
<LayPrjMark>
1
</LayPrjMark>
</Layer>
</Layer>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录