Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB EZ-PD™ Type-C Forum Discussions

leosun
Level 1
Level 1
5 sign-ins First reply posted First question asked

Example code:

any example code for CYPD3171 or CYPD3175

PSoC Creator IDE settings:

1. tools > options > Project Management > ARM Toolchains, set ARM MDK Generic as the actual ARMCC bin folder

leosun_0-1648274582928.png

2. right click on example project > build settings > Toolchain > select ARM MDK Generic, Apply & Save

3. build got error message:

 

 

--------------- Build Started: 03/26/2022 13:53:36 Project: CYPD3171-24LQXQ_cla, Configuration: ARM MDK Generic Debug ---------------
cydsfit.exe -.appdatapath "C:\Users\403283\AppData\Local\Cypress Semiconductor\PSoC Creator\4.5" -.fdsnotice -.fdswarpdepfile=warp_dependencies.txt -.fdselabdepfile=elab_dependencies.txt -.fdsbldfile=generated_files.txt -.fdsreffile=referenced_files.txt -p "C:\Users\403283\Documents\PSoC Creator\new_project\CYPD3171-24LQXQ_cla\CYPD3171-24LQXQ_cla.cydsn\CYPD3171-24LQXQ_cla.cyprj" -d CYPD3171-24LQXQ -s "C:\Users\403283\Documents\PSoC Creator\new_project\CYPD3171-24LQXQ_cla\CYPD3171-24LQXQ_cla.cydsn\Generated_Source\PSoC4" -- -yv2 -q10 -ygs -o2 -v3 -.fftcfgtype=LE
Elaborating Design...
HDL Generation...
Synthesis...
Tech Mapping...
Analog Placement...
Analog Routing...
Analog Code Generation...
Digital Placement...
Digital Routing...
Bitstream Generation...
Bitstream Verification...
Static timing analysis...
API Generation...
Dependency Generation...
Cleanup...
armcc.exe --cpu=Cortex-M0 --C99 --diag_style=gnu -I. -IGenerated_Source\PSoC4 --list --signed_chars -g -D DEBUG -O0 --split_sections -D__MICROLIB -c src\app\alt_mode\alt_mode_hw.c -o .\CortexM0\ARM_MDK_Generic\Debug\alt_mode_hw.o
.\config.h:52:26: Error:  #5: cannot open source input file "stack_params.h": No such file or directory
  #include <stack_params.h>
                           ^
The command 'armcc.exe' failed with exit code '1'.
--------------- Build Failed: 03/26/2022 13:53:48 ---------------

 

 

 

 

 

Question:

Is the default example code support building with ARMCC or not?

Should I include missing headers by hand?

0 Likes
1 Solution
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hello ,

CYPD3171 or CYPD3175 do not supporting by MDK complier currently. Please use default GCC complier directly. 

 

Best Regards,

Lisa 

View solution in original post

0 Likes
3 Replies
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hello ,

CYPD3171 or CYPD3175 do not supporting by MDK complier currently. Please use default GCC complier directly. 

 

Best Regards,

Lisa 

0 Likes

Thank you Lisa for your response.

Does the Infineon team have any plan to support Keil-MDK for CCG3PA?

0 Likes
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hello ,

Currently, there is not any schedule to update.

Best Regards,

Lisa

0 Likes