Skip to content

Commit e9fa8a0

Browse files
author
Amanda Butler
authored
Add note to debug_with_printf.md
Link to printf memory tutorial.
1 parent 4a911a2 commit e9fa8a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/tutorials/debug/debug_with_printf.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ As seen above, you use the `printf()` function to communicate back to the user:
143143
144144
The limited code-space on the microcontroller's internal flash and the delay of the program require you to use `printf()` judiciously. Be careful about using it in an event handler, which we expect to terminate within a few microseconds.
145145
146+
147+
<span class="notes">**Note:** For printf-related memory considerations, please read our documentation about [printf and reducing memory](../tutorials/optimizing.html#printf-and-reducing-memory).</span>
148+
146149
### Parameters
147150
148151
`printf()` can receive any number of parameters without knowing how many to expect.

0 commit comments

Comments
 (0)