1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-01-16 21:58:13 +01:00
Grbl_Esp32/debug.ini
odaki d9dba2c908
Fix i2s probing hang (#608)
* Fix I2S stepper hung just after the completion of motor moving

* Fix recompile issue

Fixed a problem with the recompile not being recompiled even if the files under the Custom folder are changed.

* More comment for macOS in debug.ini

* Fix the timing of calling I2S out's exclusion function and reset sequence

The reset sequence did not seem to be correct, so I changed it.
According to the ESP-IDF PR, the correct sequence is as follows:
1)TX module
2)DMA
3)FIFO
c7f33524b4 (diff-27688c6b3c29373d2a2b142b8471981c)

* Changed the message level for I2S swtiching from warning to debug

* Add some comments
2020-10-09 16:32:32 -05:00

35 lines
863 B
INI

; Edit this to optimize for your debug environment and
; uncomment the extra_configs line in platformio.ini
[env]
; Windows
upload_port = COM3
monitor_port = COM3
; macOS
;upload_port = /dev/cu.SLAB_USBtoUART
;monitor_port = /dev/cu.SLAB_USBtoUART
; macOS ESP-Prog
;upload_port = /dev/cu.usbserial-14200
;monitor_port = /dev/cu.usbserial-14201
;upload_protocol = esp-prog
; Linux
;upload_port = /dev/ttyUSB*
;monitor_port = /dev/ttyUSB*
build_flags =
${common.build_flags}
-DMACHINE_FILENAME=test_drive.h
[env:debug]
; You can switch between debugging tools using debug_tool option
; https://docs.platformio.org/en/latest/plus/debugging.html#tools-debug-probes
;
; Minimodule
;;debug_tool = minimodule
;;upload_protocol = minimodule
; ESP-Prog
debug_tool = esp-prog
upload_protocol = esp-prog
;debug_init_break = thb app_main
debug_init_break = thb setup