Search found 13535 matches

by Giovanni
Sun May 16, 2021 4:53 pm
Forum: STM32 Support
Topic: Memory-mapped flash on F7 and H7
Replies: 14
Views: 916

Re: Memory-mapped flash on F7 and H7

Hi,

It is different, a new mini-driver is required.

Giovanni
by Giovanni
Fri May 14, 2021 8:38 am
Forum: Development and Feedback
Topic: [DEV] HAL clock management API
Replies: 0
Views: 53

[DEV] HAL clock management API

Hi, Just a note, a clock management API has been added to HAL, it allows to switch clocks among multiple configurations (including potentially also power management). Two configurations are pre-defined: 1) Reset, post-reset MCU state. 2) Default, settings in mcuconf.h. More configuration can be defi...
by Giovanni
Thu May 13, 2021 7:51 am
Forum: Bug Reports
Topic: chDbgAssert discards reason
Replies: 1
Views: 74

Re: chDbgAssert discards reason

Hi, The reason it is there for the debugger, you click on the stack trace and you can read the reason in the source code, is there a need to store in memory all those strings? (Same could be said for __func__ frankly, I am tempted to remove it as well). Concatenation would require a RAM buffer as yo...
by Giovanni
Wed May 12, 2021 10:44 am
Forum: Development and Feedback
Topic: F0 EFL Patch
Replies: 2
Views: 96

Re: F0 EFL Patch

Hi,

Default ld files do not need to be "aware" of the rest of SW. If you use MFS on internal flash it is your responsibility to create ad-hoc ld files.

Different layers in the architectures.

Giovanni
by Giovanni
Tue May 11, 2021 2:44 pm
Forum: ChibiOS/RT
Topic: dynamic sized queue
Replies: 2
Views: 112

Re: dynamic sized queue

Hi, Not directly, you could use mailboxes and an heap allocator in that scenario. You may look at how Objects Queues are implemented in OSLIB and replace the pool allocator with the heap allocator. The inherent problems with this approach are: 1) You cannot use it from ISRs, heap allocator does not ...
by Giovanni
Tue May 11, 2021 7:50 am
Forum: Development and Feedback
Topic: [DEV] The new SIO driver
Replies: 9
Views: 1302

Re: [DEV] The new SIO driver

Hi,

It will be in release 21.x.

Giovanni
by Giovanni
Sat May 08, 2021 10:38 am
Forum: Bug Reports
Topic: STM32H7 ADCv4 patches
Replies: 23
Views: 1868

Re: STM32H7 ADCv4 patches

Hi, Committed in trunk patches 1..4. I have a request for patch 5, I suggest making a single configuration with samples size (STM32_ADC_SAMLES_SIZE: 8, 16, 32) and perform all checks based on the value. In addition, everything should be ported to 20.3 too. Could you take care of this when you have s...
by Giovanni
Sat May 08, 2021 9:28 am
Forum: Bug Reports
Topic: unititialized value reported by compiler Topic is solved
Replies: 3
Views: 222

Re: unititialized value reported by compiler Topic is solved

Hi,

Fixed as bug #1158.

Giovanni
by Giovanni
Sat May 08, 2021 9:23 am
Forum: Bug Reports
Topic: context switch observed inside S-locked state Topic is solved
Replies: 28
Views: 1872

Re: context switch observed inside S-locked state Topic is solved

After calling port_switch() you always return from a port_switch() called in another place. This is why you return in __port_switch_from_isr(), a port_switch() is called from there.

If trying to understand it is better if you work using -O0, that makes things much easier.

Giovanni
by Giovanni
Fri May 07, 2021 8:58 pm
Forum: Development and Feedback
Topic: Precision periodic timer using virtual timers
Replies: 25
Views: 1881

Re: Precision periodic timer using virtual timers

Hi, Changes to timers have been committed, Bob is helping with stress tests. Now it is possible to start one-shot or continuous timers and change the period from the callback if required. Callbacks now have 2 parameters, the timer itself and the usual user parameter, look for warnings and adjust. An...

Go to advanced search