Init
This commit is contained in:
parent
eea963cbab
commit
8ba8cce156
|
|
@ -5,8 +5,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.8.0)
|
||||||
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-math-errno -ffast-math -funswitch-loops -fpredictive-commoning -finline-functions")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-math-errno -ffast-math -funswitch-loops -fpredictive-commoning -finline-functions")
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O1")
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0")
|
||||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O1")
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0")
|
||||||
|
|
||||||
|
|
||||||
IF (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
IF (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
||||||
|
|
@ -26,7 +26,8 @@ SET(HARDWARE_REVISION MAIN_APP) #
|
||||||
SET(VERSION \"3.1.03\") #
|
SET(VERSION \"3.1.03\") #
|
||||||
SET(HARDWARE_USER_NAME "Гонец N1")
|
SET(HARDWARE_USER_NAME "Гонец N1")
|
||||||
#SET(VECT_TAB_OFFSET "0x100000")
|
#SET(VECT_TAB_OFFSET "0x100000")
|
||||||
SET(VECT_TAB_OFFSET "0x100000")
|
#SET(VECT_TAB_OFFSET "0x100000")
|
||||||
|
SET(VECT_TAB_OFFSET "0x000000")
|
||||||
|
|
||||||
SET(HEXT_VALUE "25000000")
|
SET(HEXT_VALUE "25000000")
|
||||||
SET(PLL_NS "40")
|
SET(PLL_NS "40")
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ adapter list
|
||||||
|
|
||||||
#adapter serial 36006000080000315151524E
|
#adapter serial 36006000080000315151524E
|
||||||
|
|
||||||
source [find target/at32f437xM.cfg]
|
source [find target/at32f435xM.cfg]
|
||||||
|
|
||||||
#reset_config trst_only
|
#reset_config trst_only
|
||||||
#reset_config srst_only
|
#reset_config srst_only
|
||||||
|
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
#
|
|
||||||
# This is an STM32F429 discovery board with a single STM32F429ZI chip.
|
|
||||||
# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
|
|
||||||
#
|
|
||||||
|
|
||||||
source [find interface/stlink.cfg]
|
|
||||||
|
|
||||||
transport select hla_swd
|
|
||||||
|
|
||||||
source [find target/at32f437xM.cfg]
|
|
||||||
|
|
||||||
#reset_config trst_only
|
|
||||||
#reset_config srst_only
|
|
||||||
#reset_config trst_and_srst
|
|
||||||
#reset_config srst_pulls_trst
|
|
||||||
#reset_config combined
|
|
||||||
#reset_config srst_gates_jtag
|
|
||||||
#reset_config trst_push_pull
|
|
||||||
#reset_config trst_push_pull
|
|
||||||
|
|
||||||
reset_config none
|
|
||||||
|
|
||||||
#reset_config [none|trst_only|srst_only|trst_and_srst]
|
|
||||||
#[srst_pulls_trst|trst_pulls_srst|combined|separate]
|
|
||||||
#[srst_gates_jtag|srst_nogate] [trst_push_pull|trst_open_drain]
|
|
||||||
#[srst_push_pull|srst_open_drain]
|
|
||||||
#[connect_deassert_srst|connect_assert_srst]
|
|
||||||
Loading…
Reference in New Issue