Search found 37 matches

by electronic_eel
Sun Jun 02, 2019 9:47 am
Forum: Development and Feedback
Topic: [INFO] New Library Generator tool
Replies: 2
Views: 84

Re: [INFO] New Library Generator tool

Could you elaborate more what the usecase for a binary distribution of the os is?

Why not compile it with your program? The makefile system of ChibiOS works really well, rebuilding the whole os just takes a few seconds on a recent machine.
by electronic_eel
Mon May 20, 2019 7:00 pm
Forum: STM32 Support
Topic: Interesting Error on STM32F030K6 with remapped serial
Replies: 15
Views: 630

Re: Interesting Error on STM32F030K6 with remapped serial

Unfortunately the other problem related to __builtin_return_address is still open and unfixed:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88656

So for the time being you still can't use a recent gcc for ChibiOS on Cortex-M0 / Cortex-M0+.
by electronic_eel
Wed May 15, 2019 10:27 pm
Forum: Small Change Requests
Topic: Reset reason
Replies: 20
Views: 4272

Re: Reset reason

Is there already any HAL code for this available that I could test?

I'm just working on a project where I need to check if the watchdog triggered a reset and alert the user that something went wrong.

Thanks.
by electronic_eel
Mon Apr 15, 2019 11:50 am
Forum: Bug Reports
Topic: Git not tracking Topic is solved
Replies: 32
Views: 3999

Re: Git not tracking Topic is solved

Hi,

the mirror at github seems to be not updating again, last checkin is from March 17.

I guess it has to do with the move of the official svn repo to OSDN.

It would be nice to have it working again. Thanks.
by electronic_eel
Wed Apr 10, 2019 7:01 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 439

Re: VMT interface between upper and lower level HAL

- No dynamic anything. Do you want to allow or forbid virtual functions? Let's say you have a controller with one internal CAN interface, but you need 2 for your application. So you add an external one via SPI. Without virtual functions, you couldn't use something like a generic SendMessage(CanInte...
by electronic_eel
Thu Apr 04, 2019 8:06 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 439

Re: VMT interface between upper and lower level HAL

faisal wrote:Good candidates for this type of interface would be ADC, DAC, CAN, MAC, RTC. Those are commonly used external peripherals, which would be really cool if they could use the HAL API.

Don't forget GPIO. IO extenders are a very common thing.
by electronic_eel
Fri Mar 08, 2019 8:49 pm
Forum: STM32 Support
Topic: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved
Replies: 15
Views: 580

Re: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved

Do you activate any powersaving mode in the idle thread or somewhere else? CH_CFG_IDLE_ENTER_HOOK() is usually used to do that now, IIRC it was CORTEX_ENABLE_WFI_IDLE in previous versions of Chibios. When you enter any kind of sleep mode, it can do weird things with the debugger connection. There ar...
by electronic_eel
Fri Mar 08, 2019 8:40 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTimeX overflow
Replies: 11
Views: 434

Re: chVTGetSystemTimeX overflow

I have some functions that need to wait for a specific number of milliseconds. I'm using chVTGetSystemTimeX to get the start time and check periodically if X milliseconds have passed. This sounds like a busy-loop and is not very efficient. Sometimes you need it when you need a very fast reaction ti...
by electronic_eel
Mon Feb 11, 2019 8:43 pm
Forum: Development and Feedback
Topic: [INFO] NIL 4.0 integrated in trunk
Replies: 2
Views: 231

Re: [INFO] NIL 4.0 integrated in trunk

Giovanni wrote:News, Nil gained full events and messages and grew closer to RT in terms of features.

Thank you very much for completing this.

I will give it a try when I start my next NIL project.
by electronic_eel
Mon Feb 11, 2019 8:40 pm
Forum: User Projects
Topic: stlink "clone" on stm32f042
Replies: 9
Views: 567

Re: stlink "clone" on stm32f042

Do you know the Black Magic Probe https://github.com/blacksphere/blackmagic ? It runs on lots of different STM32 variants, like the ST link clones, Bluepill boards and so on. It can be adapted to other boards easily. It does not need OpenOCD, it presents a gdb server on an USB-CDC channel. License i...

Go to advanced search