Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
4e769ad
Add SSH config storage support
brainstorm Jun 1, 2025
c01b70d
Update references to sunset config system(s)
brainstorm Jun 12, 2025
dd07731
[ci skip] Continue adapting config/storage/flashstorage interfaces fr…
brainstorm Jun 16, 2025
359dede
[ci skip] Stubborn 'unresolved import' for SSHEncode/SSHDecode traits…
brainstorm Jun 17, 2025
717bed1
[ci skip] Same SSHDecode/SSHEncode 'unresolved import' issue /cc @mkj
brainstorm Jun 17, 2025
97f5338
[ci skip] Apply @mkj's fix for sshwire derive, compiles now, thx :D
brainstorm Jun 18, 2025
d46b3d5
[ci skip] Init config/storage from main, will most probably refactor …
brainstorm Jun 21, 2025
6bf0573
[ci skip] Pass config through tasks
brainstorm Jun 26, 2025
96c910a
Merge branch 'main' into fix_passwd_auth
brainstorm Jun 26, 2025
8077954
[ci skip] AnyPin::steal is unsafe(), need to find a way to safely rec…
brainstorm Jun 27, 2025
c981001
[ci skip] Switch to multi-thread (feature flag) in sunset-async to ge…
brainstorm Jun 28, 2025
e8b7cbe
[ci skip] Experiment with suggestions given on esp-rs/esp-hal matrix …
brainstorm Jul 1, 2025
7f98af9
[ci skip] This should be simpler, too much mutex/static cell/etc...
brainstorm Jul 6, 2025
30e2fe7
Use SunsetMutex() for the UART reconfiguration scheme.
brainstorm Jul 8, 2025
d416aea
Change default SSID string (instead of using server id string)
brainstorm Jul 9, 2025
517eed8
When updating espflash to 4.x, esp_bootloader_esp_idf::esp_app_desc()…
brainstorm Jul 9, 2025
ff30894
Disable custom partitions for now and SunsetMutex seems to interfere …
brainstorm Jul 9, 2025
90b4321
Merge branch 'main' into fix_passwd_auth
brainstorm Jul 9, 2025
0d6ee1a
Fix mutex issues with uart_task and draft PinConfig struct/impl for R…
brainstorm Jul 14, 2025
0419520
Merge branch 'fix_passwd_auth' of github.com:brainstorm/esp_hosted_ss…
brainstorm Jul 14, 2025
a0bebbd
Complex types such as Mutex<CriticalSectionRawMutex> complicate the s…
brainstorm Jul 16, 2025
24c009e
Cargo.lock
brainstorm Jul 16, 2025
7f9f399
[ci skip] Working through PinConfig types issues, small cleanup
brainstorm Jul 19, 2025
6be7ce2
Serializable type on Pinconfig.
brainstorm Jul 21, 2025
6630c64
[ci skip] Testing/refactoring idea proposed in https://github.com/bra…
brainstorm Jul 28, 2025
c35a3c6
[ci skip] Big mess, ignore macro-heavy experiment :-S
brainstorm Jul 29, 2025
becd503
Adding channels and realising that unsafe is almost surely needed for…
brainstorm Aug 4, 2025
bb7cdfa
Get rid of unsafe via .degrade and Option<> (thx @bugadani for the tip!)
brainstorm Aug 15, 2025
7e6ec0e
Cleanup before considering Signals (instead of channels) and how to p…
brainstorm Aug 20, 2025
9968552
Attempt to use automatic Send/Receive PinChannel struct... issue with…
brainstorm Aug 25, 2025
73e8c5c
Bit more cleanup
brainstorm Aug 25, 2025
a54ae13
Nightly works, AsyncFnOnce should be stabilised around 6 months to 1 …
brainstorm Aug 25, 2025
1ea08e8
Working on hardware now, the channels/signaling logic needs to be fix…
brainstorm Aug 29, 2025
d4f84cc
Available gpios, not just gpios
brainstorm Sep 9, 2025
c19423a
Event itself should trigger env/config/serialization
brainstorm Sep 9, 2025
bbcc09e
Re-enabled partitions.csv since it's needed for NVS/SSHConfig/FlashCo…
brainstorm Sep 21, 2025
53f1923
Separate sunset and ssh-stamp errors, add ipv6 stub to determine some…
brainstorm Sep 22, 2025
3dbcf3b
Merge channel_pins_nicer branch to fix_passwd_auth
brainstorm Sep 22, 2025
d461377
Config hash still on ~2 bytes offset, now getting PacketWrong while s…
brainstorm Sep 23, 2025
d9ccdd3
Feature-gate ipv6 for now, it was meant as an experiment to add/remov…
brainstorm Oct 1, 2025
d52ccff
[ci skip] New config serialised correctly... unsure if format is corr…
brainstorm Oct 6, 2025
fa70369
[ci skip] Back to shifted hash config error
brainstorm Oct 6, 2025
9a331fe
[ci skip] Fixed SSHEncode/Decode for SSHStampConfig, unfortunately it…
brainstorm Oct 7, 2025
e2ee151
[ci skip] Try to experiment with probe-rs debugging support on ESP ta…
brainstorm Oct 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ build-esp32c2 = "build --release --target riscv32imc-unknown-none-elf --features
build-esp32c3 = "build --release --target riscv32imc-unknown-none-elf --features esp32c3"
# Available but not supported by esp-hal (yet).
#build-esp32c5 = "build --release --target riscv32imac-unknown-none-elf --features esp32c5"
build-esp32c6 = "build --release --target riscv32imac-unknown-none-elf --features esp32c6"
#build-esp32c6 = "build --release --target riscv32imac-unknown-none-elf --features esp32c6"
build-esp32c6 = "build --target riscv32imac-unknown-none-elf --features esp32c6"
build-esp32s2 = "build --profile esp32s2 --target xtensa-esp32s2-none-elf --features esp32s2"
build-esp32s3 = "build --release --target xtensa-esp32s3-none-elf --features esp32s3"

