Renz Bagaporo
0f03f450ff
esp_hw_support: create esp_cpu
...
Create a esp_cpu header that contains CPU-related functions and
utilities.
2021-02-26 13:34:29 +08:00
Marius Vikhammer
c36dd7834f
core: fix cases where riscv SP were not 16 byte aligned
...
RISC-V stack pointer should always be 16 byte aligned, but for some cases where
we were doing manual SP manipulation this was not always the case.
2021-02-19 11:26:21 +08:00
Marius Vikhammer
eec2419390
system: enable shared stack watchpoint
...
Enable shared stack watchpoint for overflow detection
Enable unit tests:
* "test printf using shared buffer stack" for C3
* "Test vTaskDelayUntil" for S2
* "UART can do poll()" for C3
2021-02-18 15:38:30 +08:00
Angus Gratton
99d93c1227
newlib: Update unit tests for ESP32-C3
2020-12-24 14:18:01 +11:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Felipe Neves
11f6addc61
expression_with_stack: added a tweak on TCB stackpointers to avoid false trigger of stack overflow
2020-07-14 12:56:02 +00:00
Felipe Neves
a700035a85
test/shared_stack_printf: improved printf with shared stack function test
2020-07-14 12:56:02 +00:00
Felipe Neves
938a73756c
esp_common/shared_stack: modifed the stack switch procedure to a simpler way
...
esp_common/shared_stack: refactored the implemenation of shared stack function (still not working properly)
esp_expression_with_stack: refactored the shared stack function calling mechanism and updated the documentation
2020-07-14 12:56:02 +00:00
Felipe Neves
57edda15a0
shared_stack: added minimal stack size for shared stack, configurable via menuconfig
2020-01-09 09:59:00 -03:00
Felipe Neves
d1b76d13bb
exp_expression_with_stack: added check for null pointer after obtaining a mutex in test
2019-12-20 13:28:29 -03:00
Felipe Neves
e4fb50e6f3
expression_with_stack_xtensa: fixed stack pointer to avoid its overflow on heap block metadata.
2019-12-20 13:18:13 -03:00
Felipe Neves
5e18cd4e13
esp_expression_with_stack: added watchpoint on stack parameter before use it
2019-12-20 13:18:13 -03:00
Felipe Neves
7b90f34c5a
esp_expression_with_stack: renamed macro and functions to have esp_ prefix
2019-12-20 13:18:13 -03:00
Felipe Neves
98b76617be
test_shared_stack_printf: moved the test stack inside the heap
2019-12-20 13:18:13 -03:00
Felipe Neves
debcc68c41
esp_common: added a macro to allow call functions using user allocated stack
2019-12-20 13:18:13 -03:00