diff --git a/_demo/embed/hello-esp32/main.go b/_demo/embed/esp32/hello/main.go similarity index 100% rename from _demo/embed/hello-esp32/main.go rename to _demo/embed/esp32/hello/main.go diff --git a/_demo/embed/hello-esp32/uart.go b/_demo/embed/esp32/hello/uart.go similarity index 100% rename from _demo/embed/hello-esp32/uart.go rename to _demo/embed/esp32/hello/uart.go diff --git a/_embdemo/esp32/libc/main.go b/_demo/embed/esp32/libc/main.go similarity index 99% rename from _embdemo/esp32/libc/main.go rename to _demo/embed/esp32/libc/main.go index 297373c3..bb3cfd02 100644 --- a/_embdemo/esp32/libc/main.go +++ b/_demo/embed/esp32/libc/main.go @@ -4,7 +4,7 @@ import ( "unsafe" "github.com/goplus/lib/c" - "github.com/goplus/llgo/_embdemo/esp32/watchdog" + "github.com/goplus/llgo/_demo/embed/esp32/watchdog" ) // diff --git a/_embdemo/esp32/rt/main.go b/_demo/embed/esp32/rt/main.go similarity index 99% rename from _embdemo/esp32/rt/main.go rename to _demo/embed/esp32/rt/main.go index dfd426de..bdd98bfd 100644 --- a/_embdemo/esp32/rt/main.go +++ b/_demo/embed/esp32/rt/main.go @@ -3,7 +3,7 @@ package main import ( _ "unsafe" - "github.com/goplus/llgo/_embdemo/esp32/watchdog" + "github.com/goplus/llgo/_demo/embed/esp32/watchdog" ) // @@ -278,7 +278,7 @@ func testMultiplicationFunctions() { // Test muldi3 - signed 64-bit multiplication assertEqualInt64("muldi3", muldi3(5, 4), 20) - assertEqualInt64("mul极3", muldi3(-5, 4), -20) + assertEqualInt64("muldi3", muldi3(-5, 4), -20) assertEqualInt64("muldi3", muldi3(5, -4), -20) // Test muldf3 - double precision multiplication diff --git a/_embdemo/esp32/watchdog/watchdog.go b/_demo/embed/esp32/watchdog/watchdog.go similarity index 100% rename from _embdemo/esp32/watchdog/watchdog.go rename to _demo/embed/esp32/watchdog/watchdog.go diff --git a/_demo/embed/write-esp32/main.go b/_demo/embed/esp32/write/main.go similarity index 100% rename from _demo/embed/write-esp32/main.go rename to _demo/embed/esp32/write/main.go