From 3b1c092f67fbc840409a599f96857ce6028e2ad3 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Tue, 3 Sep 2024 01:02:44 -0400 Subject: init firmware --- .gitignore | 36 +----------------------------------- Cargo.lock | 7 +++++++ Cargo.toml | 9 +++++++++ LICENSE | 16 ++++++++++++++++ README.md | 1 + hw/.gitignore | 35 +++++++++++++++++++++++++++++++++++ src/lib.rs | 1 + 7 files changed, 70 insertions(+), 35 deletions(-) create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 hw/.gitignore create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore index 95929f0..b83d222 100644 --- a/.gitignore +++ b/.gitignore @@ -1,35 +1 @@ -*-backups/ -*.lck -fp-info-cache -_autosave-* -*.kicad_prl -*.*-bak -*.bak -*.backups -*.net -*.dsn -*.ses -*.xml -*.csv -*.000 -*.tmp -*-save.pro -*-save.kicad_pcb -\#auto-saved-files\# -\#auto_saved_files\# -sym-lib-table -*.gbr -*.gbrjob -*.drl -*/fab_out/* -!*/fab_out/*.FlatPrj -__pycache__/ -*.pyc -/fab/ -/fab_out/ - -/production/ -/panel/ -panel.* -!panel.nix -/bom/ +/target/ diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..8e49a4c --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "ocularium" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..3555fdd --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "ocularium" +version = "0.1.0" +edition = "2021" +authors = [ + "Nathan Perry " +] + +[dependencies] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8d403ff --- /dev/null +++ b/LICENSE @@ -0,0 +1,16 @@ +Copyright 2024 Nathan Perry. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +associated documentation files (the “Software”), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, +sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT +'NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES +OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..90b86f2 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# ocularium \ No newline at end of file diff --git a/hw/.gitignore b/hw/.gitignore new file mode 100644 index 0000000..95929f0 --- /dev/null +++ b/hw/.gitignore @@ -0,0 +1,35 @@ +*-backups/ +*.lck +fp-info-cache +_autosave-* +*.kicad_prl +*.*-bak +*.bak +*.backups +*.net +*.dsn +*.ses +*.xml +*.csv +*.000 +*.tmp +*-save.pro +*-save.kicad_pcb +\#auto-saved-files\# +\#auto_saved_files\# +sym-lib-table +*.gbr +*.gbrjob +*.drl +*/fab_out/* +!*/fab_out/*.FlatPrj +__pycache__/ +*.pyc +/fab/ +/fab_out/ + +/production/ +/panel/ +panel.* +!panel.nix +/bom/ diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..0c9ac1a --- /dev/null +++ b/src/lib.rs @@ -0,0 +1 @@ +#![no_std] -- cgit v1.3.1