use wait_for_upload_port for nrf52840
This commit is contained in:
1 parent
050a5f465a
commit
2b1f24524e
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -87,7 +87,7 @@ feather52840.bootloader.tool=bootburn
|
||||
feather52840.upload.tool=nrfutil
|
||||
feather52840.upload.protocol=nrfutil
|
||||
feather52840.upload.use_1200bps_touch=true
|
||||
feather52840.upload.wait_for_upload_port=false
|
||||
feather52840.upload.wait_for_upload_port=true
|
||||
#feather52840.upload.native_usb=true
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ pca10056.bootloader.tool=bootburn
|
||||
pca10056.upload.tool=nrfutil
|
||||
pca10056.upload.protocol=nrfutil
|
||||
pca10056.upload.use_1200bps_touch=true
|
||||
pca10056.upload.wait_for_upload_port=false
|
||||
pca10056.upload.wait_for_upload_port=true
|
||||
#pca10056.upload.native_usb=true
|
||||
|
||||
# Build
|
||||
|
||||
@@ -118,7 +118,7 @@ void tud_cdc_line_state_cb(uint8_t itf, bool dtr, bool rts)
|
||||
{
|
||||
(void) itf; // interface ID, not used
|
||||
|
||||
// DTR = false is counted as disconnected event for touch1200
|
||||
// DTR = false is counted as disconnected
|
||||
if ( !dtr )
|
||||
{
|
||||
cdc_line_coding_t coding;
|
||||
|
||||
Reference in new issue
Block a user