Avoiding crashing while building without console.#729
Open
igparaul wants to merge 1 commit intobluekitchen:masterfrom
Open
Avoiding crashing while building without console.#729igparaul wants to merge 1 commit intobluekitchen:masterfrom
igparaul wants to merge 1 commit intobluekitchen:masterfrom
Conversation
Member
|
Hi @igparaul How do you build without console? resp. what changes dit you make? |
Author
|
Hello @mringwal As I'm using the ESP32 as a secondary MCU, controlled by another one via UART, I do not want to print anything; thus, I am disabling UART_CONSOLE in sdkconfig. When I do this, the file "btstack_stdio_esp32.c" produces an error while building since the btstack_stdio_process function is defined at the top of the file but not declared in the section of no console configuration. I have simply dummy-declared with an UNUSED(context) to avoid errors and warnings. I've also tried to disable HAVE_BTSTACK_STDIN, but it does not change anything; it fails either while building. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.