mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 07:32:45 +01:00
302a809db0
19329: MAINTAINING.md: add some notes on Bors r=benpicco a=benpicco 19330: native/stdio: Explicitly provide getchar r=chrysn a=chrysn ### Contribution description This ensures that even when libc does not implement getchar through getc, any custom stdio is still in the loop when getchar is used. Frankly, I don't know when this broke -- I'm pretty sure custom stdio worked just a few days ago -- but either way, without this patch RIOT on native currently bypasses a configured stdio for me. ### Testing procedure * `make -C examples/saul all debug` * `break stdio_read` * `run` Without this patch, observe how the shell runs w/o ever breaking. After, lots of breakpoint hits. This is the way it behaves for me (Debian sid, libc6:i386 2.36-8). If it works for you before this patch, we might start bisecting the differences between the systems, but we may also accept that libcs may imlpement getchar in different ways, and not all of them pass by the getc which we're patching. ### Issues/PRs references This is needed for testing #19289. The implementation stems from the `fgetc(3)` man page, which states that "getchar() is equivalent to getc(stdin)". Co-authored-by: Benjamin Valentin <benpicco@beuth-hochschule.de> Co-authored-by: chrysn <chrysn@fsfe.org> |
||
---|---|---|
.. | ||
arm7_common | ||
atmega32u4 | ||
atmega128rfa1 | ||
atmega256rfr2 | ||
atmega328p | ||
atmega1281 | ||
atmega1284p | ||
atmega2560 | ||
atmega_common | ||
atxmega | ||
avr8_common | ||
cc26x0_cc13x0 | ||
cc26x2_cc13x2 | ||
cc26xx_cc13xx | ||
cc2538 | ||
cortexm_common | ||
efm32 | ||
esp32 | ||
esp8266 | ||
esp_common | ||
fe310 | ||
gd32v | ||
kinetis | ||
lm4f120 | ||
lpc23xx | ||
lpc1768 | ||
msp430_common | ||
msp430fxyz | ||
native | ||
nrf5x_common | ||
nrf51 | ||
nrf52 | ||
nrf9160 | ||
qn908x | ||
riscv_common | ||
rpx0xx | ||
sam0_common | ||
sam3 | ||
sam_common | ||
samd5x | ||
samd21 | ||
saml1x | ||
saml21 | ||
stellaris_common | ||
stm32 | ||
doc.txt | ||
Kconfig |