-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cbuild2cmake] Add API files to component target sources
Co-authored-by: Sourabh Mehta <[email protected]>
- Loading branch information
Showing
21 changed files
with
179 additions
and
45 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
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
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 |
---|---|---|
|
@@ -81,8 +81,12 @@ func TestParser(t *testing.T) { | |
assert.Equal("vendorName::DFP:[email protected]", data.BuildDescType.Components[0].Component) | ||
assert.Equal("Cortex-M Condition", data.BuildDescType.Components[0].Condition) | ||
assert.Equal("vendorName::[email protected]", data.BuildDescType.Components[0].FromPack) | ||
assert.Equal("DFP:[email protected]", data.BuildDescType.Components[0].Implements) | ||
assert.Equal("CORE", data.BuildDescType.Components[0].SelectedBy) | ||
|
||
assert.Equal("DFP:[email protected]", data.BuildDescType.Apis[0].API) | ||
assert.Equal("vendorName::[email protected]", data.BuildDescType.Apis[0].FromPack) | ||
|
||
assert.Equal("Source", data.BuildDescType.Groups[0].Group) | ||
assert.Equal("./TestSource.c", data.BuildDescType.Groups[0].Files[0].File) | ||
assert.Equal("sourceC", data.BuildDescType.Groups[0].Files[0].Category) | ||
|
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 |
---|---|---|
|
@@ -34,7 +34,11 @@ build: | |
- component: vendorName::DFP:[email protected] | ||
condition: Cortex-M Condition | ||
from-pack: vendorName::[email protected] | ||
implements: DFP:[email protected] | ||
selected-by: CORE | ||
apis: | ||
- api: DFP:[email protected] | ||
from-pack: vendorName::[email protected] | ||
linker: | ||
script: ac6.sct.src | ||
regions: regions_deviceName.h | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
build: | ||
generated-by: csolution version 2.5.0 | ||
generated-by: csolution version 2.6.0 | ||
solution: ../solution.csolution.yml | ||
project: project.cproject.yml | ||
context: project.AC6+ARMCM0 | ||
|
@@ -32,7 +32,6 @@ build: | |
- -Wno-license-management | ||
Link: | ||
- --entry=Reset_Handler | ||
- --map | ||
- --info summarysizes | ||
- --summary_stderr | ||
- --diag_suppress=L6314W | ||
|
@@ -91,20 +90,18 @@ build: | |
- component: ARM::CMSIS:OS Tick:[email protected] | ||
condition: OS Tick SysTick | ||
from-pack: ARM::[email protected] | ||
selected-by: ARM::CMSIS:OS Tick | ||
selected-by: ARM::CMSIS:OS Tick:SysTick | ||
implements: CMSIS:OS [email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/os_tick.h | ||
category: api | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Source/os_systick.c | ||
category: sourceC | ||
version: 1.0.5 | ||
- component: ARM::CMSIS:RTOS2:Keil RTX5&[email protected] | ||
condition: RTX5 | ||
from-pack: ARM::[email protected] | ||
selected-by: ARM::CMSIS:RTOS2:Keil RTX5&Library | ||
implements: CMSIS:[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/cmsis_os2.h | ||
category: api | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS-RTX/5.9.0/Documentation/index.html | ||
category: doc | ||
version: 5.9.0 | ||
|
@@ -193,6 +190,27 @@ build: | |
category: sourceC | ||
attr: config | ||
version: 1.0.0 | ||
apis: | ||
- api: CMSIS:[email protected] | ||
from-pack: ARM::[email protected] | ||
implemented-by: ARM::CMSIS:RTOS2:Keil RTX5&[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/Documentation/html/RTOS2/index.html | ||
category: doc | ||
version: 2.3.0 | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/cmsis_os2.h | ||
category: header | ||
version: 2.3.0 | ||
- api: CMSIS:OS [email protected] | ||
from-pack: ARM::[email protected] | ||
implemented-by: ARM::CMSIS:OS Tick:[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/os_tick.h | ||
category: header | ||
version: 1.0.1 | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/Documentation/html/RTOS2/index.html | ||
category: doc | ||
version: 1.0.1 | ||
linker: | ||
script: RTE/Device/ARMCM0/ARMCM0_ac6.sct | ||
groups: | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
build: | ||
generated-by: csolution version 2.5.0 | ||
generated-by: csolution version 2.6.0 | ||
solution: ../solution.csolution.yml | ||
project: project.cproject.yml | ||
context: project.CLANG+ARMCM0 | ||
|
@@ -27,9 +27,8 @@ build: | |
- -ffunction-sections | ||
- -fdata-sections | ||
Link: | ||
- -lcrt0-semihost | ||
- -lsemihost | ||
- -Wl,-Map=../out/project/ARMCM0/CLANG/project.elf.map | ||
- -lcrt0 | ||
- -Wl,-print-memory-usage | ||
- -Wl,--gc-sections | ||
define: | ||
- ARMCM0 | ||
|
@@ -86,20 +85,18 @@ build: | |
- component: ARM::CMSIS:OS Tick:[email protected] | ||
condition: OS Tick SysTick | ||
from-pack: ARM::[email protected] | ||
selected-by: ARM::CMSIS:OS Tick | ||
selected-by: ARM::CMSIS:OS Tick:SysTick | ||
implements: CMSIS:OS [email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/os_tick.h | ||
category: api | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Source/os_systick.c | ||
category: sourceC | ||
version: 1.0.5 | ||
- component: ARM::CMSIS:RTOS2:Keil RTX5&[email protected] | ||
condition: RTX5 | ||
from-pack: ARM::[email protected] | ||
selected-by: ARM::CMSIS:RTOS2:Keil RTX5&Library | ||
implements: CMSIS:[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/cmsis_os2.h | ||
category: api | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS-RTX/5.9.0/Documentation/index.html | ||
category: doc | ||
version: 5.9.0 | ||
|
@@ -184,6 +181,27 @@ build: | |
category: sourceC | ||
attr: config | ||
version: 1.0.0 | ||
apis: | ||
- api: CMSIS:[email protected] | ||
from-pack: ARM::[email protected] | ||
implemented-by: ARM::CMSIS:RTOS2:Keil RTX5&[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/Documentation/html/RTOS2/index.html | ||
category: doc | ||
version: 2.3.0 | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/cmsis_os2.h | ||
category: header | ||
version: 2.3.0 | ||
- api: CMSIS:OS [email protected] | ||
from-pack: ARM::[email protected] | ||
implemented-by: ARM::CMSIS:OS Tick:[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/os_tick.h | ||
category: header | ||
version: 1.0.1 | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/Documentation/html/RTOS2/index.html | ||
category: doc | ||
version: 1.0.1 | ||
linker: | ||
script: RTE/Device/ARMCM0/clang_linker_script.ld.src | ||
regions: RTE/Device/ARMCM0/regions_ARMCM0.h | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
build: | ||
generated-by: csolution version 2.5.0 | ||
generated-by: csolution version 2.6.0 | ||
solution: ../solution.csolution.yml | ||
project: project.cproject.yml | ||
context: project.GCC+ARMCM0 | ||
|
@@ -33,9 +33,10 @@ build: | |
- -lc | ||
Link: | ||
- --specs=nano.specs | ||
- --specs=rdimon.specs | ||
- -Wl,-Map=../out/project/ARMCM0/GCC/project.elf.map | ||
- --specs=nosys.specs | ||
- -Wl,-print-memory-usage | ||
- -Wl,--gc-sections | ||
- -Wl,--no-warn-rwx-segments | ||
define: | ||
- ARMCM0 | ||
- _RTE_ | ||
|
@@ -91,20 +92,18 @@ build: | |
- component: ARM::CMSIS:OS Tick:[email protected] | ||
condition: OS Tick SysTick | ||
from-pack: ARM::[email protected] | ||
selected-by: ARM::CMSIS:OS Tick | ||
selected-by: ARM::CMSIS:OS Tick:SysTick | ||
implements: CMSIS:OS [email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/os_tick.h | ||
category: api | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Source/os_systick.c | ||
category: sourceC | ||
version: 1.0.5 | ||
- component: ARM::CMSIS:RTOS2:Keil RTX5&[email protected] | ||
condition: RTX5 | ||
from-pack: ARM::[email protected] | ||
selected-by: ARM::CMSIS:RTOS2:Keil RTX5&Library | ||
implements: CMSIS:[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/cmsis_os2.h | ||
category: api | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS-RTX/5.9.0/Documentation/index.html | ||
category: doc | ||
version: 5.9.0 | ||
|
@@ -193,6 +192,27 @@ build: | |
category: sourceC | ||
attr: config | ||
version: 1.0.0 | ||
apis: | ||
- api: CMSIS:[email protected] | ||
from-pack: ARM::[email protected] | ||
implemented-by: ARM::CMSIS:RTOS2:Keil RTX5&[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/Documentation/html/RTOS2/index.html | ||
category: doc | ||
version: 2.3.0 | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/cmsis_os2.h | ||
category: header | ||
version: 2.3.0 | ||
- api: CMSIS:OS [email protected] | ||
from-pack: ARM::[email protected] | ||
implemented-by: ARM::CMSIS:OS Tick:[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/os_tick.h | ||
category: header | ||
version: 1.0.1 | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/Documentation/html/RTOS2/index.html | ||
category: doc | ||
version: 1.0.1 | ||
linker: | ||
script: RTE/Device/ARMCM0/ARMCM0_gcc.ld | ||
groups: | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
build: | ||
generated-by: csolution version 2.5.0 | ||
generated-by: csolution version 2.6.0 | ||
solution: ../solution.csolution.yml | ||
project: project.cproject.yml | ||
context: project.IAR+ARMCM0 | ||
|
@@ -21,9 +21,6 @@ build: | |
- --dlib_config DLib_Config_Full.h | ||
CPP: | ||
- --dlib_config DLib_Config_Full.h | ||
Link: | ||
- --semihosting | ||
- --map=../out/project/ARMCM0/IAR/project.out.map | ||
define: | ||
- ARMCM0 | ||
- _RTE_ | ||
|
@@ -79,20 +76,18 @@ build: | |
- component: ARM::CMSIS:OS Tick:[email protected] | ||
condition: OS Tick SysTick | ||
from-pack: ARM::[email protected] | ||
selected-by: ARM::CMSIS:OS Tick | ||
selected-by: ARM::CMSIS:OS Tick:SysTick | ||
implements: CMSIS:OS [email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/os_tick.h | ||
category: api | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Source/os_systick.c | ||
category: sourceC | ||
version: 1.0.5 | ||
- component: ARM::CMSIS:RTOS2:Keil RTX5&[email protected] | ||
condition: RTX5 | ||
from-pack: ARM::[email protected] | ||
selected-by: ARM::CMSIS:RTOS2:Keil RTX5&Library | ||
implements: CMSIS:[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/cmsis_os2.h | ||
category: api | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS-RTX/5.9.0/Documentation/index.html | ||
category: doc | ||
version: 5.9.0 | ||
|
@@ -177,6 +172,27 @@ build: | |
category: sourceC | ||
attr: config | ||
version: 1.0.0 | ||
apis: | ||
- api: CMSIS:[email protected] | ||
from-pack: ARM::[email protected] | ||
implemented-by: ARM::CMSIS:RTOS2:Keil RTX5&[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/Documentation/html/RTOS2/index.html | ||
category: doc | ||
version: 2.3.0 | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/cmsis_os2.h | ||
category: header | ||
version: 2.3.0 | ||
- api: CMSIS:OS [email protected] | ||
from-pack: ARM::[email protected] | ||
implemented-by: ARM::CMSIS:OS Tick:[email protected] | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/RTOS2/Include/os_tick.h | ||
category: header | ||
version: 1.0.1 | ||
- file: ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/Documentation/html/RTOS2/index.html | ||
category: doc | ||
version: 1.0.1 | ||
linker: | ||
script: RTE/Device/ARMCM0/iar_linker_script.icf.src | ||
regions: RTE/Device/ARMCM0/regions_ARMCM0.h | ||
|
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
Oops, something went wrong.