Skip to content

Commit

Permalink
Add esp32 idf deprecation warnings after final link step
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jun 3, 2024
1 parent 385c393 commit 3dade55
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Sming/Arch/Esp32/app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,16 @@ ifdef IDF_TARGET_ARCH_RISCV
--specs=nosys.specs
endif


.PHONY: application
application: $(TARGET_BIN)
ifeq ($(IDF_VERSION),v4.3)
@printf "\033[47;1;31mWARNING! ESP-IDF 4.3 reached 'End of Life' in December 2023.\033[0m Upgrade to v5.2 recommended.\n"
else ifeq ($(IDF_VERSION),v4.4)
@printf "\033[47;1;31mWARNING! ESP-IDF 4.4 support ends August 2024!\033[0m Upgrade to v5.2 recommended.\n"
else ifeq ($(IDF_VERSION),v5.0)
@printf "\033[47;1;34mNOTE! ESP-IDF 5.0 not recommended for new designs.\033[0m Please consider upgrading to v5.2.\n"
endif

$(TARGET_OUT): $(COMPONENTS_AR)
$(info $(notdir $(PROJECT_DIR)): Linking $@)
Expand Down

0 comments on commit 3dade55

Please sign in to comment.