MCUS

제목[PlatformIO+ESP32] cache 적용으로 컴파일 시간 단축2026-03-23 14:36
작성자 Level 10
첨부파일ldf_cache.zip (11.5KB)

Reference : https://github.com/platformio/platformio-core/issues/5018

개발환경 : VSCODE + PLATFORMIO + ESP-IDF Extension

 

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

[pre:ldf_cache.py]

 

작업 폴더에 idf_cache.py 추가하고 컴파일 하면 초반에는 느리지만, 2회차 부터는 캐쉬에서 땡겨 오기 때문에 속도가 매우 빨라짐.

#PlatformIO#ESP32#Arduino
댓글
자동등록방지
(자동등록방지 숫자를 입력해 주세요)