Search found 130 matches
- Thu Mar 20, 2014 9:30 pm
- Forum: General Support
- Topic: float parameter, alignment and stacks
- Replies: 3
- Views: 2790
Re: float parameter, alignment and stacks
I will try to provide a minimal test case.
- Thu Mar 20, 2014 7:28 pm
- Forum: General Support
- Topic: float parameter, alignment and stacks
- Replies: 3
- Views: 2790
Re: float parameter, alignment and stacks
Hi,
i am observing a similar (or the same) issue when passing double using variable arguments "...".
The odd thing is that enabling CH_DBG_SYSTEM_STATE_CHECK fixes it.
The working area is aligned at an 8 bytes boundary.
Any idea how to further track this down?
Thanks and cheers,
Vinz
i am observing a similar (or the same) issue when passing double using variable arguments "...".
The odd thing is that enabling CH_DBG_SYSTEM_STATE_CHECK fixes it.
The working area is aligned at an 8 bytes boundary.
Any idea how to further track this down?
Thanks and cheers,
Vinz
- Wed Mar 12, 2014 9:24 pm
- Forum: General Support
- Topic: [DONE] name conflict in console.c
- Replies: 4
- Views: 3253
Re: [TODO] name conflict in console.c
Please note that a lot more files are affected by this.
I added a patch which you may use as you see fit.
I added a patch which you may use as you see fit.
- Wed Mar 12, 2014 9:16 am
- Forum: General Support
- Topic: [DONE] name conflict in console.c
- Replies: 4
- Views: 3253
[DONE] name conflict in console.c
Hi, i am getting the following name conflicts when building console.c on ubuntu LTS 32bit: ChibiOS//os/hal/platforms/Posix/console.c: In function ‘putt’: ChibiOS//os/hal/platforms/Posix/console.c:77:50: error: declaration of ‘time’ shadows a global declaration [-Werror=shadow] ChibiOS//os/hal/platfo...
- Thu Feb 20, 2014 8:35 pm
- Forum: STM32 Support
- Topic: Unable to use hal_lld.h types in kernel hooks
- Replies: 2
- Views: 1750
Re: Unable to use hal_lld.h types in kernel hooks
Thanks again for the quick reply!
- Thu Feb 20, 2014 7:47 pm
- Forum: STM32 Support
- Topic: Unable to use hal_lld.h types in kernel hooks
- Replies: 2
- Views: 1750
Unable to use hal_lld.h types in kernel hooks
Hi Giovanni, i am trying to implement a precise tick accounting for threads by adding a halrtcnt_t field to THREAD_EXT_FIELDS and using hal_lld_get_counter_value() in THREAD_CONTEXT_SWITCH_HOOK. This results in a build error "error: unknown type name 'halrtcnt_t'" because of the order of t...
- Mon Feb 17, 2014 2:44 pm
- Forum: STM32 Support
- Topic: GPIO_TypeDef unusable from ST lib
- Replies: 3
- Views: 2869
Re: GPIO_TypeDef unusable from ST lib
Thanks for the quick response. I will look at the 3.0 implementation.
I would very much appreciate to know why my proposed solution won't work.
Thanks again and cheers,
Vinz
I would very much appreciate to know why my proposed solution won't work.
Thanks again and cheers,
Vinz
- Sun Feb 16, 2014 9:12 pm
- Forum: STM32 Support
- Topic: GPIO_TypeDef unusable from ST lib
- Replies: 3
- Views: 2869
GPIO_TypeDef unusable from ST lib
Hi, when refactoring large projects, it is often feasible to do a step by step transition. I have had the opportunity to replace FreeRTOS / ST lib by ChibiOS and came across an issue with the ChibiOS modification in ST's chip header file. e.g. stm32f4xx.h There the GPIO_TypeDef struct has been remov...
- Tue Feb 11, 2014 2:19 pm
- Forum: STM32 Support
- Topic: Serial with parity
- Replies: 3
- Views: 2374
Re: Serial with parity
Some further thoughts: Adding a higher level driver or stream filter leads to redundant configuration e.g. the lower level driver has to configure the uart CRs but the higher level driver needs to know the current frame size and parity settings as well. Doesn't really look clean to me. Breakage of c...
- Fri Feb 07, 2014 1:33 pm
- Forum: STM32 Support
- Topic: Serial with parity
- Replies: 3
- Views: 2374
Serial with parity
Hi, what is the right way to handle serial data with parity e.g. 7E1? At least the STM32 UART peripherals don't mask out the parity bit of a received character which means that i see "garbage" at the application level working on the BaseSequentialStream device. When i do this on linux, the...