I think this is just normal printf behaviour. The output will be buffered until a newline character is printed OR the buffer is flushed for another reason.
If you want to print immediately without a newline you could try adding:
fflush(stdout);
after your printf statement.
Search found 62 matches
- Thu Jul 21, 2022 3:25 pm
- Forum: Development Tools and Programming
- Topic: printf prints to console sporadically
- Replies: 1
- Views: 1444
- Fri Nov 30, 2018 3:24 pm
- Forum: Development Tools and Programming
- Topic: xTimeComposer becomes slow when not connected to Internet
- Replies: 3
- Views: 8989
Re: xTimeComposer becomes slow when not connected to Internet
That's rough. I can recall having issues with basically an IDE and basically any AV in the past!
- Fri Sep 14, 2018 1:35 pm
- Forum: Development Tools and Programming
- Topic: lib_xtcp compiling problem in "xtcp_event_driven" example
- Replies: 10
- Views: 10635
Re: lib_xtcp compiling problem in "xtcp_event_driven" example
Thank you for posting the fix and that you have solved your problem.
Out of curiosity what platform are you developing on?
Out of curiosity what platform are you developing on?
- Thu Sep 13, 2018 3:23 pm
- Forum: Other XMOS Development Kits
- Topic: PC software to configure xCORE-200 Multichannel Audio Platform (XK-AUDIO-216-MC-AB)
- Replies: 5
- Views: 23820
Re: PC software to configure xCORE-200 Multichannel Audio Platform (XK-AUDIO-216-MC-AB)
The device appears like a sound card to your OS, so whatever tools (alsa mixer, audio midi setup, windows sound options) that your OS uses for these operations should work with that board.
- Thu Sep 13, 2018 3:15 pm
- Forum: Q&A
- Topic: Source code for 32 input tdm?
- Replies: 1
- Views: 6536
Re: Source code for 32 input tdm?
AN00162: Using the |I2S| library should give you everything you need.
https://www.xmos.com/support/appnotes
Aside from that, it's just a matter of getting the right I/O lines for each of your channels and the corresponding clocks.
https://www.xmos.com/support/appnotes
Aside from that, it's just a matter of getting the right I/O lines for each of your channels and the corresponding clocks.
- Tue Jul 17, 2018 9:58 pm
- Forum: Development Tools and Programming
- Topic: xCore-200 MC AUDIO - help about how to use
- Replies: 6
- Views: 4205
Re: xCore-200 MC AUDIO - help about how to use
This thread is visible to the whole community.
- Mon Jul 02, 2018 9:19 am
- Forum: Development Tools and Programming
- Topic: xCore-200 MC AUDIO - help about how to use
- Replies: 6
- Views: 4205
Re: xCore-200 MC AUDIO - help about how to use
I am not super familiar with the code on that board, but I suspect that there is an I2S receive from the ADC and an I2S transmit to the DAC. Assuming the sample rates are the same, you should just need to set up a channel to read in the ADC samples then just copy them and read out the DAC samples. I...
- Thu Jun 21, 2018 2:06 pm
- Forum: Development Tools and Programming
- Topic: xCore-200 MC AUDIO - help about how to use
- Replies: 6
- Views: 4205
Re: xCore-200 MC AUDIO - help about how to use
I would check in device manager that the MC Audio board is showing up as a sound card. If it is, you just need to go to your playback devices configuration (right click on volume control in system tray) and select it for the application you are playing music from. Using something like Audacity will ...
- Tue Jun 12, 2018 12:57 pm
- Forum: Development Tools and Programming
- Topic: xTimeComposer becomes slow when not connected to Internet
- Replies: 3
- Views: 8989
Re: xTimeComposer becomes slow when not connected to Internet
The only things it uses the internet for are logging in, design examples, and importing libraries/modules (which only happens if they aren't found at build time). To avoid logging in you can copy your tools key from your xmos.com account into xTimeComposer.
- Fri May 25, 2018 2:58 pm
- Forum: Development Tools and Programming
- Topic: IDE keeps changing project files behind my back
- Replies: 2
- Views: 2797
Re: IDE keeps changing project files behind my back
I have only noticed this issue with the .cproject file. What version of the IDE are you running? I know that if I remove build configs from the Makefile it will prompt me to remove them from (presumably the .project file), but that one gives you the option to say no.