Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tahnok committed Mar 12, 2023
1 parent 59ff549 commit aca0b37
Show file tree
Hide file tree
Showing 17 changed files with 96,321 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@
.idea/
.vs
.vscode
docs/
docs/

# Generated by Cargo
# will have compiled files and executables
debug/
target/
Binary file not shown.
Binary file not shown.
75 changes: 75 additions & 0 deletions PCB/Sensor Boards/kicad/UV-Sensor/UV-Sensor.kicad_prl
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"board": {
"active_layer": 0,
"active_layer_preset": "All Layers",
"auto_track_width": true,
"hidden_nets": [],
"high_contrast_mode": 0,
"net_color_mode": 1,
"opacity": {
"pads": 1.0,
"tracks": 1.0,
"vias": 1.0,
"zones": 0.6
},
"ratsnest_display_mode": 0,
"selection_filter": {
"dimensions": true,
"footprints": true,
"graphics": true,
"keepouts": true,
"lockedItems": true,
"otherItems": true,
"pads": true,
"text": true,
"tracks": true,
"vias": true,
"zones": true
},
"visible_items": [
0,
1,
2,
3,
4,
5,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
32,
33,
34,
35,
36
],
"visible_layers": "fffffff_ffffffff",
"zone_display_mode": 0
},
"meta": {
"filename": "UV-Sensor.kicad_prl",
"version": 3
},
"project": {
"files": []
}
}
1 change: 1 addition & 0 deletions PCB/Sensor Boards/kicad/UV-Sensor/fp-info-cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
7 changes: 7 additions & 0 deletions corrosion/Cargo.lock

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

16 changes: 16 additions & 0 deletions corrosion/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "corrosion"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["staticlib"] # Creates static lib

[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"


[dependencies]
47 changes: 47 additions & 0 deletions corrosion/bindgen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
bindgen ../movement/movement.h \
--output src/sensorwatch.rs \
--use-core \
-- \
-I../watch-library/shared/watch/ \
-I../tinyusb/src \
-I../boards/OSO-SWAT-A1-05 \
-I../watch-library/shared/config/ \
-I../watch-library/shared/driver/ \
-I../watch-library/shared/watch/ \
-I../watch-library/hardware/include \
-I../watch-library/hardware/hal/ \
-I../watch-library/hardware/hal/documentation/ \
-I../watch-library/hardware/hal/include/ \
-I../watch-library/hardware/hal/src/ \
-I../watch-library/hardware/hal/utils/ \
-I../watch-library/hardware/hal/utils/include/ \
-I../watch-library/hardware/hal/utils/src/ \
-I../watch-library/hardware/hpl/ \
-I../watch-library/hardware/hpl/core/ \
-I../watch-library/hardware/hpl/dmac/ \
-I../watch-library/hardware/hpl/eic/ \
-I../watch-library/hardware/hpl/gclk/ \
-I../watch-library/hardware/hpl/mclk/ \
-I../watch-library/hardware/hpl/osc32kctrl/ \
-I../watch-library/hardware/hpl/oscctrl/ \
-I../watch-library/hardware/hpl/pm/ \
-I../watch-library/hardware/hpl/port/ \
-I../watch-library/hardware/hpl/sercom/ \
-I../watch-library/hardware/hpl/slcd/ \
-I../watch-library/hardware/hpl/systick/ \
-I../watch-library/hardware/hri/ \
-I../watch-library/hardware/hw/ \
-I../watch-library/hardware/watch/ \
-I../watch-library/hardware \
-I../watch_faces/ \
-I../watch_faces/clock/ \
-I../watch_faces/settings/ \
-I../watch_faces/complication/ \
-I../watch_faces/sensor/ \
-I../watch_faces/demo/ \
-I../littlefs/ \
-I../lib/TOTP-MCU/ \
-I../lib/sunriset/ \
-I../lib/vsop87/ \
-I../lib/astrolib/ \
-D__SAML22J18A__
Loading

0 comments on commit aca0b37

Please sign in to comment.