/ .cargo / config.toml
config.toml
 1  # [[file:../CONTRIBUTING.org::*\[\[https:/doc.rust-lang.org/cargo/reference/config.html\]\[Cargo Config\]\]][[[https://doc.rust-lang.org/cargo/reference/config.html][Cargo Config]]:1]]
 2  [alias]
 3  ee = ["run", "-p", "e2e"]
 4  loco = ["run", "-p", "microvisor", "--"]
 5  playground = ["run", "--example", "playground"]
 6  
 7  rr = ["run", "-p", "firmware", "--target", "xtensa-esp32s3-none-elf"]
 8  bb = ["build", "-p", "firmware", "--target", "xtensa-esp32s3-none-elf"]
 9  tt = [
10      "test",
11      "-p",
12      "firmware",
13      "--target",
14      "xtensa-esp32s3-none-elf",
15      "--config",
16      "target.xtensa-esp32s3-none-elf.runner = 'probe-rs run --idf-partition-table ../firmware/machine/esp32s3.partitions.csv'",
17  ]
18  
19  [unstable]
20  build-std = ["core", "alloc"]
21  
22  [env]
23  OTA_DEVICE_IP = "10.0.0.68"
24  # ESP_HAL_CONFIG_PSRAM_MODE removed — PSRAM mode is now set via PsramConfig at runtime
25  DEFMT_LOG = "info,embedded_test=warn"
26  
27  PROBE_RS_REMOTE_TOKEN = "rpi5-16"
28  PROBE_RS_REMOTE_HOST = "ws://rpi5-16:8443"
29  
30  [target.xtensa-esp32s3-none-elf]
31  runner = "probe-rs run --idf-partition-table firmware/machine/esp32s3.partitions.csv"
32  
33  [target.xtensa-esp32-none-elf]
34  runner = "espflash flash --monitor --chip esp32"
35  
36  [target.thumbv7em-none-eabihf]
37  runner = "probe-rs run --chip stm32h723zg"
38  # [[https://doc.rust-lang.org/cargo/reference/config.html][Cargo Config]]:1 ends here