boost-ext / sml

C++14 State Machine library
https://boost-ext.github.io/sml
Boost Software License 1.0
1.15k stars 178 forks source link

support for the xtensa-esp32-elf-g++ #277

Open kopinions opened 5 years ago

kopinions commented 5 years ago
CMAKE_CXX_COMPILER: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
CMAKE_CXX_COMPILER_ID: GNU
CMAKE_CXX_COMPILER_VERSION: 5.2.0
Boost version: 1.69.0

sml CMakeList.text

if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND "${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS 6.0.0)
message(FATAL_ERROR "sml requires GCC >= 6.0.0")

how to support the esp32?

kopinions commented 5 years ago

any advice? thanks in advance.

kaidokert commented 5 years ago

There's a preview GCC 8.2 based toolchain for ESP32, see here: https://www.esp32.com/viewtopic.php?t=7400

b1ackviking commented 3 years ago

The current GCC version for ESP32 is 8.4. There should be no problems with it. I guess you can close the issue, @kopinions?