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
 Harry_Zhang
		
			Harry_Zhang
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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
