0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

物置: stm32F4-discovery その4

0
Last updated at Posted at 2026-09-30

概要

物置で、stm32F4-discoveryが3台、見つかったので、最新、開発環境、入れてみた。
アルケミスト(Alchemist)に憧れるので、atomvmをビルドしてみた。

環境

windows10
WSL1(ubuntu20.04)
stm32cubeIDE

手順

足りないツールをインストール

>sudo apt install gcc-arm-none-eabi

>sudo apt install cmake

>sudo apt install meson ninja-build

>sudo apt install python-is-python3

libopencm3を準備する

>git clone -b v0.8.0 https://github.com/libopencm3/libopencm3.git

>cd libopencm3 && make -j4 && cd ..

atomvmをビルド

>git clone https://github.com/atomvm/AtomVM

>cd AtomVM/src/platforms/stm32

>mkdir -p build

>cd build

>cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/arm-toolchain.cmake \
> -DLIBOPENCM3_DIR=/home/ohi/libopencm3 ..

windowsで焼く。

>STM32_Programmer_CLI.exe -c port=SWD mode=UR -w AtomVM-stm32f407vgt6.bin 0x08000000 -v -rst


動作確認結果

uart pa9ピンの出力
BaudRate : 115200
Parity : None
DataBits : 8
StopBits : One
Handshake : None
失敗--文字化けしてる。何か、見落としてる。

Da2uuyyyyy @d22 @d22; @ D` @ @ D` ツ @d2o;@ @d" @d2ouuyyyy,oety @Da2uuyyyy @d22 @d22;@ @ D` @ @ ツ ' ツ @d22;@ @d" @d22uuyyyy,oety Da2uuyyyyy @d22 @d22; @ D` @ @ D`

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?