From 12c5be6952f807bee8bbdbf0149e4839d2c29bdf Mon Sep 17 00:00:00 2001 From: evilbinary Date: Fri, 10 Nov 2023 22:22:24 +0800 Subject: [PATCH] update --- .vscode/launch.json | 2 +- image/ya.py | 2 +- ya.py | 17 +++++++++++++++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 28982e0a..39035280 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -48,7 +48,7 @@ "stopOnEntry": false, "python": "python3.11", "program": "/usr/local/bin/ya", - "args": ["-m","debug","-b","scheme","-v","D","-j","1"], + "args": ["-m","debug","-b","gpu","-v","D","-j","1"], "cwd": "${workspaceRoot}", "env": {"PYTHONPATH":"${workspaceRoot}"}, // "envFile": "${workspaceRoot}/.env" diff --git a/image/ya.py b/image/ya.py index 61a3d111..98f0481c 100644 --- a/image/ya.py +++ b/image/ya.py @@ -242,7 +242,7 @@ def run(target): duck_fit="build/"+plat+"/"+arch+"/"+mode+"/duck.fit" - print('run v3s fel ',duck_fit) + print('run v3s fel',duck_fit) os.shell('~/dev/c/sunxi-tools/sunxi-fel version uboot ~/dev/c/u-boot-v3s/u-boot-sunxi-with-spl.bin write 0x41000000 '+duck_fit) diff --git a/ya.py b/ya.py index b437b5ed..d55ead0b 100644 --- a/ya.py +++ b/ya.py @@ -74,8 +74,21 @@ #构建的module modules=[ - 'posix','loader','musl','ipc','gaga','log','pty' - #'musl','gaga','ipc','pty','log','debug','ewok' + 'devfs', + 'serial', + 'i2c', + 'spi', + 'loader', + 'posix', + 'test', + 'fat', + 'gpu', + 'mouse', + 'sdhci', + 'rtc', + 'gpio', + 'debug', 'log','pty','ipc','gaga','musl', + #'ewok' ] #构建foot