Browse Source

1、修改了部分文件

liuhao 1 year ago
parent
commit
11b3dea319

+ 0 - 5
ble_simple_peripheral/code/app_at.c

@@ -22,11 +22,6 @@
 #define AT_RECV_MAX_LEN             32
 
 uint8_t app_at_recv_char;
-uint8_t at_recv_buffer[AT_RECV_MAX_LEN];
-uint8_t at_recv_index = 0;
-uint8_t at_recv_state = 0;
-
- 
 
 /*-------------------------------------------------------------------------
     Function    :  ascii_char2val             ----add by chsheng, chsheng@accelsemi.com

+ 1 - 8
ble_simple_peripheral/code/proj_main.c

@@ -49,14 +49,7 @@ const struct jump_table_image_t _jump_table_image __attribute__((section("jump_t
 /*********************************************************************
  * @fn      user_entry_before_sleep_imp
  *
- * @brief   Before system goes to sleep mode, user_entry_before_sleep_imp()
- *          will be called, MCU peripherals can be configured properly before 
- *          system goes to sleep, for example, some MCU peripherals need to be
- *          used during the system is in sleep mode. 
- *
- * @param   None. 
- *       
- *
+
  * @return  None.
  */
 __attribute__((section("ram_code"))) void user_entry_before_sleep_imp(void)

+ 1 - 3
ble_simple_peripheral/gcc/Makefile

@@ -12,9 +12,7 @@ endif
 
 SYSTEM := $(filter Windows_NT, $(OS))
 
-# ---------------------------------- #
-# Project name                       #
-# ---------------------------------- #
+ 
 PROJECT_NAME := fr8000_project
 
 # ---------------------------------- #

+ 0 - 5
ble_simple_peripheral/keil/Listings/boot_vectors.lst

@@ -1,9 +1,4 @@
 
-
-
-ARM Macro Assembler    Page 1 
-
-
     1 00000000         ;/******************************************************
                        ***********************
     2 00000000         ; * @file:    startup_MPS_CM3.s

+ 1 - 11
ble_simple_peripheral/keil/ble_simple_peripheral.uvopt

@@ -4,17 +4,7 @@
   <SchemaVersion>1.0</SchemaVersion>
 
   <Header>### uVision Project, (C) Keil Software</Header>
-
-  <Extensions>
-    <cExt>*.c</cExt>
-    <aExt>*.s*; *.src; *.a*</aExt>
-    <oExt>*.obj; *.o</oExt>
-    <lExt>*.lib</lExt>
-    <tExt>*.txt; *.h; *.inc; *.md</tExt>
-    <pExt>*.plm</pExt>
-    <CppX>*.cpp; *.cc; *.cxx</CppX>
-    <nMigrate>0</nMigrate>
-  </Extensions>
+ 
 
   <DaveTm>
     <dwLowDateTime>0</dwLowDateTime>