init_go: убрано отключение watchdog'a
Этот коммит содержится в:
		
							родитель
							
								
									32025cd2e6
								
							
						
					
					
						коммит
						5cc0ba40b6
					
				
					 1 изменённых файлов: 0 добавлений и 10 удалений
				
			
		| 
						 | 
					@ -62,16 +62,6 @@ func main() {
 | 
				
			||||||
//export init_go
 | 
					//export init_go
 | 
				
			||||||
func init_go(heap_start uintptr, heap_length int) {
 | 
					func init_go(heap_start uintptr, heap_length int) {
 | 
				
			||||||
	stackTop = getCurrentStackPointer()
 | 
						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 будет в отдельной секции
 | 
						// Чистить BSS можно только свой. Т.е. когда при сборке tinygo BSS будет в отдельной секции
 | 
				
			||||||
	// clearbss()
 | 
						// clearbss()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Загрузка…
	
	Создание таблицы
		
		Сослаться в новой задаче