t-echo: enable nrfupload

This commit is contained in:
Kevin Hester 2021-04-28 15:25:54 +08:00
parent 28b7bd347a
commit c940d22a98
2 changed files with 16 additions and 12 deletions

View File

@ -47,14 +47,17 @@
"upload": { "upload": {
"maximum_ram_size": 248832, "maximum_ram_size": 248832,
"maximum_size": 815104, "maximum_size": 815104,
"require_upload_port": true,
"speed": 115200, "speed": 115200,
"protocol": "jlink", "protocol": "nrfutil",
"protocols": [ "protocols": [
"jlink", "jlink",
"nrfjprog", "nrfjprog",
"nrfutil",
"stlink" "stlink"
] ],
"use_1200bps_touch": true,
"require_upload_port": true,
"wait_for_upload_port": true
}, },
"url": "FIXME", "url": "FIXME",
"vendor": "TTGO" "vendor": "TTGO"

View File

@ -211,7 +211,7 @@ lib_ignore =
monitor_port = /dev/ttyACM1 monitor_port = /dev/ttyACM1
# we pass in options to jlink so it can understand freertos (note: we don't use "jlink" as the tool) # we pass in options to jlink so it can understand freertos (note: we don't use "jlink" as the tool)
debug_tool = jlink ;debug_tool = jlink
debug_port = :2331 debug_port = :2331
# Note: the ARGUMENTS MUST BE on multiple lines. Otherwise platformio/commands/debug/helpers.py misparses everything into the "executable" # Note: the ARGUMENTS MUST BE on multiple lines. Otherwise platformio/commands/debug/helpers.py misparses everything into the "executable"
# attribute and leaves "arguments" empty # attribute and leaves "arguments" empty
@ -352,6 +352,7 @@ lib_deps =
${nrf52840_base.lib_deps} ${nrf52840_base.lib_deps}
https://github.com/geeksville/EPD_Libraries.git https://github.com/geeksville/EPD_Libraries.git
TFT_eSPI TFT_eSPI
;upload_protocol = fs
; First prototype eink/nrf52840/sx1262 device (removed from build because didn't ship in quantity) ; First prototype eink/nrf52840/sx1262 device (removed from build because didn't ship in quantity)
;[env:eink0.1] ;[env:eink0.1]