Rename icons, fix T-Lora Pager config and more (#502)
* **New Features** * Added NFC chip-select to SD card hardware configuration. * **Refactor** * Consolidated and renamed icon resources; apps and status-bar now reference unified icon headers and new icon constants. * Renamed LVGL lock API (timed → lvgl_try_lock) and updated callers. * **Documentation** * Updated module README and license files; added Apache-2.0 license document.
This commit is contained in:
committed by
GitHub
parent
72b55b221e
commit
3a24d058c9
@@ -9,6 +9,7 @@ using tt::hal::sdcard::SpiSdCardDevice;
|
||||
constexpr auto TPAGER_SDCARD_PIN_CS = GPIO_NUM_21;
|
||||
constexpr auto TPAGER_LCD_PIN_CS = GPIO_NUM_38;
|
||||
constexpr auto TPAGER_RADIO_PIN_CS = GPIO_NUM_36;
|
||||
constexpr auto TPAGER_NFC_PIN_CS = GPIO_NUM_39;
|
||||
|
||||
std::shared_ptr<SdCardDevice> createTpagerSdCard() {
|
||||
auto configuration = std::make_unique<SpiSdCardDevice::Config>(
|
||||
@@ -20,7 +21,8 @@ std::shared_ptr<SdCardDevice> createTpagerSdCard() {
|
||||
tt::lvgl::getSyncLock(),
|
||||
std::vector {
|
||||
TPAGER_RADIO_PIN_CS,
|
||||
TPAGER_LCD_PIN_CS
|
||||
TPAGER_LCD_PIN_CS,
|
||||
TPAGER_NFC_PIN_CS
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user