Memory configuration editor for VS Code and generate linker script

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

Memory configuration editor for VS Code and generate linker script

751件の閲覧回数
Lumax
Contributor I

Hi Developers,

I am currently working on an project that started from MCUXpresso for VS Code.

But I couldn't find any documentation about how to change the memory region and generate linker script link in the CMake project, unlike the MCUXpresso IDE has built in tool to have managed linker script and auto generate .ld. 

Does anyone know are there any alternative ways to properly do that in VS Code project?

Thanks!

Lumax

0 件の賞賛
返信
1 返信

679件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @Lumax 

In VS Code, when using CMake for an embedded project, managing the linker script and memory regions involves a bit of manual setup compared to MCUXpresso IDE's automated tools.

If you have a custom linker script (like .ld), you can tell CMake to use it. Add this to your CMakeLists.txt

BR

Harry

0 件の賞賛
返信