{"id":110483,"date":"2026-07-18T11:54:18","date_gmt":"2026-07-18T11:54:18","guid":{"rendered":"https:\/\/www.europesays.com\/ai\/110483\/"},"modified":"2026-07-18T11:54:18","modified_gmt":"2026-07-18T11:54:18","slug":"m5stack-core2-gets-open-source-firmware-to-reproduce-openais-codex-micro-features","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ai\/110483\/","title":{"rendered":"M5Stack Core2 gets open-source firmware to reproduce OpenAI&#8217;s Codex Micro features"},"content":{"rendered":"<p>IAMLIUBO has written firmware for the M5Stack Core2 IoT controller to reproduce the features of the <a href=\"https:\/\/codex-micro.com\/en\" rel=\"nofollow noopener\" target=\"_blank\">$230 Codex Micro macro pad<\/a> for OpenAI\u2019s AI coding agent platform, enabling developers to more easily monitor and control agents.<\/p>\n<p>The original is neat with a CNC-milled enclosure, a rotary encoder, and a joystick, but it\u2019s rather pricey (and now out of stock), only ships to the US, and the company has now launched pre-orders for a 25-key \u201cCustom Alternative\u201d going for $125. However, you can easily reproduce the same functionality with other macro pads with rotary encoders, such as the <a href=\"https:\/\/www.cnx-software.com\/2026\/03\/09\/sayodevice-o3c-3-key-hall-effect-keypad-boasts-8000hz-polling-rate-for-playing-rhythm-games\/?amp=1\" rel=\"nofollow noopener\" target=\"_blank\">SayoDevice O3C<\/a>, <a href=\"https:\/\/www.cnx-software.com\/2025\/09\/23\/duckypad-pro-20-key-esp32-s3-macropad-supports-up-to-3700-macros-using-duckyscript-language\/?amp=1\" rel=\"nofollow noopener\" target=\"_blank\">DuckyPad Pro<\/a>, <a href=\"https:\/\/www.cnx-software.com\/2025\/09\/09\/qmk-compatible-macro-keyboard-features-0-85-inch-lcd-keycaps-2-01-inch-display\/?amp=1\" rel=\"nofollow noopener\" target=\"_blank\">Waveshare MK10<\/a>, <a href=\"https:\/\/www.cnx-software.com\/2024\/12\/20\/t-keyboard-s3-pro-4-key-usb-mechanical-keyboard-adds-rotary-encoder-support-for-daisy-chaining-up-to-six-keyboards\/?amp=1\" rel=\"nofollow noopener\" target=\"_blank\">T-Keyboard-S3 Pro<\/a>, and others at a fraction of the price by simply remapping the keys.<\/p>\n<p><a href=\"https:\/\/www.cnx-software.com\/wp-content\/uploads\/2026\/07\/M5Stack-Core2-Codex-Micro-firmware.jpg\" rel=\"nofollow noopener\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-173944\" title=\"M5Stack Core2 Codex Micro firmware\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/07\/M5Stack-Core2-Codex-Micro-firmware-720x528.jpg\" alt=\"M5Stack Core2 Codex Micro firmware\" width=\"720\" height=\"528\"   data-eio=\"p\"\/><\/a><\/p>\n<p>IAMLIUBO went another route with the <a href=\"https:\/\/www.cnx-software.com\/2020\/09\/01\/m5stack-launches-core2-esp32-iot-development-kit-with-2-inch-touch-display\/\" rel=\"nofollow noopener\" target=\"_blank\">M5Stack Core2 IoT controller<\/a> since it doesn\u2019t come with any keys. Instead, he leveraged the 2-inch touchscreen LCD of the ESP32 device with six agent keys, six command keys, four analog-stick directions, and dial actions. The firmware presents the Core2 as a BLE vendor HID device matching Work Louder\u2019s Codex Micro data, and the task status colors, battery state, command remapping, and push-to-talk integration are handled by the ChatGPT desktop app. It\u2019s been tested on the macOS app, but it should also work on the Windows version. ChatGPT desktop is <a href=\"https:\/\/learn.chatgpt.com\/docs\/app\" rel=\"nofollow noopener\" target=\"_blank\">not available for Linux yet<\/a>.<\/p>\n<p>\n<a href=\"https:\/\/www.cnx-software.com\/wp-content\/uploads\/2026\/07\/M5Stack-Core2-Codex-Micro-firmware.webp\" rel=\"nofollow noopener\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-173952 lazyload\" title=\"M5Stack Core2 Codex Micro firmware\" alt=\"M5Stack Core2 Codex Micro firmware\" width=\"720\" height=\"439\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/07\/M5Stack-Core2-Codex-Micro-firmware-720x439.webp\"  data- data-eio-rwidth=\"720\" data-eio-rheight=\"439\"\/><\/a>Communication diagram\n<\/p>\n<p>The firmware is built with PlatformIO with the Arduino framework, and you\u2019ll find the source code, instructions to get started, and technical documentation <a href=\"https:\/\/github.com\/imliubo\/codex-micro-4-core2\/tree\/main\" rel=\"nofollow noopener\" target=\"_blank\">on GitHub<\/a>. It\u2019s probably best for people who already own an M5Stack Core2 device, but you can also purchase one <a href=\"https:\/\/amzn.to\/4580OtB\" rel=\"nofollow noopener\" target=\"_blank\">on Amazon ($59.90)<\/a> or <a href=\"https:\/\/s.click.aliexpress.com\/e\/_c38l8Oob\" rel=\"nofollow noopener\" target=\"_blank\">AliExpress for $46.90<\/a> before shipping and taxes.<\/p>\n<p><a href=\"https:\/\/www.cnx-software.com\/wp-content\/uploads\/2026\/07\/M5Stack-Core2-IoT-controller.webp\" rel=\"nofollow noopener\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-173948 lazyload\" title=\"M5Stack Core2 IoT controller\" alt=\"M5Stack Core2 IoT controller\" width=\"720\" height=\"720\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/07\/M5Stack-Core2-IoT-controller-720x720.webp\"  data- data-eio-rwidth=\"720\" data-eio-rheight=\"720\"\/><\/a><\/p>\n<p>It\u2019s not quite the first time we\u2019ve written about this type of hardware device for AI agents, since Anthropic released the open-source <a href=\"https:\/\/www.cnx-software.com\/2026\/05\/16\/anthropics-open-source-claude-desktop-buddy-turns-esp32-s3-devices-into-interactive-ai-desk-companions\/\" rel=\"nofollow noopener\" target=\"_blank\">Claude Desktop Buddy firmware for ESP32-S3 devices<\/a>, notably the <a href=\"https:\/\/www.cnx-software.com\/2020\/09\/05\/m5stickc-plus-esp32-pico-devkit-comes-with-1-14-inch-lcd-120-mah-battery-and-buzzer\/\" rel=\"nofollow noopener\" target=\"_blank\">M5StickC Plus<\/a> devkit, and the\u00a0<a href=\"https:\/\/www.cnx-software.com\/2026\/05\/14\/clawdmeter-a-diy-esp32-s3-desk-dashboard-for-claude-code-token-usage-monitoring\/\" rel=\"nofollow noopener\" target=\"_blank\">Clawdmeter<\/a> ESP32-S3-powered Claude Code token usage monitor. More recently, I was also tipped off about the <a href=\"https:\/\/github.com\/Positronico\/claudeq\" rel=\"nofollow noopener\" target=\"_blank\">Claudeq project<\/a>, which works like Claude Desktop Buddy but over WiFi\/WebSocket\u00a0instead of BLE.<\/p>\n<p>\n<a href=\"https:\/\/www.cnx-software.com\/wp-content\/uploads\/2026\/07\/OpenAI-Codex-Micro-macro-pad.webp\" rel=\"nofollow noopener\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-173945 lazyload\" title=\"OpenAI Codex Micro macro pad\" alt=\"OpenAI Codex Micro macro pad\" width=\"720\" height=\"517\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/07\/OpenAI-Codex-Micro-macro-pad-720x517.webp\"  data- data-eio-rwidth=\"720\" data-eio-rheight=\"517\"\/><\/a>OpenAI\/Work Louder Codex Micro macro pad\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"100\" height=\"100\" alt=\"Jean Luc Aufranc\" itemprop=\"image\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/05\/Jean-Luc-Aufranc.webp\" class=\"lazyload\" data-eio-rwidth=\"180\" data-eio-rheight=\"180\"\/><\/p>\n<p>Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.<\/p>\n<p>Support CNX Software! Donate via <a href=\"https:\/\/www.cnx-software.com\/donate-cryptocurrencies\/\" rel=\"nofollow noopener\" target=\"_blank\">cryptocurrencies<\/a>, <a href=\"https:\/\/www.patreon.com\/cnxsoft\" target=\"_blank\" rel=\"nofollow noopener\">become a Patron<\/a> on Patreon, or purchase goods on <a href=\"https:\/\/amzn.to\/3SXubZ0\" rel=\"nofollow noopener\" target=\"_blank\">Amazon<\/a> or <a href=\"https:\/\/s.click.aliexpress.com\/e\/_DmGIIRT\" rel=\"nofollow noopener\" target=\"_blank\">Aliexpress<\/a>. We also use affiliate links in articles to earn commissions if you make a purchase after clicking on those links.<\/p>\n","protected":false},"excerpt":{"rendered":"IAMLIUBO has written firmware for the M5Stack Core2 IoT controller to reproduce the features of the $230 Codex&hellip;\n","protected":false},"author":2,"featured_media":110484,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[23915,111,580,23919,24647,335,157],"class_list":["post-110483","post","type-post","status-publish","format-standard","has-post-thumbnail","category-openai","tag-arduino","tag-artificial-intelligence-ai","tag-chatgpt","tag-esp32","tag-m5stack","tag-open-source","tag-openai"],"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/110483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/comments?post=110483"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/110483\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media\/110484"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media?parent=110483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/categories?post=110483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/tags?post=110483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}