rtems stm32 init #341

Merged
gaisser merged 4 commits from mueller/rtems-update-stm32 into development 2021-01-12 15:06:47 +01:00
Owner

I managed to compile the FSFW for RTEMS on the STM32 with CMake. These changes were necessary on the STM32.

I managed to compile the FSFW for RTEMS on the STM32 with CMake. These changes were necessary on the STM32.
muellerr added the
feature
label 2021-01-01 21:20:34 +01:00
muellerr added 1 commit 2021-01-01 21:20:35 +01:00
muellerr added 1 commit 2021-01-02 19:40:08 +01:00
muellerr added 1 commit 2021-01-04 15:34:17 +01:00
muellerr added the
bug
label 2021-01-04 15:34:41 +01:00
Author
Owner

I managed to set the compile time as the Clock. Clock::setClock was not thread-safe I think. I implemented it like it is implemented in the RTEMS BSP. Also, I think the Clock.cpp returnvalues need to be updated.

Also possible bug in ReturnValue_t Clock::getDateAndTime(TimeOfDay_t* time). In any case casts like that should be explained or clarified if it isnt a bug.

I managed to set the compile time as the Clock. `Clock::setClock` was not thread-safe I think. I implemented it like it is implemented in the RTEMS BSP. Also, I think the `Clock.cpp` returnvalues need to be updated. Also possible bug in `ReturnValue_t Clock::getDateAndTime(TimeOfDay_t* time)`. In any case casts like that should be explained or clarified if it isnt a bug.
muellerr changed title from rtems init to rtems stm32 init 2021-01-04 15:36:15 +01:00
gaisser reviewed 2021-01-12 15:01:23 +01:00
@ -92,3 +105,4 @@
ReturnValue_t Clock::getDateAndTime(TimeOfDay_t* time) {
// TIsn't this a bug? Are RTEMS ticks always microseconds?
rtems_time_of_day* timeRtems = reinterpret_cast<rtems_time_of_day*>(time);
Owner

You are right. There must be a tics to microseconds conversion to be sure.

You are right. There must be a tics to microseconds conversion to be sure.
gaisser added 1 commit 2021-01-12 15:01:35 +01:00
Owner

Reported #344 based on this.

Reported #344 based on this.
gaisser merged commit 4d6d951ae6 into development 2021-01-12 15:06:47 +01:00
gaisser deleted branch mueller/rtems-update-stm32 2021-01-12 15:06:54 +01:00
gaisser added this to the ASTP 1.0.0 Local pools milestone 2021-01-26 14:27:41 +01:00
Sign in to join this conversation.
No description provided.