-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref: replace if_parser with esp_bool_parser package
- Loading branch information
Showing
8 changed files
with
23 additions
and
415 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -1,6 +1,18 @@ | ||
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD | ||
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
""" | ||
Manifest file | ||
""" | ||
|
||
from esp_bool_parser import register_addition_attribute | ||
|
||
from .manifest import FolderRule | ||
|
||
|
||
def folder_rule_attr(target, **kwargs): | ||
_ = kwargs | ||
return 1 if target in FolderRule.DEFAULT_BUILD_TARGETS else 0 | ||
|
||
|
||
register_addition_attribute('INCLUDE_DEFAULT', folder_rule_attr) |
This file was deleted.
Oops, something went wrong.
This file contains 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.