RT-Thread-packages / at_device

AT component porting or samples for different devices
Apache License 2.0
215 stars 181 forks source link

添加ESP8266 编译报错过多参数 #208

Closed DevanYang closed 5 months ago

DevanYang commented 6 months ago

../packages/at_device-latest/class/esp8266/at_device_esp8266.c: In function 'esp8266_init': ../packages/at_device-latest/class/esp8266/at_device_esp8266.c:779:5: error: too many arguments to function 'at_client_init' arm-none-eabi-gcc "../libraries/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cryp.c" at_client_init(esp8266->client_name, esp8266->recv_line_num,esp8266->recv_line_num); ^~~~~~ In file included from G:\STM32\STM32F407\STM32F407VE\packages\at_device-latest\inc/at_device.h:18:0, from G:\STM32\STM32F407\STM32F407VE\packages\at_device-latest\class\esp8266/at_device_esp8266.h:20, from ../packages/at_device-latest/class/esp8266/at_device_esp8266.c:15: G:\STM32\STM32F407\STM32F407VE\rt-thread\components\net\at\include/at.h:208:5: note: declared here int at_client_init(const char *dev_name, rt_size_t recv_bufsz); ^~~~~~ make: [packages/at_device-latest/class/esp8266/subdir.mk:21: packages/at_device-latest/class/esp8266/at_device_esp8266.o] Error 1 make: Waiting for unfinished jobs.... "make -j20 all" terminated with exit code 2. Build might be incomplete. 修改前 Snipaste_2024-04-08_19-53-18 修改后 Snipaste_2024-04-08_19-57-24

请官方及时更改程序

yangpengya commented 5 months ago

https://github.com/RT-Thread/rt-thread/pull/8073

mysterywolf commented 5 months ago

https://github.com/RT-Thread-packages/at_device/pull/210