### Setup Config Menu with StaticCell and Mutex Source: https://github.com/oyvindnetland/esp-embassy-config/blob/main/README.md Demonstrates how to initialize a configuration menu system using static allocation for configuration entries and a mutex-protected configuration menu. This setup defines configuration parameters at compile time. ```cpp // setup config menu static ENTRIES: StaticCell<[ConfigEntry; 2]> = StaticCell::new(); static CONFIG_MENU: StaticCell> = StaticCell::new(); let entries = ENTRIES.init([ ConfigEntry::new("value", 16, "What is this value?", false), ConfigEntry::new("long_value", 32, "What is this other value?", true), ]); let config_menu = CONFIG_MENU.init(Mutex::new(ConfigMenu::new(entries, encoded_key, aes))); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.