New to the Modus Toolbox, I was successfully guided once by a Cypress FAE to generate my custom BSP, Reference Chapter 5 in the Modus Toolbox User Guide.
I have two targets, one of them is a PSoC 6 WiFi BT Prototyping kit, CYCPROTO-062-4343W. Quite able to create applications using Modus 2.1 and program/debug. No problem.
Our company is building a custom board and exploring a different PSoC 6 series, CY8C6137BZI-F54. With the guidance of Cypress I made the CapSense_Buttons_and_Slider_FreeRTOS application, used the modus-shell to specify a custom BSP for the 6137 and got that to program and debug on our board.
Since then I needed to document this information so that it can be duplicated, as we proceed towards products.
What I'm running in to is an error with the "make bsp" call attempts.
Starting from scratch, no project, I created both Hello_World and the CapSense_Buttons_and_Slider_FreeRTOS applications using the CY8CPROTO-062-4343W kit for both. All I've done was to generate the project.
From that point I know I need to now make a custom BSP (Using Windows 10 by the way), and so I've proceeded to use the modus-shell to do this.
My modus-shell command and error output:
$ make bsp TARGET_GEN=My6137_BSP DEVICE_GEN=CY8C6137BZI-F54
Tools Directory: C:/Users/<me>/ModusToolbox/tools_2.1
Creating My6137_BSP TARGET from CY8CPROTO-062-4343W...
Populating cy8c6xx7 linker scripts and psoc6_01 startup files...
Running device-configurator for CY8C6137BZI-F54 CYW4343WKUBG...
ERROR: Generating code failed. Code generation errors:
- Unable to evaluate 'CLK_PATH Instance'. Internal error: Incorrect parameter ordering.
ERROR: Device-configuration failed for ./TARGET_My6137_BSP/COMPONENT_BSP_DESIGN_MODUS/design.modus
make: *** [libs/psoc6make/make/core/utils.mk:342: bsp] Error 1
Why does this still show that it's generating for the CY8CPROTO-062-4343W board?
In my project, should I have changed things prior to building my custom BSP?
After this effort, I did run the Device Configurator and did File->Change Devices and selected my correct target PSoC 6. In fact, the output shown is after that failed attempt, where I previously received the same error.
Any guidance will be helpful.