Expand All @@ -13,7 +14,8 @@ run-esp32c2 = "run --release --target riscv32imc-unknown-none-elf --features esp
run-esp32c3 = "run --release --target riscv32imc-unknown-none-elf --features esp32c3"
# Available but not supported by esp-hal (yet).
#run-esp32c5 = "run --release --target riscv32imac-unknown-none-elf --features esp32c5"
run-esp32c6 = "run --release --target riscv32imac-unknown-none-elf --features esp32c6"
#run-esp32c6 = "run --release --target riscv32imac-unknown-none-elf --features esp32c6"
run-esp32c6 = "run --target riscv32imac-unknown-none-elf --features esp32c6"
run-esp32s2 = "run --profile esp32s2 --target xtensa-esp32s2-none-elf --features esp32s2"
run-esp32s3 = "run --release --target xtensa-esp32s3-none-elf --features esp32s3"

Expand All @@ -24,7 +26,8 @@ rustflags = ["-C", "link-arg=-nostartfiles", '--cfg=feature="esp32"']
runner = "espflash flash --baud=921600 --monitor"
rustflags = [ "-C", "force-frame-pointers"]
[target.riscv32imac-unknown-none-elf]
runner = "espflash flash --baud=921600 --monitor"
runner = "espflash flash --baud=921600 --partition-table partitions.csv --monitor"
#runner = "espflash flash --baud=921600 --monitor"
rustflags = [ "-C", "force-frame-pointers"]
[target.xtensa-esp32s2-none-elf]
runner = "espflash flash --baud=921600 --monitor --chip esp32s2"
Expand All @@ -33,10 +36,19 @@ rustflags = ["-C", "link-arg=-nostartfiles", '--cfg=feature="esp32s2"']
runner = "espflash flash --baud=921600 --monitor --chip esp32s3"
rustflags = ["-C", "link-arg=-nostartfiles", '--cfg=feature="esp32s3"']


# https://docs.espressif.com/projects/rust/esp-hal/1.0.0-beta.1/esp32c6/esp_hal/index.html#additional-configuration
[env]
ESP_LOG="INFO"
ESP_LOG = "INFO"
#ESP_HAL_CONFIG_PLACE_SWITCH_TABLES_IN_RAM=true
#ESP_HAL_CONFIG_PLACE_ANON_IN_RAM=false
#ESP_HAL_CONFIG_FLIP_LINK=false
#ESP_HAL_CONFIG_STACK_GUARD_OFFSET=4096
#ESP_HAL_CONFIG_STACK_GUARD_VALUE=3740121773
#ESP_HAL_CONFIG_IMPL_CRITICAL_SECTION=true



[build]
target = "riscv32imac-unknown-none-elf"

[unstable]
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ target/

# VSCode workspace(s)
*.code-workspace

# Temporarily ignore book from this branch
docs/book
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"rust-analyzer.check.allTargets": false,
// "rust-analyzer.cargo.features": [
// "esp32c6"
// ]
}
Loading