From 72b9a103b30c2ed871eaa8098b4d22ad120198a3 Mon Sep 17 00:00:00 2001 From: 1078249029 <1078249029@qq.com> Date: Fri, 7 Mar 2025 09:21:14 +0800 Subject: [PATCH] [ci][ESP32C3] Add at devices ci Signed-off-by: 1078249029 <1078249029@qq.com> --- bsp/ESP32_C3/.ci/attachconfig/ci.attachconfig.yml | 6 ++++++ bsp/ESP32_C3/rtconfig.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bsp/ESP32_C3/.ci/attachconfig/ci.attachconfig.yml b/bsp/ESP32_C3/.ci/attachconfig/ci.attachconfig.yml index af6fbb3d8d..a2a990be1c 100644 --- a/bsp/ESP32_C3/.ci/attachconfig/ci.attachconfig.yml +++ b/bsp/ESP32_C3/.ci/attachconfig/ci.attachconfig.yml @@ -54,4 +54,10 @@ devices.wifi: - CONFIG_BSP_USING_WIFI=y - CONFIG_RT_USING_WIFI=y - CONFIG_RT_USING_LWIP=y + - CONFIG_RT_USING_NETDEV=y +devices.at: + kconfig: + - CONFIG_RT_USING_AT=y + - CONFIG_AT_USING_CLIENT=y + - CONFIG_RT_USING_SAL=y - CONFIG_RT_USING_NETDEV=y \ No newline at end of file diff --git a/bsp/ESP32_C3/rtconfig.py b/bsp/ESP32_C3/rtconfig.py index 12caa433a4..c1c04fc739 100644 --- a/bsp/ESP32_C3/rtconfig.py +++ b/bsp/ESP32_C3/rtconfig.py @@ -36,7 +36,7 @@ if PLATFORM == 'gcc': STRIP = PREFIX + 'strip' DEVICE = ' -nostartfiles -march=rv32imc --specs=nosys.specs -fasynchronous-unwind-tables ' - CFLAGS = DEVICE + '-gdwarf-4 -ggdb -Og ' + CFLAGS = DEVICE + '-include ../../components/libc/compilers/common/include/sys/ioctl.h -gdwarf-4 -ggdb -Og ' AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' LFLAGS = DEVICE + ' -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32C3=0 -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,_start -T idf_port/ld/memory.ld -T idf_port/ld/sections.ld -T packages/ESP-IDF-latest/components/esp_rom/esp32c3/ld/esp32c3.rom.ld -T packages/ESP-IDF-latest/components/esp_rom/esp32c3/ld/esp32c3.rom.api.ld -T packages/ESP-IDF-latest/components/esp_rom/esp32c3/ld/esp32c3.rom.libgcc.ld -T packages/ESP-IDF-latest/components/esp_rom/esp32c3/ld/esp32c3.rom.newlib.ld -T packages/ESP-IDF-latest/components/esp_rom/esp32c3/ld/esp32c3.rom.version.ld -T packages/ESP-IDF-latest/components/esp_rom/esp32c3/ld/esp32c3.rom.eco3.ld -T packages/ESP-IDF-latest/components/soc/esp32c3/ld/esp32c3.peripherals.ld -Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting -Wl,--wrap=__register_frame_info_bases -Wl,--wrap=__register_frame_info -Wl,--wrap=__register_frame -Wl,--wrap=__register_frame_info_table_bases -Wl,--wrap=__register_frame_info_table -Wl,--wrap=__register_frame_table -Wl,--wrap=__deregister_frame_info_bases -Wl,--wrap=__deregister_frame_info -Wl,--wrap=_Unwind_Find_FDE -Wl,--wrap=_Unwind_GetGR -Wl,--wrap=_Unwind_GetCFA -Wl,--wrap=_Unwind_GetIP -Wl,--wrap=_Unwind_GetIPInfo -Wl,--wrap=_Unwind_GetRegionStart -Wl,--wrap=_Unwind_GetDataRelBase -Wl,--wrap=_Unwind_GetTextRelBase -Wl,--wrap=_Unwind_SetIP -Wl,--wrap=_Unwind_SetGR -Wl,--wrap=_Unwind_GetLanguageSpecificData -Wl,--wrap=_Unwind_FindEnclosingFunction -Wl,--wrap=_Unwind_Resume -Wl,--wrap=_Unwind_RaiseException -Wl,--wrap=_Unwind_DeleteException -Wl,--wrap=_Unwind_ForcedUnwind -Wl,--wrap=_Unwind_Resume_or_Rethrow -Wl,--wrap=_Unwind_Backtrace -Wl,--wrap=__cxa_call_unexpected -Wl,--eh-frame-hdr -Wl,--wrap=__gxx_personality_v0 -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32C3=0' CXXFLAGS = CFLAGS