fix(esp_driver_uart): always use heap_caps_malloc to malloc memory base on flags

This commit is contained in:
Song Ruo Jing
2023-11-22 19:19:42 +08:00
parent 6ad80f0332
commit ef281dff5a
4 changed files with 21 additions and 3 deletions
@@ -2,6 +2,6 @@
# the component can be registered as WHOLE_ARCHIVE
idf_component_register(
SRCS "test_app_main.c" "test_uart.c"
REQUIRES esp_driver_uart unity
REQUIRES esp_driver_uart unity esp_psram
WHOLE_ARCHIVE
)