# Howto add board esp32-8048s070 for ESP-IDF (Espressif)

**URL:** <http://forum.squareline.io/t/howto-add-board-esp32-8048s070-for-esp-idf-espressif/2172>\
**Category:** How to\
**Created:** [November 30, 2023, 10:37pm UTC](http://forum.squareline.io/t/howto-add-board-esp32-8048s070-for-esp-idf-espressif/2172 "2023-11-30T22:37:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hef](http://forum.squareline.io/user_avatar/forum.squareline.io/hef/32/1027_2.png) [@Hef](http://forum.squareline.io/u/Hef)\
**Post date:** [November 30, 2023, 10:37pm UTC](http://forum.squareline.io/t/howto-add-board-esp32-8048s070-for-esp-idf-espressif/2172/1 "2023-11-30T22:37:30Z")

</div>

### What do you want to achieve?

I want to create UI in SquareLine Studio for esp32-8048s070 and export project for ESP-IDF (Espressif)

### What have you tried so far?

I tried to select other board, but it doesn’t worked after flashing, in log was something like “wrong board, check hardware”

### Others

- **SquareLine Studio version: 1.3.3**
- **Operating system: Windows 7x64**
- \*\*Target hardware: 7" board esp32-8048s070:
  - ESP32-S3 \* 7-inch 800x480 TFT display - EK9716 (Parallel RGB-565 interface)
  - 7-inch 800x480 TFT display - EK9716 (Parallel RGB-565 interface)
  - Capacitive touch panel - GT911 (i2C - 0x5D or 0x14)  
more [here](https://esp3d.io/esp3d-tft/v1.x/hardware/sunton-7-8048/index.html)  
\*\*

---

<div class="post-metadata">

**Author:** ![Hermit](http://forum.squareline.io/user_avatar/forum.squareline.io/hermit/32/971_2.png) [@Hermit](http://forum.squareline.io/u/Hermit)\
**Post date:** [December 1, 2023, 8:53am UTC](http://forum.squareline.io/t/howto-add-board-esp32-8048s070-for-esp-idf-espressif/2172/2 "2023-12-01T08:53:27Z")

</div>

You can create your custom ESP-IDF board template based on an existing one or exported code, and editing ‘sdkconfig’ in it, or set it with ‘idf.py menuconfig’ according to your memory/device requirements. It might need some trials with different settings until it works. Especially if the display-diver is not supported by default in ESP-IDF and you need to integrate a driver into the source.  
A similar topic including our tutorial on creating custom board templates: [How do I create a project for a custom STM32 board?](https://forum.squareline.io/t/how-do-i-create-a-project-for-a-custom-stm32-board/2124)  
And a successful custom ESP32 board template as a possible example (albeit with different display/etc) for you:  
[Sunton ESP32 5.0" RGB display board](https://forum.squareline.io/t/sunton-esp32-5-0-rgb-display-board/2145)

---

<div class="post-metadata">

**Author:** ![Hef](http://forum.squareline.io/user_avatar/forum.squareline.io/hef/32/1027_2.png) [@Hef](http://forum.squareline.io/u/Hef)\
**Post date:** [December 5, 2023, 7:31pm UTC](http://forum.squareline.io/t/howto-add-board-esp32-8048s070-for-esp-idf-espressif/2172/3 "2023-12-05T19:31:14Z")

</div>

Thank you.  
Based on the “Sunton ESP32 5.0 RGB display board” I made for the “esp32-8048s070”. But now there is another problem: when I added the board, it didn’t work the first time. Now I have the final version, but if I replace the files in the Square line program, the program ignores the changes and uses the ones I added the first time. I tried to erase the folder “esp32-8048s070”, but the board still remains in the program.  
How do I remove a board from Square line in order to add it again but already fixed version?

---

<div class="post-metadata">

**Author:** ![haberlerm](http://forum.squareline.io/letter_avatar_proxy/v4/letter/h/eb9ed0/32.png) [@haberlerm](http://forum.squareline.io/u/haberlerm)\
**Post date:** [December 8, 2023, 9:00am UTC](http://forum.squareline.io/t/howto-add-board-esp32-8048s070-for-esp-idf-espressif/2172/4 "2023-12-08T09:00:14Z")

</div>

here is an esp-idf sample project supporting this board:

> **[GitHub - mhaberler/ESP32-TUX at additional-platforms](https://github.com/mhaberler/ESP32-TUX/tree/additional-platforms)**
>
> additional-platforms

Michael
