cleanup
This commit is contained in:
parent
4d646828cb
commit
ffb6d42f10
3 changed files with 14 additions and 29 deletions
30
Cargo.toml
30
Cargo.toml
|
@ -1,29 +1,3 @@
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = ["arduboy-rust", "Examples/Arduboy-Tutorials/eeprom", "Examples/Arduboy-Tutorials/eeprom_byte", "Examples/Arduboy-Tutorials/progmem", "Examples/Arduboy-Tutorials/tone", "Examples/Arduboy-Tutorials/serial", "Examples/Arduboy-Tutorials/demo2", "Examples/Arduboy-Tutorials/demo3", "Examples/Arduboy-Tutorials/demo4", "Examples/Arduboy-Tutorials/demo5", "Examples/Arduboy-Tutorials/demo6", "Examples/Arduboy-Tutorials/demo7", "Examples/Arduboy-Tutorials/demo9", "Examples/ArduboyFX/fxbasicexample", "Examples/ArduboyFX/fxchompies", "Examples/ArduboyFX/fxdrawballs", "Examples/ArduboyFX/fxdrawframes", "Examples/ArduboyFX/fxhelloworld", "Examples/ArduboyFX/fxloadgamestate", "Examples/drboy", "Examples/ardvoice", "Examples/rustacean", "Examples/snake", "Project/game"]
|
||||||
"arduboy-rust",
|
resolver = "2"
|
||||||
"Examples/Arduboy-Tutorials/eeprom",
|
|
||||||
"Examples/Arduboy-Tutorials/eeprom_byte",
|
|
||||||
"Examples/Arduboy-Tutorials/progmem",
|
|
||||||
"Examples/Arduboy-Tutorials/tone",
|
|
||||||
"Examples/Arduboy-Tutorials/serial",
|
|
||||||
"Examples/Arduboy-Tutorials/demo2",
|
|
||||||
"Examples/Arduboy-Tutorials/demo3",
|
|
||||||
"Examples/Arduboy-Tutorials/demo4",
|
|
||||||
"Examples/Arduboy-Tutorials/demo5",
|
|
||||||
"Examples/Arduboy-Tutorials/demo6",
|
|
||||||
"Examples/Arduboy-Tutorials/demo7",
|
|
||||||
"Examples/Arduboy-Tutorials/demo9",
|
|
||||||
"Examples/ArduboyFX/fxbasicexample",
|
|
||||||
"Examples/ArduboyFX/fxchompies",
|
|
||||||
"Examples/ArduboyFX/fxdrawballs",
|
|
||||||
"Examples/ArduboyFX/fxdrawframes",
|
|
||||||
"Examples/ArduboyFX/fxhelloworld",
|
|
||||||
"Examples/ArduboyFX/fxloadgamestate",
|
|
||||||
"Examples/drboy",
|
|
||||||
"Examples/ardvoice",
|
|
||||||
"Examples/rustacean",
|
|
||||||
"Examples/snake",
|
|
||||||
"Project/game",
|
|
||||||
]
|
|
||||||
resolver = "2"
|
|
|
@ -1,6 +1,6 @@
|
||||||
Libraries = [
|
Libraries = [
|
||||||
"Arduboy2",
|
"Arduboy2",
|
||||||
"ArduboyTones",
|
#"ArduboyTones",
|
||||||
#"ArduboyFX",
|
#"ArduboyFX",
|
||||||
#"ArdVoice",
|
#"ArdVoice",
|
||||||
#"Serial",
|
#"Serial",
|
||||||
|
|
11
run.py
11
run.py
|
@ -176,6 +176,17 @@ pub unsafe extern "C" fn setup() {
|
||||||
pub unsafe extern "C" fn loop_() {
|
pub unsafe extern "C" fn loop_() {
|
||||||
// put your main code here, to run repeatedly:
|
// put your main code here, to run repeatedly:
|
||||||
}''')
|
}''')
|
||||||
|
with open(f"Project/{project_name}/config.toml", "w") as f:
|
||||||
|
data = '''Libraries = [
|
||||||
|
"Arduboy2",
|
||||||
|
#"ArduboyTones",
|
||||||
|
#"ArduboyFX",
|
||||||
|
#"ArdVoice",
|
||||||
|
#"Serial",
|
||||||
|
"EEPROM",
|
||||||
|
"Arduino",
|
||||||
|
]'''
|
||||||
|
f.writelines(data)
|
||||||
|
|
||||||
|
|
||||||
def generate_import_h():
|
def generate_import_h():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue