Skip to content

Commit

Permalink
feat: add mpu6050, shared i2c, display updates, better log
Browse files Browse the repository at this point in the history
  • Loading branch information
Sycrosity committed Jan 5, 2024
1 parent 7c63404 commit f45252e
Show file tree
Hide file tree
Showing 11 changed files with 662 additions and 142 deletions.
10 changes: 7 additions & 3 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@ runner = "espflash flash --monitor"


[env]
ESP_LOGLEVEL="INFO"
ESP_LOGLEVEL="trace"
[build]
rustflags = [
"-C", "link-arg=-Tlinkall.x",
"-C", "link-arg=-nostartfiles",
# "-C", "link-arg=-Trom_functions.x",

"-C", "link-arg=-nostartfiles",
# "-C", "link-arg=-Tdefmt.x",
]

target = "xtensa-esp32-none-elf"

[unstable]
build-std = ["alloc", "core"]
build-std = [
"alloc",
"core"
]
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"configurations": [
{
"name": "Wokwi GDB",
"type": "cppdbg",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/target/xtensa-esp32-none-elf/debug/cansat",
"program": "${workspaceFolder}/target/xtensa-esp32-none-elf/release/cansat",
"cwd": "${workspaceFolder}",
"MIMode": "gdb",
"miDebuggerPath": "${userHome}/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gdb",
Expand Down
Loading

0 comments on commit f45252e

Please sign in to comment.