Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging via FURI_LOG_<LOG_LEVEL> Macro doesnt work #45

Open
Nycz-lab opened this issue Jul 19, 2023 · 0 comments
Open

Logging via FURI_LOG_<LOG_LEVEL> Macro doesnt work #45

Nycz-lab opened this issue Jul 19, 2023 · 0 comments

Comments

@Nycz-lab
Copy link
Contributor

Nycz-lab commented Jul 19, 2023

While trying to implement a few features i noticed that the logging has been blocked due to "furi_hal_console_disable();" in Line 124 in evil_portal_uart.c

This is probably needed for communicating with the esp however this blocks the logging over serial for debugging.
Would it be possible to use LPUART channel instead of USART for the esp? The flipper serial console logging sadly is limited to USART by code and it seems only those two channels are available:
typedef enum { FuriHalUartIdUSART1, FuriHalUartIdLPUART1, } FuriHalUartId;

LPUART would reduce the power consumption as a positive side effect.
Apart from that it would also be an option to utilize Virtual Communication Port (VCP) which would allow for independence of the UART Channel Limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant