2025-07-10 6:50 AM - edited 2025-07-10 6:52 AM
I have a custom board. Right now we have a "template project" which is mostly a stripped project and we have a customer project. We periodically merge some changes between them. Instead of copying the template project and modifying it I would like to be able to use it as a board in TouchGFX designer directly. This will be important when we will use the board for more than 1 customer.
I followed the instructions, but the board doesn't show up.
I followed these instructions: https://support.touchgfx.com/docs/development/scenarios/scenarios-create-at
I stripped the project.
My project structure is:
C:\source\company\company-stm32-touchgfx-hmi-bsp
C:\source\company\company-stm32-touchgfx-hmi-bsp\.git
C:\source\company\company-stm32-touchgfx-hmi-bsp\Doc
C:\source\company\company-stm32-touchgfx-hmi-bsp\Source\Middlewares
C:\source\company\company-stm32-touchgfx-hmi-bsp\Source\TouchGFX
C:\source\company\company-stm32-touchgfx-hmi-bsp\Source\TouchGFX\company-STM32-TouchGFX-HMI-BSP.touchgfx
I closed TouchGFX Designer
In TouchGFX environment terminal:
cd "C:\source\company\company-stm32-touchgfx-hmi-bsp"
/c/TouchGFX/4.25.0/designer/tgfx.exe pack -d source
company-STM32-TouchGFX-HMI-BSP.zip is created
MyApplication.json is created
add some details to MyApplication.json
leave PathToDotTouchGFX empty as TouchGFX is in the root of the projectfolder
/c/TouchGFX/4.25.0/designer/tgfx.exe pack -rc -d Source
rename MyApplication-1.0.0.tpa to company-STM32-TouchGFX-HMI-BSP-1.0.0.tpa
moved company-STM32-TouchGFX-HMI-BSP-1.0.0.tpato C:\TouchGFX\4.25.0\app\packages
Opening TouchGFX Designer doesn't show the board under partners.