Skip to content

Commit

Permalink
Merge pull request #105 from joltwallet/new-idf
Browse files Browse the repository at this point in the history
Add release-v5.0 to CI
  • Loading branch information
BrianPugh authored Nov 11, 2022
2 parents 485a037 + 2326288 commit f2a949f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.5.0
current_version = 1.5.1
commit = True
tag = True

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
"release-v4.2",
"release-v4.3",
"release-v4.4",
"release-v5.0",
"latest",
]
idf_target: ["esp32"]
Expand Down
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ cmake_minimum_required(VERSION 3.10)
file(GLOB SOURCES src/littlefs/*.c)
list(APPEND SOURCES src/esp_littlefs.c src/littlefs_api.c src/lfs_config.c)

if(IDF_VERSION_MAJOR GREATER_EQUAL 5)
list(APPEND pr esp_partition)
endif()

idf_component_register(
SRCS ${SOURCES}
INCLUDE_DIRS include
PRIV_INCLUDE_DIRS src
PRIV_REQUIRES esptool_py spi_flash vfs
PRIV_REQUIRES ${pr} esptool_py spi_flash vfs
)

set_source_files_properties(
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ There are two ways to add this component to your project
1. As a ESP-IDF managed component: In your project directory run

```
idf.py add-dependency joltwallet/littlefs==1.5.0
idf.py add-dependency joltwallet/littlefs==1.5.1
```

2. As a submodule: In your project, add this as a submodule to your `components/` directory.
Expand Down
2 changes: 1 addition & 1 deletion idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "1.5.0"
version: "1.5.1"
description: LittleFS is a small fail-safe filesystem for micro-controllers.
url: https://github.com/joltwallet/esp_littlefs
dependencies:
Expand Down
4 changes: 2 additions & 2 deletions include/esp_littlefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
extern "C" {
#endif

#define ESP_LITTLEFS_VERSION_NUMBER "1.5.0"
#define ESP_LITTLEFS_VERSION_NUMBER "1.5.1"
#define ESP_LITTLEFS_VERSION_MAJOR 1
#define ESP_LITTLEFS_VERSION_MINOR 5
#define ESP_LITTLEFS_VERSION_PATCH 0
#define ESP_LITTLEFS_VERSION_PATCH 1

/**
*Configuration structure for esp_vfs_littlefs_register.
Expand Down

0 comments on commit f2a949f

Please sign in to comment.