diff --git a/README.md b/README.md index bad4d25a5..8329fbbbb 100755 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ adapted to [Kaia.ai](https://kaia.ai/)-based robots. Specifically, this adapted - moves WiFi.begin() outside of the Micro-ROS library for cleaner and convenient code development - tweaks colcon.meta to optimize library features, performance and memory usage - sets up the library for inclusion into the Arduino Library Manager +- pre-built for ESP32 only ## Install a library release by .ZIP download - Navigate to the [release section](https://github.com/kaiaai/micro_ros_arduino_kaia/releases) diff --git a/library.properties b/library.properties index 676ffc09a..5129756f8 100755 --- a/library.properties +++ b/library.properties @@ -7,4 +7,4 @@ paragraph=Forked from https://github.com/micro-ROS/micro_ros_arduino/ url=https://github.com/kaiaai/micro_ros_arduino_kaia/ precompiled=true category=Communication -architectures=stm32,OpenCR,Teensyduino,samd,sam,mbed,esp32,mbed_portenta +architectures=esp32 diff --git a/src/micro_ros_arduino.h b/src/micro_ros_arduino.h index b6d105cab..f5254a075 100755 --- a/src/micro_ros_arduino.h +++ b/src/micro_ros_arduino.h @@ -95,7 +95,7 @@ static inline void set_microros_native_ethernet_udp_transports(byte mac[], IPAdd #endif -#if defined(ESP32) || defined(TARGET_PORTENTA_H7_M7) || defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_WIO_TERMINAL) || defined(BOARD_WITH_ESP_AT) +#if defined(ESP32) || defined(TARGET_PORTENTA_H7_M7) || defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_WIO_TERMINAL) #if defined(ESP32) || defined(TARGET_PORTENTA_H7_M7) #include @@ -106,8 +106,6 @@ static inline void set_microros_native_ethernet_udp_transports(byte mac[], IPAdd #elif defined(ARDUINO_WIO_TERMINAL) #include #include -#elif defined(BOARD_WITH_ESP_AT) -#include #endif extern "C" bool arduino_wifi_transport_open(struct uxrCustomTransport * transport); @@ -170,4 +168,4 @@ static inline void set_microros_wifi_transports(char * agent_ip, uint agent_port #endif -#endif // MICRO_ROS_ARDUINO +#endif // MICRO_ROS_ARDUINO \ No newline at end of file diff --git a/src/micro_ros_kaia.h b/src/micro_ros_kaia.h new file mode 100644 index 000000000..fc14c2eec --- /dev/null +++ b/src/micro_ros_kaia.h @@ -0,0 +1,6 @@ +#ifndef MICRO_ROS_KAIA +#define MICRO_ROS_KAIA + +#include + +#endif \ No newline at end of file