Skip to content

Commit

Permalink
Set C3 default clock speed to 80MHz
Browse files Browse the repository at this point in the history
  • Loading branch information
wigwagwent committed Dec 1, 2023
1 parent b744c53 commit afe13f7
Showing 1 changed file with 9 additions and 5 deletions.
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

0 comments on commit afe13f7

Please sign in to comment.