Search found 57 matches

by JSStabl
Wed May 13, 2020 12:55 pm
Forum: Development and Feedback
Topic: [PROBLEM] Dead PC...
Replies: 16
Views: 928

Re: [PROBLEM] Dead PC...

I have a mITX Board with a built-in Intel CPU, works really well and runs a full ubuntu instance :)
by JSStabl
Wed May 13, 2020 12:19 pm
Forum: ChibiOS/RT
Topic: Strings to mailboxes
Replies: 15
Views: 737

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...
by JSStabl
Wed May 13, 2020 12:11 pm
Forum: Development and Feedback
Topic: [DISASTER] Web site gone
Replies: 10
Views: 535

Re: [DISASTER] Web site gone

Sure! To be fair you already helped me shoulder a lot of my own stupidity so far though :)
by JSStabl
Tue May 12, 2020 2:47 pm
Forum: ChibiOS/RT
Topic: Strings to mailboxes
Replies: 15
Views: 737

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...
by JSStabl
Tue May 12, 2020 2:02 pm
Forum: ChibiOS/RT
Topic: Strings to mailboxes
Replies: 15
Views: 737

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 ...
by JSStabl
Tue May 12, 2020 1:45 pm
Forum: ChibiOS/RT
Topic: Strings to mailboxes
Replies: 15
Views: 737

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...
by JSStabl
Tue May 12, 2020 9:13 am
Forum: Development and Feedback
Topic: [DISASTER] Web site gone
Replies: 10
Views: 535

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 :)
by JSStabl
Thu Mar 26, 2020 10:11 am
Forum: Small Change Requests
Topic: SPI Slave Driver
Replies: 35
Views: 8915

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...
by JSStabl
Wed Mar 25, 2020 5:24 pm
Forum: Small Change Requests
Topic: SPI Slave Driver
Replies: 35
Views: 8915

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 ...
by JSStabl
Wed Mar 25, 2020 3:37 pm
Forum: Small Change Requests
Topic: SPI Slave Driver
Replies: 35
Views: 8915

Re: SPI Slave Driver

Any updates on the official support for the slave driver? Would make the chibiOS HAL only excellent for small slave devices. I created a patch for the SPIv2 and the newest chibos 191. Does that seem right? Index: os/hal/include/hal_spi.h ==============================================================...

Go to advanced search