본문 바로가기
ESP32

PlatformIO ESP32-S3 board 추가하기

by 소나무기운 2023. 6. 14.
반응형

[2023/11/07] Boards 경로 변경

[2023/06/14] First Start.

 

소나무 기운 ,  전자제품 개발/생산

PlatformIO에서 ESP32-S3 board 추가하기

HMI사용을 위해서 최신 ESP32를 사용합니다.

PlatformIO에는 아직 등록되어 있지 않습니다. 수동으로 추가해 줍니다.

 

 

ESP32-S3정보 확인하기

LCD 뒷면의 ESP32 모듈을 확인합니다.

ESP32-S3-WROOM-1로 표시되어 있습니다.

 

2023.03.21 - [ESP32] - [강좌]ESP32 4.3" TFT-LCD HMI - 2. 제품 상세소개 및 관련 자료 설명(Detailed introduction & Materials introduction)

 

[강좌]ESP32 4.3" TFT-LCD HMI - 2. 제품 상세소개 및 관련 자료 설명(Detailed introduction & Materials introduction)

[2023/03/21] First Start. 소나무 기운 , 전자제품 개발/생산 ESP32 4.3" TFT-LCD HMI - 2. 제품 상세소개 및 관련 자료 설명(Detailed introduction & Materials introduction) 제품을 구매하였습니다. https://ko.aliexpress.com/item

pineenergy.tistory.com

이전 강좌에서 살펴본 자료에 보면 데이터 시트가 보입니다.

esp32-s3-wroom-1_wroom-1u_datasheet.pdf

파일을 보면 됩니다.

 

시리즈에 여러가지가 보입니다.

 

Getting started 4.3 inch.pdf 파일을 보면 아두이노 설정이 보입니다.

ESP32-S3-DevKitC-1-N16R8V 를 사용합니다.

 

보드 파일 다운로드 받기

구글에서 " platformio esp32-s3-wroom-1 "로 검색해 보니 첫번째로 검색이 됩니다.

"Can’t find ESP32-S3-WROOM-1-N16R8 (16M Flash/8SRAM)"

 

https://community.platformio.org/t/cant-find-esp32-s3-wroom-1-n16r8-16m-flash-8sram/30258

 

Can't find ESP32-S3-WROOM-1-N16R8 (16M Flash/8SRAM)

Hi, I am new to esp32 & platformio, I bought the ESP32-S3-DevKitC-1 which has ESP32-S3-WROOM-1-N16R8(16M Flash/8SRAM), I want to create a new arduino project using platformio on vscode but I am not able to find the right board, the only one that I found is

community.platformio.org

 

 

내용을 보아하니.

아래 링크에서 파일을 받아 보드파일을 복사해 주라고 합니다.

https://github.com/handledexception/platform-espressif32/tree/esp32-s3-devkitc-1-n16r8v/boards

 

GitHub - handledexception/platform-espressif32: Espressif 32: development platform for PlatformIO

Espressif 32: development platform for PlatformIO. Contribute to handledexception/platform-espressif32 development by creating an account on GitHub.

github.com

이 위치에 들어 있습니다.

 

esp32-s3-devkitc-1-n16r8v.json파일을 다운로드 받아서 platformio의 board 폴더에 복사해 줍니다.

 

 

 PlatformIO의 boards폴더에 복사하기

폴더의 위치는

 

C:\Users\username\.platformio\platforms\espressif32\boards

입니다.

오랜만에 다시 컴파일 하고자 하니 에러가 납니다.

보드 위치가 변경되었네요.

C:\Users\username\.platformio\platforms\ 아래에 

기존 espressif32만 있던 것이 espressif32@6.0.1이 추가되었습니다.

두 곳 모두에 esp32-s3-devkitc-1-n16r8v.json파일을 추가해 줍니다.

 

 

 

마무리

새로운 보드의 정보를 추가하는 방법을 알아 보았습니다. 새로운 mcu가 등장하면 추가할 수 있도록 json파일을 제작할 수 있으면 좋을 듯 합니다. 다음에는 json파일 내용을 살펴보도록 하겠습니다.

 

 

참고문헌

 

 

 

 
 

 

 

틀린 부분이나 질문은 댓글 달아주세요.

즐거운 하루 보내세요. 감사합니다.

 

 

반응형

댓글