[GH-ISSUE #2298] Port to Esp32 (microcontrollers) #1827

Closed
opened 2026-05-05 13:10:42 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @ricardojlrufino on GitHub (Mar 14, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2298

The solution you want

The client ported to esp32 (https://www.espressif.com/en/products/socs/esp32)

How to implement this function
Maybe using: https://tinygo.org/microcontrollers/
https://tinygo.org/microcontrollers/esp8266-nodemcu/
https://tinygo.org/microcontrollers/esp32-coreboard-v2/

Application scenarios of this function

Allow access to iot devices from anywhere

Originally created by @ricardojlrufino on GitHub (Mar 14, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2298 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> **The solution you want** <!--A clear and concise description of the solution you want. --> The client ported to esp32 (https://www.espressif.com/en/products/socs/esp32) **How to implement this function** Maybe using: https://tinygo.org/microcontrollers/ https://tinygo.org/microcontrollers/esp8266-nodemcu/ https://tinygo.org/microcontrollers/esp32-coreboard-v2/ **Application scenarios of this function** <!--Make a clear and concise description of the application scenario of the solution you want. --> Allow access to iot devices from anywhere
gitea-mirror 2026-05-05 13:10:42 -06:00
Author
Owner

@fatedier commented on GitHub (Mar 15, 2021):

I'm not sure if it's a common requirement. Maybe you can build it by yourself first?

<!-- gh-comment-id:799070885 --> @fatedier commented on GitHub (Mar 15, 2021): I'm not sure if it's a common requirement. Maybe you can build it by yourself first?
Author
Owner

@ricardojlrufino commented on GitHub (Mar 15, 2021):

Probably will not work Tinygo does not have support for Wifi
image

image

<!-- gh-comment-id:799563175 --> @ricardojlrufino commented on GitHub (Mar 15, 2021): Probably will not work Tinygo does not have support for Wifi ![image](https://user-images.githubusercontent.com/515675/111187770-168da380-8593-11eb-83ac-90e0385a44a8.png) ![image](https://user-images.githubusercontent.com/515675/111188163-82700c00-8593-11eb-91c9-a11269705df7.png)
Author
Owner

@ricardojlrufino commented on GitHub (Mar 15, 2021):

Error

go: downloading golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980
# net
../usr/include/netdb.h:617:23: unexpected token ILLEGAL
../usr/include/netdb.h:618:22: unexpected token ILLEGAL
../usr/include/netdb.h:624:23: unexpected token ILLEGAL
../usr/include/netdb.h:625:25: unexpected token ILLEGAL
../usr/include/netdb.h:617:23: unexpected token ILLEGAL
../usr/include/netdb.h:618:22: unexpected token ILLEGAL
../usr/include/netdb.h:624:23: unexpected token ILLEGAL
../usr/include/netdb.h:625:25: unexpected token ILLEGAL
../usr/include/netdb.h:617:23: unexpected token ILLEGAL
../usr/include/netdb.h:618:22: unexpected token ILLEGAL
../usr/include/netdb.h:624:23: unexpected token ILLEGAL
../usr/include/netdb.h:625:25: unexpected token ILLEGAL
make: *** [Makefile:33: frpc] Error 1
debian@tools2 /o/d/t/frp> ls

ref: https://tinygo.org/lang-support/stdlib/#net

<!-- gh-comment-id:799578274 --> @ricardojlrufino commented on GitHub (Mar 15, 2021): Error ``` go: downloading golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 # net ../usr/include/netdb.h:617:23: unexpected token ILLEGAL ../usr/include/netdb.h:618:22: unexpected token ILLEGAL ../usr/include/netdb.h:624:23: unexpected token ILLEGAL ../usr/include/netdb.h:625:25: unexpected token ILLEGAL ../usr/include/netdb.h:617:23: unexpected token ILLEGAL ../usr/include/netdb.h:618:22: unexpected token ILLEGAL ../usr/include/netdb.h:624:23: unexpected token ILLEGAL ../usr/include/netdb.h:625:25: unexpected token ILLEGAL ../usr/include/netdb.h:617:23: unexpected token ILLEGAL ../usr/include/netdb.h:618:22: unexpected token ILLEGAL ../usr/include/netdb.h:624:23: unexpected token ILLEGAL ../usr/include/netdb.h:625:25: unexpected token ILLEGAL make: *** [Makefile:33: frpc] Error 1 debian@tools2 /o/d/t/frp> ls ``` ref: https://tinygo.org/lang-support/stdlib/#net
Author
Owner

@ricardojlrufino commented on GitHub (Mar 15, 2021):

Maybe a alternative
https://github.com/alphahorizonio/tinynet

<!-- gh-comment-id:799634561 --> @ricardojlrufino commented on GitHub (Mar 15, 2021): Maybe a alternative https://github.com/alphahorizonio/tinynet
Author
Owner

@github-actions[bot] commented on GitHub (Apr 30, 2021):

Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.

<!-- gh-comment-id:829717337 --> @github-actions[bot] commented on GitHub (Apr 30, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
Author
Owner

@NguyenMinhTri commented on GitHub (Apr 19, 2022):

Maybe a alternative https://github.com/alphahorizonio/tinynet

hi, Are you port to ESP32 successfully?

<!-- gh-comment-id:1102506880 --> @NguyenMinhTri commented on GitHub (Apr 19, 2022): > Maybe a alternative https://github.com/alphahorizonio/tinynet hi, Are you port to ESP32 successfully?
Author
Owner

@ricardojlrufino commented on GitHub (Apr 19, 2022):

Maybe a alternative https://github.com/alphahorizonio/tinynet

hi, Are you port to ESP32 successfully?

I did not try

<!-- gh-comment-id:1102706624 --> @ricardojlrufino commented on GitHub (Apr 19, 2022): > > Maybe a alternative https://github.com/alphahorizonio/tinynet > > hi, Are you port to ESP32 successfully? I did not try
Author
Owner

@yangminglong commented on GitHub (Oct 3, 2022):

您想要的解决方案

客户端移植到 esp32 ( https://www.espressif.com/en/products/socs/esp32 )

如何实现此功能 可能使用:https ://tinygo.org/microcontrollers/ https://tinygo.org/microcontrollers/esp8266-nodemcu/ https://tinygo.org/microcontrollers/esp32-coreboard-v2/

该功能的应用场景

允许从任何地方访问物联网设备

我不确定这是否是一个常见的要求。也许您可以先自己构建它?

ask for this

<!-- gh-comment-id:1265809366 --> @yangminglong commented on GitHub (Oct 3, 2022): > **您想要的解决方案** > > 客户端移植到 esp32 ( https://www.espressif.com/en/products/socs/esp32 ) > > **如何实现此功能** 可能使用:[https ://tinygo.org/microcontrollers/ ](https://tinygo.org/microcontrollers/) [https://tinygo.org/microcontrollers/esp8266-nodemcu/ ](https://tinygo.org/microcontrollers/esp8266-nodemcu/) https://tinygo.org/microcontrollers/esp32-coreboard-v2/ > > **该功能的应用场景** > > 允许从任何地方访问物联网设备 > 我不确定这是否是一个常见的要求。也许您可以先自己构建它? ask for this
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1827
No description provided.