Search found 57 matches
- Sun Oct 20, 2019 8:06 pm
- Forum: ChibiOS/HAL
- Topic: STM32F1XX Framework
- Replies: 0
- Views: 2879
STM32F1XX Framework
Hi! I created a framework to work with STM32F1XX boards. This framework was created initially to easily bootstrap a ChibiOS project for STM32F103 boards, latter, I needed to add FreeRTOS as the Kernel while still using the ChibiOS HAL, now this project is the sum up of these 2 technologies. Note tha...
- Thu Oct 17, 2019 8:48 pm
- Forum: ChibiOS/HAL
- Topic: Doubt regarding drivers implementation
- Replies: 23
- Views: 12175
Re: Doubt regarding drivers implementation
No problem regarding the copyright, I'll change in my repo.
Edit 1: Done, changed the copyright in my repo.
Edit 1: Done, changed the copyright in my repo.
- Tue Oct 15, 2019 8:21 pm
- Forum: ChibiOS/HAL
- Topic: Race condition on Queue
- Replies: 1
- Views: 1988
Race condition on Queue
Hi!
I have a doubt regarding race condition in a queue.
If I have 2 threads writing to the same Serial object and the queue gets full(Serial baud is slow for example), the application hangs. Is it possible or I'm doing something stupid?
Thanks.
I have a doubt regarding race condition in a queue.
If I have 2 threads writing to the same Serial object and the queue gets full(Serial baud is slow for example), the application hangs. Is it possible or I'm doing something stupid?
Thanks.
- Sun Oct 13, 2019 9:00 pm
- Forum: ChibiOS/HAL
- Topic: Doubt regarding drivers implementation
- Replies: 23
- Views: 12175
Re: Doubt regarding drivers implementation
I have some problems calculating the tick using GPT(I couldn't calculate the multiplier correctly), but I did make it work after some struggling, I'll post an example, so it works with all compatible boards/cpus in ChibiOS. I tested up to 115200, but the CPU got pretty busy, maybe because the multip...
- Sun Oct 13, 2019 8:28 pm
- Forum: ChibiOS/HAL
- Topic: Doubt regarding drivers implementation
- Replies: 23
- Views: 12175
Re: Doubt regarding drivers implementation
Giovanni, Do you consider adding the Software Serial driver to ChibiOS? Currently, I'm maintaining a fork in GitHub(https://github.com/0x3333/chibios_svn_mirror/blob/master/os/hal/lib/complex/soft_serial/README.md) but would be nice to have this driver upstreamed. I'm using this driver for some time...
- Fri Oct 11, 2019 3:48 pm
- Forum: ChibiOS/HAL
- Topic: Software Serial Driver for HAL
- Replies: 0
- Views: 2905
Software Serial Driver for HAL
Hi! I created a Software Serial driver for Chibios HAL, in case anyone is in need. It is in my Fork on Github, there is a README.md file with instructions. Fork: https://github.com/0x3333/chibios_svn_mirror/ Driver Location: https://github.com/0x3333/chibios_svn_mirror/blob/master/os/hal/lib/complex...
- Fri Aug 16, 2019 6:55 pm
- Forum: Bug Reports
- Topic: Bug on HAL when compiling with smart_build disabled Topic is solved
- Replies: 2
- Views: 2482
Bug on HAL when compiling with smart_build disabled Topic is solved
In the hal.mk file, when compiling without smart_build enabled, "hal_flash.c" is missing in the HALSRC variable. Also I relocated hal_st.c to the same position when smart_build is enabled. diff --git a/os/hal/hal.mk b/os/hal/hal.mk index 71b325ad1..dfba65c25 100644 --- a/os/hal/hal.mk +++ ...
- Mon Aug 12, 2019 2:52 pm
- Forum: ChibiOS/HAL
- Topic: Doubt regarding drivers implementation
- Replies: 23
- Views: 12175
Re: Doubt regarding drivers implementation
Attached is the version with start bit detection on state machine. As usual, also in the git repo: https://github.com/0x3333/chibios_svn_mirror/tree/softserial/os/hal/lib/complex/soft_serial Would this be included in the Chibios as a driver? If not, I'll stop here, as it fits my needs, otherwise, I ...
- Mon Aug 12, 2019 12:19 pm
- Forum: ChibiOS/HAL
- Topic: Doubt regarding drivers implementation
- Replies: 23
- Views: 12175
Re: Doubt regarding drivers implementation
Hi Giovanni, 1 - OK 2 - OK, will make 4x "default" in the driver comments. 3 - In the way I conceived, the start bit was handled by an interrupt, change the state of the RX and exit. But after reading your message, I realized that it is pretty dumb. I can just read the port to check if the...
- Fri Aug 09, 2019 8:46 pm
- Forum: ChibiOS/HAL
- Topic: Doubt regarding drivers implementation
- Replies: 23
- Views: 12175
Re: Doubt regarding drivers implementation
Just in case, this is in my git repo on GitHub:
https://github.com/0x3333/chibios_svn_m ... oft_serial
Thanks.
https://github.com/0x3333/chibios_svn_m ... oft_serial
Thanks.