mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-18 23:54:39 +00:00
change(lp_core): changed wakeup time calc to use a precomputed tick value
Previously we would calculate the wakeup ticks upon every wakeup using the lp-timer clock frequency, but this caused the binary to pull in software division functions, increasing the binary size. This value is now precalculated by the hp-core when we configure the ULP. This saves about 1k bytes.
This commit is contained in:
@@ -75,7 +75,7 @@ menu "Ultra Low Power (ULP) Co-processor"
|
||||
config ULP_SHARED_MEM
|
||||
depends on ULP_COPROC_TYPE_LP_CORE
|
||||
hex
|
||||
default 0x8
|
||||
default 0x10
|
||||
help
|
||||
Size of the shared memory defined in ulp_lp_core_memory_shared.c.
|
||||
Size should be kept in-sync with the size of the struct defined there.
|
||||
|
Reference in New Issue
Block a user