Skip to content

Commit

Permalink
Add nRF52840 env to platformio.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Apr 6, 2024
1 parent 007ecd8 commit 5301880
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@


; default_envs = esp32-s3n4r2
default_envs=esp32s3-opi
; default_envs=esp32s3-opi
; default_envs=esp32s3-qspi
; default_envs=esp32c3
; default_envs=esp32dev
; default_envs = rp2040
default_envs = nrf52840

; Custom board variant
boards_dir = ./board
Expand Down Expand Up @@ -158,4 +159,14 @@ extends = env
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
board_build.core = earlephilhower
board_build.core = earlephilhower

[env:nrf52840]
platform = nordicnrf52
board = nrf52840_dk_adafruit
framework = arduino
monitor_speed = 115200

; upload_protocol = nrfutil
; upload_protocol = nrfjprog
upload_protocol = jlink

0 comments on commit 5301880

Please sign in to comment.