boards: lilygo: ttgo_tbeam: initialize GNSS after regulator
As the initialization order is not yet defined by the device tree, we manually need to reflect the order via the init priorities. As the GNSS is connected to a UART that is powered by a regulator, the regulator needs to be initialized first. By setting the prio to 87, we initialize GNSS right after the regulator (instead of before as done without this patch). Signed-off-by: Felix Moessbauer <felix.moessbauer@gmail.com>
This commit is contained in:
parent
ff5e031c20
commit
c35bb0de80
1 changed files with 3 additions and 0 deletions
|
@ -5,3 +5,6 @@ config HEAP_MEM_POOL_ADD_SIZE_BOARD
|
|||
int
|
||||
default 4096 if BOARD_TTGO_TBEAM_ESP32_PROCPU
|
||||
default 256 if BOARD_TTGO_TBEAM_ESP32_APPCPU
|
||||
|
||||
config GNSS_INIT_PRIORITY
|
||||
default 87
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue