You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Por to these devices had been poorly made, using the same M5Launcher port, but in the case of Bruce theres a necessity to release memory to leave room for other libraries.
Issue
Actually These devices are running without PSRAM support due IRAM limitation,
error section .text will not fit in region iram1_0_seg followed by more error messagens, it happens because all functions of M5GFX are being mapped into the lib crowding the Instruction table
use -DPIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48 reducing Cache to leave room for more IRAM, but Cache can compromise fw performance
Solution 2:
Remodelate M5Unified to discover AXP model, depending on the board, to not use M5GFX support functions and lib.
Find out how M5 detects and decides which chip and driver use: Here
Find Chip model for Core, Core2 and CoreS3 devices to act accordingly: Probably Here
Find the difference between AXP192 and AXP2101 (same 0x34 I2C address for both, AXP192 responds 0x03 when asking on 0x03 register and AXP2101 responds 0x4A to this same register: HERE and IP5306 power management chips
Is there difference between touchscreen libs for these models?
Do the same for Mic and Speaker Classes
M5GFX autodetect function were made to diferentiate between all boards of m5Stack, maybe remake it to check the difference between these devices (and check all variants) might be easy, because there won't be needed to check TFT models and responses, due to already have this information.
make fast checks over the I2C bus of peripherals and make the decisions for Power_Class, Touch_Class, Mic_Class and Speaker_Class and start them accordingly
The text was updated successfully, but these errors were encountered:
M5GFX: added functions overflowed to match the TFT_eSPI functions and achieve similar results
Next steps: Add parameter on M5.begin(desiredBoars) to build the code with only the desired board functions, to avoid linking innumerous unnecessary functions (such as other Power chip, TFT drivers, touch panels, Speaker drivers and etc...)
Explanation
Por to these devices had been poorly made, using the same M5Launcher port, but in the case of Bruce theres a necessity to release memory to leave room for other libraries.
Issue
Actually These devices are running without PSRAM support due IRAM limitation,
error
section .text will not fit in region iram1_0_seg
followed by more error messagens, it happens because all functions of M5GFX are being mapped into the lib crowding the Instruction tableIt happens when I use these build_flags:
Solutions 1:
use
-DPIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48
reducing Cache to leave room for more IRAM, but Cache can compromise fw performanceSolution 2:
M5GFX autodetect function were made to diferentiate between all boards of m5Stack, maybe remake it to check the difference between these devices (and check all variants) might be easy, because there won't be needed to check TFT models and responses, due to already have this information.
M5 I2C Addresses for all devices HERE
make fast checks over the I2C bus of peripherals and make the decisions for Power_Class, Touch_Class, Mic_Class and Speaker_Class and start them accordingly
The text was updated successfully, but these errors were encountered: