Skip to content

Commit

Permalink
Merge pull request #25 from Foundation-Devices/isc
Browse files Browse the repository at this point in the history
ISC
  • Loading branch information
eupn authored Jan 28, 2024
2 parents 83bf063 + 49a35f3 commit 90a27d1
Show file tree
Hide file tree
Showing 9 changed files with 843 additions and 15 deletions.
8 changes: 8 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ required-features = ["fitment"]
[[bin]]
name = "se"

[[bin]]
name = "camera"
required-features = ["camera"]

[dependencies]
armv7 = { git = "https://github.com/Foundation-Devices/armv7.git", branch = "update" }
bitflags = "2.4.1"
Expand All @@ -24,6 +28,7 @@ embedded-hal = { version = "0.2.7", features = ["unproven"], optional = true }
ft3269 = { git = "https://github.com/Foundation-Devices/ft3269.git", optional = true }
drv2605 = { version = "0.1.0", optional = true }
is31fl32xx = { version = "0.1.0", optional = true }
ovm7690-rs = { git = "https://github.com/Foundation-Devices/ovm7690-rs.git", optional = true }

[build-dependencies]
png-decoder = "0.1.1"
Expand All @@ -33,6 +38,7 @@ hal = ["embedded-hal"]
rtt = ["rtt-target"]
lcd-console = ["embedded-graphics"]
fitment = ["hal", "ft3269", "drv2605", "is31fl32xx"]
camera = ["hal", "ovm7690-rs"]

default = ["lcd-console", "hal"]

Expand Down
6 changes: 6 additions & 0 deletions scripts/debug-camera.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

set -e

cargo build --release --bin camera --features camera
arm-none-eabi-gdb -q ../target/armv7a-none-eabi/release/camera -x init.gdb
6 changes: 0 additions & 6 deletions scripts/debug-nfc.sh

This file was deleted.

Loading

0 comments on commit 90a27d1

Please sign in to comment.