{"id":4982,"date":"2025-12-14T14:49:53","date_gmt":"2025-12-14T05:49:53","guid":{"rendered":"https:\/\/www.thun-techblog.com\/?p=4982"},"modified":"2025-12-14T14:52:50","modified_gmt":"2025-12-14T05:52:50","slug":"custom-vibl-stm32f103-vial","status":"publish","type":"post","link":"https:\/\/www.thun-techblog.com\/index.php\/blog\/custom-vibl-stm32f103-vial\/","title":{"rendered":"\u3010Vial\u3011STM32F103\u7528\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fcvibl\u306e\u6539\u9020\u3010\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3011"},"content":{"rendered":"\n<p>\u6700\u8fd1\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u754c\u9688\u3067\u306f\u6d41\u884c\u308a\u306eVial\u3067\u3059\u304c\u3001STM32F103\u3067\u306e\u5bfe\u5fdc\u306f\u3084\u3084\u9762\u5012\u306a\u8a71\u3092\u4ee5\u524d\u306b\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-thun wp-block-embed-thun\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"pstl4IeKXo\"><a href=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/stm32f103c8t6-vial-with-vibl-bootloader\/\">STM32F103C8T6\u3067Vial\u5bfe\u5fdc\u3059\u308b\u8a71<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;STM32F103C8T6\u3067Vial\u5bfe\u5fdc\u3059\u308b\u8a71&#8221; &#8212; THUN\u306e\u904a\u622f\u5ba4\" src=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/stm32f103c8t6-vial-with-vibl-bootloader\/embed\/#?secret=iy8XRgBkYu#?secret=pstl4IeKXo\" data-secret=\"pstl4IeKXo\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u666e\u901a\u306bSTM32F303\u306e\u3088\u3046\u306aUSB\u306eDFU\u3092\u6301\u3063\u3066\u3044\u308b\u5834\u5408\u306e\u5bfe\u5fdc\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-thun wp-block-embed-thun\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"CL2fvsleFZ\"><a href=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/porting-normalvia-to-vial-kbds\/\">\u65e2\u5b58\u306e\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u300cVial\u300d\u306b\u5bfe\u5fdc\u3055\u305b\u3066\u307f\u305f\u8a71<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u65e2\u5b58\u306e\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u300cVial\u300d\u306b\u5bfe\u5fdc\u3055\u305b\u3066\u307f\u305f\u8a71&#8221; &#8212; THUN\u306e\u904a\u622f\u5ba4\" src=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/porting-normalvia-to-vial-kbds\/embed\/#?secret=af2YDO03Mn#?secret=CL2fvsleFZ\" data-secret=\"CL2fvsleFZ\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u3068\u3044\u3046\u611f\u3058\u3067\u3001STM32F103\u3067Vial\u5bfe\u5fdc\u3092\u3057\u3088\u3046\u3068\u601d\u3046\u3068<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u4ed6\u30de\u30a4\u30b3\u30f3\u3068\u540c\u3058\u3088\u3046\u306bVial\u5bfe\u5fdc\u3092\u3059\u308b\u3002<\/li>\n\n\n\n<li>STM32F103\u5c02\u7528\u306b\u8a2d\u5b9a\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/li>\n\n\n\n<li>\u5c02\u7528\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fcvibl\u3092\u7528\u610f\u3059\u308b<\/li>\n\n\n\n<li>vibl\u3092\u66f8\u304d\u8fbc\u307f\u306e\u4e0a\u3001Vial\u306b\u63a5\u7d9a\u3057\u3066\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2(.vfw)\u3092\u66f8\u304d\u8fbc\u3080<\/li>\n<\/ol>\n\n\n\n<p>\u3068\u3044\u3046\u624b\u9806\u306b\u306a\u308a\u3001\u4ed6\u306e\u30de\u30a4\u30b3\u30f3\u306b\u6bd4\u3079\u3066\u624b\u9806\u304c\u591a\u3044\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u5c24\u3082\u3001\u3061\u3083\u3093\u3068\u8a2d\u5b9a\u3092\u884c\u3048\u3070\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306a\u3057\u3067\u3082\u8d77\u52d5\u3059\u308b\u3068\u306f\u601d\u3044\u307e\u3059\u3002\u7d14\u6b63\u306eDFU\u3067\u3082\u52d5\u304f\u3088\u3046\u306b\u30a2\u30c9\u30ec\u30b9\u3092\u9069\u5207\u306b\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u3059\u304c\u306d\u3002\u305f\u3060\u3001\u63a8\u5968\u624b\u9806\u306b\u306a\u3063\u3066\u3044\u308bvibl\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3092\u4f7f\u3046\u3068\u3053\u3046\u3044\u3046\u624b\u9806\u306b\u306a\u3063\u3066\u3044\u3057\u307e\u3044\u307e\u3059(\u306a\u305c\u304bSTM32Duino\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u8d77\u52d5\u3057\u306a\u3044)\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<p>\u30e6\u30fc\u30b6\u30fc\u76ee\u7dda\u3067\u8003\u3048\u3066\u3082\u7d14\u6b63DFU\u306e\u8d77\u52d5\u304b\u3089\u306b\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u4e07\u4e00\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u3057\u304f\u3058\u308b\u3068\u3001\u7d14\u6b63DFU\u2192SWD\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308a\u975e\u5e38\u306b\u9762\u5012\u306a\u306e\u3067\u3001\u4f55\u304b\u3057\u3089USB\u306e\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3092\u5165\u308c\u308b\u3079\u304d\u3060\u3068\u500b\u4eba\u7684\u306b\u3082\u601d\u3044\u307e\u3059\u3002\u3082\u3057\u4f7f\u308f\u306a\u3044\u3068\u3059\u308c\u3070\u6a5f\u80fd\u6e80\u8f09\u306b\u3057\u3066\u3001ROM\u5bb9\u91cf\u304c\u8db3\u308a\u305a\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306e\u30d5\u30c3\u30c8\u30d7\u30ea\u30f3\u30c8\u5206\u306e\u30b5\u30a4\u30ba\u3092\u524a\u308a\u305f\u3044\u3068\u304d\u3084\u3001\u5c11\u3057\u3067\u3082\u8d77\u52d5\u3092\u65e9\u304f\u3057\u305f\u3044\u3068\u304d\u3050\u3089\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u3001Vial\u3092\u4f7f\u3046\u969b\u306f\u57fa\u672c\u7684\u306bvibl\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3092\u66f8\u304d\u8fbc\u3080\u3053\u3068\u304c\u826f\u3044\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3059\u304c\u3001vibl\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306b\u306f\u6c17\u306b\u306a\u308b\u70b9\u304c\u3042\u308a\u307e\u3059\u3002vibl\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306eGithub\u306f<a href=\"https:\/\/github.com\/vial-kb\/vibl\">\u3053\u3061\u3089<\/a>\u3067\u3059\u3002<\/p>\n\n\n\n<p>vibl\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306fHID\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3068\u3044\u3046\u3082\u306e\u3092\u30d9\u30fc\u30b9\u306b\u6539\u826f\u3055\u308c\u305f\u3082\u306e\u3067\u3001\u3088\u304f\u7528\u3044\u3089\u308c\u308bSTM32Duino\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306b\u6bd4\u3079\u3066\u30d5\u30c3\u30c8\u30d7\u30ea\u30f3\u30c8\u306e\u30b5\u30a4\u30ba\u304c\u534a\u5206\u3067\u3042\u308b\u3068\u3044\u3046\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002STM32Duino\u304c8KB\u306a\u306e\u3067\u3001HID\u306e\u65b9\u306f4KB\u3067\u3059\u306d\u3002\u5c11\u3057\u3067\u3082\u5bb9\u91cf\u3092\u7a3c\u304e\u305f\u3044Vial\u306b\u306f\u3061\u3087\u3046\u3069\u826f\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306eHID\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306b\u306f\u306a\u3044\u6a5f\u80fd\u304cvibl\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306b\u306f\u52a0\u3048\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u305d\u308c\u306f\u7dca\u6025\u30d6\u30fc\u30c8\u30e2\u30fc\u30c9\u3067\u3059\u3002\u7dca\u6025\u30d6\u30fc\u30c8\u30e2\u30fc\u30c9\u306f\u3001Vial\u3092\u901a\u3058\u3066\u66f8\u304d\u8fbc\u3093\u3060.vfw\u30d5\u30a1\u30a4\u30eb\u306b\u4e0d\u5177\u5408\u306a\u3069\u304c\u3042\u308a\u7570\u5e38\u306a\u6319\u52d5\u3092\u793a\u3059\u5834\u5408\u306b\u3001\u5f37\u5236\u7684\u306b\u5225\u306e.vfw\u3092\u66f8\u3051\u308b\u3088\u3046\u306b\u3059\u308b\u30e2\u30fc\u30c9\u3067\u3059\u3002\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306e\u3075\u308b\u307e\u3044\u3068\u3057\u3066\u306f\u3001\u300c\u7dca\u6025\u30d6\u30fc\u30c8\u30e2\u30fc\u30c9\u3078\u306e\u30c8\u30ea\u30ac\u30fc\u300d\u304c\u3042\u308c\u3070\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u30a2\u30d7\u30ea\u9818\u57df\u306b\u30b8\u30e3\u30f3\u30d7\u305b\u305a\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u306b\u3068\u3069\u307e\u308a\u7d9a\u3051\u308b\u3068\u3044\u3046\u52d5\u4f5c\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u7dca\u6025\u30e2\u30fc\u30c9\u3078\u306e\u30c8\u30ea\u30ac\u30fc\u306b\u3064\u3044\u3066\u4e0d\u6e80\u3068\u3044\u3046\u304b\u5b9f\u88c5\u304c\u8db3\u308a\u3066\u3044\u306a\u3044\u3088\u3046\u306b\u611f\u3058\u308b\u90e8\u5206\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7dca\u6025\u30d6\u30fc\u30c8\u30e2\u30fc\u30c9\u3078\u306e\u30c8\u30ea\u30ac\u30fc\u3068\u3044\u3046\u306e\u306f\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u30de\u30c8\u30ea\u30af\u30b9\u56de\u8def\u306e\u3046\u3061\u3069\u306e\u90e8\u5206\u304c\u62bc\u3055\u308c\u3066\u3044\u308b\u304b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u5b9f\u88c5\u3092\u898b\u3066\u3044\u305f\u3060\u304f\u3068\u308f\u304b\u308b\u306e\u3067\u3059\u304c\u3001\u30c0\u30a4\u30aa\u30fc\u30c9\u3092\u4f7f\u3063\u305f\u30de\u30c8\u30ea\u30af\u30b9\u56de\u8def\u306b\u9650\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5168\u3066\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u5fc5\u305a\u3057\u3082\u914d\u5217\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002QMK\u3067\u306e\u30d4\u30f3\u5224\u5b9a\u306f\u30de\u30c8\u30ea\u30af\u30b9\u4ee5\u5916\u306bGPIO\u76f4\u7d50\u306e\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u3002\u30ad\u30fc\u6570\u304c\u5c11\u306a\u3044\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u306fGPIO\u76f4\u7d50\u306e\u65b9\u304c\u56de\u8def\u3082\u7c21\u5358\u3067\u7406\u306b\u304b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u79c1\u306e\u4f5c\u308b\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u306fGPIO\u76f4\u7d50\u306e\u3082\u306e\u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u3060\u3068\u7dca\u6025\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u30e2\u30fc\u30c9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u3059\u3067\u306b\u4f5c\u3063\u3066\u3044\u308b\u30dc\u30fc\u30c9\u3092\u5bfe\u5fdc\u3059\u308b\u3068\u306a\u308b\u3068\u3001\u56de\u8def\u5074\u3092\u5909\u66f4\u3067\u304d\u306a\u3044\u306e\u3067\u30bd\u30d5\u30c8\u5074\u3067\u5bfe\u5fdc\u3059\u308b\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<p>\u3053\u306e\u90e8\u5206\u306e\u4e0d\u6e80\u3092\u89e3\u6d88\u3059\u308b\u3079\u304f\u6539\u9020\u3057\u305f\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306b\u304a\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>-GitHub-<br><a href=\"https:\/\/github.com\/T-H-Un\/vibl\">https:\/\/github.com\/T-H-Un\/vibl<\/a><\/p>\n\n\n\n<p>\u5dee\u5206\u3092\u898b\u308c\u3070\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u306a\u3093\u3068\u306a\u304f\u308f\u304b\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u30b7\u30f3\u30b0\u30eb\u30d4\u30f3\u3067\u3042\u3063\u305f\u5834\u5408\u3067\u3082\u7dca\u6025\u30d6\u30fc\u30c8\u30e2\u30fc\u30c9\u306b\u5165\u308c\u308b\u3088\u3046\u306b\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u3001\u3042\u308bGPIO\u304cLOW\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u7dca\u6025\u30d6\u30fc\u30c8\u30e2\u30fc\u30c9\u306b\u5165\u308c\u308b\u3088\u3046\u306b\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>vibl\u3067\u901a\u5e38\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u8a2d\u5b9a\u306f\u540c\u69d8\u306b\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001config.h\u306b\u8ffd\u8a18\u3092\u3057\u307e\u3059\u3002\u305d\u306e\u30b5\u30f3\u30d7\u30eb\u304c\u4ee5\u4e0b\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>#elif defined(TARGET_SINGLEPIN)\n#define VIAL_KEYBOARD_UID {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}\n\/* setup for judging single-pin *\/\n#define BOOTLOADER_USE_SINGLE_PIN 1\n#define BOOTLOADER_PIN_BANK GPIOB\n#define BOOTLOADER_PIN_NUMBER 12<\/code><\/pre><\/div>\n\n\n\n<p>CmakeLists.txt\u306b\u306fadd_bootloader(singlepin)\u3068\u8a2d\u5b9a\u3057\u305f\u3068\u3057\u307e\u3059\u3002\u3059\u308b\u3068\u3053\u306e\u90e8\u5206\u304celif\u3067\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>UID\u306b\u3064\u3044\u3066\u306f\u540c\u3058\u8a2d\u5b9a\u3092\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>BOOTLOADER_USE_SINGLE_PIN 1\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u3067\u4eca\u56de\u8ffd\u52a0\u3057\u305f\u6a5f\u80fd\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002define\u30921\u3067\u306a\u304ftrue\u306b\u3059\u308c\u3070\u3044\u3044\u3082\u306e\u3092\u8272\u3005\u3084\u3063\u3066\u3044\u308b\u3046\u3061\u306b1\u3068\u5b9a\u7fa9\u3057\u305f\u307e\u307e\u30b3\u30df\u30c3\u30c8\u3057\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u5b9f\u7528\u4e0a\u554f\u984c\u306a\u3044\u306e\u3067\u3053\u306e\u307e\u307e\u306b\u3057\u3066\u3044\u307e\u3059\u2026<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>#define BOOTLOADER_PIN_BANK GPIOB\n#define BOOTLOADER_PIN_NUMBER 12<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u306fdefine\u5024\u3092\u3092\u610f\u56f3\u7684\u306b\u5bc4\u305b\u306a\u3044\u3088\u3046\u3053\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002PB12\u30d4\u30f3\u306e\u3068\u304d\u306f\u4e0a\u8a18\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002PA4\u306a\u3089GPIOA\u30684\u3067define\u3059\u308c\u3070\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u8a2d\u5b9a\u3092\u3059\u308c\u3070\u3042\u3068\u306fvibl\u306e\u901a\u5e38\u306e\u624b\u9806\u3068\u540c\u3058\u65b9\u6cd5\u3067\u30d3\u30eb\u30c9\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u66f8\u304d\u8fbc\u3093\u3067\u3001\u6307\u5b9aGPIO\u3092LOW\u306b\u306a\u308b\u3088\u3046\u306b\u3059\u308c\u3070\u7dca\u6025\u30d6\u30fc\u30c8\u30e2\u30fc\u30c9\u306b\u5165\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067GPIO\u306b\u76f4\u63a5\u4f7f\u3046\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u3082\u7dca\u6025\u30d6\u30fc\u30c8\u30e2\u30fc\u30c9\u306b\u5165\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u8868\u306b\u51fa\u3066\u3044\u306a\u3044\u30ad\u30fc\u3067\u3082\u88cf\u9762\u306b\u7dca\u6025\u30d6\u30fc\u30c8\u30e2\u30fc\u30c9\u7528\u306e\u30b9\u30a4\u30c3\u30c1\u3092\u3064\u3051\u308b\u3088\u3046\u306a\u3084\u308a\u65b9\u3082\u3067\u304d\u308b\u306e\u3067\u3001\u5b9f\u88c5\u306e\u5e45\u3082\u5e83\u304c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u56f0\u3063\u3066\u3044\u308b\u65b9\u306f\u5c0f\u6570\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001STM32F103\u306f\u5b89\u4fa1\u3067\u69cb\u6210\u306a\u30de\u30a4\u30b3\u30f3\u306a\u306e\u3067\u8272\u3005\u3057\u3066\u307f\u305f\u3044\u65b9\u306e\u52a9\u3051\u306b\u306a\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u3067\u3059\u3002\u304a\u8aad\u307f\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u754c\u9688\u3067\u306f\u6d41\u884c\u308a\u306eVial\u3067\u3059\u304c\u3001STM32F103\u3067\u306e\u5bfe\u5fdc\u306f\u3084\u3084\u9762\u5012\u306a\u8a71\u3092\u4ee5\u524d\u306b\u66f8\u304d\u307e\u3057\u305f\u3002 \u666e\u901a\u306bSTM32F303\u306e\u3088\u3046\u306aUSB\u306eDFU\u3092\u6301\u3063\u3066\u3044\u308b\u5834\u5408\u306e\u5bfe\u5fdc\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u66f8\u304d\u307e\u3057\u305f\u3002 \u3068\u3044\u3046\u611f\u3058\u3067&hellip; <a class=\"more-link\" href=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/custom-vibl-stm32f103-vial\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3010Vial\u3011STM32F103\u7528\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fcvibl\u306e\u6539\u9020\u3010\u81ea\u4f5c\u30ad\u30fc\u30dc\u30fc\u30c9\u3011<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[114],"tags":[],"class_list":["post-4982","post","type-post","status-publish","format-standard","hentry","category-114","entry"],"_links":{"self":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/4982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=4982"}],"version-history":[{"count":1,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/4982\/revisions"}],"predecessor-version":[{"id":4983,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/4982\/revisions\/4983"}],"wp:attachment":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=4982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=4982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=4982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}