Skip to content

Commit 92a67d9

Browse files
committed
Templates: update and simplify steps to create projects
1 parent 22c3e39 commit 92a67d9

12 files changed

Lines changed: 554 additions & 604 deletions

File tree

Templates/CubeMX/CubeMX.csolution.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,27 @@ solution:
66
# List of tested compilers that can be selected
77
select-compiler:
88
- compiler: AC6
9-
- compiler: GCC
10-
- compiler: IAR
119

1210
# List the packs that define the device and/or board.
1311
packs:
1412
- pack: Keil::STM32N6xx_DFP
1513
- pack: ARM::CMSIS
14+
- pack: Keil::STM32N6570-DK_BSP
1615

1716
# List different hardware targets that are used to deploy the solution.
1817
target-types:
19-
- type: STM32N6
20-
# device: STMicroelectronics::STM32N657X0HxQ
18+
- type: STM32N657X0HxQ
2119
target-set:
22-
- set: build_ExtMemLoader
20+
- set: ExtMemLoader
2321
images:
2422
- project-context: ExtMemLoader.Debug
25-
- set: build_load_FSBL
23+
- set: FSBL
2624
images:
2725
- project-context: FSBL.Debug
28-
load: none
29-
# - image: $OutDir(FSBL)$/FSBL-trusted.bin
30-
# load-offset: 0x70000000
31-
# load: image
32-
debugger:
33-
name: ST-Link@pyOCD
34-
port: 3333
35-
protocol: swd
36-
clock: 4000000
37-
- set: debug_FSBL
38-
images:
39-
- image: $OutDir(FSBL)$/FSBL-trusted.bin
4026
load: symbols
27+
- image: out/FSBL/$Dname$/Debug/FSBL-trusted.bin
28+
load-offset: 0x70000000
29+
load: image
4130
debugger:
4231
name: ST-Link@pyOCD
4332
port: 3333

Templates/CubeMX/ExtMemLoader/ExtMemLoader.cproject.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ project:
1313
# List of miscellaneous settings.
1414
setups:
1515
- setup: Template project setup
16+
for-compiler: AC6
1617
misc:
1718
- C-CPP:
1819
- -fropi
1920
- -frwpi
21+
- Link:
22+
- --entry=main
2023

2124
# List components to use for your application.
2225
# A software component is a re-usable unit that may be configurable.

0 commit comments

Comments
 (0)