- #ifndef CHIP_FEATURE_EMB_FLASH
- /* Chip feature flags, used in esp_chip_info_t */
- #define CHIP_FEATURE_EMB_FLASH BIT(0) //!< Chip has embedded flash memory
- #define CHIP_FEATURE_WIFI_BGN BIT(1) //!< Chip has 2.4GHz WiFi
- #define CHIP_FEATURE_BLE BIT(4) //!< Chip has Bluetooth LE
- #define CHIP_FEATURE_BT BIT(5) //!< Chip has Bluetooth Classic
- #define CHIP_FEATURE_IEEE802154 BIT(6) //!< Chip has IEEE 802.15.4
- #define CHIP_FEATURE_EMB_PSRAM BIT(7) //!< Chip has embedded psram
- #endif
Problems while compiling the project Hello_World
Re: Problems while compiling the project Hello_World
I was able to fix this by adding the following lines after the #includes:
These macros are defined in esp_chip_info.h - no idea why they're not resolving.
Re: Problems while compiling the project Hello_World
I had the same issue when I created a new project from the HelloWorld example. I moved the line "#include "esp_chip_info.h" above the line "#include "freertos/FreeRTOS.h" and this resolved the undefined issue.
Re: Problems while compiling the project Hello_World
Project
Properties
-> C/C++ General
Indexer: Configure Workspace Settings ...
Index source and header files opened in editor
Properties
-> C/C++ General
Indexer: Configure Workspace Settings ...
Index source and header files opened in editor
-
- Posts: 2
- Joined: Fri May 10, 2024 6:33 am
Who is online
Users browsing this forum: No registered users and 311 guests