11[workspace ]
2- members = [
3- " bluepill-prog" ,
4- " picoprog" ,
5- " serprog"
6- ]
72resolver = " 2"
3+ members = [" bluepill-prog" , " picoprog" , " serprog" ]
84
95[workspace .dependencies ]
106assign-resources = " 0.4.1"
11- cortex-m = { version = " 0.7.7" , features = [" inline-asm " , " critical-section " ] }
7+ cortex-m = { version = " 0.7.7" , features = [" critical-section " , " inline-asm " ] }
128cortex-m-rt = " 0.7.5"
139critical-section = " 1.2.0"
1410defmt = " 0.3.10"
1511defmt-rtt = " 0.4.1"
16- embassy-executor = { version = " 0.7.0" , features = [" arch-cortex-m" , " executor-thread" , " executor-interrupt" , " nightly" ] }
12+ embassy-executor = { version = " 0.7.0" , features = [
13+ " arch-cortex-m" ,
14+ " executor-interrupt" ,
15+ " executor-thread" ,
16+ " nightly" ,
17+ ] }
1718embassy-futures = " 0.1.1"
18- embassy-rp = { version = " 0.3.0" , features = [" unstable-pac" , " time-driver" , " critical-section-impl" , " rom-func-cache" , " rom-v2-intrinsics" , " rp2040" ] }
19+ embassy-rp = { version = " 0.3.0" , features = [
20+ " critical-section-impl" ,
21+ " rom-func-cache" ,
22+ " rom-v2-intrinsics" ,
23+ " rp2040" ,
24+ " time-driver" ,
25+ " unstable-pac" ,
26+ ] }
1927embassy-stm32 = { version = " 0.2.0" }
2028embassy-sync = " 0.6.2"
2129embassy-time = " 0.4.0"
22- embassy-usb = { version = " 0.4.0" , features = [" max-handler-count-6" , " max-interface-count-6" ] }
30+ embassy-usb = { version = " 0.4.0" , features = [
31+ " max-handler-count-6" ,
32+ " max-interface-count-6" ,
33+ ] }
2334embedded-hal = " 1.0.0"
2435embedded-hal-async = " 1.0.0"
25- futures = { version = " 0.3.31" , default-features = false , features = [" async-await" , " cfg-target-has-atomic" , " unstable" ] }
26- heapless = { version = " 0.8.0" , features = [" portable-atomic-critical-section" , " ufmt" ] }
36+ futures = { version = " 0.3.31" , default-features = false , features = [
37+ " async-await" ,
38+ " cfg-target-has-atomic" ,
39+ " unstable" ,
40+ ] }
41+ heapless = { version = " 0.8.0" , features = [
42+ " portable-atomic-critical-section" ,
43+ " ufmt" ,
44+ ] }
2745log = " 0.4.26"
46+ num_enum = { version = " 0.7.3" , default-features = false }
2847panic-probe = { version = " 0.3.2" , features = [" print-defmt" ] }
2948portable-atomic = { version = " 1.11.0" , features = [" critical-section" ] }
3049serprog = { path = " ./serprog" }
@@ -33,7 +52,6 @@ stm32-fmc = { version = "0.4.0" }
3352tock-registers = " 0.9.0"
3453ufmt = " 0.2.0"
3554zerocopy = { version = " 0.8" , features = [" derive" ] }
36- num_enum = { version = " 0.7.3" , default-features = false }
3755
3856[patch .crates-io ]
3957embassy-executor = { git = " https://github.com/embassy-rs/embassy" , rev = " 17301c00e986c5b8536435ea31ebf5aaf13aed17" }
@@ -45,8 +63,8 @@ embassy-time = { git = "https://github.com/embassy-rs/embassy", rev = "17301c00e
4563embassy-usb = { git = " https://github.com/embassy-rs/embassy" , rev = " 17301c00e986c5b8536435ea31ebf5aaf13aed17" }
4664
4765[profile .release ]
66+ opt-level = " s"
4867debug = true
68+ lto = " fat"
4969incremental = false
5070codegen-units = 1
51- opt-level = " s"
52- lto = " fat"
0 commit comments