commit 07904d072b87f1ba098c4db871b34b5cff081c77
parent 097f5a9d1ae1a07d76f42583020764e819eebcc2
Author: filipton <filipton12@gmail.com>
Date: Mon, 22 Jul 2024 20:24:55 +0200
chore: add license and upload on crates.io
Diffstat:
3 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -2,6 +2,8 @@
name = "esp-hal-ota"
version = "0.1.0"
edition = "2021"
+license = "MIT"
+description = "OTA library for esp-hal"
[lib]
diff --git a/LICENSE b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) [year] [fullname]
+
+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
@@ -1,6 +1,9 @@
# esp-hal-ota
OTA for esp-hal (no-std).
+[](https://crates.io/crates/esp-hal-ota)
+[]()
+
## Limitations
For now only works on esp32s3 (esp32c3 in the near future).
@@ -42,7 +45,7 @@ loop {
## Todo
- [x] Fully working library
- [x] Simple example
-- [ ] Better errors
+- [x] Better errors
- [ ] Other esp32's (like esp32c3, esp32s2, etc..)
- [ ] Rollbacks