okhsunrog e732c5083f stm32: add async flash support for G0/G4
Add interrupt-driven async flash operations for STM32G0 and STM32G4
series, enabling non-blocking erase and write operations when using
dual-bank flash (code runs from bank 1 while operating on bank 2).

Changes:
- Add WAKER, on_interrupt, async write/erase/wait_ready to g.rs
- Add data cache handling for G4 (disable during flash ops, reset after)
- Enable async flash module for G0/G4 in mod.rs
- Add flash_async example for G0
- Add new stm32g474 example directory with flash_async example

Tested on NUCLEO-G474RE.
2026-01-21 02:49:02 +03:00
..