Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/espressif/idf-flash-vendor-patches
Project to hold possible patches for flash vendors
https://github.com/espressif/idf-flash-vendor-patches
Last synced: 2 days ago
JSON representation
Project to hold possible patches for flash vendors
- Host: GitHub
- URL: https://github.com/espressif/idf-flash-vendor-patches
- Owner: espressif
- License: apache-2.0
- Created: 2022-06-14T08:03:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-09T07:09:09.000Z (over 1 year ago)
- Last Synced: 2024-09-18T15:59:07.648Z (8 days ago)
- Language: C
- Size: 15.6 KB
- Stars: 3
- Watchers: 7
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# idf-flash-vendor-patches
This repository is for some vendor specific flash patches that cannot be directly integrated into IDF.
Currently there is patch for:
1. XMC SR issue (See Readme of Example for the supported targets and branches)
# Adding component to your project
You can use one of the following ways to include the component into your project
## Using `EXTRA_COMPONENT_DIRS`
1. Clone this repository to somewhere in your PC. For example `VENDOR_PATCHES=~/my_projects/idf-flash-vendor-patches`
2. Add following lines into your project CMakeLists.txt file. For examples```
cmake_minimum_required(VERSION 3.16)# Add these two lines
set(VENDOR_PATCHES ~/my_projects/idf-flash-vendor-patches)
set(EXTRA_COMPONENT_DIRS ${VENDOR_PATCHES}/components/idf-flash-vendor-patches)include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(hello_world)
```3. Build your project
## Using IDF component manager
Supported in IDF v4.2.4+, v4.3.3+, v4.4 and later.
Add `idf_component.yml` file to one of your project's components (suggest to the component where this patch is included and called), with the following contents:
```
dependencies:
idf-flash-vendor-patches:
path: components/idf-flash-vendor-patches
git: https://github.com/espressif/idf-flash-vendor-patches.git
```