Search found 734 matches

by steved
Sun Nov 01, 2020 9:21 pm
Forum: Bug Reports
Topic: Errors if LSI clock disabled Topic is solved
Replies: 1
Views: 216

Errors if LSI clock disabled Topic is solved

Discovered on the STM32L031, but probably affects all. I set: #define STM32_LSI_ENABLED FALSE #define HAL_USE_RTC FALSE mcuconf.h had the following: #define STM32_RTCSEL STM32_RTCSEL_LSI This resulted in a compile error "LSI not enabled, required by STM32_RTCSEL" Basically the configured R...
by steved
Tue Oct 20, 2020 1:33 pm
Forum: Small Change Requests
Topic: µGFX:How to getting start
Replies: 6
Views: 239

Re: µGFX:How to getting start

I don't have a 'demo' project; uGfx was part of something much bigger. I've taken its makefile, and stripped out most of the irrelevant; will hopefully give you the idea.
by steved
Tue Oct 20, 2020 8:43 am
Forum: Small Change Requests
Topic: µGFX:How to getting start
Replies: 6
Views: 239

Re: µGFX:How to getting start

You could try updating the chibios-related files in /src/gos with the attached; probably that's all you need to do. I updated them for Chibi 19, which also uses the version 6 core, but haven't tried them with Chibi 20; so there may be a few more adjustments, but hopefully my changes will point you i...
by steved
Fri Oct 02, 2020 9:11 pm
Forum: Bug Reports
Topic: [ChibiStudio] Are the first instructions for use in error?
Replies: 4
Views: 147

Re: [ChibiStudio] Are the first instructions for use in error?

Another thing that is confusing is: 2) Create a shortcut or a launcher for your desktop environment to the shell scripts located under ./ChibiStudio Because there are 3 files that start with the same name "ChibiStudio", - ChibiStudio-GCC5.4.1 - ChibiStudio-GCC7.3.1 - ChibiStudio-GCC9.2.1 ...
by steved
Tue Sep 01, 2020 1:40 pm
Forum: General Support
Topic: I2C Slave mode support?
Replies: 106
Views: 29064

Re: I2C Slave mode support?

Does look as if my 'real' code was using the I2C in DMA driven mode, although the driver was tested with both DMA and interrupts for a range of message sizes up to 563 bytes. My applications send a message to the device, and always expect a reply. Last thing I do in initialisation is: i2cSlaveConfig...
by steved
Tue Sep 01, 2020 1:25 pm
Forum: Development and Feedback
Topic: [DEV] The new SIO driver
Replies: 7
Views: 657

Re: [DEV] The new SIO driver

An interesting development. Some time ago I modified the serial driver to have optional callbacks (it's posted somewhere here), and that seems to address some of your early comments at the cost of a small amount of additional code. Basically I had two different requirements, one of which had to be s...
by steved
Thu Aug 20, 2020 5:50 pm
Forum: General Support
Topic: I2C Slave mode support?
Replies: 106
Views: 29064

Re: I2C Slave mode support?

Long time since I looked at the code in detail, but I think you'll find that i2cStartReceive() is called (maybe via a convoluted route) once the device has received a correct I2C address. Looking at my code, I have this sequence: #if HAL_USE_I2C_SLAVE slaveI2cPort.slaveTimeout = MS2ST(100); // Time ...
by steved
Fri Aug 14, 2020 5:41 pm
Forum: Bug Reports
Topic: Linker warning Topic is solved
Replies: 4
Views: 280

Re: Linker warning Topic is solved

Dubious English, maybe - I'd fixed the problem. (Because I'm using a different flash chip, I've cloned the structure used into my own library, and thus hadn't detected the change in the make file).
by steved
Fri Aug 14, 2020 5:35 pm
Forum: Bug Reports
Topic: QSPI multiple thread access
Replies: 14
Views: 667

Re: QSPI multiple thread access

Not quite sure whether the 'bump' was for a specific point, but I've tried to pull together some of the discussions and thoughts into one post. No doubt missed (or confused) a few things. Some of the complications arise due to supporting both SPI and WSPI drivers. This gives us three (or maybe four)...
by steved
Tue Aug 11, 2020 4:23 pm
Forum: General Support
Topic: GCC preprocessor and assembler files
Replies: 0
Views: 183

GCC preprocessor and assembler files

Not specifically ChibiOS but I've encountered a very odd situation with preprocessor directives that maybe someone else has seen. Symbol _USE_CHIBI_20 is passed via the command line from the makefile. At the top of chconf.h I have the following: #define XSTR(x) STR(x) #define STR(x) #x #pragma messa...

Go to advanced search