forked from Open-CMSIS-Pack/devtools
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[projmgr] ProjMgrGenerator: add GenerateCprjOptions
Contributed by STMicroelectronics Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@st.com>
- Loading branch information
1 parent
616db64
commit 6b0ae61
Showing
6 changed files
with
84 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
tools/projmgr/test/data/TestSolution/ref/test.target_options+CM0.cprj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> | ||
<cprj schemaVersion="1.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CPRJ.xsd"> | ||
<created timestamp="2022-05-12T10:27:56" tool="csolution 0.9.5+p7-g94ccb1e"/> | ||
|
||
<info isLayer="false"> | ||
<description>Automatically generated project</description> | ||
</info> | ||
|
||
<packages> | ||
<package name="RteTest_DFP" vendor="ARM" version="0.2.0:0.2.0"/> | ||
</packages> | ||
|
||
<compilers> | ||
<compiler name="IAR" version="8.50.6"/> | ||
</compilers> | ||
|
||
<target Dfpu="NO_FPU" Dname="RteTest_ARMCM0_Dual" Dsecure="Non-secure" Dvendor="ARM:82" Pname="cm0_core1"> | ||
<output intdir="test.target_options+CM0_IntDir/" name="test.target_options+CM0" outdir="test.target_options+CM0_OutDir/" type="exe"/> | ||
<options debug="on" optimize="size"/> | ||
</target> | ||
|
||
<components> | ||
<component Cclass="Device" Cgroup="Startup" Cvariant="RteTest Startup" Cvendor="ARM" Cversion="2.0.3"> | ||
<file attr="config" category="sourceC" name="Device/ARM/ARMCM0/Source/startup_ARMCM0.c" version="2.0.3"/> | ||
<file attr="config" category="sourceC" name="Device/ARM/ARMCM0/Source/system_ARMCM0.c" version="1.0.0"/> | ||
</component> | ||
<component Cclass="RteTest" Cgroup="CORE" Cvendor="ARM" Cversion="0.1.1"/> | ||
</components> | ||
</cprj> |
8 changes: 8 additions & 0 deletions
8
tools/projmgr/test/data/TestSolution/test.target_options.cproject.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/0.9.0/tools/projmgr/schemas/cproject.schema.json | ||
|
||
project: | ||
optimize: size | ||
debug: on | ||
components: | ||
- component: Startup | ||
- component: CORE |
10 changes: 10 additions & 0 deletions
10
tools/projmgr/test/data/TestSolution/test.target_options.csolution.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/0.9.0/tools/projmgr/schemas/csolution.schema.json | ||
|
||
solution: | ||
target-types: | ||
- type: CM0 | ||
compiler: IAR | ||
device: RteTest_ARMCM0_Dual:cm0_core1 | ||
|
||
projects: | ||
- project: ./test.target_options.cproject.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters