Home  >  Article  >  Backend Development  >  Can golang write microcontroller?

Can golang write microcontroller?

尚
Original
2020-03-27 11:22:517232browse

Can golang write microcontroller?

go can write microcontrollers. The entire development structure of microcontrollers is divided into three major steps:

The first step is to install the compilation tool program (compiler) on the development computer ), this is generally provided by microcontroller manufacturers, and there are also third-party compilers. There is a compiler called tinygo that can compile the Go language. You can search the official website on Baidu.

The second step is to write the microcontroller program on the compilation tool program, mostly written in assembly and C language. tinygo supports go language, so it can be written in go language. Then compile the written program.

The second step is to install the burning tool program, connect the microcontroller, select the compiled file, burn it into the microcontroller, and then reset the microcontroller to run the program.

The above is the detailed content of Can golang write microcontroller?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn