Search found 770 matches

by steved
Mon Apr 26, 2021 1:26 pm
Forum: Bug Reports
Topic: GCC10 linker warning Topic is solved
Replies: 1
Views: 81

GCC10 linker warning Topic is solved

Using GCC 10.2.1, Chibi 20.3 with a reasonably straightforward application (on 32F091 at present, but seen on other processors as well) I get the following harmless warning during compilation: lto-wrapper.exe: warning: Options to Xassembler do not match: -alms=Build/lst/crt1.lst, -alms=Build/lst/hal...
by steved
Mon Apr 26, 2021 1:18 pm
Forum: Development and Feedback
Topic: Precision periodic timer using virtual timers
Replies: 25
Views: 1666

Re: Precision periodic timer using virtual timers

Potential other change: Make the timer callback pass the timer itself as function parameter, the timer parameter would be available in the structure. This would break compatibility but would allow callbacks called by multiple timers, all other callbacks in ChibiOS are done this way, they pass the o...
by steved
Wed Apr 21, 2021 4:13 pm
Forum: Bug Reports
Topic: Stack overflow check improvements
Replies: 9
Views: 463

Re: Stack overflow check improvements

This is a regression in trunk and 20.x, it is supposed to enable it, it was OK in 19.x. Giovanni Possible "tidy-up" while you're there - the F7 and H7 ports define and use MPU_CTRL_PRIVDEFENA, which has the same value as MPU_CTRL_PRIVDEFENA_Msk (defined in CMSIS files); although the first...
by steved
Mon Apr 19, 2021 8:41 am
Forum: Development and Feedback
Topic: Explanation of PAL_NEW_INIT
Replies: 7
Views: 185

Re: Explanation of PAL_NEW_INIT

As the F103 and L433/L443 are compatible, they can both go in the same board hence the need for a single board file with a conditional compilation depending on which one the firmware is compiled for. But that's not the issue here - whether I do it with different board files or conditional compilati...
by steved
Thu Apr 01, 2021 10:22 pm
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 63
Views: 3191

Re: [DEV] RP2040 support

Not sure how much you read the Raspberry Pi forums, so thought I'd just highlight that the hardware divider status needs saving in an interrupt (or the divider use gets placed in a critical section), in case that hadn't come to your attention. https://www.raspberrypi.org/forums/viewtopic.php?f=145&a...
by steved
Wed Mar 31, 2021 1:58 pm
Forum: STM32 Support
Topic: can reseved problem Topic is solved
Replies: 8
Views: 402

Re: can reseved problem Topic is solved

It could be significant that the CAN hardware has three receive buffers.
Maybe you are not emptying the receive buffer fast enough?



(And how is this a "small change request"?)
by steved
Mon Mar 22, 2021 11:49 pm
Forum: ChibiOS/HAL
Topic: HAL I2C pin assignment
Replies: 7
Views: 226

Re: HAL I2C pin assignment

The assignment method looks OK.

Check that the I2C isn't also assigned to a second set of pins - behaviour is unpredictable then.
by steved
Sun Mar 21, 2021 10:02 am
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 63
Views: 3191

Re: [NOTES] Multi Core support

RTOS and HAL both compile in the demo, HAL is just a stub so far. I need to verify if it is possible to wrap the Pico SDK code in the HAL. Giovanni Good going. Will have a try when I find some time. Are you using one Pico as a debugger? One trivial thing I noted in the scatter file; the Pico has 2M...
by steved
Wed Mar 17, 2021 12:17 pm
Forum: Bug Reports
Topic: I2C on OLIMEX-STM32-LCD (STM32F103ZE)
Replies: 12
Views: 686

Re: I2C on OLIMEX-STM32-LCD (STM32F103ZE)

The "standard" I2C driver (NOT the "fallback" driver) works for me on PB8/9, using the same configuration data as you. (I am using a driver which also supports I2C slave, but the master part is basically the same). You definitely need to configure the ports as open drain outputs ...
by steved
Wed Mar 17, 2021 11:55 am
Forum: Small Change Requests
Topic: ChibiStudio - show hexadecimal values, screen copy/paste
Replies: 0
Views: 180

ChibiStudio - show hexadecimal values, screen copy/paste

Could ChibiStudio exceptions show values in hexadecimal rather than decimal? (Would save having to convert). For example in DebugProxy.java (full path D:\ChibiStudio\svn_osdn\branches\chibistudio_trunk\tools\chibios-rt6_debug_support\src\org\chibios\tools\eclipse\debug\utils\DebugProxy.java in case ...

Go to advanced search