flipperzero-firmware icon indicating copy to clipboard operation
flipperzero-firmware copied to clipboard

FuriHal: UART refactoring

Open skotopes opened this issue 8 months ago • 4 comments

What's new

  • FuriHal: UART refactoring

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 avatar Nov 12 '23 08:11 skotopes

Compiled f7 firmware for commit d9aa2655:

github-actions[bot] avatar Nov 12 '23 08:11 github-actions[bot]

Just want to make sure I'm reading this right and understand the impact - this will break all apps that use uart until they migrate to the new API?

And once this merges, I have to decide if I want to support either dev or release SDK, but not both for a while?

0xchocolate avatar Dec 12 '23 04:12 0xchocolate

Compiled f7 firmware for commit e6b6af02:

Tetr0N avatar Dec 14 '23 13:12 Tetr0N

Just want to make sure I'm reading this right and understand the impact - this will break all apps that use uart until they migrate to the new API?

And once this merges, I have to decide if I want to support either dev or release SDK, but not both for a while?

Yes.

We've designed app catalog flow in a way that it's not going to impact users, all you need is to submit app in advance.

skotopes avatar Dec 23 '23 13:12 skotopes

Porting to new API example: https://github.com/skotopes/flipperzero_mhz19_uart/commit/9612b6fcac2db9f819db0aad3683a95db5ff28ea

skotopes avatar Jan 29 '24 13:01 skotopes

Hello! It is possible to add ext function for uart initialization? With additional parameters, like parity, number stop bit, inverse level of channels( RXINV and TXINV)? Inverse level is frequently needed for some 1-wire uart physical impementation. Thank you.

andreww24 avatar Mar 14 '24 22:03 andreww24