Search found 78 matches
- Wed May 13, 2020 2:06 pm
- Forum: ChibiOS/RT
- Topic: Strings to mailboxes
- Replies: 15
- Views: 6556
Re: Strings to mailboxes
Thanks steve! Looks really interesting, I would keep the Mailbox logic, since I don't want to interrupt any fast threads with a blocking write. I'm thinking about using sprintf and then pushing that to the mailbox q. Only thing I need to figure out what to do when the thread isn't running yet (i.e. ...
- Wed May 13, 2020 12:55 pm
- Forum: Development and Feedback
- Topic: [PROBLEM] Dead PC...
- Replies: 16
- Views: 8183
Re: [PROBLEM] Dead PC...
I have a mITX Board with a built-in Intel CPU, works really well and runs a full ubuntu instance
- Wed May 13, 2020 12:19 pm
- Forum: ChibiOS/RT
- Topic: Strings to mailboxes
- Replies: 15
- Views: 6556
Re: Strings to mailboxes
The Library was written by myself :) I just want to keep the generic printf instead of the chprintf in there so I can run it on a local machine or a test environment without the chibi code. That keeps the functionality of that part of the code agnostic of the system its being run on. I was hoping to...
- Wed May 13, 2020 12:11 pm
- Forum: Development and Feedback
- Topic: [DISASTER] Web site gone
- Replies: 10
- Views: 4921
Re: [DISASTER] Web site gone
Sure! To be fair you already helped me shoulder a lot of my own stupidity so far though
- Tue May 12, 2020 2:47 pm
- Forum: ChibiOS/RT
- Topic: Strings to mailboxes
- Replies: 15
- Views: 6556
Re: Strings to mailboxes
At the risk of going slightly off-topic: I'm trying to implement printf in chibiOS since I have some external libraries that use printf for error messages. I included the syscalls.c and added the STDOUT_SD and it seems to work when being called from the main startup code. However as soon as I run pr...
- Tue May 12, 2020 2:02 pm
- Forum: ChibiOS/RT
- Topic: Strings to mailboxes
- Replies: 15
- Views: 6556
Re: Strings to mailboxes
Ah yes, thats actually perfectly reasonable. Thanks as always! So I need an extra message buffer that only gets cleared when the message is received. When sending the strings as "directly" encoded the compiler probably treats that as a const string and that doesn't change. So If I want to ...
- Tue May 12, 2020 1:45 pm
- Forum: ChibiOS/RT
- Topic: Strings to mailboxes
- Replies: 15
- Views: 6556
Strings to mailboxes
I want to send string messages over the mailbox q to serve a thread that then writes out the data over the serial bus. From the ChibiOS book I took an example for a console and created the following threads: char start_string[] = "start"; char stop_string[] = "stop"; static mailb...
- Tue May 12, 2020 9:13 am
- Forum: Development and Feedback
- Topic: [DISASTER] Web site gone
- Replies: 10
- Views: 4921
Re: [DISASTER] Web site gone
Hi Giovanni,
shit happens! Some hosters do shady stuff, sucks when it happens.
Let me know if I can help in any way! Happy to support you guys with some of my skills once in a while
shit happens! Some hosters do shady stuff, sucks when it happens.
Let me know if I can help in any way! Happy to support you guys with some of my skills once in a while
- Thu Mar 26, 2020 10:11 am
- Forum: Small Change Requests
- Topic: SPI Slave Driver
- Replies: 36
- Views: 23915
Re: SPI Slave Driver
Understood. Why not expose the the "very simple" scenario by just exposing the slave flag to the config? As I understand the rest of the code would already allow for simple receive/sends (see example from plyatov). Can you help me understand how the HAL API would behave in this slave scena...
- Wed Mar 25, 2020 5:24 pm
- Forum: Small Change Requests
- Topic: SPI Slave Driver
- Replies: 36
- Views: 23915
Re: SPI Slave Driver
Would you recommend using plyatovs solution from here: http://www.chibios.com/forum/viewtopic.php?f=38&t=3213&start=20#p32291 (earlier in this thread) for a production system? Or is it more wise to create a complete Slave SPI solution without using chibiOS HAL? Furthermore a driver that has ...