Skip to content

kerikun11/esp-idf-platformio-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlatformIO Compatible ESP-IDF Project Example

PlatformIO Compatible ESP-IDF Project of Hello World Example

Run as PlatformIO Project

platformio run -t menuconfig
platformio run -t build
platformio run -t upload
platformio run -t monitor

Run as ESP-IDF Project

ESP-IDF v4.0 or more

idf.py menuconfig
idf.py build
idf.py flash
idf.py monitor

What I changed

The difference from Hello World Example is just the addition of the following two files.

platformio.ini

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter, extra scripting
;   Upload options: custom port, speed and extra flags
;   Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html

[platformio]
src_dir = main

[env:esp32dev]
platform = espressif32
framework = espidf
board = esp32dev

monitor_speed = 115200
monitor_filters = colorize
monitor_flags= --raw

.gitignore

# PlatformIO
.pio
.pioenvs
.piolibdeps

# VSCode
.vscode

# ESP-IDF
sdkconfig
sdkconfig.old
build

About

PlatformIO Compatible ESP-IDF Project Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published