File tree Expand file tree Collapse file tree 16 files changed +43
-4
lines changed Expand file tree Collapse file tree 16 files changed +43
-4
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ config ESP_ROM_HAS_HAL_SYSTIMER
4343 bool
4444 default y
4545
46+ config ESP_ROM_SYSTIMER_INIT_PATCH
47+ bool
48+ default y
49+
4650config ESP_ROM_HAS_HEAP_TLSF
4751 bool
4852 default y
Original file line number Diff line number Diff line change 1616#define ESP_ROM_HAS_RVFPLIB (1) // ROM has the rvfplib
1717#define ESP_ROM_HAS_HAL_WDT (1) // ROM has the implementation of Watchdog HAL driver
1818#define ESP_ROM_HAS_HAL_SYSTIMER (1) // ROM has the implementation of Systimer HAL driver
19+ #define ESP_ROM_SYSTIMER_INIT_PATCH (1) // ROM version initializes SYSTIMER without ETM
1920#define ESP_ROM_HAS_HEAP_TLSF (1) // ROM has the implementation of the tlsf and multi-heap library
2021#define ESP_ROM_TLSF_CHECK_PATCH (1) // ROM does not contain the patch of tlsf_check_pool()
2122#define ESP_ROM_MULTI_HEAP_WALK_PATCH (1) // ROM does not contain the patch of multi_heap_walk()
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ config ESP_ROM_HAS_HAL_SYSTIMER
4343 bool
4444 default y
4545
46+ config ESP_ROM_SYSTIMER_INIT_PATCH
47+ bool
48+ default y
49+
4650config ESP_ROM_HAS_HEAP_TLSF
4751 bool
4852 default y
Original file line number Diff line number Diff line change 1616#define ESP_ROM_HAS_RVFPLIB (1) // ROM has the rvfplib
1717#define ESP_ROM_HAS_HAL_WDT (1) // ROM has the implementation of Watchdog HAL driver
1818#define ESP_ROM_HAS_HAL_SYSTIMER (1) // ROM has the implementation of Systimer HAL driver
19+ #define ESP_ROM_SYSTIMER_INIT_PATCH (1) // ROM version initializes SYSTIMER without ETM
1920#define ESP_ROM_HAS_HEAP_TLSF (1) // ROM has the implementation of the tlsf and multi-heap library
2021#define ESP_ROM_TLSF_CHECK_PATCH (1) // ROM does not contain the patch of tlsf_check_pool()
2122#define ESP_ROM_MULTI_HEAP_WALK_PATCH (1) // ROM does not contain the patch of multi_heap_walk()
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ config ESP_ROM_HAS_HAL_SYSTIMER
4343 bool
4444 default y
4545
46+ config ESP_ROM_SYSTIMER_INIT_PATCH
47+ bool
48+ default y
49+
4650config ESP_ROM_HAS_HEAP_TLSF
4751 bool
4852 default y
Original file line number Diff line number Diff line change 1616#define ESP_ROM_HAS_RVFPLIB (1) // ROM has the rvfplib
1717#define ESP_ROM_HAS_HAL_WDT (1) // ROM has the implementation of Watchdog HAL driver
1818#define ESP_ROM_HAS_HAL_SYSTIMER (1) // ROM has the implementation of Systimer HAL driver
19+ #define ESP_ROM_SYSTIMER_INIT_PATCH (1) // ROM version initializes SYSTIMER without ETM
1920#define ESP_ROM_HAS_HEAP_TLSF (1) // ROM has the implementation of the tlsf and multi-heap library
2021#define ESP_ROM_TLSF_CHECK_PATCH (1) // ROM does not contain the patch of tlsf_check_pool()
2122#define ESP_ROM_MULTI_HEAP_WALK_PATCH (1) // ROM does not contain the patch of multi_heap_walk()
Original file line number Diff line number Diff line change 99 ***************************************/
1010
1111/* Functions */
12- systimer_hal_init = 0x400003d0 ;
13- systimer_hal_deinit = 0x400003d4 ;
12+
13+ /* The following ROM functions are commented out because they're patched in the esp_rom_systimer.c */
14+ /* systimer_hal_init = 0x400003d0; */
15+ /* systimer_hal_deinit = 0x400003d4; */
16+
1417systimer_hal_set_tick_rate_ops = 0x400003d8 ;
1518systimer_hal_get_counter_value = 0x400003dc ;
1619systimer_hal_get_time = 0x400003e0 ;
Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ config ESP_ROM_HAS_HAL_SYSTIMER
3535 bool
3636 default y
3737
38+ config ESP_ROM_SYSTIMER_INIT_PATCH
39+ bool
40+ default y
41+
3842config ESP_ROM_HAS_HEAP_TLSF
3943 bool
4044 default y
Original file line number Diff line number Diff line change 1414#define ESP_ROM_GET_CLK_FREQ (1) // Get clk frequency with rom function `ets_get_cpu_frequency`
1515#define ESP_ROM_HAS_HAL_WDT (1) // ROM has the implementation of Watchdog HAL driver
1616#define ESP_ROM_HAS_HAL_SYSTIMER (1) // ROM has the implementation of Systimer HAL driver
17+ #define ESP_ROM_SYSTIMER_INIT_PATCH (1) // ROM version initializes SYSTIMER without ETM
1718#define ESP_ROM_HAS_HEAP_TLSF (1) // ROM has the implementation of the tlsf and multi-heap library
1819#define ESP_ROM_TLSF_CHECK_PATCH (1) // ROM does not contain the patch of tlsf_check_pool()
1920#define ESP_ROM_MULTI_HEAP_WALK_PATCH (1) // ROM does not contain the patch of multi_heap_walk()
Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ config ESP_ROM_HAS_HAL_SYSTIMER
3535 bool
3636 default y
3737
38+ config ESP_ROM_SYSTIMER_INIT_PATCH
39+ bool
40+ default y
41+
3842config ESP_ROM_HAS_HEAP_TLSF
3943 bool
4044 default y
You can’t perform that action at this time.
0 commit comments