Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (HALST_STANDALONE)
FetchContent_Declare(
emil
GIT_REPOSITORY https://github.com/embedded-pro/embedded-infra-lib.git
GIT_TAG 321a369d9ef75a41b212c38578aba774bd47bfb0 # Unreleased
GIT_TAG 8cd6166b45ad7671a5a41feacf7a8cb0b771d630 # Unreleased
)

add_definitions(-DEMIL_ENABLE_TRACING=1)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ target_link_libraries(myprogram PUBLIC
)

halst_target_default_linker_scripts(myprogram)
halst_target_default_init(myprogram)
halst_target_bringup(myprogram)

```

Expand Down
2 changes: 0 additions & 2 deletions hal_st/instantiations/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@ target_sources(hal_st.instantiations PRIVATE
StmEventInfrastructure.hpp
StmTracerInfrastructure.cpp
StmTracerInfrastructure.hpp
TracingResetStm.cpp
TracingResetStm.hpp
)
8 changes: 0 additions & 8 deletions hal_st/instantiations/TracingResetStm.cpp

This file was deleted.

21 changes: 0 additions & 21 deletions hal_st/instantiations/TracingResetStm.hpp

This file was deleted.

4 changes: 0 additions & 4 deletions hal_st/stm32fxxx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ target_sources(hal_st.stm32fxxx PRIVATE
$<$<NOT:$<STREQUAL:${TARGET_MCU},stm32wb55>>:LpTimerPwmStm.hpp>
RandomDataGeneratorStm.cpp
RandomDataGeneratorStm.hpp
ResetStm.cpp
ResetStm.hpp
SdRamStm.cpp
SdRamStm.hpp
SpiDataSizeConfiguratorStm.cpp
Expand All @@ -97,8 +95,6 @@ target_sources(hal_st.stm32fxxx PRIVATE
$<$<NOT:$<STREQUAL:${TARGET_MCU_FAMILY},stm32g0xx>>:SpiMasterStmDma.hpp>
$<$<NOT:$<STREQUAL:${TARGET_MCU_FAMILY},stm32g0xx>>:SpiSlaveStmDma.cpp>
$<$<NOT:$<STREQUAL:${TARGET_MCU_FAMILY},stm32g0xx>>:SpiSlaveStmDma.hpp>
SystemTickStm.cpp
SystemTickStm.hpp
SystemTickTimerService.cpp
SystemTickTimerService.hpp
TimerPwmStm.cpp
Expand Down
10 changes: 0 additions & 10 deletions hal_st/stm32fxxx/ResetStm.cpp

This file was deleted.

16 changes: 0 additions & 16 deletions hal_st/stm32fxxx/ResetStm.hpp

This file was deleted.

20 changes: 0 additions & 20 deletions hal_st/stm32fxxx/SystemTickStm.cpp

This file was deleted.

23 changes: 0 additions & 23 deletions hal_st/stm32fxxx/SystemTickStm.hpp

This file was deleted.

5 changes: 2 additions & 3 deletions hal_st/stm32fxxx/SystemTickTimerService.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "hal_st/stm32fxxx/SystemTickTimerService.hpp"
#include "hal/cortex_m/SystemTick.hpp"
#include "infra/timer/TickOnInterruptTimerService.hpp"
#include "infra/timer/Timer.hpp"
#include <chrono>
Expand All @@ -19,9 +20,7 @@ namespace hal

void SystemTickTimerService::Reset()
{
SysTick->LOAD = SystemCoreClock / (1000000000 / std::chrono::duration_cast<std::chrono::nanoseconds>(TickOnInterruptTimerService::Resolution()).count()) - 1UL;
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | SysTick_CTRL_TICKINT_Msk | SysTick_CTRL_ENABLE_Msk;
SysTick->VAL = 0;
cortex::SystemTick(SystemCoreClock, TickOnInterruptTimerService::Resolution()).Enable();
}

infra::TimePoint SystemTickTimerService::Now() const
Expand Down
1 change: 0 additions & 1 deletion hal_st/stm32fxxx/UartStmDuplexDma.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ namespace hal
void FullReceiveComplete();
void ReceiveComplete(size_t currentPosition);

// Implementation cortex::InterruptHandler
void Invoke() override;

private:
Expand Down
2 changes: 0 additions & 2 deletions hal_st/synchronous_stm32fxxx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,4 @@ target_sources(hal_st.synchronous_stm32fxxx PRIVATE
$<$<NOT:$<STREQUAL:${TARGET_MCU_FAMILY},stm32g0xx>>:SynchronousUartStm.hpp>
$<$<STREQUAL:${TARGET_MCU_FAMILY},stm32f7xx>:SynchronousQuadSpiStm.cpp>
$<$<STREQUAL:${TARGET_MCU_FAMILY},stm32f7xx>:SynchronousQuadSpiStm.hpp>
TimeKeeperStm.cpp
TimeKeeperStm.hpp
)
21 changes: 0 additions & 21 deletions hal_st/synchronous_stm32fxxx/TimeKeeperStm.cpp

This file was deleted.

26 changes: 0 additions & 26 deletions hal_st/synchronous_stm32fxxx/TimeKeeperStm.hpp

This file was deleted.

Loading