Fix race conditions on SPI and integrate the SPI NOR Flash driver into DFUService (WIP)
This commit is contained in:
parent
0b8e6c3fa2
commit
ee05577dd6
12 changed files with 257 additions and 48 deletions
|
|
@ -74,6 +74,9 @@ void LittleVgl::SetFullRefresh(FullRefreshDirections direction) {
|
|||
|
||||
void LittleVgl::FlushDisplay(const lv_area_t *area, lv_color_t *color_p) {
|
||||
ulTaskNotifyTake(pdTRUE, 500);
|
||||
// NOtification is still needed (even if there is a mutex on SPI) because of the DataCommand pin
|
||||
// which cannot be set/clear during a transfert.
|
||||
|
||||
|
||||
// TODO refactore and remove duplicated code
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue