Graham Sanderson
3ed9e2fb1e
Avoid initializing full stdio_stack_buffer object with zeros ( #992 )
2022-09-26 11:49:16 -05:00
bruelltuete
189d377be2
Only include mutex header if necessary ( #991 )
2022-09-06 11:00:51 -05:00
Zachary Kohnen
07e5caf341
Supress -Wunused-parameter when PICO_STDIO_ENABLE_CRLF_SUPPORT is unset ( #998 )
2022-09-06 10:59:48 -05:00
Graham Sanderson
2dfaa1ab4c
Fix various stdio_usb issues, add stdio_init_all return code, and add alarm_pool_core_num() API ( #918 )
...
This issue addresses possible starvation issues when using `getchar()` with `stdio_usb` and also fixes possible missing of IRQs as a result of #871
2022-08-08 10:12:54 -05:00
Graham Sanderson
b3c56e7169
Add stderr support and remove 1us timeout for timeouts of 0us ( #858 )
2022-06-20 09:52:06 -05:00
Graham Sanderson
60a6fea534
Fix list management in stdio_set_driver_enabled so drivers can be freely added and removed ( #822 )
2022-05-11 10:44:41 -05:00
Graham Sanderson
a0d4bdf731
fix pico_set_printf_implementation(TARGET compiler) ( #593 )
2021-10-12 09:08:15 -05:00
Graham Sanderson
13be546dc3
pico_stdio improvements ( #598 )
...
* add stdio_usb_connected() method
* add PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS to allow waiting for CDC connection during init(*
* add puts_raw and putchar_raw to skip any CR/LF translation
2021-10-08 09:01:30 -05:00
graham sanderson
f4ab723eb5
compile failure with PICO_STDOUT_MUTEX=0
2021-07-06 16:06:52 +01:00
Rene
6994a3858d
-some typo fixes ( #408 )
...
-small consistency changes
2021-05-24 16:56:56 -05:00
Graham Sanderson
6d87da4c59
Rework lock_core / timers ( #378 )
...
- Add recursive_mutex
- Make all locking primitives and sleep use common overridable wait/notify support to allow RTOS
implementations to replace WFE/SEV with something more appropriate
- Add busy_wait_ms
2021-05-05 11:46:25 -05:00
Graham Sanderson
929ede7482
add small delay to stdio_get_until to prevent starvation of USB IRQ handler due to in use mutex. build was non deterministic due to missing link wrapping of getchar ( #364 )
2021-05-04 08:01:34 -05:00
Graham Sanderson
b7da70a53b
make all non hardware_ libraries foo add C preprocessor definition LIB_FOO=1, and remove bespoke definitions which were all undocumented anyway ( #374 )
2021-05-04 08:00:17 -05:00
graham sanderson
503bc8b385
Fixup another level of compiler warnings, add _U() definition
2021-03-04 21:22:48 -06:00
Luke Wren
2a243a33e2
Fix -Wsign-compare warnings
2021-03-04 21:22:47 -06:00
Brian Swetland
a362925eda
Clean up various C source and headers to appease -Wstrict-prototypes
...
In C, func() is a function taking an unspecified number of arguments,
vs func(void) a function taking no arguments. In C++ both forms indicate
"no arguments."
Update these headers to use the (void) form, which is correct in both
languages and avoids complaints when -Wstrict-prototypes is specified.
2021-03-04 21:22:47 -06:00
graham sanderson
26653ea81e
Initial Release
2021-01-20 10:44:27 -06:00