Search found 617 matches

by steved
Sat Oct 12, 2019 9:08 am
Forum: Bug Reports
Topic: ChibiOS Eclipse debug view
Replies: 7
Views: 228

Re: ChibiOS Eclipse debug view

Isn't 'ch' the name of the variable that OpenOCD looks for to identify a Chibios system?
If so, presumably the local ch is overriding the global one; so changing the variable name in the callback should at least work round the problem.
by steved
Sat Oct 05, 2019 8:34 am
Forum: Bug Reports
Topic: hal_Serial_nor.c Topic is solved
Replies: 7
Views: 321

Re: hal_Serial_nor.c Topic is solved

Added error handling to the WSPI driver, this required a new callback for the asynchronous API and a return value for the synchronous API. Excellent - currently I very occasionally get a hang in the WSPI driver which locks up my system; this should help track it down. I am using a different flash c...
by steved
Sat Oct 05, 2019 8:32 am
Forum: Bug Reports
Topic: hal_Serial_nor.c Topic is solved
Replies: 7
Views: 321

Re: hal_Serial_nor.c Topic is solved

Giovanni wrote:Is the code snippet the correct one? the code in the repository is exactly like that.
Giovanni

Think I ended up mentioning this in two separate posts; so probably fixed from the other one.
by steved
Sat Oct 05, 2019 8:27 am
Forum: Bug Reports
Topic: chprintf() - float precision Topic is solved
Replies: 5
Views: 248

Re: chprintf() - float precision Topic is solved

Looks like I'd already downloaded the trunk version before finding this bug - so nothing more to do.

Trunk matches my working files.
by steved
Wed Oct 02, 2019 9:14 am
Forum: Bug Reports
Topic: Disallowed characters in thread name for debugging?
Replies: 1
Views: 76

Disallowed characters in thread name for debugging?

Strange one, this. Using Chibistudio 21 with 19.1.3 on an F767 Nucleo Normally, when you hit a breakpoint, a complete list of threads is displayed in the debug window. (I have over 20 threads) However I found that, after a certain point in startup execution, I got the following message in the debug ...
by steved
Mon Sep 30, 2019 6:10 pm
Forum: General Support
Topic: Problem with uartSendFullTimeout() function
Replies: 12
Views: 344

Re: Problem with uartSendFullTimeout() function

Try the appropriate serial driver from viewtopic.php?f=38&t=3941

You can use it in either "normal" serial mode, or with character by character callbacks.
by steved
Thu Sep 26, 2019 8:52 pm
Forum: ChibiOS/HAL
Topic: MFS on top of MMC/SD drivers
Replies: 3
Views: 144

Re: MFS on top of MMC/SD drivers

Have a look at https://github.com/ARMmbed/littlefs - it might be a more straightforward alternative to implement if it does what you want.
by steved
Wed Sep 25, 2019 8:30 am
Forum: Small Change Requests
Topic: Dual mode serial port driver
Replies: 2
Views: 854

Re: Dual mode serial port driver

Here's the version I'm currently using for Chibi 19. (I'm unlikely to update the v1 files)
by steved
Wed Sep 25, 2019 8:26 am
Forum: Bug Reports
Topic: Fallthrough Topic is solved
Replies: 1
Views: 98

Fallthrough Topic is solved

In os\hal\ports\simulator\hal_pal_lld.c line 85, very recent mingw32 highlights lack of "Fallthrough" code (I assume it isn't a bug!)

Fixed in attached file
by steved
Mon Sep 16, 2019 8:58 pm
Forum: General Support
Topic: c++ callback function in class
Replies: 4
Views: 121

Re: c++ callback function in class

Have a 1-line C function which calls the C++ function. The parameter to the callback is the object pointer.

Go to advanced search