- docker (you must add group for no sudo) and docker-compose
- vscode (extension id)
- ms-vscode-remote.vscode-remote-extensionpack
- ms-azuretools.vscode-docker
- j-link
If you are ready above the requires, press F1 key and enter keyword 'reopen'
so you can see 'Remote Containers: Reopen in container'
Just click!
On linux, it may very slow that build environment is ready
because uid,gid of user inside the docker image changes
to uid,gid of host (uid and gid of user inside the docker image is each 1000)
west build -p always -b olimex_stm32_h405
{project_root}/build/zephyr/zephyr.hex
https://docs.zephyrproject.org/latest/index.html
- spi_example: https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/drivers/spi_bitbang/src/main.c
The program uses j-Flash Lite, and debug logging uses j-link RTT view because there is no uart line.