set(SOURCES
    console.cpp
    main.cpp
)

register_executable(${PROJECT_NAME})

link_targetEx(${PROJECT_NAME} ${COSMOS_BOARD_PATH})
link_targetEx(${PROJECT_NAME} ${COSMOS_HAL_PATH})
link_targetEx(${PROJECT_NAME} ${COSMOS_MEMORY_PATH})

set(SOURCES
    console.cpp
    main.cpp
    newlib.cpp
)

register_executable(${PROJECT_NAME})

link_targetEx(${PROJECT_NAME} ${COSMOS_BOARD_PATH})
link_targetEx(${PROJECT_NAME} ${COSMOS_HAL_PATH})
link_targetEx(${PROJECT_NAME} ${COSMOS_MEMORY_PATH})

Add newlib.cpp to build system.
core: Add newlib.cpp to build system.
