Конвертор кода: Go -> C++ и Python (форк https://github.com/andygeiss/esp32-transpiler)
Найти файл
2018-04-04 10:27:21 +02:00
api refactoring 2018-04-03 08:45:48 +02:00
impl refactoring 2018-04-03 08:45:48 +02:00
LICENSE first commit 2018-03-14 15:24:03 +01:00
main.go refactoring 2018-04-03 08:45:48 +02:00
Makefile package section removed 2018-04-03 08:56:05 +02:00
README.md badge added 2018-04-04 10:27:21 +02:00

ESP32 Transpiler

Go Report Card

Purpose

The Arduino IDE is easy to use. But I faced problems like maintainability and testability at more complicated IoT projects. I needed to compile and flash the ESP32 before testing my code functionality by doing it 100% manually.

This solution transpiles Golang into Arduino code, which can be compiled to an image by using the ESP32 toolchain. Now I am able to use a fully automated testing approach instead of doing it 100% manually.

Important: The Transpiler only supports a small subset of the Golang Language Specification.

Installation

go get -u github.com/andygeiss/esp32-transpiler

Usage

Usage of esp32-transpiler:
  -source string
        Golang source file
  -target string
        Arduino sketch file