1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-24 15:13:02 +02:00

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
This commit is contained in:
odaki
2020-10-10 06:32:32 +09:00
committed by GitHub
parent 27061bfca6
commit d9dba2c908
6 changed files with 79 additions and 45 deletions

View File

@@ -6,14 +6,18 @@
upload_port = COM3
monitor_port = COM3
; macOS
;upload_port = /dev/cu.usbserial-*
;monitor_port = /dev/cu.usbserial-*
;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
-DMACHINE_FILENAME=test_drive.h
[env:debug]
; You can switch between debugging tools using debug_tool option