diff --git a/config/boards/arm/hw75_dynamic/README.md b/config/boards/arm/hw75_dynamic/README.md index c21e348c..8b6dee5e 100644 --- a/config/boards/arm/hw75_dynamic/README.md +++ b/config/boards/arm/hw75_dynamic/README.md @@ -41,14 +41,9 @@ sudo npm install -g lv_font_conv ### 编译 ```sh -export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -export GNUARMEMB_TOOLCHAIN_PATH=/path/to/gcc-arm-none-eabi-10.3-2021.10 - west init -l config west update west zephyr-export -pip install -r zephyr/scripts/requirements.txt - west build -s zmk/app -b hw75_dynamic -- -DZMK_CONFIG=$PWD/config west flash ``` @@ -66,7 +61,7 @@ west build -s zmk/app -b hw75_dynamic -- -DZMK_CONFIG=$PWD/config \ 查看日志: ```sh -pyocd rtt --pack=Keil.STM32F4xx_DFP.2.16.0.pack --target stm32f405rg +pyocd rtt -t stm32f405rg ``` ## 致谢 diff --git a/config/boards/arm/hw75_keyboard/README.md b/config/boards/arm/hw75_keyboard/README.md index b5fc94c6..50a8bba6 100644 --- a/config/boards/arm/hw75_keyboard/README.md +++ b/config/boards/arm/hw75_keyboard/README.md @@ -43,9 +43,6 @@ ZMK 默认带了几种灯效。可以通过 Fn 组合键切换: 参考 [ZMK 的上手文档](https://zmk.dev/docs/development/setup#prerequisites)。 ```sh -export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -export GNUARMEMB_TOOLCHAIN_PATH=/path/to/gcc-arm-none-eabi-10.3-2021.10 - west init -l config west update west zephyr-export