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 amp-embedded-infra-lib
2 changes: 1 addition & 1 deletion amp-hal-st
Submodule amp-hal-st updated 69 files
+1 −1 .devcontainer/Dockerfile
+2 −0 .github/dependabot.yml
+25 −25 .github/workflows/ci.yml
+4 −4 .github/workflows/linting-formatting.yml
+2 −2 .github/workflows/release-please.yml
+2 −2 .github/workflows/security.yml
+4 −4 .github/workflows/update-emil-git-tag.yml
+84 −0 .github/workflows/validate-pr.yml
+1 −1 CMakeLists.txt
+ examples/sesame/ExamplePeerA.key
+ examples/sesame/ExamplePeerB.key
+9 −1 hal_st/cortex/FaultTracer.cpp
+1 −1 hal_st/middlewares/ble_middleware/BleDtmSt.cpp
+1 −1 hal_st/middlewares/ble_middleware/BleDtmSt.hpp
+4 −15 hal_st/middlewares/ble_middleware/GapSt.cpp
+1 −6 hal_st/middlewares/ble_middleware/GapSt.hpp
+46 −34 hal_st/middlewares/ble_middleware/GattClientSt.cpp
+7 −3 hal_st/middlewares/ble_middleware/GattClientSt.hpp
+7 −6 hal_st/middlewares/ble_middleware/GattServerSt.cpp
+3 −0 hal_st/middlewares/ble_middleware/GattServerSt.hpp
+5 −5 hal_st/middlewares/ble_middleware/SystemTransportLayerWb.cpp
+1 −1 hal_st/middlewares/ble_middleware/SystemTransportLayerWb.hpp
+9 −9 hal_st/middlewares/ble_middleware/SystemTransportLayerWba.cpp
+1 −1 hal_st/middlewares/ble_middleware/SystemTransportLayerWba.hpp
+6 −0 hal_st/middlewares/ble_middleware/TracingGattClientSt.cpp
+1 −0 hal_st/middlewares/ble_middleware/TracingGattClientSt.hpp
+1 −0 hal_st/stm32fxxx/AnalogToDigitalPinStm.cpp
+5 −1 hal_st/stm32fxxx/BackupRamStm.cpp
+6 −0 hal_st/stm32fxxx/CMakeLists.txt
+1 −1 hal_st/stm32fxxx/DigitalToAnalogPinStm.cpp
+1 −1 hal_st/stm32fxxx/DigitalToAnalogPinStm.hpp
+8 −5 hal_st/stm32fxxx/DmaStm.cpp
+2 −2 hal_st/stm32fxxx/DmaStm.hpp
+22 −5 hal_st/stm32fxxx/EthernetMacH5xxStm.cpp
+24 −6 hal_st/stm32fxxx/EthernetMacStm.cpp
+3 −2 hal_st/stm32fxxx/EthernetMacStm.hpp
+17 −151 hal_st/stm32fxxx/EthernetSmiStm.cpp
+8 −41 hal_st/stm32fxxx/EthernetSmiStm.hpp
+103 −91 hal_st/stm32fxxx/FlashInternalHighCycleAreaStm.cpp
+46 −21 hal_st/stm32fxxx/FlashInternalHighCycleAreaStm.hpp
+0 −17 hal_st/stm32fxxx/FlashInternalStmBle.cpp
+0 −2 hal_st/stm32fxxx/FlashInternalStmBle.hpp
+71 −4 hal_st/stm32fxxx/GeneratePeripheralTableCpp.xsl
+1 −1 hal_st/stm32fxxx/GeneratePeripheralTableHpp.xsl
+24 −0 hal_st/stm32fxxx/HighCycleAreaOrOtpIrqHandler.cpp
+22 −0 hal_st/stm32fxxx/HighCycleAreaOrOtpIrqHandler.hpp
+120 −0 hal_st/stm32fxxx/OneTimeProgrammableFlashStm.cpp
+57 −0 hal_st/stm32fxxx/OneTimeProgrammableFlashStm.hpp
+125 −0 hal_st/stm32fxxx/SmiBusStm.cpp
+37 −0 hal_st/stm32fxxx/SmiBusStm.hpp
+1 −1 hal_st/stm32fxxx/TimerStm.hpp
+4 −0 hal_st/synchronous_stm32fxxx/CMakeLists.txt
+26 −0 hal_st/synchronous_stm32fxxx/SynchronousFlashInternalHighCycleAreaStm.cpp
+35 −0 hal_st/synchronous_stm32fxxx/SynchronousFlashInternalHighCycleAreaStm.hpp
+24 −0 hal_st/synchronous_stm32fxxx/SynchronousOneTimeProgrammableFlashStm.cpp
+32 −0 hal_st/synchronous_stm32fxxx/SynchronousOneTimeProgrammableFlashStm.hpp
+1 −0 hal_st/synchronous_stm32fxxx/SynchronousSpiMasterStm.cpp
+1 −1 hal_st_lwip/instantiations_lwip/EthernetSmiObserver.cpp
+2 −2 integration_test/flasher/FirmwareSender.hpp
+1 −1 integration_test/flasher/Main.cpp
+0 −5 integration_test/logic/CMakeLists.txt
+0 −191 integration_test/logic/Flash.cpp
+0 −80 integration_test/logic/Flash.hpp
+0 −46 integration_test/logic/Flash.proto
+1 −1 integration_test/logic/Tester.hpp
+0 −13 integration_test/logic/test/CMakeLists.txt
+0 −142 integration_test/logic/test/TestFlash.cpp
+2 −2 integration_test/tester/Tester.hpp
+2 −2 services/st_util/StBootloaderCommunicatorUart.cpp
7 changes: 3 additions & 4 deletions postmaster/programmer/FirmwareReceptorResetTarget.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "hal/interfaces/Gpio.hpp"
#include "infra/timer/Timer.hpp"
#include "infra/util/AutoResetFunction.hpp"
#include "infra/util/Optional.hpp"
#include "infra/util/ProxyCreator.hpp"
#include "postmaster/programmer/FirmwareReceptor.hpp"

Expand All @@ -13,9 +12,9 @@ namespace application
public:
FirmwareReceptorResetTarget(hal::GpioPin& reset, hal::GpioPin& boot0, infra::CreatorBase<FirmwareReceptor, void()>& delegateCreator);

virtual void ReceptionStarted() override;
virtual void DataReceived(infra::SharedPtr<infra::StreamReaderWithRewinding>&& reader) override;
virtual void ReceptionStopped(const infra::Function<void()>& onDone) override;
void ReceptionStarted() override;
void DataReceived(infra::SharedPtr<infra::StreamReaderWithRewinding>&& reader) override;
void ReceptionStopped(const infra::Function<void()>& onDone) override;

private:
hal::GpioPin& reset;
Expand Down
2 changes: 1 addition & 1 deletion postmaster/programmer/TargetUartConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace application
{
serial.ReceiveData([this](infra::ConstByteRange data)
{
data.shrink_from_back_to(queue.EmptySize() - queue.Size());
data.shrink_from_back_to(queue.Capacity() - queue.Size());
queue.AddFromInterrupt(data);
});
}
Expand Down
Loading