https://github.com/skyplabs/stm32-dockerfile
Development environment for the STM32 microcontroller familiy
https://github.com/skyplabs/stm32-dockerfile
docker embedded-systems microservice stm32
Last synced: 9 months ago
JSON representation
Development environment for the STM32 microcontroller familiy
- Host: GitHub
- URL: https://github.com/skyplabs/stm32-dockerfile
- Owner: SkypLabs
- License: mit
- Created: 2016-11-30T21:46:53.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2018-12-10T14:55:23.000Z (over 7 years ago)
- Last Synced: 2025-04-09T07:14:20.766Z (12 months ago)
- Topics: docker, embedded-systems, microservice, stm32
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# STM32 Development Environment
[](https://www.codacy.com/app/skyper/stm32-dockerfile?utm_source=github.com&utm_medium=referral&utm_content=SkypLabs/stm32-dockerfile&utm_campaign=Badge_Grade)
This image provides a development environment to build software for the [STM32 microcontroller family][stm32].
It contains the [open source version of the STMicroelectronics ST-LINK tools][stlink].
## How to
To compile a project using a `Makefile`:
docker run --rm -v :/home/dev/app docker.io/skyplabs/stm32
*local path* refers to the folder on your host system which holds the source code of your application and containing a `Makefile`.
To get a shell to the container and then get access to the ST tools:
docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb -v :/home/dev/app docker.io/skyplabs/stm32 /bin/bash
## Troubleshooting
### *unknown chip id! 0xe0042000*
* Short-circuit the two pins marked `BOOT0` and `VDD`
* Reset the board
* Erase the flash memory
st-flash erase
## License
[MIT][mit]
[stm32]: https://www.st.com/en/microcontrollers/stm32-32-bit-arm-cortex-mcus.html
[stlink]: https://github.com/texane/stlink
[mit]: http://opensource.org/licenses/MIT