Search found 260 matches

by faisal
Wed Nov 29, 2017 1:49 am
Forum: STM32 Support
Topic: Unable to use debug mode
Replies: 7
Views: 3588

Re: Unable to use debug mode

I fixed the problem. Turns out MCU Eclipse was not setting the {gdb_prefix/postfix} paths properly. Instead, in the GDB Client setup, I put the full path to arm-none-eabi-gdb, and it worked. What was happening before was the system 'gdb' command was being run, which obviously is not for arm-none-eab...
by faisal
Tue Nov 28, 2017 9:26 pm
Forum: STM32 Support
Topic: Unable to use debug mode
Replies: 7
Views: 3588

Re: Unable to use debug mode

Sorry to resurrect this ancient thread, but is there any resolution to this? I am unable to use the MCU Eclipse OpenOCD plugin either. I also get a similar "non-existent register" error. I am able to run the openocd gdb server seperately, and connect to it successfully and debug. Below is ...
by faisal
Mon Nov 27, 2017 9:05 pm
Forum: Development and Feedback
Topic: Uses of the new chFactory library
Replies: 0
Views: 535

Uses of the new chFactory library

I'm looking into good uses for the new chFactory oslib. Post how you've used it, are planning on using it, or typical embedded design patterns where it would be a good fit.
by faisal
Sat Nov 18, 2017 1:39 am
Forum: Development and Feedback
Topic: [NEWS] Introducing MFS
Replies: 40
Views: 6074

Re: [NEWS] Introducing MFS

Giovanni wrote:hi,

Those macros are local to mfs.c, other modules cannot see those.

Giovanni


Preprocessor macro definitions are in the global namespace ... the preprocessor runs before the compiler does. If PAIR, or RET_ON_ERROR is defined anywhere else, won't those macros be replaced by the last defined one?
by faisal
Fri Nov 17, 2017 12:02 am
Forum: Development and Feedback
Topic: [NEWS] Introducing MFS
Replies: 40
Views: 6074

Re: [NEWS] Introducing MFS

The macros PAIR and RET_ON_ERROR have generic names. They should be prefixed appropriately, so as not to pollute the global C preprocessor namespace. PAIR and RET_ON_ERROR sound like macros that user/application code could define. Also, it was previously mentioned in another thread that there should...
by faisal
Fri Oct 20, 2017 5:01 pm
Forum: ChibiOS/RT
Topic: How to tell if scheduler has started?
Replies: 1
Views: 703

How to tell if scheduler has started?

I need a way to tell if the scheduler has started. For example, some modules expect to be configured before the OS is running, and I want to include a check for it.
by faisal
Wed Oct 11, 2017 2:59 pm
Forum: STM32 Support
Topic: STM32L4xx PWM Combined Mode
Replies: 6
Views: 1602

Re: STM32L4xx PWM Combined Mode

Giovanni wrote:He can also change the high level if he wishes so, the Apache license is permissive.

Giovanni


I wss thinking more along the lines off getting it included in the official trunk.
by faisal
Wed Oct 11, 2017 2:57 pm
Forum: Bug Reports
Topic: ChibiOS 17.6.2 chmemcore.h: chCoreAlloc Topic is solved
Replies: 4
Views: 1133

Re: ChibiOS 17.6.2 chmemcore.h: chCoreAlloc Topic is solved

Giovanni wrote:At a later time.

Giovanni


Got it, thanks. I do think it's an important module to have a test for.
by faisal
Wed Oct 11, 2017 2:00 pm
Forum: Small Change Requests
Topic: Consolidate all the CRC functions and LUTs in one place
Replies: 6
Views: 1276

Consolidate all the CRC functions and LUTs in one place

At the title says ... There are a couple CRC functions and LUTs scatter throughout the source. I think they should be in one place. I use pycrc to generate my crc library, and a little script to automate it (it renames some constants that were otherwise common). The license is permissive too (MIT). ...
by faisal
Wed Oct 11, 2017 1:33 pm
Forum: STM32 Support
Topic: STM32L4xx PWM Combined Mode
Replies: 6
Views: 1602

Re: STM32L4xx PWM Combined Mode

Hi, I think you need a custom driver for this. You may reuse parts of the existing driver but it is not designed for such a scenario. Giovanni If he can modify the stm32L4xx low level driver in such a way that doesn't require upper level hal_pwm changes, wouldn't that be okay? You would just be add...

Go to advanced search