恢复433接收引脚为GPIO5
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
|
||||
#define RF_DATA xc_gpio_read_pin(RF433_PIN) //RF433接收引脚,根据具体单片机定义引脚
|
||||
|
||||
#define RF433_PIN GPIO_18 //RF433接收引脚,与DWM11硬件配置一致
|
||||
#define RF433_PIN GPIO_5 //RF433接收引脚,根据具体单片机定义引脚
|
||||
#define RF_dd GPIO_0 //
|
||||
|
||||
|
||||
|
||||
@@ -453,9 +453,9 @@ int main(void)
|
||||
// gpio_pullup_input_inter_test();
|
||||
adc_Init();
|
||||
external_key_init();
|
||||
/* Keep GPIO18 RF433 initialization last, after debug UART setup. */
|
||||
/* Keep RF433 GPIO initialization after the other input setup. */
|
||||
rf433_gpio_init();
|
||||
/* Clear UART-to-GPIO transition pulses after GPIO18 is stable. */
|
||||
/* Clear any startup transition pulses after RF433 GPIO is stable. */
|
||||
rf433_decoder_init();
|
||||
while (1){
|
||||
//DEBUG("222\r\n");
|
||||
|
||||
Binary file not shown.
@@ -60,44 +60,6 @@ compiling external_key.c...
|
||||
..\app\src\RF433.h(190): warning: #1295-D: Deprecated declaration Encoder_key - give arg types
|
||||
void Encoder_key();
|
||||
..\app\src\external_key.c: 15 warnings, 0 errors
|
||||
compiling uart.c...
|
||||
..\app\src\RF433.h(185): warning: #1295-D: Deprecated declaration rf433_receive - give arg types
|
||||
void rf433_receive();
|
||||
..\app\src\RF433.h(186): warning: #1295-D: Deprecated declaration rf433_gpio_init - give arg types
|
||||
void rf433_gpio_init();
|
||||
..\app\src\RF433.h(187): warning: #1295-D: Deprecated declaration scan_433 - give arg types
|
||||
void scan_433();
|
||||
..\app\src\RF433.h(188): warning: #1295-D: Deprecated declaration Lock_Pwm7xd - give arg types
|
||||
void Lock_Pwm7xd();
|
||||
..\app\src\RF433.h(189): warning: #1295-D: Deprecated declaration Delay_50us - give arg types
|
||||
void Delay_50us();
|
||||
..\app\src\RF433.h(190): warning: #1295-D: Deprecated declaration Encoder_key - give arg types
|
||||
void Encoder_key();
|
||||
..\app\src\pwm.h(137): warning: #1295-D: Deprecated declaration _PWM_INIT - give arg types
|
||||
void _PWM_INIT();
|
||||
..\app\src\pwm.h(143): warning: #1295-D: Deprecated declaration adc_Init - give arg types
|
||||
void adc_Init();
|
||||
..\app\src\pwm.h(144): warning: #1295-D: Deprecated declaration My_ADC_Get_Value - give arg types
|
||||
void My_ADC_Get_Value();
|
||||
..\app\src\pwm.h(145): warning: #1295-D: Deprecated declaration gpio_pullup_input_inter_test - give arg types
|
||||
void gpio_pullup_input_inter_test();
|
||||
..\app\src\mode.h(43): warning: #1295-D: Deprecated declaration choice_mode - give arg types
|
||||
void choice_mode();
|
||||
..\app\src\mode.h(44): warning: #1295-D: Deprecated declaration set_mode - give arg types
|
||||
void set_mode();
|
||||
..\app\src\mode.h(45): warning: #1295-D: Deprecated declaration Start_PWM - give arg types
|
||||
void Start_PWM();
|
||||
..\app\src\mode.h(46): warning: #1295-D: Deprecated declaration Stop_PWM - give arg types
|
||||
void Stop_PWM();
|
||||
..\app\src\mode.h(47): warning: #1295-D: Deprecated declaration Set_timing - give arg types
|
||||
void Set_timing();
|
||||
..\app\src\uart.c(153): warning: #223-D: function "temperature" declared implicitly
|
||||
temperature(user_rx_buf[1]);
|
||||
..\app\src\uart.c(90): warning: #177-D: variable "uart_handle" was declared but never referenced
|
||||
uint8_t uart_handle = UART0_IDX;
|
||||
..\app\src\uart.c(211): warning: #1-D: last line of file ends without a newline
|
||||
|
||||
..\app\src\uart.c: 18 warnings, 0 errors
|
||||
compiling timer.c...
|
||||
..\app\src\PWM.h(137): warning: #1295-D: Deprecated declaration _PWM_INIT - give arg types
|
||||
void _PWM_INIT();
|
||||
@@ -172,30 +134,19 @@ compiling fmc_spi.c...
|
||||
..\app\src\fmc_spi.c(234): warning: #167-D: argument of type "uint8_t (*)[256]" is incompatible with parameter of type "uint8_t *"
|
||||
xc_fmc_spi_flash_read_page(0x1E000,&r_data, FLASH_PAGE_SIZE);
|
||||
..\app\src\fmc_spi.c: 20 warnings, 0 errors
|
||||
compiling usr_server.c...
|
||||
..\app\src\Mode.h(43): warning: #1295-D: Deprecated declaration choice_mode - give arg types
|
||||
void choice_mode();
|
||||
..\app\src\Mode.h(44): warning: #1295-D: Deprecated declaration set_mode - give arg types
|
||||
void set_mode();
|
||||
..\app\src\Mode.h(45): warning: #1295-D: Deprecated declaration Start_PWM - give arg types
|
||||
void Start_PWM();
|
||||
..\app\src\Mode.h(46): warning: #1295-D: Deprecated declaration Stop_PWM - give arg types
|
||||
void Stop_PWM();
|
||||
..\app\src\Mode.h(47): warning: #1295-D: Deprecated declaration Set_timing - give arg types
|
||||
void Set_timing();
|
||||
..\app\src\PWM.h(137): warning: #1295-D: Deprecated declaration _PWM_INIT - give arg types
|
||||
void _PWM_INIT();
|
||||
..\app\src\PWM.h(143): warning: #1295-D: Deprecated declaration adc_Init - give arg types
|
||||
void adc_Init();
|
||||
..\app\src\PWM.h(144): warning: #1295-D: Deprecated declaration My_ADC_Get_Value - give arg types
|
||||
void My_ADC_Get_Value();
|
||||
..\app\src\PWM.h(145): warning: #1295-D: Deprecated declaration gpio_pullup_input_inter_test - give arg types
|
||||
void gpio_pullup_input_inter_test();
|
||||
..\app\src\usr_server.c(275): warning: #223-D: function "ble_callback" declared implicitly
|
||||
ble_callback(co_buf_data(p_data)[0],co_buf_data(p_data)[1],co_buf_data(p_data)[2],co_buf_data(p_data)[3]);
|
||||
..\app\src\usr_server.c: 10 warnings, 0 errors
|
||||
compiling rgblight.c...
|
||||
compiling Mode.c...
|
||||
compiling uart.c...
|
||||
..\app\src\RF433.h(185): warning: #1295-D: Deprecated declaration rf433_receive - give arg types
|
||||
void rf433_receive();
|
||||
..\app\src\RF433.h(186): warning: #1295-D: Deprecated declaration rf433_gpio_init - give arg types
|
||||
void rf433_gpio_init();
|
||||
..\app\src\RF433.h(187): warning: #1295-D: Deprecated declaration scan_433 - give arg types
|
||||
void scan_433();
|
||||
..\app\src\RF433.h(188): warning: #1295-D: Deprecated declaration Lock_Pwm7xd - give arg types
|
||||
void Lock_Pwm7xd();
|
||||
..\app\src\RF433.h(189): warning: #1295-D: Deprecated declaration Delay_50us - give arg types
|
||||
void Delay_50us();
|
||||
..\app\src\RF433.h(190): warning: #1295-D: Deprecated declaration Encoder_key - give arg types
|
||||
void Encoder_key();
|
||||
..\app\src\pwm.h(137): warning: #1295-D: Deprecated declaration _PWM_INIT - give arg types
|
||||
void _PWM_INIT();
|
||||
..\app\src\pwm.h(143): warning: #1295-D: Deprecated declaration adc_Init - give arg types
|
||||
@@ -214,19 +165,13 @@ compiling Mode.c...
|
||||
void Stop_PWM();
|
||||
..\app\src\mode.h(47): warning: #1295-D: Deprecated declaration Set_timing - give arg types
|
||||
void Set_timing();
|
||||
..\app\src\RF433.h(185): warning: #1295-D: Deprecated declaration rf433_receive - give arg types
|
||||
void rf433_receive();
|
||||
..\app\src\RF433.h(186): warning: #1295-D: Deprecated declaration rf433_gpio_init - give arg types
|
||||
void rf433_gpio_init();
|
||||
..\app\src\RF433.h(187): warning: #1295-D: Deprecated declaration scan_433 - give arg types
|
||||
void scan_433();
|
||||
..\app\src\RF433.h(188): warning: #1295-D: Deprecated declaration Lock_Pwm7xd - give arg types
|
||||
void Lock_Pwm7xd();
|
||||
..\app\src\RF433.h(189): warning: #1295-D: Deprecated declaration Delay_50us - give arg types
|
||||
void Delay_50us();
|
||||
..\app\src\RF433.h(190): warning: #1295-D: Deprecated declaration Encoder_key - give arg types
|
||||
void Encoder_key();
|
||||
..\app\src\Mode.c: 15 warnings, 0 errors
|
||||
..\app\src\uart.c(153): warning: #223-D: function "temperature" declared implicitly
|
||||
temperature(user_rx_buf[1]);
|
||||
..\app\src\uart.c(90): warning: #177-D: variable "uart_handle" was declared but never referenced
|
||||
uint8_t uart_handle = UART0_IDX;
|
||||
..\app\src\uart.c(211): warning: #1-D: last line of file ends without a newline
|
||||
|
||||
..\app\src\uart.c: 18 warnings, 0 errors
|
||||
compiling arch_main.c...
|
||||
..\app\src\pwm.h(137): warning: #1295-D: Deprecated declaration _PWM_INIT - give arg types
|
||||
void _PWM_INIT();
|
||||
@@ -351,6 +296,38 @@ compiling Rf433.c...
|
||||
..\app\src\Rf433.c(24): warning: #177-D: variable "POWER_flag" was declared but never referenced
|
||||
static uint8_t POWER_flag;
|
||||
..\app\src\Rf433.c: 17 warnings, 0 errors
|
||||
compiling Mode.c...
|
||||
..\app\src\pwm.h(137): warning: #1295-D: Deprecated declaration _PWM_INIT - give arg types
|
||||
void _PWM_INIT();
|
||||
..\app\src\pwm.h(143): warning: #1295-D: Deprecated declaration adc_Init - give arg types
|
||||
void adc_Init();
|
||||
..\app\src\pwm.h(144): warning: #1295-D: Deprecated declaration My_ADC_Get_Value - give arg types
|
||||
void My_ADC_Get_Value();
|
||||
..\app\src\pwm.h(145): warning: #1295-D: Deprecated declaration gpio_pullup_input_inter_test - give arg types
|
||||
void gpio_pullup_input_inter_test();
|
||||
..\app\src\mode.h(43): warning: #1295-D: Deprecated declaration choice_mode - give arg types
|
||||
void choice_mode();
|
||||
..\app\src\mode.h(44): warning: #1295-D: Deprecated declaration set_mode - give arg types
|
||||
void set_mode();
|
||||
..\app\src\mode.h(45): warning: #1295-D: Deprecated declaration Start_PWM - give arg types
|
||||
void Start_PWM();
|
||||
..\app\src\mode.h(46): warning: #1295-D: Deprecated declaration Stop_PWM - give arg types
|
||||
void Stop_PWM();
|
||||
..\app\src\mode.h(47): warning: #1295-D: Deprecated declaration Set_timing - give arg types
|
||||
void Set_timing();
|
||||
..\app\src\RF433.h(185): warning: #1295-D: Deprecated declaration rf433_receive - give arg types
|
||||
void rf433_receive();
|
||||
..\app\src\RF433.h(186): warning: #1295-D: Deprecated declaration rf433_gpio_init - give arg types
|
||||
void rf433_gpio_init();
|
||||
..\app\src\RF433.h(187): warning: #1295-D: Deprecated declaration scan_433 - give arg types
|
||||
void scan_433();
|
||||
..\app\src\RF433.h(188): warning: #1295-D: Deprecated declaration Lock_Pwm7xd - give arg types
|
||||
void Lock_Pwm7xd();
|
||||
..\app\src\RF433.h(189): warning: #1295-D: Deprecated declaration Delay_50us - give arg types
|
||||
void Delay_50us();
|
||||
..\app\src\RF433.h(190): warning: #1295-D: Deprecated declaration Encoder_key - give arg types
|
||||
void Encoder_key();
|
||||
..\app\src\Mode.c: 15 warnings, 0 errors
|
||||
linking...
|
||||
Program Size: Code=32588 RO-data=2208 RW-data=2828 ZI-data=3856
|
||||
FromELF: creating hex file...
|
||||
@@ -362,7 +339,7 @@ dual_xip
|
||||
Addr:13000
|
||||
Size:0x88f8
|
||||
BAddr:0x40000
|
||||
Acheck:0xfc8e6c80
|
||||
Acheck:0xf227e680
|
||||
SoftVer:0x10
|
||||
RomVer:0x20
|
||||
LoadAddr:0x11013000
|
||||
@@ -390,7 +367,7 @@ status2=1
|
||||
updata file success !
|
||||
已复制 1 个文件。
|
||||
已复制 1 个文件。
|
||||
".\Objects\Xinc_ble_sdk.axf" - 0 Error(s), 152 Warning(s).
|
||||
".\Objects\Xinc_ble_sdk.axf" - 0 Error(s), 142 Warning(s).
|
||||
|
||||
<h2>Software Packages used:</h2>
|
||||
|
||||
@@ -403,7 +380,7 @@ Package Vendor: ARM
|
||||
D:/Program Files/Keil_v5/ARM/Packs/ARM/CMSIS/5.9.0/Device/ARM/ARMCM0/Include
|
||||
|
||||
<h2>Collection of Component Files used:</h2>
|
||||
Build Time Elapsed: 00:00:12
|
||||
Build Time Elapsed: 00:00:08
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1256,14 +1256,14 @@
|
||||
:105E600007220221304600F01FF8002803D001204D
|
||||
:105E7000FFF77AFF02E06571A571A5606580278054
|
||||
:105E80002771F8BDF44A00101CB500200090694647
|
||||
:105E900001908870C870487108718871122008805C
|
||||
:105E900001908870C8704871087188710520088069
|
||||
:105EA000684601F045FB1CBD884203D3904201D8EF
|
||||
:105EB00001207047002070470188034A914202D2B6
|
||||
:105EC0000188491C01807047FFFF0000F8B50025DC
|
||||
:105ED000084E2C46771F315D385DFDF7F1FC002838
|
||||
:105EE00001D16D1CEDB2641CE4B2052CF3D328463D
|
||||
:105EF000F8BD0000C146001010B5184C606C401C85
|
||||
:105F00006064122001F0E0FB012800D00020FFF7C0
|
||||
:105F00006064052001F0E0FB012800D00020FFF7CD
|
||||
:105F10006FFFE18A0020002918D0491EE182A0719C
|
||||
:105F2000E16A01290BD1218B002902D0491E21836E
|
||||
:105F300005E04B21C90021830121A171E0620849DC
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<title>Static Call Graph - [.\Objects\Xinc_ble_sdk.axf]</title></head>
|
||||
<body><HR>
|
||||
<H1>Static Call Graph for image .\Objects\Xinc_ble_sdk.axf</H1><HR>
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 5060750: Last Updated: Wed Jul 29 18:15:30 2026
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 5060750: Last Updated: Mon Aug 03 13:21:53 2026
|
||||
<BR><P>
|
||||
<H3>Maximum Stack Usage = 768 bytes + Unknown(Functions without stacksize, Untraceable Function Pointers)</H3><H3>
|
||||
Call chain for Maximum Stack Depth:</H3>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
;#<FEEDBACK># ARM Linker, 5060750: Last Updated: Wed Jul 29 18:15:30 2026
|
||||
;#<FEEDBACK># ARM Linker, 5060750: Last Updated: Mon Aug 03 13:21:53 2026
|
||||
;VERSION 0.2
|
||||
;FILE aes.o
|
||||
__asm___5_aes_c____REV16 <= USED 0
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user