Search found 264 matches

by faisal
Wed Apr 10, 2019 7:06 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 1559

Re: VMT interface between upper and lower level HAL

I'm working on a CAN driver for the MCP2515, making it look like a standard hal_can_lld . When I get that working, I'll play with some ideas we're talking about here. Now let's see who gets some code out there first lol :).
by faisal
Tue Apr 09, 2019 6:00 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 1559

Re: VMT interface between upper and lower level HAL

So, what do you think - should we make something like a BaseCanLLD (following the style of the other single inheritance Base* 'classes') which hal_can would then use?
by faisal
Sun Apr 07, 2019 7:25 pm
Forum: Development and Feedback
Topic: Internal Flash Driver
Replies: 27
Views: 5204

Re: Internal Flash Driver

If you're taking suggestions for the order of including device support, consider the stm32F72x next :)

Thanks for turning your attention to the internal flash driver. We may have some test/example code to contribute for testhal as well. I'll look into it if it would help.
by faisal
Thu Apr 04, 2019 6:23 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 1559

Re: VMT interface between upper and lower level HAL

Perhaps HAL should go full C++ but I don't know if the world is ready for this :) Giovanni Definitely not ready yet :) ... I'm guessing the VMT should just be part of the driver object. In hal_<device>.c, calls to LLD could be done thru a macro - which either uses the hal_<device>_lld calls directl...
by faisal
Thu Apr 04, 2019 5:52 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 1559

VMT interface between upper and lower level HAL

I'm currently working on creating a driver for an external SPI to CAN device. I would like to use the hal_can abstraction, but the way HAL is currently designed is that it is directly linked to the hal_<device>_lld functions. I would like to use the HAL to be more than just bound to MCU built-in per...
by faisal
Thu Apr 04, 2019 5:41 pm
Forum: ChibiOS/HAL
Topic: hal_can.h should define CANRxFrame/CANTxFrame
Replies: 1
Views: 494

hal_can.h should define CANRxFrame/CANTxFrame

hal_can.h should define the CANRxFrame/CANTxFrame structures. The structure definitions are currently entirely inside hal_can_lld.h . If there are any platform specific members needed (for example, FMI and TIME in STM32), those should be in macros defined in hal_can_lld.h, and included at the end of...
by faisal
Wed Apr 03, 2019 5:25 pm
Forum: ChibiOS/RT
Topic: Understand difference between stats and time in thread_t
Replies: 9
Views: 1446

Re: Understand difference between stats and time in thread_t

Is it true that (assuming no overflow happens), the total time logged by stats for all threads should track the current system time? Also, that the cumulative time for each thread is the actual execution time of the thread + any interrupts that occurred in the thread. The stats timer for the thread ...
by faisal
Sat Mar 16, 2019 4:55 pm
Forum: Bug Reports
Topic: [PATCH] added missing STM32F103x8 definition Topic is solved
Replies: 4
Views: 851

Re: [PATCH] added missing STM32F103x8 definition Topic is solved

Report issues with CMSIS files here:
https://github.com/ARM-software/CMSIS_5

Also, check if the latest trunk code already has the fix.


Submit bug report to STMicro, on their forums perhaps?
by faisal
Fri Mar 15, 2019 8:56 pm
Forum: ChibiOS/HAL
Topic: MFS using internal Flash
Replies: 6
Views: 1233

Re: MFS using internal Flash

No problem, I'm working in trunk. I'm using Alex mirror in GitHub . I'll try using my "driver", if it works, I'd like to ask some directions to write a STM32 internal flash driver if you believe is the right path. Thanks again. Check this out: http://www.chibios.com/forum/viewtopic.php?f=...
by faisal
Fri Mar 15, 2019 7:48 pm
Forum: ChibiOS/HAL
Topic: MFS using internal Flash
Replies: 6
Views: 1233

Re: MFS using internal Flash

No problem, I'm working in trunk. I'm using Alex mirror in GitHub . I'll try using my "driver", if it works, I'd like to ask some directions to write a STM32 internal flash driver if you believe is the right path. Thanks again. Check this out: http://www.chibios.com/forum/viewtopic.php?f=...

Go to advanced search