[riot-notifications] [RIOT-OS/RIOT] riscv_common: Increase ISR stack size if DEVELHELP is enabled (#16448)

nmeum notifications at github.com
Mon May 10 09:50:31 CEST 2021


> Would expressing the printf calls as ~`puts`~[`print_str`](http://doc.riot-os.org/group__sys__fmt.html#gadb0aa71349ab66b0edb3106fb2abb5c3) [edit: which doesn't add the trailing newline] and [`print_u32_hex`](http://doc.riot-os.org/group__sys__fmt.html#gad8dbb9f77164d0050c0f07df90173fa9) allow things to fit within the stack?

Yes, that does seem to work. Though the problem then becomes that `core_panic` (as called by the trap handler) indirectly uses newlib printf functions again through the `LOG_ERROR` macro:

 https://github.com/RIOT-OS/RIOT/blob/2692957c0ea7030f4711d4ffdbe44cf3227ac5cd/core/panic.c#L75-L85


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16448#issuecomment-836317846
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210510/bb0434bf/attachment.htm>


More information about the notifications mailing list