Hi,
I've published to my github a Docker to build the inverter source code. It saves having to setup build dependencies on your machine. I was having issues building on my mac. The README contains instructions
https://github.com/jamiejones85/open-inverter-docker
Let me know if you have any issues.
Docker container for building
- Bigpie
- Posts: 1595
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 75 times
- Been thanked: 304 times
Docker container for building
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
- johu
- Site Admin
- Posts: 5791
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1025 times
- Contact:
Re: Docker container for building
Finally got around to testing. So it works
As a bit of a Docker dummy: how do I obtain the bin files to use outside the image?
Currently experimenting with gitpod
As a bit of a Docker dummy: how do I obtain the bin files to use outside the image?
Currently experimenting with gitpod
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- johu
- Site Admin
- Posts: 5791
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1025 times
- Contact:
Re: Docker container for building
Yes that also works.
You need a github account and you need to fork the stm32-sine project to it. Then point your browser to
It will ask for permissions and then use the Dockerfile included in the repo to set up the build environment. (Basically just installing gcc-arm-none-eabi).
When done an IDE opens within your browser and you can start hacking
From now on the usual build procedure applies:
First time
And to build an image
The stm32_sine or stm32_foc.bin will appear in the explorer on the left where you can right-click and download.
Important: uncommitted changes don't seem to persist. So make sure to commit and push any changes you want to be permanent.
If you want your change added to the mainline then create a branch like "feature/my_new_temp_sensor" and commit. One commit per change, please! Then push and make a new pull request.
You need a github account and you need to fork the stm32-sine project to it. Then point your browser to
Code: Select all
https://gitpod.io/#https://github.com/<yourname>/stm32-sine
When done an IDE opens within your browser and you can start hacking
From now on the usual build procedure applies:
First time
Code: Select all
make get-deps
Code: Select all
CONTROL=SINE make #or CONTROL=FOC make
Important: uncommitted changes don't seem to persist. So make sure to commit and push any changes you want to be permanent.
If you want your change added to the mainline then create a branch like "feature/my_new_temp_sensor" and commit. One commit per change, please! Then push and make a new pull request.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Bigpie
- Posts: 1595
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 75 times
- Been thanked: 304 times
Re: Docker container for building
I've not used it that much, but you can install binaries by editing the dockerfile.
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater