init_go: убрано отключение watchdog'a

Этот коммит содержится в:
Softonik 2024-03-25 13:09:53 +03:00 коммит произвёл Nobody
родитель 32025cd2e6
коммит 5cc0ba40b6

Просмотреть файл

@ -62,16 +62,6 @@ func main() {
//export init_go
func init_go(heap_start uintptr, heap_length int) {
stackTop = getCurrentStackPointer()
println("stackTop:", stackTop, "\n")
// Disable the protection on the watchdog timer (needed when started from
// the bootloader).
esp.RTC_CNTL.WDTWPROTECT.Set(0x050D83AA1)
// Disable both watchdog timers that are enabled by default on startup.
// Note that these watchdogs can be protected, but the ROM bootloader
// doesn't seem to protect them.
esp.RTC_CNTL.WDTCONFIG0.Set(0)
esp.TIMG0.WDTCONFIG0.Set(0)
// Чистить BSS можно только свой. Т.е. когда при сборке tinygo BSS будет в отдельной секции
// clearbss()