1 Reply Latest reply on Mar 24, 2019 10:56 PM by RuzheZ_36

    Cywin 环境搭建 生成代码路径疑问

    mizhc_3786896

      在用CY8C4125LQS-S433开发时, 目前我在开发基于Cygwin的软件工程管理环境。我在使用cydsfit.exe生成代码的适合出现路径不正确的问题

       

      下面是makefile--GenCode.mk的代码:

      GEN_SOURCE_DIR_Temp ?= "D:/DevApp/Cypress/PSoC Creator/4.2/PSoC Creator/bin"

       

      GEN_SOURCE_PATH="D:/Workstation/02_Project/SVN\D1HA13/02_SW/D1HA13_V0.1.1.190228/D1HA13.cydsn/Generated_Source/PSoC4/"
      GEN_COFIG_PATH="D:/Workstation/02_Project/SVN/D1HA13/02_SW/D1HA13_V0.1.1.190228/D1HA13.cydsn/D1HA13.cyprj"
      GEN_DATA_PATH="D:/Workstation/02_Project/VN/D1HA13/02_SW/D1HA13_V0.1.1.190228/D1HA13.cydsn/PSoC Creator/4.2"
      # GEN_DATA_PATH="D:/Workstation/02_Project/SVN\D1HA13/02_SW/D1HA13_V0.1.1.190228/D1HA13.cydsn/Generated_Source/PSoC4/"
      COPT_CYDSFIT=-.appdatapath $(GEN_DATA_PATH)
      COPT_CYDSFIT1=$(COPT_CYDSFIT) -.fdsnotice -.fdswarpdepfile=warp_dependencies.txt -.fdselabdepfile=elab_dependencies.txt -.fdsbldfile=generated_files.txt -.fdsreffile=referenced_files.txt
      GenMCAL:
      $(GEN_SOURCE_DIR_Temp)/cydsfit.exe -h
      # $(GEN_SOURCE_DIR_Temp)/cydsfit.exe $(COPT_CYDSFIT1) -p $(GEN_COFIG_PATH) -d CY8C4125LQS-S433 -s $(GEN_SOURCE_PATH) -- -yv2 -q10 -ygs -o2 -v3 -.fftcfgtype=LE
      $(GEN_SOURCE_DIR_Temp)/cydsfit.exe -p $(GEN_COFIG_PATH) -s $(GEN_SOURCE_PATH)

       

       

      调用关系是batch file调用main.mk, 然后main.mk调用GenCod.mk来生成代码。 但是代码生成到D:/Workstation/02_Project/SVN\D1HA13/02_SW/D1HA13_V0.1.1.190228/D1HA13.cydsn的目录下面了,而不是D:/Workstation/02_Project/SVN\D1HA13/02_SW/D1HA13_V0.1.1.190228/D1HA13.cydsn/Generated_Source/PSoC4/

       

      我想将代码生成在D:/Workstation/02_Project/SVN\D1HA13/02_SW/D1HA13_V0.1.1.190228/D1HA13.cydsn/Generated_Source/PSoC4/

      请问这是哪里设置不正确,如何设置?

      谢谢!@