Hi,
Enable state checker and assertions, those would reveal that you cannot call blocking functions from ISR context (writing on a stream).
Giovanni
Thank you Giovanni, can you tell me a bit more?
I need that timer to set a float variabile when the callback occours, and i used that chprintf to ...
Search found 3 matches
- Sat Feb 17, 2018 3:44 pm
- Forum: General Support
- Topic: How to work with virtual timers?
- Replies: 4
- Views: 3849
- Sat Feb 17, 2018 2:51 pm
- Forum: General Support
- Topic: How to work with virtual timers?
- Replies: 4
- Views: 3849
How to work with virtual timers?
Hi,
i'm using the last available ChibiStudio release (With ChibiOS eclipse tools 2.5.0) and a STM32F401RE Nucleo board.
I'm working on the following code:
#include "ch.h"
#include "hal.h"
#include "chprintf.h"
BaseSequentialStream* chp = (BaseSequentialStream*) &SD2;
static virtual ...
i'm using the last available ChibiStudio release (With ChibiOS eclipse tools 2.5.0) and a STM32F401RE Nucleo board.
I'm working on the following code:
#include "ch.h"
#include "hal.h"
#include "chprintf.h"
BaseSequentialStream* chp = (BaseSequentialStream*) &SD2;
static virtual ...
- Wed Feb 07, 2018 4:46 pm
- Forum: General Support
- Topic: Sampling Problem, help!
- Replies: 3
- Views: 2823
Sampling Problem, help!
Hi there!
i'm currently using the last available ChibiStudio release (With ChibiOS eclipse tools 2.5.0) and a STM32F401RE Nucleo board, i quite like them and i'd like to learn more.
Actually i'm getting problems with sampling: what i'd like to do is to sample two different signals from A0-A1 pins.
I ...
i'm currently using the last available ChibiStudio release (With ChibiOS eclipse tools 2.5.0) and a STM32F401RE Nucleo board, i quite like them and i'd like to learn more.
Actually i'm getting problems with sampling: what i'd like to do is to sample two different signals from A0-A1 pins.
I ...