-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Chef] Fix compile -a doesn't work on ESP32 #26095
Merged
Merged
Conversation
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
pullapprove
bot
requested review from
amitnj,
andy31415,
anush-apple,
arkq,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
cliffamzn,
Damian-Nordic,
dhrishi,
electrocucaracha,
emargolis,
franck-apple,
gjc13,
harimau-qirex,
harsha-rajendran,
hawk248,
jelderton,
jepenven-silabs,
jmartinez-silabs,
jmeg-sfy,
joonhaengHeo,
jtung-apple,
kcoppock,
kkasperczyk-no and
ksperling-apple
April 14, 2023 02:00
pullapprove
bot
requested review from
sharadb-amazon,
tecimovic,
turon,
vijs,
vivien-apple,
woody-apple,
xylophone21,
younghak-hwang,
yufengwangca and
yunhanw-google
April 14, 2023 02:00
PR #26095: Size comparison from 62974a0 to aa8f4f9 Increases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
@erwinpan1 |
PR #26095: Size comparison from 2e4064e to 7a452b7 Decreases (1 build for cc32xx)
Full report (4 builds for cc32xx, mbed, qpg)
|
PR #26095: Size comparison from 5cdb0a5 to 638ffab Increases (1 build for nrfconnect)
Decreases (1 build for nrfconnect)
Full report (7 builds for cc32xx, mbed, nrfconnect, qpg)
|
tcarmelveilleux
approved these changes
Apr 18, 2023
PR #26095: Size comparison from b8368a1 to 2c70856 Full report (1 build for cc32xx)
|
with `chef.py --automated_test_stamp` we can assign timestamp as software version string when compiling chef sample device. However, this failed on ESP32. On ESP32, I found that it uses PROJECT_VER to overwrite CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING, so I set it in the esp32's CMakeLists.txt
chshu
approved these changes
Apr 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
with
chef.py --automated_test_stamp
we can assign timestamp as software version string when compiling chef sample device. However, this failed on ESP32. On ESP32, I found that it uses PROJECT_VER to overwrite CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING, so I set it in the esp32's CMakeLists.txtThe root cause is the function [ConfigurationManagerImpl::GetSoftwareVersionString](CHIP_ERROR ConfigurationManagerImpl::GetSoftwareVersionString(char * buf, size_t bufSize)) it calls
esp_ota_get_app_description
which usesPROJECT_VER
in CMakeFile as the version string.