Skip to content

Commit fc164e0

Browse files
Amronosmergify[bot]
authored andcommitted
Add Support for ESP-IDF v5.5 (#325)
Co-authored-by: @YanKE01 Co-authored-by: Narukara <narukara17@gmail.com> (cherry picked from commit 56d5afc) # Conflicts: # .github/workflows/ci.yml # README.md
1 parent 61e2e86 commit fc164e0

5 files changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26+
<<<<<<< HEAD
2627
idf_target: [esp32, esp32s2, esp32s3, esp32c3, esp32c6, esp32p4]
28+
=======
29+
idf_target: [esp32, esp32s2, esp32s3, esp32c3, esp32c6]
30+
>>>>>>> 56d5afc (Add Support for ESP-IDF v5.5 (#325))
2731
idf_version: [v5.2, v5.3, v5.4, v5.5]
2832

2933
container:

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,14 @@ execute_process(
7171
${submake} -j -f libmicroros.mk
7272
X_CC=${CMAKE_C_COMPILER}
7373
X_AR=${CMAKE_AR}
74-
X_STRIP=${CMAKE_STRIP}
75-
X_CFLAGS=${CMAKE_C_FLAGS}
7674
X_CXX=${CMAKE_CXX_COMPILER}
77-
X_CXXFLAGS=${CMAKE_CXX_FLAGS}
7875
C_STANDARD=${CMAKE_C_STANDARD}
7976
MIDDLEWARE=${MIDDLEWARE}
8077
BUILD_DIR=${CMAKE_BINARY_DIR}
8178
IDF_INCLUDES=${IDF_INCLUDES}
8279
IDF_PATH=${IDF_PATH}
8380
IDF_TARGET=${IDF_TARGET}
8481
APP_COLCON_META=${APP_COLCON_META}
85-
IDF_VERSION_MAJOR=${IDF_VERSION_MAJOR}
86-
IDF_VERSION_MINOR=${IDF_VERSION_MINOR}
8782
EXTRA_ROS_PACKAGES=${EXTRA_ROS_PACKAGES}
8883
)
8984
if(libmicroros_ret AND NOT libmicroros_ret EQUAL 0)

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33

44
# micro-ROS component for ESP-IDF
55

6+
<<<<<<< HEAD
67
This component has been tested in ESP-IDF v5.2, v5.3, v5.4, and v5.5 with ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6, and ESP32-P4.
8+
=======
9+
This component has been tested in ESP-IDF v5.2, v5.3, v5.4, and v5.5 with ESP32, ESP32-S2, ESP32-S3, ESP32-C3 and ESP32-C6.
10+
>>>>>>> 56d5afc (Add Support for ESP-IDF v5.5 (#325))
711
812
## Dependencies
913

@@ -63,7 +67,7 @@ docker run -it --rm --net=host microros/micro-ros-agent:humble udp4 --port 8888
6367
It's possible to build this example application using the official Espressif [docker images](https://hub.docker.com/r/espressif/idf), following the same steps:
6468

6569
```bash
66-
docker run --name micro-ros-espidf-component -it espressif/idf:release-v5.4 bash
70+
docker run --name micro-ros-espidf-component -it espressif/idf:release-v5.5 bash
6771

6872
git clone -b humble https://github.com/micro-ROS/micro_ros_espidf_component.git
6973
cd micro_ros_espidf_component/

libmicroros.mk

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ else
1010
BUILD_TYPE = Release
1111
endif
1212

13-
CFLAGS_INTERNAL := $(X_CFLAGS) -ffunction-sections -fdata-sections
14-
CXXFLAGS_INTERNAL := $(X_CXXFLAGS) -ffunction-sections -fdata-sections
15-
1613
all: $(EXTENSIONS_DIR)/libmicroros.a
1714

1815
clean:
@@ -27,8 +24,6 @@ $(EXTENSIONS_DIR)/esp32_toolchain.cmake: $(EXTENSIONS_DIR)/esp32_toolchain.cmake
2724
cat $(EXTENSIONS_DIR)/esp32_toolchain.cmake.in | \
2825
sed "s/@CMAKE_C_COMPILER@/$(subst /,\/,$(X_CC))/g" | \
2926
sed "s/@CMAKE_CXX_COMPILER@/$(subst /,\/,$(X_CXX))/g" | \
30-
sed "s/@CFLAGS@/$(subst /,\/,$(CFLAGS_INTERNAL))/g" | \
31-
sed "s/@CXXFLAGS@/$(subst /,\/,$(CXXFLAGS_INTERNAL))/g" | \
3227
sed "s/@IDF_TARGET@/$(subst /,\/,$(IDF_TARGET))/g" | \
3328
sed "s/@IDF_PATH@/$(subst /,\/,$(IDF_PATH))/g" | \
3429
sed "s/@BUILD_CONFIG_DIR@/$(subst /,\/,$(BUILD_DIR)/config)/g" \

network_interfaces/uros_ethernet_netif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,4 @@ esp_err_t uros_network_interface_initialize(void)
172172
return ESP_OK;
173173
}
174174

175-
#endif
175+
#endif

0 commit comments

Comments
 (0)