Skip to content

Commit c4445cf

Browse files
committed
reverting CMakeList.txt and platformio.ini
1 parent 2ba5cb6 commit c4445cf

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

CMakeLists.txt

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
cmake_minimum_required(VERSION 3.16.0)
2-
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
3-
project(esp-idf-oled)
4-
5-
6-
# set(COMPONENT_ADD_INCLUDEDIRS src)
7-
# set(COMPONENT_PRIV_REQUIRES arduino-esp32)
8-
# set(COMPONENT_SRCDIRS src)
9-
# register_component()
1+
set(COMPONENT_ADD_INCLUDEDIRS src)
2+
set(COMPONENT_PRIV_REQUIRES arduino-esp32)
3+
set(COMPONENT_SRCDIRS src)
4+
register_component()

platformio.ini

+9-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
; Please visit documentation for the other options and examples
99
; http://docs.platformio.org/page/projectconf.html
1010

11-
[env:nodemcu-32s]
12-
platform = espressif32@^6.3.0
13-
board = nodemcu-32s
14-
framework = espidf
11+
[env:d1_mini]
12+
platform = espressif8266
13+
board = d1_mini
14+
framework = arduino
15+
upload_speed = 921600
16+
board_build.f_cpu = 160000000L
17+
upload_port = /dev/cu.SLAB_USBtoUART
18+
monitor_port = /dev/cu.SLAB_USBtoUART
19+
lib_deps =

0 commit comments

Comments
 (0)