Skip to content
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

Upgrade idf v5.1 #354

Merged
merged 21 commits into from
Nov 10, 2023
Merged

Upgrade idf v5.1 #354

merged 21 commits into from
Nov 10, 2023

Conversation

hathach
Copy link
Member

@hathach hathach commented Nov 8, 2023

Description of Change

upgrade ESP IDF to v5.1.1

  • migrate codes and build changes from IDF v4.3 to v5.1.1
  • remove esp-idf submodule, just use idf installation, specified tested version in ports/espressif/readme.md
  • make changes to esp cmake project, move cmakelists.txt around
  • add post build to tinyuf2 to generate bootloader_bin.c for self-update
  • add post build for self-update to generate update-tinyuf2.uf2
  • add pre-commit ci check for typo (codespell) and spacing

@@ -962,7 +962,8 @@ public:
{
int val = readRegister(XPOWERS_AXP2101_SLEEP_WAKEUP_CTRL);
if (val == -1)return;
enable ? (val | opt) : (val & (~opt));
//enable ? (val | opt) : (val & (~opt));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tenary operator does not thing, catched by IDF v5 new default warning

@hathach hathach merged commit 29a7f1a into master Nov 10, 2023
214 checks passed
@hathach hathach deleted the upgrade-idf-v5.1 branch November 10, 2023 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant