Search found 11231 matches

by Giovanni
Mon Oct 22, 2018 7:47 pm
Forum: General Support
Topic: newlib port for chibios
Replies: 5
Views: 417

Re: newlib port for chibios

Do you have an example for this?

I am reluctant to support this kind of things because it would depend on the library (newlib) and how the library is compiled (reentrant or not).

Giovanni
by Giovanni
Mon Oct 22, 2018 7:44 pm
Forum: ChibiOS/RT
Topic: Priority order violation (different question :) )
Replies: 2
Views: 21

Re: Priority order violation (different question :) )

Hi, It very much depends on how the blob forwards IRQ to the 2nd vectors table. The OS is very reliant on the exact behavior of ISRs, any difference would make it not work, for example extra stacking before calling the ISR. The OS assumes that the main stack is empty after returning from the outer I...
by Giovanni
Sun Oct 21, 2018 4:39 pm
Forum: STM32 Support
Topic: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example
Replies: 4
Views: 41

Re: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example

Hi, There must be a regression in the Keil project files in 18.x, I need to fix it. This is exactly why I prefer makefiles :) When I make a change (paths or new things), I just update one of those .mk files and all projects are updated instantly (because, look into a Makefile, those just include .mk...
by Giovanni
Sun Oct 21, 2018 4:29 pm
Forum: Development and Feedback
Topic: [INFO] Nil growing (not in size)
Replies: 0
Views: 21

[INFO] Nil growing (not in size)

Just an update. On a separate branch, after a while, I started playing with Nil again, I think it is pretty interesting. So far: - Now Nil is able of full threading: chThdCreate(), chThdExit() and chThdWait(). - It is no more mandatory to declare threads in a table (it is still available as an optio...
by Giovanni
Sun Oct 21, 2018 3:40 pm
Forum: STM32 Support
Topic: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example
Replies: 4
Views: 41

Re: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example

Hi, There is one Keil example under /demos/STM32/RT-STM32F303-DISCOVERY/keil, it is for STM32F3, it should be easy to switch it to STM32F4. Please consider that the easiest way to get started with ChibiOS is to use ChibiStudio, you can practice and understand the system then add a Keil project (no c...
by Giovanni
Sun Oct 21, 2018 5:15 am
Forum: Small Change Requests
Topic: Improvements in ChibiStudio
Replies: 1
Views: 246

Re: Improvements in ChibiStudio

Hi,

I split the post from the topic and copied in "Small Change Requests", this way it is not lost in the noise.

Giovanni
by Giovanni
Sat Oct 20, 2018 8:50 pm
Forum: Bug Reports
Topic: Incorrect return from chSchGoSleepTimeoutS() Topic is solved
Replies: 5
Views: 1025

Re: Incorrect return from chSchGoSleepTimeoutS() Topic is solved

Thanks, I will do the same change in next release.

Giovanni
by Giovanni
Fri Oct 19, 2018 8:59 pm
Forum: ChibiOS/HAL
Topic: Access to I2C from ISR handler in HAL without RTOS
Replies: 2
Views: 77

Re: Access to I2C from ISR handler in HAL without RTOS

Hi, The I2C driver has a synchronous API, you cannot use any synchronous function from ISR context, you cannot suspend or wait in an ISR. You need to use I2C from application context, you may trigger OSAL events in the ISR and listen to those in your application, in response of events you can perfor...
by Giovanni
Thu Oct 18, 2018 7:45 pm
Forum: Bug Reports
Topic: Confusing document about wa size when creating thread Topic is solved
Replies: 1
Views: 29

Re: Confusing document about wa size when creating thread Topic is solved

Hi, Both chThdCreateStatic() and chThdCreateFromHeap() take as parameter the size of the working area, not the stack size, I believe this is documented. THD_WORKING_AREA creates a working area starting from a stack size, it is meant to have overhead. This macros converts from stack size to WA size: ...
by Giovanni
Thu Oct 18, 2018 7:30 pm
Forum: Development and Feedback
Topic: Additional Simulator Posix HAL LLD drivers
Replies: 3
Views: 113

Re: Additional Simulator Posix HAL LLD drivers

Hi,

It looks interesting, I cannot give it a try right now, too many things ongoing, I would appreciate some feedback about it.

It would help to know how to try it.

Giovanni

Go to advanced search