diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d11774..6d48b68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O1") -set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O1") +set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0") +set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0") IF (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) @@ -26,7 +26,8 @@ SET(HARDWARE_REVISION MAIN_APP) # SET(VERSION \"3.1.03\") # SET(HARDWARE_USER_NAME "Гонец N1") #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(PLL_NS "40") diff --git a/artery_f437.cfg b/artery_f437.cfg index 2754478..fd57c89 100644 --- a/artery_f437.cfg +++ b/artery_f437.cfg @@ -11,7 +11,7 @@ adapter list #adapter serial 36006000080000315151524E -source [find target/at32f437xM.cfg] +source [find target/at32f435xM.cfg] #reset_config trst_only #reset_config srst_only diff --git a/stm32f427.cfg b/stm32f427.cfg deleted file mode 100644 index 114e108..0000000 --- a/stm32f427.cfg +++ /dev/null @@ -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] \ No newline at end of file