-
Notifications
You must be signed in to change notification settings - Fork 3k
LoRa SX1276 LoRaWAN Sleep Mode Low Power Fix #15180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@hallard, thank you for your changes. |
connectivity/drivers/lora/COMPONENT_SX1276/SX1276_LoRaRadio.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a squash could be nice :-)
for custom boards like RAK811
… destructed. Fixed by removing timeout event from event queue on close/destruction.
Fix the following issues in TF-M to avoid emergence in the future: 1. Enable initial stack not located in SRAM bank0 On reset, only SRAM bank0 is enabled. And SRAM bank1/2 will be enabled in immediately following SystemInit(). When initial stack is located in SRAM bank1/2, we will meet trouble because SystemInit() itself needs to use initial stack. To conquer the dilemma, we add preceding code in front of original Systeminit(), which is responsible for enabling SRAM bank1/2 and guarantees no using initial stack. 2. Fix sector maps of internal/external (SDH) Flash are incompatible, caused by TF-M's MCUboot port. This is done by adapting external (SDH) Flash sector size to internal Flash's. 3. Enlarge firmware upgrade scratch size. There are two advantages: (1) Get around MCUboot limit which requires scratch size not smaller than image trailer size (2) Improve wear leveling for the scratch area
looks like still not expert of rebase/squash I suggest applying Merge/Squash when merging instead it becomes worst if I try again |
author Charles <[email protected]> 1637881721 +0100 committer Charles <[email protected]> 1638183821 +0100 parent bfa4f12 author Charles <[email protected]> 1637881721 +0100 committer Charles <[email protected]> 1638183722 +0100 Fixe Low Power high consumption Check TCXO available added TCXO startup delay STM32L1: add support of MCU_STM32L151xB for custom boards like RAK811 Allow STM32F7 targets without Ethernet Support different STM32F7 flash configurations Support missing SPI6 on STM32F7 Add STM32F722ZE target DTLSSocket handshake timeout calls object functions even if object is destructed. Fixed by removing timeout event from event queue on close/destruction. B_U585I_IOT02A supports OSPI M2354: Fix potential issues in TF-M Fix the following issues in TF-M to avoid emergence in the future: 1. Enable initial stack not located in SRAM bank0 On reset, only SRAM bank0 is enabled. And SRAM bank1/2 will be enabled in immediately following SystemInit(). When initial stack is located in SRAM bank1/2, we will meet trouble because SystemInit() itself needs to use initial stack. To conquer the dilemma, we add preceding code in front of original Systeminit(), which is responsible for enabling SRAM bank1/2 and guarantees no using initial stack. 2. Fix sector maps of internal/external (SDH) Flash are incompatible, caused by TF-M's MCUboot port. This is done by adapting external (SDH) Flash sector size to internal Flash's. 3. Enlarge firmware upgrade scratch size. There are two advantages: (1) Get around MCUboot limit which requires scratch size not smaller than image trailer size (2) Improve wear leveling for the scratch area Update Mbed version block Fixe Low Power high consumption Fix CI added TCXO startup delay
28d16a8
to
cf52184
Compare
Replaced by #15181 |
Summary of changes
Fix sx1276 #227
May be same patch could be applied to #14224 (sx1272 and sx126x) but I have nothing to test
Impact of changes
Management of TCXO is now working fine
return DIO mapping of sx1276 to low power state
Migration actions required
Documentation
Pull request type
Test results
Reviewers
@0xc0170 , @jeromecoutant , @MarceloSalazar