Updated Compiling Tasmota on Gitpod (markdown)

Michael Ingraham 2019-05-07 16:27:46 -04:00
parent 1677597731
commit d40b5a475b
1 changed files with 8 additions and 8 deletions

@ -1,20 +1,20 @@
Even though Tasmota offers several pre-compiled firmware variants, sometimes the ready-to-flash binaries aren't enough. Even though Tasmota offers several pre-compiled firmware variants, sometimes the ready-to-flash binaries aren't enough.
Do you want to enable or disable some features, or simply change some parameters? Then you need to compile a binary yourself. Do you want to enable or disable some features, or simply change some parameters? Then you need to compile a binary yourself.
If you are not experienced enough or don't want to install an IDE (Integrated Development Environment) like PlatformIO or Arduino-IDE on your computer, you can compile your own firmware in a breeze on [GitPod](https://www.gitpod.io/). If you are not experienced enough or don't want to install an IDE (Integrated Development Environment) like PlatformIO or Arduino-IDE on your computer, you can compile your own firmware in a breeze on [Gitpod](https://www.gitpod.io/).
#### GitPod: #### Gitpod:
GitPod is a web browser based online IDE. All you need to use it is to link your GitHub account (or make a new one [here](https://github.com/join?source=header)). Gitpod is a web browser based online IDE. All you need to use it is to link your GitHub account (or make a new one [here](https://github.com/join?source=header)).
![GitPod login](https://i.imgur.com/irTdi4A.png) ![Gitpod login](https://i.imgur.com/irTdi4A.png)
After you successfully sign in, you can start your personal project. The fastest way to load Tasmota into GitPod is with the following link: After you successfully sign in, you can start your personal project. The fastest way to load Tasmota into Gitpod is with the following link:
`https://gitpod.io#https://github.com/arendst/Sonoff-Tasmota/tree/<branch>` `https://gitpod.io#https://github.com/arendst/Sonoff-Tasmota/tree/<branch>`
where branch is either `master` of `development` where branch is either `master` of `development`
GitPod will take care of all the necessary software package dependencies for you. Gitpod will take care of all the necessary software package dependencies for you.
After loading the project, you will be greeted by the main window, presenting three panels: After loading the project, you will be greeted by the main window, presenting three panels:
@ -44,7 +44,7 @@ This action is done in the Terminal pane (3) with very simple commands. The simp
![compile command](https://i.imgur.com/wXA4hvd.png) ![compile command](https://i.imgur.com/wXA4hvd.png)
With this command, GitPod will compile the Tasmota firmware with the features you selected. If you need a different variant, you can specify this option on the command line: With this command, Gitpod will compile the Tasmota firmware with the features you selected. If you need a different variant, you can specify this option on the command line:
`platformio run -e <variant-name>` `platformio run -e <variant-name>`
@ -60,7 +60,7 @@ Compilation normally takes only a couple of minutes. The time if takes is direct
Download the `firmware.bin` file to your computer and you are now ready to flash your device. Use [`esptool`](https://github.com/arendst/Sonoff-Tasmota/wiki/Esptool) or any other firmware upload [method](https://github.com/arendst/Sonoff-Tasmota/wiki/Flashing). Download the `firmware.bin` file to your computer and you are now ready to flash your device. Use [`esptool`](https://github.com/arendst/Sonoff-Tasmota/wiki/Esptool) or any other firmware upload [method](https://github.com/arendst/Sonoff-Tasmota/wiki/Flashing).
#### Browser Extension: #### Browser Extension:
GitPod has a browser extension (Chrome and Firefox) useful to directly load a GitHub project into your personal work-space. Gitpod has a browser extension (Chrome and Firefox) useful to directly load a GitHub project into your personal work-space.
![Gitpod link](https://i.imgur.com/uEHszIn.png) ![Gitpod link](https://i.imgur.com/uEHszIn.png)