Skip to content

Commit

Permalink
update: add dhara nand flash library
Browse files Browse the repository at this point in the history
  • Loading branch information
RathiSonika committed Jan 16, 2024
1 parent 22e2825 commit ee0fd85
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/upload_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
ccomp_timer;
coap;
coremark;
dhara;
eigen;
esp_delta_ota;
esp_encrypted_img;
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@
[submodule "catch2/Catch2"]
path = catch2/Catch2
url = https://github.com/catchorg/Catch2.git

[submodule "dhara/dhara"]
path = dhara/dhara
url = https://github.com/dlbeer/dhara.git
2 changes: 2 additions & 0 deletions dhara/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
idf_component_register(INCLUDE_DIRS dhara
SRC_DIRS "dhara/dhara")
14 changes: 14 additions & 0 deletions dhara/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Dhara - NAND flash management layer
Copyright (C) 2013 Daniel Beer <[email protected]>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
5 changes: 5 additions & 0 deletions dhara/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# NAND Flash translation layer for small MCUs

This component is an ESP-IDF wrapper around [dhara library](https://github.com/dlbeer/dhara)

For the details, please refer to the official documentation: https://github.com/dlbeer/dhara/blob/master/README
1 change: 1 addition & 0 deletions dhara/dhara
Submodule dhara added at 1b166e
9 changes: 9 additions & 0 deletions dhara/idf_component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: "0.1.0"
description: NAND Flash translation layer
url: https://github.com/espressif/idf-extra-components/tree/master/dhara
issues: https://github.com/espressif/idf-extra-components/issues
repository: https://github.com/espressif/idf-extra-components.git
sbom:
manifests:
- path: sbom_dhara.yml
dest: dhara
7 changes: 7 additions & 0 deletions dhara/sbom_dhara.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: dhara
version: 1b166e41b74b4a62ee6001ba5fab7a8805e80ea2
cpe: cpe:2.3:a:dhara:dhara:{}:*:*:*:*:*:*:*
supplier: 'Organization: dhara'
description: NAND Flash translation layer for small MCUs
url: https://github.com/dlbeer/dhara
hash: 1b166e41b74b4a62ee6001ba5fab7a8805e80ea2
2 changes: 1 addition & 1 deletion test_app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif()

# 3. Add here if the component is compatible with IDF >= v5.0
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.0")
list(APPEND EXTRA_COMPONENT_DIRS ../bdc_motor ../led_strip ../sh2lib ../nghttp ../esp_serial_slave_link ../onewire_bus ../ccomp_timer ../catch2)
list(APPEND EXTRA_COMPONENT_DIRS ../bdc_motor ../led_strip ../sh2lib ../nghttp ../esp_serial_slave_link ../onewire_bus ../ccomp_timer ../catch2 ../dhara)
endif()

# 4. Add here if the component is compatible with IDF >= v5.3
Expand Down

0 comments on commit ee0fd85

Please sign in to comment.