K66F: CMake build, cross-compile and debug on MCUXpresso

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

K66F: CMake build, cross-compile and debug on MCUXpresso

1,416件の閲覧回数
alejandrosancho
Contributor I

I am currently trying to implement my first project using CMake to generate the makefiles so that I can import the project into MCUXpresso and debug on the target (K66F). Up to now, I have been able to build code for the host PC, but not been able to cross-compile for the K66F. I have been trying to include the toolchain file provided with the SDK. Doing this, the code builds but I cannot upload and debug. 

I attach the debug configuration i'm using in MCUXpresso as well as the two CMakeLists.txt files:

HelloWorldDirectory

   -CMakeLists.txt

   -Sourcecode

      ---> CMakeLists2.txt    

   -Build

 

(Im not focusing on "proper" CMake on this project, just looking to be able to build and debug the project)

Any help would be greatly appreciated. 

best,

A.

0 件の賞賛
1 返信

1,248件の閲覧回数
converse
Senior Contributor V

It would be really helpful if you could explain what you mean by "I cannot upload and debug." DO you get error messages? How did you create the debug configuration, What happens?

0 件の賞賛