Skip to content
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

New clock switch schema, fixes random core2 crashes #3008

Merged
merged 40 commits into from
Sep 19, 2023
Merged

Conversation

skotopes
Copy link
Member

@skotopes skotopes commented Aug 23, 2023

What's new

  • New clock switch schema, fixes random core2 crashes

Verification

  • Full set of tests

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@skotopes skotopes marked this pull request as draft August 23, 2023 22:03
@github-actions
Copy link

github-actions bot commented Aug 30, 2023

Compiled firmware for commit 9641a16d:

hedger and others added 11 commits September 1, 2023 06:20
* Disconnect from BLE on protobuf error
* Set profile instead of disconnecting and add logging

Co-authored-by: あく <[email protected]>
* added filename mode setting
* added furi_flag checks for when filename_mode is set
* changed naming for ibutton, lfrfid and subghz
* requested changes from PR
* Lib: gather all naming bits and pieces under name generator module. Properly bump api version. FuriHal: fix RTC flag enum.
* PR requested changes
* bug fix for arg type
* added functionality for other application scenes
* Lib: cleanup name generator API, simplify usage. Sync API symbols.
* Lib: proper size type in name_generator. Cleanup.
* FuriHal: cleanup rtc api usage across firmware

Co-authored-by: あく <[email protected]>
* Storage: count opened files
* Storage: sd mount
* Storage: prompt to mount SD card if not mounted
* F18: update API
* F18: update API version
* Fix logger naming scheme
* Storage: storage_files_count -> storage_open_files_count

Co-authored-by: あく <[email protected]>
@skotopes skotopes changed the title Alternative clocking scheme New clock switch schema, fixes random core2 crashes Sep 17, 2023
@github-actions
Copy link

github-actions bot commented Sep 17, 2023

Compiled f7 firmware for commit 1bf8117b:

@skotopes skotopes marked this pull request as ready for review September 19, 2023 04:22
@hedger hedger merged commit 338fc3a into dev Sep 19, 2023
@hedger hedger deleted the aku/alt_clocking branch September 19, 2023 14:22
RebornedBrain pushed a commit to RebornedBrain/flipperzero-firmware that referenced this pull request Sep 21, 2023
)

* Updated stack to 1.17.0

* hal: ble: Fixed stack config

* Bumped stack version in config

* scripts: added validation of copro stack version in update bundles

* Copro: update to 1.17.2

* FuriHal: adjust tick frequency for HSE as sys clk

* FuriHal: adjust systick reload on sys clock change

* Sync api and format sources

* scripts: updated ob.data for newer stack

* FuriHal: return core2 hse pll transition on deep sleep

* FuriHal: cleanup ble glue

* FuriHal: rework ble glue, allow shci_send in critical section

* FuriHal: sync api symbols

* FuriHal: cleanup BLE glue, remove unused garbage and duplicate declarations

* FuriHal: BLE glue cleanup, 2nd iteration

* FuriHal: hide tick drift reports under FURI_HAL_OS_DEBUG

* Lib: sync stm32wb_copro with latest dev

* FuriHal: ble-glue, slightly less editable device name and duplicate definition cleanup

* FuriHal: update ble config options, enable some optimizations and ext adv

* FuriHal: update clock switch method documentation

* FuriHal: better SNBRSA bug workaround fix

* FuriHal: complete comment about tick skew

* FuriHal: proper condition in clock hsi2hse transition

* FuriHal: move PLL start to hse2pll routine, fix lockup caused by core2 switching to HSE before us

* FuriHal: explicit HSE start before switch

* FuriHal: fix documentation and move flash latency change to later stage, remove duplicate LL_RCC_SetRFWKPClockSource call

---------

Co-authored-by: hedger <[email protected]>
Co-authored-by: hedger <[email protected]>
@hedger hedger added Bug Core+Services HAL, furi & core system services labels Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Core+Services HAL, furi & core system services
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants