mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-30 18:57:28 +02:00
esp_modem: updated package version to 0.1.19
This commit is contained in:
2
.github/workflows/target-test.yml
vendored
2
.github/workflows/target-test.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
container: espressif/idf:${{ matrix.idf_ver }}
|
container: espressif/idf:${{ matrix.idf_ver }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout esp-protocols
|
- name: Checkout esp-protocols
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: esp-protocols
|
path: esp-protocols
|
||||||
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
|
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
|
||||||
|
@ -14,6 +14,7 @@ else()
|
|||||||
set(dependencies driver esp_event esp_netif)
|
set(dependencies driver esp_event esp_netif)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
set(srcs ${platform_srcs}
|
set(srcs ${platform_srcs}
|
||||||
"src/esp_modem_dte.cpp"
|
"src/esp_modem_dte.cpp"
|
||||||
"src/esp_modem_dce.cpp"
|
"src/esp_modem_dce.cpp"
|
||||||
@ -34,12 +35,14 @@ idf_component_register(SRCS "${srcs}"
|
|||||||
PRIV_INCLUDE_DIRS private_include
|
PRIV_INCLUDE_DIRS private_include
|
||||||
REQUIRES ${dependencies})
|
REQUIRES ${dependencies})
|
||||||
|
|
||||||
|
|
||||||
set_target_properties(${COMPONENT_LIB} PROPERTIES
|
set_target_properties(${COMPONENT_LIB} PROPERTIES
|
||||||
CXX_STANDARD 17
|
CXX_STANDARD 17
|
||||||
CXX_STANDARD_REQUIRED ON
|
CXX_STANDARD_REQUIRED ON
|
||||||
CXX_EXTENSIONS ON
|
CXX_EXTENSIONS ON
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if(${target} STREQUAL "linux")
|
if(${target} STREQUAL "linux")
|
||||||
# This is needed for ESP_LOGx() macros, as integer formats differ on ESP32(..) and x64
|
# This is needed for ESP_LOGx() macros, as integer formats differ on ESP32(..) and x64
|
||||||
set_target_properties(${COMPONENT_LIB} PROPERTIES COMPILE_FLAGS -Wno-format)
|
set_target_properties(${COMPONENT_LIB} PROPERTIES COMPILE_FLAGS -Wno-format)
|
||||||
|
@ -7,3 +7,4 @@ endif()
|
|||||||
idf_component_register(SRCS "ap_to_pppos.c"
|
idf_component_register(SRCS "ap_to_pppos.c"
|
||||||
${NETWORK_DCE}
|
${NETWORK_DCE}
|
||||||
INCLUDE_DIRS ".")
|
INCLUDE_DIRS ".")
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: "0.1.18"
|
version: "0.1.19"
|
||||||
description: esp modem
|
description: esp modem
|
||||||
url: https://github.com/espressif/esp-protocols/tree/master/components/esp_modem
|
url: https://github.com/espressif/esp-protocols/tree/master/components/esp_modem
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
idf_component_register(SRCS "main.c" "mdns_test.c"
|
idf_component_register(SRCS "main.c" "mdns_test.c"
|
||||||
INCLUDE_DIRS ".")
|
INCLUDE_DIRS ".")
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
Reference in New Issue
Block a user