The current FreeRTOS Version uses a QueueHandle_t pointer to handles its queues, but the FSFW does only support Numeric Queue Identifiers. This is handle by a dirty hack which casts the QueueHandle_t to a void pointer which is 32 bit on a 32 Bit System but brakes on any others.
To fix that, the FSFW should use a map internally to handle the conversion of numeric to OSAL Type.
The current FreeRTOS Version uses a QueueHandle_t pointer to handles its queues, but the FSFW does only support Numeric Queue Identifiers. This is handle by a dirty hack which casts the QueueHandle_t to a void pointer which is 32 bit on a 32 Bit System but brakes on any others.
To fix that, the FSFW should use a map internally to handle the conversion of numeric to OSAL Type.
gaisser
added the feature label 2020-09-22 15:54:15 +02:00
Currently, I would prefer a internal solution of the OSAL like the current Host OSAL:
https://egit.irs.uni-stuttgart.de/fsfw/fsfw/src/commit/c50796b785cbed04a0b30937f94870f5c2d28f52/osal/host/MessageQueue.cpp#L11
Therefore, this only relevant for FreeRTOS.
gaisser
modified the milestone from ASTP 1.0.0 Local pools to ASTP 1.1.02021-04-20 18:14:01 +02:00
muellerr
was assigned by gaisser2021-05-11 14:46:01 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The current FreeRTOS Version uses a QueueHandle_t pointer to handles its queues, but the FSFW does only support Numeric Queue Identifiers. This is handle by a dirty hack which casts the QueueHandle_t to a void pointer which is 32 bit on a 32 Bit System but brakes on any others.
To fix that, the FSFW should use a map internally to handle the conversion of numeric to OSAL Type.
Currently, I would prefer a internal solution of the OSAL like the current Host OSAL:
Therefore, this only relevant for FreeRTOS.