← Back to Pull requests

blog: Article for promote BSP Generator #743

Merged
espzav merged 6 files (204 lines) on Jun 30, 2026 08:25 UTC
View on GitHub
espzav espzav commented on Jun 11, 2026 12:04 UTC
Author

📝 Description

This is the article about new tool - BSP Generator.

Publish date

Expected publish date: 2026-06-30 or earlier

Review process

  • Initiate technical review

  • - [ ] This item is N/A
    - Add subject matter experts (your team members, experts in the field)
  • Once tech review mostly done, initiate editorial review

  • - Add technical editors (@f-hollow, @FBEZ, and/or @pedrominatel)

    Checks

  • Article folder and file names:

  • - Folder path is content/blog/YYYY/MM/my-new-article (articles only)
    - Folder and file names have no underscores, spaces, or uppercase letters (~~My new_article~~)
  • New article's YAML frontmatter:

  • - Title updated
    - Date matches the format date: 20YY-MM-DD
    - Summary updated
    - Authors added (see Add youself as an author)
    - Tags added
  • Updated article's YAML frontmatter:<br>

  • - [ ] This item is N/A
    - If article folder is moved or renamed, the field aliases: with a new URL slug is added
    - Date of update is added lastmode: 20YY-MM-DD
  • Article media files:

  • - All images are in .WebP format (see Use WebP for raster images)
    - Images are compressed within 100-300 KB, with a hard limit of ≤ 500 kB
    - Where possible, Hugo shortcodes are used instead of raw HTML for content types unsupported by markdown (see Use additional content types)
  • Links in articles

  • - Make sure all links are valid
    - No links to Google docs present
    - Use a specific ESP-IDF version in links (avoid stable, hard no for latest)
  • Git history

  • - Commits are clean and squashed to the minimum necessary
    - Commit messages follow Conventional Commits format
    - Your feature branch is rebased on main

    🔗 Related

    🧪 Testing (Hugo)

  • I have run hugo server locally and verified there are no build errors.

  • I have checked the rendered output on Desktop view.

  • I have verified that internal links and syntax highlighting work correctly.
  • Diff: 204 lines (+204 / -0) across 6 files Reviewer: f-hollow Review duration: 27140m
    All Vouch review confidence checks passed
    Residual risk 0.04 = Change Risk (0.42) × (1 − Review Confidence (0.91)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 204 lines diff across 6 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.90 · 5 substantive comment(s)
    0.90
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    90%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.318
    Real PR Conversation Timeline
    50 items
    espzav espzav commented on Jun 11, 2026 12:08 UTC
    Author

    @PetrESP, @tore-espressif, @igrr, @georgik PTAL

    georgik georgik commented on Jun 11, 2026 14:14 UTC
    Contributor

    Lgtm. Just trim screenshot borders. It is visible in dark mode. There is a lot of unused whitspace. Probably only portion of ui is necessary.

    PetrESP PetrESP commented on code on Jun 12, 2026 08:03 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.

    The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, select pins and features in a visual form, and download a production-style BSP component for *your* hardware while keeping the same APIs your code already uses.
    

    PetrESP PetrESP commented on code on Jun 12, 2026 08:12 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---
    +
    +## The problem every custom board hits
    +
    +Teams prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card - it all works because Espressif maintains the BSP.
    +
    +Then the mechanical team ships a custom layout: different GPIOs, one less button, a new touch controller, no speaker. Suddenly you are diffing `bsp_*.c` by hand, copying Kconfig fragments, and hoping you did not miss a pin conflict.

    You or your software team creates a prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card work perfectly because Espressif maintains the BSP.
    
    Then the hardware team designs a custom board with a different touch controller, pin mapping, and without a speaker. Now you have to partially start from scratch.
    

    I would try to simplify it a bit. I think that hoping you did not miss a pin conflict does not really make sense here.
    Also it is a bit confusing how it starts with Teams and then in the second paragraph there is a separate mechanical team which was not part of the previous group of teams.

    PetrESP PetrESP commented on code on Jun 12, 2026 08:15 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---
    +
    +## The problem every custom board hits
    +
    +Teams prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card - it all works because Espressif maintains the BSP.
    +
    +Then the mechanical team ships a custom layout: different GPIOs, one less button, a new touch controller, no speaker. Suddenly you are diffing `bsp_*.c` by hand, copying Kconfig fragments, and hoping you did not miss a pin conflict.
    +
    +**There is a better workflow.**
    +
    +---
    +
    +## Start with what already works
    +
    +![Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)](img/02-load-configuration-modal.webp)
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +You are not inventing a BSP from scratch. You are **forking a known-good baseline**.

    To me this is AI being AI. The paragraph already says exactly what to do and what it achieves. I think that this is unnecessary and I would remove this

    PetrESP PetrESP commented on code on Jun 12, 2026 08:55 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---
    +
    +## The problem every custom board hits
    +
    +Teams prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card - it all works because Espressif maintains the BSP.
    +
    +Then the mechanical team ships a custom layout: different GPIOs, one less button, a new touch controller, no speaker. Suddenly you are diffing `bsp_*.c` by hand, copying Kconfig fragments, and hoping you did not miss a pin conflict.
    +
    +**There is a better workflow.**
    +
    +---
    +
    +## Start with what already works
    +
    +![Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)](img/02-load-configuration-modal.webp)
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +You are not inventing a BSP from scratch. You are **forking a known-good baseline**.
    +
    +---
    +
    +## Tune features for *your* PCB

    I don't think Tune is the right word here because it means small incremental adjustments. I would use configure or select.

    PetrESP PetrESP commented on code on Jun 12, 2026 09:15 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---
    +
    +## The problem every custom board hits
    +
    +Teams prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card - it all works because Espressif maintains the BSP.
    +
    +Then the mechanical team ships a custom layout: different GPIOs, one less button, a new touch controller, no speaker. Suddenly you are diffing `bsp_*.c` by hand, copying Kconfig fragments, and hoping you did not miss a pin conflict.
    +
    +**There is a better workflow.**
    +
    +---
    +
    +## Start with what already works
    +
    +![Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)](img/02-load-configuration-modal.webp)
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +You are not inventing a BSP from scratch. You are **forking a known-good baseline**.
    +
    +---
    +
    +## Tune features for *your* PCB
    +
    +![Starter board loaded — ESP-BOX-3 configuration ready to customize](img/03-starter-board-loaded.webp)
    +
    +Each capability is a **feature tab**: Display, Touch, Buttons, Audio, SD card, Camera, sensors, USB, battery, and more. Enable what your schematic actually has; disable what you removed.
    +
    +Typical custom-board edits:
    +
    +| On the dev kit | On your custom board |
    +|----------------|----------------------|
    +| 3 navigation buttons | 2 buttons, different GPIOs |
    +| FT5x06 touch on I2C | Same controller, different I2C pins |
    +| RGB LCD + backlight PWM | SPI display, fixed backlight |
    +| On-board microphone | No audio - tab stays off |
    +
    +The generator checks dependencies (touch over I2C needs I2C enabled, and so on) before it builds anything.
    +
    +![Display feature tab — resolution, driver, pins, and LVGL options](img/04-display-feature-tab.webp)
    +
    +Hover the **?** icons for hints. Upload a board photo for the generated README. Save the JSON - that file is your **single source of truth** for the board definition.
    +
    +---
    +
    +## Generate once, integrate like any esp-bsp component
    +
    +Click **Generate BSP**. You get a ZIP with:
    +
    +- A full **ESP-IDF component** (`CMakeLists.txt`, `Kconfig`, headers, sources)
    +- **`sdkconfig.defaults`** tuned to your choices

    I would say tuned makes a bit more sense here but I also don't think it is 100% correct

    PetrESP PetrESP commented on code on Jun 12, 2026 09:26 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---
    +
    +## The problem every custom board hits
    +
    +Teams prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card - it all works because Espressif maintains the BSP.
    +
    +Then the mechanical team ships a custom layout: different GPIOs, one less button, a new touch controller, no speaker. Suddenly you are diffing `bsp_*.c` by hand, copying Kconfig fragments, and hoping you did not miss a pin conflict.
    +
    +**There is a better workflow.**
    +
    +---
    +
    +## Start with what already works
    +
    +![Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)](img/02-load-configuration-modal.webp)
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +You are not inventing a BSP from scratch. You are **forking a known-good baseline**.
    +
    +---
    +
    +## Tune features for *your* PCB
    +
    +![Starter board loaded — ESP-BOX-3 configuration ready to customize](img/03-starter-board-loaded.webp)
    +
    +Each capability is a **feature tab**: Display, Touch, Buttons, Audio, SD card, Camera, sensors, USB, battery, and more. Enable what your schematic actually has; disable what you removed.
    +
    +Typical custom-board edits:
    +
    +| On the dev kit | On your custom board |
    +|----------------|----------------------|
    +| 3 navigation buttons | 2 buttons, different GPIOs |
    +| FT5x06 touch on I2C | Same controller, different I2C pins |
    +| RGB LCD + backlight PWM | SPI display, fixed backlight |
    +| On-board microphone | No audio - tab stays off |
    +
    +The generator checks dependencies (touch over I2C needs I2C enabled, and so on) before it builds anything.
    +
    +![Display feature tab — resolution, driver, pins, and LVGL options](img/04-display-feature-tab.webp)
    +
    +Hover the **?** icons for hints. Upload a board photo for the generated README. Save the JSON - that file is your **single source of truth** for the board definition.
    +
    +---
    +
    +## Generate once, integrate like any esp-bsp component
    +
    +Click **Generate BSP**. You get a ZIP with:
    +
    +- A full **ESP-IDF component** (`CMakeLists.txt`, `Kconfig`, headers, sources)
    +- **`sdkconfig.defaults`** tuned to your choices
    +- **`README.md`** with capabilities and dependency table
    +- **`API.md`** API reference (Doxygen-style, same idea as official BSPs)
    +- Optional **noglib** variant (BSP without LVGL)
    +- Optional **SquareLine Studio** OBP pack for UI designers
    +
    +Your application keeps calling the same BSP entry points:
    +
    +```c
    +#include "bsp/esp-bsp.h"
    +
    +void app_main(void)
    +{
    +    bsp_display_start();
    +    bsp_display_backlight_on();
    +    // ... your UI / logic unchanged in spirit
    +}
    +```
    +
    +Wire the new component in `main/idf_component.yml`:
    +
    +```yaml
    +dependencies:
    +  my_custom_board:
    +    path: ../components/my_custom_board
    +```
    +
    +Copy `sdkconfig.defaults` to the project root, set the target, build. **The application structure stays familiar** - only the board layer changed.
    +
    +---
    +
    +## Swap the component, keep the software
    +
    +This is the payoff for product teams:
    +
    +```
    +Prototype firmware  →  uses esp-box-3 BSP from esp-bsp
    +Production firmware →  uses my_custom_board BSP from the generator
    +Application code    →  largely the same #include and BSP APIs
    +```
    +
    +You are not maintaining a fork of esp-bsp forever. You maintain a **small, generated board package** that follows the same conventions as [espressif/esp-bsp](https://github.com/espressif/esp-bsp): component layout, `bsp_*` helpers, LVGL integration via [esp_lvgl_port](https://github.com/espressif/esp-bsp/tree/master/components/esp_lvgl_port), examples you can compare under [esp-bsp/examples/](https://github.com/espressif/esp-bsp/tree/master/examples).

    To me this whole paragraph does not make sense because this customer that uses BSP selector will not maintain the small, generated board package. He only has to save the json somewhere and the BSP team is maintaining the generated board package.
    I think that this whole paragraph can be shortened and merged with Your application keeps calling the same BSP entry points:

    PetrESP PetrESP commented on code on Jun 12, 2026 09:29 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---
    +
    +## The problem every custom board hits
    +
    +Teams prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card - it all works because Espressif maintains the BSP.
    +
    +Then the mechanical team ships a custom layout: different GPIOs, one less button, a new touch controller, no speaker. Suddenly you are diffing `bsp_*.c` by hand, copying Kconfig fragments, and hoping you did not miss a pin conflict.
    +
    +**There is a better workflow.**
    +
    +---
    +
    +## Start with what already works
    +
    +![Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)](img/02-load-configuration-modal.webp)
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +You are not inventing a BSP from scratch. You are **forking a known-good baseline**.
    +
    +---
    +
    +## Tune features for *your* PCB
    +
    +![Starter board loaded — ESP-BOX-3 configuration ready to customize](img/03-starter-board-loaded.webp)
    +
    +Each capability is a **feature tab**: Display, Touch, Buttons, Audio, SD card, Camera, sensors, USB, battery, and more. Enable what your schematic actually has; disable what you removed.
    +
    +Typical custom-board edits:
    +
    +| On the dev kit | On your custom board |
    +|----------------|----------------------|
    +| 3 navigation buttons | 2 buttons, different GPIOs |
    +| FT5x06 touch on I2C | Same controller, different I2C pins |
    +| RGB LCD + backlight PWM | SPI display, fixed backlight |
    +| On-board microphone | No audio - tab stays off |
    +
    +The generator checks dependencies (touch over I2C needs I2C enabled, and so on) before it builds anything.
    +
    +![Display feature tab — resolution, driver, pins, and LVGL options](img/04-display-feature-tab.webp)
    +
    +Hover the **?** icons for hints. Upload a board photo for the generated README. Save the JSON - that file is your **single source of truth** for the board definition.
    +
    +---
    +
    +## Generate once, integrate like any esp-bsp component
    +
    +Click **Generate BSP**. You get a ZIP with:
    +
    +- A full **ESP-IDF component** (`CMakeLists.txt`, `Kconfig`, headers, sources)
    +- **`sdkconfig.defaults`** tuned to your choices
    +- **`README.md`** with capabilities and dependency table
    +- **`API.md`** API reference (Doxygen-style, same idea as official BSPs)
    +- Optional **noglib** variant (BSP without LVGL)
    +- Optional **SquareLine Studio** OBP pack for UI designers
    +
    +Your application keeps calling the same BSP entry points:
    +
    +```c
    +#include "bsp/esp-bsp.h"
    +
    +void app_main(void)
    +{
    +    bsp_display_start();
    +    bsp_display_backlight_on();
    +    // ... your UI / logic unchanged in spirit
    +}
    +```
    +
    +Wire the new component in `main/idf_component.yml`:
    +
    +```yaml
    +dependencies:
    +  my_custom_board:
    +    path: ../components/my_custom_board
    +```
    +
    +Copy `sdkconfig.defaults` to the project root, set the target, build. **The application structure stays familiar** - only the board layer changed.
    +
    +---
    +
    +## Swap the component, keep the software
    +
    +This is the payoff for product teams:
    +
    +```
    +Prototype firmware  →  uses esp-box-3 BSP from esp-bsp
    +Production firmware →  uses my_custom_board BSP from the generator
    +Application code    →  largely the same #include and BSP APIs
    +```
    +
    +You are not maintaining a fork of esp-bsp forever. You maintain a **small, generated board package** that follows the same conventions as [espressif/esp-bsp](https://github.com/espressif/esp-bsp): component layout, `bsp_*` helpers, LVGL integration via [esp_lvgl_port](https://github.com/espressif/esp-bsp/tree/master/components/esp_lvgl_port), examples you can compare under [esp-bsp/examples/](https://github.com/espressif/esp-bsp/tree/master/examples).
    +
    +---
    +
    +## ESP-IDF upgraded? Regenerate, don’t rewrite
    +
    +Saved configuration JSON is more than a backup. When:
    +
    +- **ESP-IDF** moves to a new major version,
    +- **esp-bsp** templates or drivers change,
    +- you add a feature you skipped in v1 (e.g. SD card on the next PCB spin),
    +
    +…load the JSON in the generator, adjust what changed, and **Generate BSP** again.
    +
    +You refresh pins, Kconfig, and generated sources from the template — instead of merging hundreds of manual edits across C files.
    +
    +![Generation success — next steps, file list, and Download ZIP](img/05-generation-success.webp)
    +
    +The success page walks through integration steps; the in-app **Help** modal covers load/save, features, and SquareLine OBP install paths.
    +
    +---
    +
    +## Why esp-bsp + the generator together
    +
    +| | [esp-bsp](https://github.com/espressif/esp-bsp) | [BSP Generator](https://bsp-generator.espressif.tools) |
    +|---|------------------------------------------------|------------------------------------------------------|
    +| **Best for** | Official Espressif & partner boards | Your custom PCB |
    +| **Maintained by** | Espressif BSP team | Generated from shared templates |

    Here I would say it is also a bit misleading. I would say that even the generated component has to be maintained by the BSP team because once you start editing the generated package you can't really do what you advertise in ESP-IDF upgraded? Regenerate, don’t rewrite

    PetrESP PetrESP commented on Jun 12, 2026 09:30 UTC
    Reviewer

    I really like the pictures and that goes straight to the point. I have some comments and suggestions from my point of view

    f-hollow f-hollow commented on code on Jun 12, 2026 10:21 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/img/featured.webp:1

    Please remove this featured image.

    The parameter featureAsset actually refers to ./assets/img/... in the project root. For details, see Prepare a featured image.

    f-hollow f-hollow commented on code on Jun 12, 2026 10:22 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon

    The value of title is rendered as the first level heading already. No need to repeat the title here:

    f-hollow f-hollow commented on code on Jun 12, 2026 10:25 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---

    These lines separating sections strongly remind of ChatGPT responses. I highly recommend that you remove them from your article to avoid unnecessary frowns.

    f-hollow f-hollow commented on code on Jun 12, 2026 10:27 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**

    This important insight about the article value should go to the article summary. No need for a second summary.

    f-hollow f-hollow commented on code on Jun 12, 2026 10:29 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/img/02-load-configuration-modal.webp:1

    This grayed out space is not informative. I suggest that you trim it to the active dialog window.

    f-hollow f-hollow commented on code on Jun 12, 2026 10:39 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---
    +
    +## The problem every custom board hits
    +
    +Teams prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card - it all works because Espressif maintains the BSP.
    +
    +Then the mechanical team ships a custom layout: different GPIOs, one less button, a new touch controller, no speaker. Suddenly you are diffing `bsp_*.c` by hand, copying Kconfig fragments, and hoping you did not miss a pin conflict.
    +
    +**There is a better workflow.**
    +
    +---
    +
    +## Start with what already works
    +
    +![Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)](img/02-load-configuration-modal.webp)
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +You are not inventing a BSP from scratch. You are **forking a known-good baseline**.
    +
    +---
    +
    +## Tune features for *your* PCB
    +
    +![Starter board loaded — ESP-BOX-3 configuration ready to customize](img/03-starter-board-loaded.webp)

    About this one and all other screenshots in the article.

    Consider using a dedicated syntax for including images.

    Please remember that articles can be read not only by humans, but also by AI these days.

    If big chunks of information are only available in a screenshot, the possible scenarios are:

  • The agent needs to process the image which takes many more tokens

  • The agent might not be able to analyze images at all
  • Another question: is the information in the screenshot really important in the article context (like, let's say, you want to discuss certain things that are not clear from the web interface)? If yes, write this information out in text. If no, reduce or remove the screenshot.

    Also, why make screenshots of large areas of web pages if they can be easily viewed by clicking a link?

    f-hollow f-hollow commented on Jun 12, 2026 10:44 UTC
    Reviewer

    @espzav Thank you for writing the article!

    Here are a few general suggestions. Please implement them, then I will review the article content.

    espzav espzav commented on code on Jun 12, 2026 11:41 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---
    +
    +## The problem every custom board hits
    +
    +Teams prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card - it all works because Espressif maintains the BSP.
    +
    +Then the mechanical team ships a custom layout: different GPIOs, one less button, a new touch controller, no speaker. Suddenly you are diffing `bsp_*.c` by hand, copying Kconfig fragments, and hoping you did not miss a pin conflict.
    +
    +**There is a better workflow.**
    +
    +---
    +
    +## Start with what already works
    +
    +![Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)](img/02-load-configuration-modal.webp)
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +You are not inventing a BSP from scratch. You are **forking a known-good baseline**.
    +
    +---
    +
    +## Tune features for *your* PCB
    +
    +![Starter board loaded — ESP-BOX-3 configuration ready to customize](img/03-starter-board-loaded.webp)
    +
    +Each capability is a **feature tab**: Display, Touch, Buttons, Audio, SD card, Camera, sensors, USB, battery, and more. Enable what your schematic actually has; disable what you removed.
    +
    +Typical custom-board edits:
    +
    +| On the dev kit | On your custom board |
    +|----------------|----------------------|
    +| 3 navigation buttons | 2 buttons, different GPIOs |
    +| FT5x06 touch on I2C | Same controller, different I2C pins |
    +| RGB LCD + backlight PWM | SPI display, fixed backlight |
    +| On-board microphone | No audio - tab stays off |
    +
    +The generator checks dependencies (touch over I2C needs I2C enabled, and so on) before it builds anything.
    +
    +![Display feature tab — resolution, driver, pins, and LVGL options](img/04-display-feature-tab.webp)
    +
    +Hover the **?** icons for hints. Upload a board photo for the generated README. Save the JSON - that file is your **single source of truth** for the board definition.
    +
    +---
    +
    +## Generate once, integrate like any esp-bsp component
    +
    +Click **Generate BSP**. You get a ZIP with:
    +
    +- A full **ESP-IDF component** (`CMakeLists.txt`, `Kconfig`, headers, sources)
    +- **`sdkconfig.defaults`** tuned to your choices
    +- **`README.md`** with capabilities and dependency table
    +- **`API.md`** API reference (Doxygen-style, same idea as official BSPs)
    +- Optional **noglib** variant (BSP without LVGL)
    +- Optional **SquareLine Studio** OBP pack for UI designers
    +
    +Your application keeps calling the same BSP entry points:
    +
    +```c
    +#include "bsp/esp-bsp.h"
    +
    +void app_main(void)
    +{
    +    bsp_display_start();
    +    bsp_display_backlight_on();
    +    // ... your UI / logic unchanged in spirit
    +}
    +```
    +
    +Wire the new component in `main/idf_component.yml`:
    +
    +```yaml
    +dependencies:
    +  my_custom_board:
    +    path: ../components/my_custom_board
    +```
    +
    +Copy `sdkconfig.defaults` to the project root, set the target, build. **The application structure stays familiar** - only the board layer changed.
    +
    +---
    +
    +## Swap the component, keep the software
    +
    +This is the payoff for product teams:
    +
    +```
    +Prototype firmware  →  uses esp-box-3 BSP from esp-bsp
    +Production firmware →  uses my_custom_board BSP from the generator
    +Application code    →  largely the same #include and BSP APIs
    +```
    +
    +You are not maintaining a fork of esp-bsp forever. You maintain a **small, generated board package** that follows the same conventions as [espressif/esp-bsp](https://github.com/espressif/esp-bsp): component layout, `bsp_*` helpers, LVGL integration via [esp_lvgl_port](https://github.com/espressif/esp-bsp/tree/master/components/esp_lvgl_port), examples you can compare under [esp-bsp/examples/](https://github.com/espressif/esp-bsp/tree/master/examples).
    +
    +---
    +
    +## ESP-IDF upgraded? Regenerate, don’t rewrite
    +
    +Saved configuration JSON is more than a backup. When:
    +
    +- **ESP-IDF** moves to a new major version,
    +- **esp-bsp** templates or drivers change,
    +- you add a feature you skipped in v1 (e.g. SD card on the next PCB spin),
    +
    +…load the JSON in the generator, adjust what changed, and **Generate BSP** again.
    +
    +You refresh pins, Kconfig, and generated sources from the template — instead of merging hundreds of manual edits across C files.
    +
    +![Generation success — next steps, file list, and Download ZIP](img/05-generation-success.webp)
    +
    +The success page walks through integration steps; the in-app **Help** modal covers load/save, features, and SquareLine OBP install paths.
    +
    +---
    +
    +## Why esp-bsp + the generator together
    +
    +| | [esp-bsp](https://github.com/espressif/esp-bsp) | [BSP Generator](https://bsp-generator.espressif.tools) |
    +|---|------------------------------------------------|------------------------------------------------------|
    +| **Best for** | Official Espressif & partner boards | Your custom PCB |
    +| **Maintained by** | Espressif BSP team | Generated from shared templates |

    I am not sure, if I understand right, but generated custom board cannot be maintained by BSP team.

    espzav espzav commented on code on Jun 12, 2026 11:42 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---
    +
    +## The problem every custom board hits
    +
    +Teams prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card - it all works because Espressif maintains the BSP.
    +
    +Then the mechanical team ships a custom layout: different GPIOs, one less button, a new touch controller, no speaker. Suddenly you are diffing `bsp_*.c` by hand, copying Kconfig fragments, and hoping you did not miss a pin conflict.
    +
    +**There is a better workflow.**
    +
    +---
    +
    +## Start with what already works
    +
    +![Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)](img/02-load-configuration-modal.webp)
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +You are not inventing a BSP from scratch. You are **forking a known-good baseline**.
    +
    +---
    +
    +## Tune features for *your* PCB
    +
    +![Starter board loaded — ESP-BOX-3 configuration ready to customize](img/03-starter-board-loaded.webp)
    +
    +Each capability is a **feature tab**: Display, Touch, Buttons, Audio, SD card, Camera, sensors, USB, battery, and more. Enable what your schematic actually has; disable what you removed.
    +
    +Typical custom-board edits:
    +
    +| On the dev kit | On your custom board |
    +|----------------|----------------------|
    +| 3 navigation buttons | 2 buttons, different GPIOs |
    +| FT5x06 touch on I2C | Same controller, different I2C pins |
    +| RGB LCD + backlight PWM | SPI display, fixed backlight |
    +| On-board microphone | No audio - tab stays off |
    +
    +The generator checks dependencies (touch over I2C needs I2C enabled, and so on) before it builds anything.
    +
    +![Display feature tab — resolution, driver, pins, and LVGL options](img/04-display-feature-tab.webp)
    +
    +Hover the **?** icons for hints. Upload a board photo for the generated README. Save the JSON - that file is your **single source of truth** for the board definition.
    +
    +---
    +
    +## Generate once, integrate like any esp-bsp component
    +
    +Click **Generate BSP**. You get a ZIP with:
    +
    +- A full **ESP-IDF component** (`CMakeLists.txt`, `Kconfig`, headers, sources)
    +- **`sdkconfig.defaults`** tuned to your choices
    +- **`README.md`** with capabilities and dependency table
    +- **`API.md`** API reference (Doxygen-style, same idea as official BSPs)
    +- Optional **noglib** variant (BSP without LVGL)
    +- Optional **SquareLine Studio** OBP pack for UI designers
    +
    +Your application keeps calling the same BSP entry points:
    +
    +```c
    +#include "bsp/esp-bsp.h"
    +
    +void app_main(void)
    +{
    +    bsp_display_start();
    +    bsp_display_backlight_on();
    +    // ... your UI / logic unchanged in spirit
    +}
    +```
    +
    +Wire the new component in `main/idf_component.yml`:
    +
    +```yaml
    +dependencies:
    +  my_custom_board:
    +    path: ../components/my_custom_board
    +```
    +
    +Copy `sdkconfig.defaults` to the project root, set the target, build. **The application structure stays familiar** - only the board layer changed.
    +
    +---
    +
    +## Swap the component, keep the software
    +
    +This is the payoff for product teams:
    +
    +```
    +Prototype firmware  →  uses esp-box-3 BSP from esp-bsp
    +Production firmware →  uses my_custom_board BSP from the generator
    +Application code    →  largely the same #include and BSP APIs
    +```
    +
    +You are not maintaining a fork of esp-bsp forever. You maintain a **small, generated board package** that follows the same conventions as [espressif/esp-bsp](https://github.com/espressif/esp-bsp): component layout, `bsp_*` helpers, LVGL integration via [esp_lvgl_port](https://github.com/espressif/esp-bsp/tree/master/components/esp_lvgl_port), examples you can compare under [esp-bsp/examples/](https://github.com/espressif/esp-bsp/tree/master/examples).

    I think, we can keep this paragraph.

    espzav espzav commented on Jun 12, 2026 11:43 UTC
    Author

    @PetrESP Thank you for review, updated by your comments.

    espzav espzav commented on Jun 12, 2026 11:48 UTC
    Author

    @f-hollow Thank you for your review. I made some updates by your comments, but...:

    Also, why make screenshots of large areas of web pages if they can be easily viewed by clicking a link?

    I am sorry, but I really hate articles about something without images. I know that many things are clear and you can see it on the web but I don't want to change browser tabs. I want to see parts of the page that are about. I updated images a little for more focus.
    We are still making it for people not for AI. Yes, we can optimize for AI but we want to make it good for reading by people. :-)

    PetrESP PetrESP commented on code on Jun 12, 2026 11:53 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,162 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +# From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +
    +**You already have working firmware on an Espressif BSP. Your next product uses a custom PCB.
    +You should not have to rewrite half your application to get there.**
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, tune pins and features in a visual form, and download a production-style BSP component for *your* hardware - the same APIs your code already uses.
    +
    +---
    +
    +## The problem every custom board hits
    +
    +Teams prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card - it all works because Espressif maintains the BSP.
    +
    +Then the mechanical team ships a custom layout: different GPIOs, one less button, a new touch controller, no speaker. Suddenly you are diffing `bsp_*.c` by hand, copying Kconfig fragments, and hoping you did not miss a pin conflict.
    +
    +**There is a better workflow.**
    +
    +---
    +
    +## Start with what already works
    +
    +![Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)](img/02-load-configuration-modal.webp)
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +You are not inventing a BSP from scratch. You are **forking a known-good baseline**.
    +
    +---
    +
    +## Tune features for *your* PCB
    +
    +![Starter board loaded — ESP-BOX-3 configuration ready to customize](img/03-starter-board-loaded.webp)
    +
    +Each capability is a **feature tab**: Display, Touch, Buttons, Audio, SD card, Camera, sensors, USB, battery, and more. Enable what your schematic actually has; disable what you removed.
    +
    +Typical custom-board edits:
    +
    +| On the dev kit | On your custom board |
    +|----------------|----------------------|
    +| 3 navigation buttons | 2 buttons, different GPIOs |
    +| FT5x06 touch on I2C | Same controller, different I2C pins |
    +| RGB LCD + backlight PWM | SPI display, fixed backlight |
    +| On-board microphone | No audio - tab stays off |
    +
    +The generator checks dependencies (touch over I2C needs I2C enabled, and so on) before it builds anything.
    +
    +![Display feature tab — resolution, driver, pins, and LVGL options](img/04-display-feature-tab.webp)
    +
    +Hover the **?** icons for hints. Upload a board photo for the generated README. Save the JSON - that file is your **single source of truth** for the board definition.
    +
    +---
    +
    +## Generate once, integrate like any esp-bsp component
    +
    +Click **Generate BSP**. You get a ZIP with:
    +
    +- A full **ESP-IDF component** (`CMakeLists.txt`, `Kconfig`, headers, sources)
    +- **`sdkconfig.defaults`** tuned to your choices
    +- **`README.md`** with capabilities and dependency table
    +- **`API.md`** API reference (Doxygen-style, same idea as official BSPs)
    +- Optional **noglib** variant (BSP without LVGL)
    +- Optional **SquareLine Studio** OBP pack for UI designers
    +
    +Your application keeps calling the same BSP entry points:
    +
    +```c
    +#include "bsp/esp-bsp.h"
    +
    +void app_main(void)
    +{
    +    bsp_display_start();
    +    bsp_display_backlight_on();
    +    // ... your UI / logic unchanged in spirit
    +}
    +```
    +
    +Wire the new component in `main/idf_component.yml`:
    +
    +```yaml
    +dependencies:
    +  my_custom_board:
    +    path: ../components/my_custom_board
    +```
    +
    +Copy `sdkconfig.defaults` to the project root, set the target, build. **The application structure stays familiar** - only the board layer changed.
    +
    +---
    +
    +## Swap the component, keep the software
    +
    +This is the payoff for product teams:
    +
    +```
    +Prototype firmware  →  uses esp-box-3 BSP from esp-bsp
    +Production firmware →  uses my_custom_board BSP from the generator
    +Application code    →  largely the same #include and BSP APIs
    +```
    +
    +You are not maintaining a fork of esp-bsp forever. You maintain a **small, generated board package** that follows the same conventions as [espressif/esp-bsp](https://github.com/espressif/esp-bsp): component layout, `bsp_*` helpers, LVGL integration via [esp_lvgl_port](https://github.com/espressif/esp-bsp/tree/master/components/esp_lvgl_port), examples you can compare under [esp-bsp/examples/](https://github.com/espressif/esp-bsp/tree/master/examples).
    +
    +---
    +
    +## ESP-IDF upgraded? Regenerate, don’t rewrite
    +
    +Saved configuration JSON is more than a backup. When:
    +
    +- **ESP-IDF** moves to a new major version,
    +- **esp-bsp** templates or drivers change,
    +- you add a feature you skipped in v1 (e.g. SD card on the next PCB spin),
    +
    +…load the JSON in the generator, adjust what changed, and **Generate BSP** again.
    +
    +You refresh pins, Kconfig, and generated sources from the template — instead of merging hundreds of manual edits across C files.
    +
    +![Generation success — next steps, file list, and Download ZIP](img/05-generation-success.webp)
    +
    +The success page walks through integration steps; the in-app **Help** modal covers load/save, features, and SquareLine OBP install paths.
    +
    +---
    +
    +## Why esp-bsp + the generator together
    +
    +| | [esp-bsp](https://github.com/espressif/esp-bsp) | [BSP Generator](https://bsp-generator.espressif.tools) |
    +|---|------------------------------------------------|------------------------------------------------------|
    +| **Best for** | Official Espressif & partner boards | Your custom PCB |
    +| **Maintained by** | Espressif BSP team | Generated from shared templates |

    No I mean that the customer also should not maintain it. Ideally they should not touch the generated package because of they do then it can't be re-generated in the future because it would be missing those changes that they did.

    espzav espzav commented on Jun 12, 2026 11:56 UTC
    Author

    @georgik Thank you for the review. I updated images.

    f-hollow f-hollow commented on Jun 15, 2026 03:12 UTC
    Contributor

    @f-hollow Thank you for your review. I made some updates by your comments, but...:

    > > Also, why make screenshots of large areas of web pages if they can be easily viewed by clicking a link?

    > I am sorry, but I really hate articles about something without images. I know that many things are clear and you can see it on the web but I don't want to change browser tabs. I want to see parts of the page that are about. I updated images a little for more focus. We are still making it for people not for AI. Yes, we can optimize for AI but we want to make it good for reading by people. :-)

    @espzav You got a point. I completely agree with you that the content is, first and foremost, for people. Maybe I am a bit too much fixated on the idea of optimizing content for mining useful information. Please write it the way you like most.

    I also agree with you that images are important. The updated screenshots look focused now! No more questions. Actually, I just remembered how I once wrote a chapter about pictures in documentation for our Espressif Manual of Style. Its intro says how pictures are important. AI started affecting our lives a bit too much recently :)

    f-hollow f-hollow commented on code on Jun 15, 2026 03:42 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, select pins and features in a visual form, and download a production-style BSP component for *your* hardware while keeping the same APIs your code already uses.
    +
    +## The problem every custom board hits
    +
    +You or your software team creates a prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card work perfectly because Espressif maintains the BSP.
    +
    +Then the hardware team designs a custom board with a different touch controller, pin mapping, and without a speaker. Now you have to partially start from scratch.
    +
    +**There is a better workflow.**
    +
    +## Start with what already works
    +
    +{{< figure
    +    src="img/02-load-configuration-modal.webp"
    +    alt="Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)"
    +    caption="Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)"
    +    >}}
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +## Configure features for *your* PCB
    +
    +{{< figure
    +    src="img/03-starter-board-loaded.webp"
    +    alt="Starter board loaded — ESP-BOX-3 configuration ready to customize"
    +    caption="Starter board loaded — ESP-BOX-3 configuration ready to customize"
    +    >}}
    +
    +Each capability is a **feature tab**: Display, Touch, Buttons, Audio, SD card, Camera, sensors, USB, battery, and more. Enable what your schematic actually has; disable what you removed.
    +
    +Typical custom-board edits:
    +
    +| On the dev kit | On your custom board |
    +|----------------|----------------------|
    +| 3 navigation buttons | 2 buttons, different GPIOs |
    +| FT5x06 touch on I2C | Same controller, different I2C pins |
    +| RGB LCD + backlight PWM | SPI display, fixed backlight |
    +| On-board microphone | No audio - tab stays off |
    +
    +The generator checks dependencies (touch over I2C needs I2C enabled, and so on) before it builds anything.
    +
    +{{< figure
    +    src="img/04-display-feature-tab.webp"
    +    alt="Display feature tab — resolution, driver, pins, and LVGL options"
    +    caption="Display feature tab — resolution, driver, pins, and LVGL options"
    +    >}}
    +
    +Hover the **?** icons for hints. Upload a board photo for the generated README. Save the JSON - that file is your **single source of truth** for the board definition.

    Hover the ? icons for hints.

    Do you think it might be possible to generate a BSP using a touch screen device? I suggest adding this:

    Hover over or tap the ? icons for hints.

    f-hollow f-hollow commented on code on Jun 15, 2026 03:51 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, select pins and features in a visual form, and download a production-style BSP component for *your* hardware while keeping the same APIs your code already uses.
    +
    +## The problem every custom board hits
    +
    +You or your software team creates a prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card work perfectly because Espressif maintains the BSP.
    +
    +Then the hardware team designs a custom board with a different touch controller, pin mapping, and without a speaker. Now you have to partially start from scratch.
    +
    +**There is a better workflow.**
    +
    +## Start with what already works
    +
    +{{< figure
    +    src="img/02-load-configuration-modal.webp"
    +    alt="Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)"
    +    caption="Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)"
    +    >}}
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +## Configure features for *your* PCB
    +
    +{{< figure
    +    src="img/03-starter-board-loaded.webp"
    +    alt="Starter board loaded — ESP-BOX-3 configuration ready to customize"
    +    caption="Starter board loaded — ESP-BOX-3 configuration ready to customize"
    +    >}}

    The form in the screenshot actually includes two different parts:

  • Project metadata / documentation

  • Feature configuration
  • Ideas:

  • I recommend that you split this section and the screenshot into two respectively.

  • At least for me, it is not clear if I need to update the README, links, photos, etc., or provide new ones. Are changes required? How will this information will be used? How is it useful for me as a user?
  • f-hollow f-hollow commented on code on Jun 15, 2026 04:00 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, select pins and features in a visual form, and download a production-style BSP component for *your* hardware while keeping the same APIs your code already uses.
    +
    +## The problem every custom board hits
    +
    +You or your software team creates a prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card work perfectly because Espressif maintains the BSP.
    +
    +Then the hardware team designs a custom board with a different touch controller, pin mapping, and without a speaker. Now you have to partially start from scratch.
    +
    +**There is a better workflow.**
    +
    +## Start with what already works
    +
    +{{< figure
    +    src="img/02-load-configuration-modal.webp"
    +    alt="Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)"
    +    caption="Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)"
    +    >}}
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +## Configure features for *your* PCB
    +
    +{{< figure
    +    src="img/03-starter-board-loaded.webp"
    +    alt="Starter board loaded — ESP-BOX-3 configuration ready to customize"
    +    caption="Starter board loaded — ESP-BOX-3 configuration ready to customize"
    +    >}}
    +
    +Each capability is a **feature tab**: Display, Touch, Buttons, Audio, SD card, Camera, sensors, USB, battery, and more. Enable what your schematic actually has; disable what you removed.
    +
    +Typical custom-board edits:
    +
    +| On the dev kit | On your custom board |
    +|----------------|----------------------|
    +| 3 navigation buttons | 2 buttons, different GPIOs |
    +| FT5x06 touch on I2C | Same controller, different I2C pins |
    +| RGB LCD + backlight PWM | SPI display, fixed backlight |
    +| On-board microphone | No audio - tab stays off |
    +
    +The generator checks dependencies (touch over I2C needs I2C enabled, and so on) before it builds anything.
    +
    +{{< figure
    +    src="img/04-display-feature-tab.webp"
    +    alt="Display feature tab — resolution, driver, pins, and LVGL options"
    +    caption="Display feature tab — resolution, driver, pins, and LVGL options"
    +    >}}
    +
    +Hover the **?** icons for hints. Upload a board photo for the generated README. Save the JSON - that file is your **single source of truth** for the board definition.

    Save the JSON - that file is your single source of truth for the board definition.

    I believe this deserves more attention. At this point, it is not clear why this file is needed and what to do with it. Do I understand it correctly that the JSON file stores the project metadata and all feature configurations?

    Part of this information is provided in the section ESP-IDF upgraded? Regenerate, don’t rewrite, but not enough:

    …load the JSON in the generator, adjust what changed, and Generate BSP again.

    It is not clear what loads the JSON file or how to load it.

    I suggest that you create a separate section about the JSON file, what it is and how to use it. In ESP-IDF upgraded? ..., you can only cover the regeneration part.

    f-hollow f-hollow commented on code on Jun 15, 2026 05:18 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, select pins and features in a visual form, and download a production-style BSP component for *your* hardware while keeping the same APIs your code already uses.
    +
    +## The problem every custom board hits
    +
    +You or your software team creates a prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card work perfectly because Espressif maintains the BSP.
    +
    +Then the hardware team designs a custom board with a different touch controller, pin mapping, and without a speaker. Now you have to partially start from scratch.
    +
    +**There is a better workflow.**
    +
    +## Start with what already works
    +
    +{{< figure
    +    src="img/02-load-configuration-modal.webp"
    +    alt="Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)"
    +    caption="Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)"
    +    >}}
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +## Configure features for *your* PCB
    +
    +{{< figure
    +    src="img/03-starter-board-loaded.webp"
    +    alt="Starter board loaded — ESP-BOX-3 configuration ready to customize"
    +    caption="Starter board loaded — ESP-BOX-3 configuration ready to customize"
    +    >}}
    +
    +Each capability is a **feature tab**: Display, Touch, Buttons, Audio, SD card, Camera, sensors, USB, battery, and more. Enable what your schematic actually has; disable what you removed.
    +
    +Typical custom-board edits:
    +
    +| On the dev kit | On your custom board |
    +|----------------|----------------------|
    +| 3 navigation buttons | 2 buttons, different GPIOs |
    +| FT5x06 touch on I2C | Same controller, different I2C pins |
    +| RGB LCD + backlight PWM | SPI display, fixed backlight |
    +| On-board microphone | No audio - tab stays off |
    +
    +The generator checks dependencies (touch over I2C needs I2C enabled, and so on) before it builds anything.
    +
    +{{< figure
    +    src="img/04-display-feature-tab.webp"
    +    alt="Display feature tab — resolution, driver, pins, and LVGL options"
    +    caption="Display feature tab — resolution, driver, pins, and LVGL options"
    +    >}}
    +
    +Hover the **?** icons for hints. Upload a board photo for the generated README. Save the JSON - that file is your **single source of truth** for the board definition.
    +
    +## Generate once, integrate like any esp-bsp component
    +
    +Click **Generate BSP**. You get a ZIP with:
    +
    +- A full **ESP-IDF component** (`CMakeLists.txt`, `Kconfig`, headers, sources)
    +- **`sdkconfig.defaults`** generated to your choices
    +- **`README.md`** with capabilities and dependency table
    +- **`API.md`** API reference (Doxygen-style, same idea as official BSPs)
    +- Optional **noglib** variant (BSP without LVGL)
    +- Optional **SquareLine Studio** OBP pack for UI designers
    +
    +Your application keeps calling the same BSP entry points:
    +
    +```c
    +#include "bsp/esp-bsp.h"
    +
    +void app_main(void)
    +{
    +    bsp_display_start();
    +    bsp_display_backlight_on();
    +    // ... your UI / logic unchanged in spirit
    +}
    +```
    +
    +Wire the new component in `main/idf_component.yml`:
    +
    +```yaml
    +dependencies:
    +  my_custom_board:
    +    path: ../components/my_custom_board
    +```
    +
    +Copy `sdkconfig.defaults` to the project root, set the target, build. **The application structure stays familiar** - only the board layer changed.
    +
    +---
    +
    +## Swap the component, keep the software
    +
    +This is the payoff for product teams:
    +
    +```
    +Prototype firmware  →  uses esp-box-3 BSP from esp-bsp
    +Production firmware →  uses my_custom_board BSP from the generator
    +Application code    →  largely the same #include and BSP APIs
    +```
    +
    +You are not maintaining a fork of esp-bsp forever. You maintain a **small, generated board package** that follows the same conventions as [espressif/esp-bsp](https://github.com/espressif/esp-bsp): component layout, `bsp_*` helpers, LVGL integration via [esp_lvgl_port](https://github.com/espressif/esp-bsp/tree/master/components/esp_lvgl_port), examples you can compare under [esp-bsp/examples/](https://github.com/espressif/esp-bsp/tree/master/examples).
    +
    +## ESP-IDF upgraded? Regenerate, don’t rewrite
    +
    +Saved configuration JSON is more than a backup. When:
    +
    +- **ESP-IDF** moves to a new major version,
    +- **esp-bsp** templates or drivers change,
    +- you add a feature you skipped in v1 (e.g. SD card on the next PCB spin),
    +
    +…load the JSON in the generator, adjust what changed, and **Generate BSP** again.
    +
    +You refresh pins, Kconfig, and generated sources from the template — instead of merging hundreds of manual edits across C files.
    +
    +{{< figure
    +    src="img/05-generation-success.webp"
    +    alt="Generation success — next steps, file list, and Download ZIP"
    +    caption="Generation success — next steps, file list, and Download ZIP"
    +    >}}
    +
    +The success page walks through integration steps; the in-app **Help** modal covers load/save, features, and SquareLine OBP install paths.
    +
    +## Why esp-bsp + the generator together
    +
    +| | [esp-bsp](https://github.com/espressif/esp-bsp) | [BSP Generator](https://bsp-generator.espressif.tools) |
    +|---|------------------------------------------------|------------------------------------------------------|
    +| **Best for** | Official Espressif & partner boards | Your custom PCB |
    +| **Maintained by** | Espressif BSP team | Generated from shared templates |
    +| **API style** | `bsp_*`, LVGL port, examples | Same patterns |
    +| **Registry** | Components on [components.espressif.com](https://components.espressif.com) | Your `idf_component.yml` + path or publish later |
    +
    +Use **esp-bsp** as reference and dependency where it fits. Use the **generator** when the schematic is yours.
    +
    +## SquareLine Studio? Covered.

    For those who might not be familiar with this tool, I suggest that you provide a one-two sentence description of what it is and give a web link.

    f-hollow f-hollow commented on code on Jun 15, 2026 05:19 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, select pins and features in a visual form, and download a production-style BSP component for *your* hardware while keeping the same APIs your code already uses.
    +
    +## The problem every custom board hits
    +
    +You or your software team creates a prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card work perfectly because Espressif maintains the BSP.
    +
    +Then the hardware team designs a custom board with a different touch controller, pin mapping, and without a speaker. Now you have to partially start from scratch.
    +
    +**There is a better workflow.**
    +
    +## Start with what already works
    +
    +{{< figure
    +    src="img/02-load-configuration-modal.webp"
    +    alt="Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)"
    +    caption="Load configuration — pick a starter board (ESP-BOX-3, ESP32-C3-LCDKit, …)"
    +    >}}
    +
    +1. Open the **[ESP-BSP Generator](https://bsp-generator.espressif.tools)**.
    +2. Click **Load configuration** and pick a starter board that matches your prototype (e.g. ESP-BOX-3, ESP32-S3-EYE, ESP32-C3-LCDKit).
    +3. The form fills in MCU, features, drivers, and pin assignments - the same structure as the official BSP in [esp-bsp/bsp/](https://github.com/espressif/esp-bsp/tree/master/bsp).
    +
    +## Configure features for *your* PCB
    +
    +{{< figure
    +    src="img/03-starter-board-loaded.webp"
    +    alt="Starter board loaded — ESP-BOX-3 configuration ready to customize"
    +    caption="Starter board loaded — ESP-BOX-3 configuration ready to customize"
    +    >}}
    +
    +Each capability is a **feature tab**: Display, Touch, Buttons, Audio, SD card, Camera, sensors, USB, battery, and more. Enable what your schematic actually has; disable what you removed.
    +
    +Typical custom-board edits:
    +
    +| On the dev kit | On your custom board |
    +|----------------|----------------------|
    +| 3 navigation buttons | 2 buttons, different GPIOs |
    +| FT5x06 touch on I2C | Same controller, different I2C pins |
    +| RGB LCD + backlight PWM | SPI display, fixed backlight |
    +| On-board microphone | No audio - tab stays off |
    +
    +The generator checks dependencies (touch over I2C needs I2C enabled, and so on) before it builds anything.
    +
    +{{< figure
    +    src="img/04-display-feature-tab.webp"
    +    alt="Display feature tab — resolution, driver, pins, and LVGL options"
    +    caption="Display feature tab — resolution, driver, pins, and LVGL options"
    +    >}}
    +
    +Hover the **?** icons for hints. Upload a board photo for the generated README. Save the JSON - that file is your **single source of truth** for the board definition.
    +
    +## Generate once, integrate like any esp-bsp component
    +
    +Click **Generate BSP**. You get a ZIP with:
    +
    +- A full **ESP-IDF component** (`CMakeLists.txt`, `Kconfig`, headers, sources)
    +- **`sdkconfig.defaults`** generated to your choices
    +- **`README.md`** with capabilities and dependency table
    +- **`API.md`** API reference (Doxygen-style, same idea as official BSPs)
    +- Optional **noglib** variant (BSP without LVGL)
    +- Optional **SquareLine Studio** OBP pack for UI designers
    +
    +Your application keeps calling the same BSP entry points:
    +
    +```c
    +#include "bsp/esp-bsp.h"
    +
    +void app_main(void)
    +{
    +    bsp_display_start();
    +    bsp_display_backlight_on();
    +    // ... your UI / logic unchanged in spirit
    +}
    +```
    +
    +Wire the new component in `main/idf_component.yml`:
    +
    +```yaml
    +dependencies:
    +  my_custom_board:
    +    path: ../components/my_custom_board
    +```
    +
    +Copy `sdkconfig.defaults` to the project root, set the target, build. **The application structure stays familiar** - only the board layer changed.
    +
    +---
    +
    +## Swap the component, keep the software
    +
    +This is the payoff for product teams:
    +
    +```
    +Prototype firmware  →  uses esp-box-3 BSP from esp-bsp
    +Production firmware →  uses my_custom_board BSP from the generator
    +Application code    →  largely the same #include and BSP APIs
    +```
    +
    +You are not maintaining a fork of esp-bsp forever. You maintain a **small, generated board package** that follows the same conventions as [espressif/esp-bsp](https://github.com/espressif/esp-bsp): component layout, `bsp_*` helpers, LVGL integration via [esp_lvgl_port](https://github.com/espressif/esp-bsp/tree/master/components/esp_lvgl_port), examples you can compare under [esp-bsp/examples/](https://github.com/espressif/esp-bsp/tree/master/examples).
    +
    +## ESP-IDF upgraded? Regenerate, don’t rewrite
    +
    +Saved configuration JSON is more than a backup. When:
    +
    +- **ESP-IDF** moves to a new major version,
    +- **esp-bsp** templates or drivers change,
    +- you add a feature you skipped in v1 (e.g. SD card on the next PCB spin),
    +
    +…load the JSON in the generator, adjust what changed, and **Generate BSP** again.
    +
    +You refresh pins, Kconfig, and generated sources from the template — instead of merging hundreds of manual edits across C files.
    +
    +{{< figure
    +    src="img/05-generation-success.webp"
    +    alt="Generation success — next steps, file list, and Download ZIP"
    +    caption="Generation success — next steps, file list, and Download ZIP"
    +    >}}
    +
    +The success page walks through integration steps; the in-app **Help** modal covers load/save, features, and SquareLine OBP install paths.
    +
    +## Why esp-bsp + the generator together
    +
    +| | [esp-bsp](https://github.com/espressif/esp-bsp) | [BSP Generator](https://bsp-generator.espressif.tools) |
    +|---|------------------------------------------------|------------------------------------------------------|
    +| **Best for** | Official Espressif & partner boards | Your custom PCB |
    +| **Maintained by** | Espressif BSP team | Generated from shared templates |
    +| **API style** | `bsp_*`, LVGL port, examples | Same patterns |
    +| **Registry** | Components on [components.espressif.com](https://components.espressif.com) | Your `idf_component.yml` + path or publish later |
    +
    +Use **esp-bsp** as reference and dependency where it fits. Use the **generator** when the schematic is yours.
    +
    +## SquareLine Studio? Covered.
    +
    +If your flow includes UI design, enable **Generate SquareLine Studio pack** (Display required). The ZIP includes an [Open Board Platform](https://docs.squareline.io/docs/obp/) bundle (`.slb`, `.zip`, `.png`) ready to copy into `~/SquareLine/boards/` - designers stay in SquareLine; firmware stays on the same BSP pins and resolution you defined in the form.
    +
    +## Try it in five minutes
    +
    +1. Go to **[bsp-generator.espressif.tools](https://bsp-generator.espressif.tools)**
    +2. **Load** `ESP-BOX-3` or any starter board close to your hardware
    +3. Change one GPIO, rename the BSP, click **Generate**
    +4. Drop the component into a blank ESP-IDF project and `idf.py build`
    +
    +Explore official boards and docs in **[github.com/espressif/esp-bsp](https://github.com/espressif/esp-bsp)** - then make the generator your shortcut from dev kit to custom product.

    then make the generator your shortcut from dev kit to custom product.

    Please clarify this part. The ideas are a bit crammed here.

    f-hollow f-hollow commented on Jun 15, 2026 05:20 UTC
    Reviewer

    @espzav Thank you for implementing my initial comments. Here is the second (and most likely the last) batch.

    pedrominatel pedrominatel commented on code on Jun 16, 2026 16:27 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, select pins and features in a visual form, and download a production-style BSP component for *your* hardware while keeping the same APIs your code already uses.

    My suggestion for this beginning is to use a storytelling approach. Here, we need to catch the reader's attention to motivate them to read the full article, and after that, convince them to use the proposed solution.

    Something like:

    When you start a new project from scratch, you need to bring the board up. This process includes setting up all peripherals, checking all pinouts, adding sensors, including packages, components and all board related stuff.
    Not only a time consuming, but this process also requires knowledge on the hardware used and could fail easily if done incorrectly. Imagine now that you need to do the same thing over and over if you use the same hardware for different products.
    
    To solve this issue, an approach know as Board Support Package (BSP) adds versatility to your project by adding a layer of abstraction with the hardware. The BSP will contain all hardware support for a specific board, including the drivers, peripheral initialization, deinitialization, board configuration, target setting and all APIs needed to use all the board features.
    
    You can read more about the BSP on the Using ESP-BSP with DevKits article.
    https://developer.espressif.com/blog/using-esp-bsp-with-devkits/
    
    Here we try to convince the reader to try the solution.
    
    While Espressif supports most of the development kits with BSPs, they are limited to boards that are officially supported by Espressif. However, at some point, you will realize that you need to create your own BSP for a custom board you’re developing or you need to support a third-party boards not supported by Espressif.
    
    To help you creating a new BSP and fill this gap, we developed a new tool called ESP-BSP Generator.
    
    ## BSP Generator
    
    The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap...
    

    pedrominatel pedrominatel commented on code on Jun 16, 2026 16:28 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"

    You can remove this since the featured image is on the same level as index.md.

    pedrominatel pedrominatel commented on code on Jun 16, 2026 16:35 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, select pins and features in a visual form, and download a production-style BSP component for *your* hardware while keeping the same APIs your code already uses.
    +
    +## The problem every custom board hits
    +
    +You or your software team creates a prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card work perfectly because Espressif maintains the BSP.
    +
    +Then the hardware team designs a custom board with a different touch controller, pin mapping, and without a speaker. Now you have to partially start from scratch.

    It will be nice to add some motivation for creating a new BSP.

    BSP could help in 2 ways:

  • Different projects using the same hardware.

  • - No need to manually add the HAL every time.
  • Different hardware using the same software.

  • - Easy to change the hardware/board.

    Another thing worth mentioning is the API consistency. Different BSPs with the same APIs, making the change or migration easy. If I understood correctly, on the BSP Generator, if you use the button, for example, all the initialization and usage will be the same no matter the BSP you create.

    pedrominatel pedrominatel commented on Jun 16, 2026 16:36 UTC
    Reviewer

    @espzav, thank you for another article about BSP. I have some considerations I would like to discuss with you.
    Please take a look and let me know if you want to discuss about it.

    espzav espzav commented on code on Jun 17, 2026 08:08 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"

    When I removed it, the CI failed.

    f-hollow f-hollow commented on code on Jun 17, 2026 11:04 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"

    @espzav The CI only reports:

    Article: content/blog/2026/06/bsp-generator-promo/index.md
    ❌ Publishing date in the article's YAML header is in the past: 2026-06-11.
    Once the article is approved, update the date to a present or future day and make sure it matches the article's 'content/blog/YYYY/MM/' folder.

    You can update the date later.

    I tried removing the featureAsset line, the website builds just fine.

    Do you have any other issues?

    espzav espzav commented on Jun 17, 2026 12:23 UTC
    Author

    @f-hollow @pedrominatel Thank you for review. I updated some parts and used Pedro's beginning - thanks.

    espzav espzav commented on code on Jun 17, 2026 12:25 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"

    Removed, I hope that CI will pass :-)

    espzav espzav commented on code on Jun 17, 2026 12:43 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, select pins and features in a visual form, and download a production-style BSP component for *your* hardware while keeping the same APIs your code already uses.
    +
    +## The problem every custom board hits
    +
    +You or your software team creates a prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card work perfectly because Espressif maintains the BSP.
    +
    +Then the hardware team designs a custom board with a different touch controller, pin mapping, and without a speaker. Now you have to partially start from scratch.

    Yes, you are right. But I don't know if and where is the best part of this article to add more info about BSP or to make new article mainly about BSP?
    We want to make more articles and promotion of BSP and our tools. We have new API for sensors (Temperature, humidity, IMU, ...). We want to add more sensors like lightsensor, battery monitor, RTC and others. We are planning more new features too. We are using new video component for camera. There is lot of new features but I am aware that article about it will be look like API guide :-D

    f-hollow f-hollow commented on code on Jun 18, 2026 02:06 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,153 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon
    +date: 2026-06-11
    +summary: Start from an esp-bsp dev kit, customize pins and features in a web form, and download a production-style BSP component for your custom PCB - same APIs, less manual work.
    +featureAsset: "img/featured.webp"
    +tags:
    +  - ESP-BSP
    +authors:
    +  - "vilem-zavodny"
    +---
    +
    +The [ESP-BSP Generator](https://bsp-generator.espressif.tools) bridges that gap: start from a proven [esp-bsp](https://github.com/espressif/esp-bsp) board, select pins and features in a visual form, and download a production-style BSP component for *your* hardware while keeping the same APIs your code already uses.
    +
    +## The problem every custom board hits
    +
    +You or your software team creates a prototype on **ESP32-S3-BOX-3**, **ESP32-C3-LCDKit**, **M5Stack Tab5**, or another board from [esp-bsp](https://github.com/espressif/esp-bsp). Display, touch, audio, SD card work perfectly because Espressif maintains the BSP.
    +
    +Then the hardware team designs a custom board with a different touch controller, pin mapping, and without a speaker. Now you have to partially start from scratch.

    @espzav The new articles about new features and APIs do not need to look like API guides.

    You can write some tutorials that implement something useful and refer to your API docs from them. In this way, you will advertise new features with their APIs and will provide good examples on how to use them.

    pedrominatel pedrominatel commented on Jun 18, 2026 16:13 UTC
    Contributor

    @espzav and @f-hollow, PTAL at my changes as a suggestion for a different approach for this article.

    f-hollow f-hollow commented on Jun 19, 2026 00:23 UTC
    Contributor

    @espzav and @f-hollow, PTAL at my changes as a suggestion for a different approach for this article.

    Your proposed introduction make the problem relatable and offers the solution in an easy to understand way. I really like it!

    We can further streamline the narrative in a few places. I will propose some updates after the weekend.

    espzav espzav commented on Jun 23, 2026 08:16 UTC
    Author

    @espzav and @f-hollow, PTAL at my changes as a suggestion for a different approach for this article.

    Hi @pedrominatel, Thank you for these changes it looks good!

    f-hollow f-hollow commented on code on Jun 24, 2026 02:08 UTC
    Code Review
    content/blog/2026/06/bsp-generator-promo/index.md:1
    @@ -0,0 +1,198 @@
    +---
    +title: From Espressif Dev Kit to Your Custom Board - in an Afternoon

    What I would change:

  • Espressif Dev Kit reads like the name of a product when capitalized, I highly recommend that you use sentence case in heading titles.

  • I highly recommend that you add the name of your product in the title to advertize it better.
  • title: ESP-BSP Generator: From Espressif dev kit to your custom board in an afternoon
    

    f-hollow f-hollow commented on Jun 24, 2026 03:44 UTC
    Reviewer

    @espzav

    I had a conversation with Pedro, collected more information about your project and how to use it.

    With this information in mind, I did a thorough review this time to try and make your article more clear and approachable.

    espzav espzav commented on Jun 29, 2026 11:35 UTC
    Author

    @f-hollow Thank you for review. Sorry for late reply and fixes, I was a bussy.
    I updated and fixed all by your comments.

    f-hollow f-hollow commented on Jun 30, 2026 02:38 UTC
    Reviewer

    @espzav A couple of follow-ups on my existing comments and one YAML syntax fix in the article front matter.

    f-hollow f-hollow approved these changes on Jun 30, 2026 07:16 UTC
    Approved Reviewer

    @espzav Thank you, LGTM!

    pedrominatel pedrominatel approved these changes on Jun 30, 2026 08:24 UTC
    Approved Reviewer

    Thank you, @espzav, for the article and @f-hollow for the review.
    LGTM!

    Reviewers
    Assignees
    espzav espzav
    Labels
    risk: low confidence: 90.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.2% (MEDIUM) · Higher = larger blast radius
    42.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 90.8% · Lower = rushed or shallow review
    90.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 3.9% · Safe to merge
    3.9%