summaryrefslogtreecommitdiff
path: root/bsp/k230/link.lds
AgeCommit message (Collapse)Author
2025-04-24bsp: k230: use configuration instead of immediate valueChen Wang
The original code used immediate values directly when it came to memory layout, which was not a good programming habit. Now we use macros and try to be compatible with SDK configuration values in the SDK compilation environment. The main changes are to clean up board.h, and extract some memory layout constants to define a new header file mem_layout.h. Also update KERNEL_VADDR_START to the default value for Smart, so we can use it as base to calculate other mapping address. Signed-off-by: Chen Wang <[email protected]>
2025-04-24bsp: k230: use rtconfig.h for linkscriptChen Wang
For linker script, use constant macro defined from rtconfig.h, not immediate value. Also cleanup the link_statksize.lds, it is also not needed when using new mechanism. Signed-off-by: Chen Wang <[email protected]>
2025-04-24bsp: k230: support canmv boardWang Chen
Some changes to support canmv board, such as: - Address constant, some may need be set as configuration later. - link script - build script Signed-off-by: Wang Chen <[email protected]>
2024-09-25[bsp] add k230heyuanjie87