Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set C3 default clock speed to 80MHz #306

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ board = esp12e
; Comment out this line below if you have any trouble uploading the firmware
; and if it has a CP2102 on it (a square chip next to the usb port): change to 3000000 (3 million) for even faster upload speed
upload_speed = 921600
; Consider enabling if tracker is only 1 IMU with esp sensor fusion (BMI160) or 2 IMU without esp sensor fusion (BNO08X)
; this will slightly improve battery life of the tracker.
;board_build.f_cpu = 40000000L

; Uncomment below if you want to build for ESP-01
;[env:esp01_1m]
Expand All @@ -76,13 +79,13 @@ upload_speed = 921600

; Uncomment below if you want to build for esp32
; Check your board name at https://docs.platformio.org/en/latest/platforms/espressif32.html#boards
; [env:esp32]
; platform = espressif32 @ 6.1.0
; board = esp32dev
;[env:esp32]
;platform = espressif32 @ 6.4.0
;board = esp32dev
; Comment out this line below if you have any trouble uploading the firmware - and if it has a CP2102 on it (a square chip next to the usb port): change to 3000000 (3 million) for even faster upload speed
;upload_speed = 921600

; If you want to use a ESP32C3, you can use this (experimental)
; Uncomment below if you want to build for esp32c3
; Check your board name at https://docs.platformio.org/en/latest/platforms/espressif32.html#boards
; There are 2 main Boardtypes:
; 1. Boards that use a USB 2 Serial Chipset ( esp32-c3-devkitm-1, ttgo-t-oi-plus )
Expand All @@ -92,8 +95,9 @@ upload_speed = 921600
; -DARDUINO_USB_CDC_ON_BOOT=1

;[env:esp32c3]
;platform = espressif32 @ 6.1.0
;platform = espressif32 @ 6.4.0
;build_flags =
; ${env.build_flags}
; -DESP32C3
;board = lolin_c3_mini
;board_build.f_cpu = 80000000L
Loading