2020-10-16 08:35 AM
Hi
I was trying make it like him https://www.youtube.com/watch?v=bCppZf8FKYg&t=1933s&ab_channel=EEbyKarl
but he did it with FreeRTOS CMSIS_V1 and for this reason problems may arise because I'm working with FreeRTOS CMSIS_V2 and i don't know how to make it
Here is my code:
https://gist.github.com/jadczakoff/f301471e794c3c0d75a4bc62cdcf736e
I'm working on STM32F469I-DISCO
Yea i know bad name for a class ,,TestSpi" because in the beginning i wanted to send something via SPI
2020-10-23 06:40 AM
Here's the difference between V1 and V2 in terms of putting in and getting things from a queue. The code to create and start tasks can be generated through CubeMX.
V2:
osStatus_t osMessageQueuePut (osMessageQueueId_t mq_id, const void *msg_ptr, uint8_t msg_prio, uint32_t timeout)
osStatus_t osMessageQueueGet (osMessageQueueId_t mq_id, void *msg_ptr, uint8_t *msg_prio, uint32_t timeout)
V1:
osStatus osMessagePut (osMessageQId queue_id, uint32_t info, uint32_t millisec)
osEvent osMessageGet (osMessageQId queue_id, uint32_t millisec)