2025年10月15日水曜日

いまさら helix_five_rows_jis をビルドしようとしているあなたへ

2025/10/15 時点のビルド方法

  1. QMK Toolbox インストール

  2. QMK MSYS インストール(以降、QMK MSYS 上で作業)

  3. QMK Firmware をクローン

    • コミット: 9315172190 にスイッチ
  4. keyboards/helix/rev2/keymaps/keyboards/helix/rev2/keymapshelix_five_rows_jis をフォルダごとコピー

  5. command.h の編集

    diff --git a/tmk_core/common/command.h b/tmk_core/common/command.h
    index d9d89ba0f1..f44b3f7bc3 100644
    --- a/tmk_core/common/command.h
    +++ b/tmk_core/common/command.h
    @@ -16,7 +16,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
     */
    
     #ifndef COMMAND_H
    -#define COMMAND
    +#define COMMAND_H
    
     /* FIXME: Add doxygen comments for the behavioral defines in here. */
  6. rules.mk の編集

    diff --git a/rules.mk b/rules.mk
    index 084b5db..3fb420c 100644
    --- a/rules.mk
    +++ b/rules.mk
    @@ -30,7 +30,7 @@ endef
     # you can edit follows 7 Variables
     #  jp: 以下の7つの変数を必要に応じて編集します。
     HELIX_ROWS = 5              # Helix Rows is 4 or 5
    -OLED_ENABLE = yes           # OLED_ENABLE
    +OLED_ENABLE = no           # OLED_ENABLE
     LOCAL_GLCDFONT = no         # use each keymaps "helixfont.h" insted of "common/glcdfont.c"
     LED_BACK_ENABLE = no        # LED backlight (Enable WS2812 RGB underlight.)
     LED_UNDERGLOW_ENABLE = no   # LED underglow (Enable WS2812 RGB underlight.)

残念ながら OLED はあきらめねばならない。

参考資料

0 件のコメント:

コメントを投稿