diff --git a/.gitignore b/.gitignore index e274073..1c221f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /target /.idea -/cyw43-firmware \ No newline at end of file +.DS_Store \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index a7a38ae..054d44f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,21 +1,3 @@ -[package] -name = "pico-experiments" -version = "0.1.0" -edition = "2021" - -[dependencies] -cortex-m = { version = "0.7.7", features = ["inline-asm"] } -cortex-m-rt = "0.7.3" -cyw43 = { version = "0.1.0", features = ["defmt", "firmware-logs"] } -cyw43-pio = { version = "0.1.0", features = ["defmt", "overclock"] } -defmt = "0.3.8" -defmt-rtt = "0.4.1" -embassy-executor = { version = "0.5.0", features = ["task-arena-size-98304", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] } -embassy-rp = { version = "0.1.0", features = ["defmt", "unstable-pac", "time-driver", "critical-section-impl"] } -embassy-time = "0.3.1" -panic-probe = "0.3.2" -portable-atomic = { version = "1.7", features = ["critical-section"] } -static_cell = "2" - -[profile.release] -debug = 2 +[workspace] +members = ["fan-controller", ] +resolver = "2" \ No newline at end of file diff --git a/.cargo/config.toml b/fan-controller/.cargo/config.toml similarity index 100% rename from .cargo/config.toml rename to fan-controller/.cargo/config.toml diff --git a/fan-controller/.gitignore b/fan-controller/.gitignore new file mode 100644 index 0000000..ccbe621 --- /dev/null +++ b/fan-controller/.gitignore @@ -0,0 +1,2 @@ + +/cyw43-firmware \ No newline at end of file diff --git a/fan-controller/Cargo.toml b/fan-controller/Cargo.toml new file mode 100644 index 0000000..a7a38ae --- /dev/null +++ b/fan-controller/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "pico-experiments" +version = "0.1.0" +edition = "2021" + +[dependencies] +cortex-m = { version = "0.7.7", features = ["inline-asm"] } +cortex-m-rt = "0.7.3" +cyw43 = { version = "0.1.0", features = ["defmt", "firmware-logs"] } +cyw43-pio = { version = "0.1.0", features = ["defmt", "overclock"] } +defmt = "0.3.8" +defmt-rtt = "0.4.1" +embassy-executor = { version = "0.5.0", features = ["task-arena-size-98304", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] } +embassy-rp = { version = "0.1.0", features = ["defmt", "unstable-pac", "time-driver", "critical-section-impl"] } +embassy-time = "0.3.1" +panic-probe = "0.3.2" +portable-atomic = { version = "1.7", features = ["critical-section"] } +static_cell = "2" + +[profile.release] +debug = 2 diff --git a/build.rs b/fan-controller/build.rs similarity index 100% rename from build.rs rename to fan-controller/build.rs diff --git a/memory.x b/fan-controller/memory.x similarity index 100% rename from memory.x rename to fan-controller/memory.x diff --git a/src/fan.rs b/fan-controller/src/fan.rs similarity index 100% rename from src/fan.rs rename to fan-controller/src/fan.rs diff --git a/src/main.rs b/fan-controller/src/main.rs similarity index 100% rename from src/main.rs rename to fan-controller/src/main.rs