qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
17.46k stars 37.68k forks source link

Fix 'qmk new-keyboard' processing of development_board #23996

Closed zvecr closed 2 days ago

zvecr commented 6 days ago

Description

Config would be created without the "board" config, which for blackpills fails to configure its HSE frequency correctly.

Instead of expanding development_board to its relevant config , just use the setting directly.

Also fixes the case of qmk import-keyboard where the json file is using development_board. Previously it would have processor/bootloader keys with unresolved tokens.

Types of Changes

Issues Fixed or Closed by This PR

Checklist