forked from rstrouse/ESPSomfy-RTS
-
Notifications
You must be signed in to change notification settings - Fork 1
minor edits to see the GPIO pins on ESP32-C6-WROOM-1 #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
shailensobhee
wants to merge
16
commits into
cjkas:main
Choose a base branch
from
shailensobhee:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+467
−25
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1dafb7a
minor edits to see the GPIO pins on ESP32-C6-WROOM-1
shailensobhee ff031ee
Merge branch 'cjkas:main' into main
shailensobhee ff1bb80
huge app due to partition size issues
shailensobhee f67da09
add somfycontoller.ino.cpp back
shailensobhee bb61a17
fixed esp32-c6 platform detection issue
shailensobhee fe4aa83
updated code logic to pic FW/App version from appversion instead of h…
shailensobhee 3271327
merge conflicts from 05.04
shailensobhee 08bab05
merge conflicts from 05.04
shailensobhee 51109a1
updated gitignore file
shailensobhee 3d64250
updated platformio.ini to pass build tests
shailensobhee 3e60dfe
updated platformio.ini to pass build tests
shailensobhee 7524ce1
updated platformio.ini + add -D CHIP_ESP32C6
shailensobhee 25f6195
build pass for esp32c6, added dependencies.lock
shailensobhee bb3ec52
Merge branch 'main' into main
cjkas 4843751
Delete .github/workflows/ci.yaml
cjkas 7e6b65b
Update ConfigSettings.h
cjkas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| cmake_minimum_required(VERSION 3.16.0) | ||
| include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||
| project(ESPSomfy-RTS) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| import os | ||
| Import("env") | ||
|
|
||
| # Define the folder and filename | ||
| DATA_FOLDER = "data-src" | ||
| FILENAME = "appversion" | ||
|
|
||
| # Construct the full path: /your/project/path/data-src/appversion | ||
| project_dir = env.get("PROJECT_DIR") | ||
| version_file_path = os.path.join(project_dir, DATA_FOLDER, FILENAME) | ||
|
|
||
| # Default fallback if something goes wrong | ||
| version = "0.0.0" | ||
|
|
||
| if os.path.exists(version_file_path): | ||
| try: | ||
| with open(version_file_path, "r") as f: | ||
| version = f.read().strip() | ||
| # Clean output for the PlatformIO console | ||
| print(f"--- SUCCESS: Found version {version} in {version_file_path} ---") | ||
| except Exception as e: | ||
| print(f"--- ERROR: could not read version file: {e} ---") | ||
| else: | ||
| print(f"--- ERROR: File NOT FOUND at {version_file_path} ---") | ||
|
|
||
| # Apply to the build environment | ||
| # We use escaped quotes so C++ treats it as a string literal "vX.X.X" | ||
| full_version_str = f'\\"v{version}\\"' | ||
|
|
||
| env.Append(CPPDEFINES=[ | ||
| ("FW_VERSION", full_version_str) | ||
| ]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.