Added comments to the toolchain file for where future configs may be placed.
This commit is contained in:
parent
b3ef3769d9
commit
2b308a6b1d
1 changed files with 8 additions and 1 deletions
|
|
@ -119,6 +119,14 @@ set(C_FLAGS_ARCH "\
|
|||
-I${ALTCLIB};\
|
||||
-nostdlib")
|
||||
|
||||
# For CH32V006/002/005(QingKeV)
|
||||
|
||||
# For CH32V20X(QingKeV)
|
||||
|
||||
# For CH32V30X(QingKeV)
|
||||
|
||||
# For CH32X03X(QingKeV)
|
||||
|
||||
#-------------------
|
||||
# CFLAGS
|
||||
#-------------------
|
||||
|
|
@ -149,7 +157,6 @@ UNSET(CMAKE_CXX_FLAGS CACHE)
|
|||
#set(LINKER_SCRIPT "./src/ch32v003.ld")
|
||||
#set(LINKER_SCRIPT "${CMAKE_SOURCE_DIR}/src/linker_script.ld")
|
||||
|
||||
#set(LD_FLAGS "-lgcc")
|
||||
set(LD_FLAGS " \
|
||||
-Wl,--print-memory-usage \
|
||||
-Wl,-Map=${PROJECT_NAME}.map \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue