Skip to content

Commit

Permalink
SkyView Pico: make the V2 version of Waveshare e-Paper Pico adapter t…
Browse files Browse the repository at this point in the history
…o be the default one for RP2040 and ESP32-S3 targets [skip ci]
  • Loading branch information
lyusupov committed May 24, 2023
1 parent d4d0af6 commit a9b0948
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Binary file added documents/images/skyview-46.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documents/images/skyview-47.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion software/firmware/source/SkyView/EEPROMHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void EEPROM_defaults()
else if (SoC->id == SOC_ESP32C3)
eeprom_block.field.settings.adapter = ADAPTER_WAVESHARE_ESP32;
else if (SoC->id == SOC_RP2040 || SoC->id == SOC_ESP32S3)
eeprom_block.field.settings.adapter = ADAPTER_WAVESHARE_PICO_2_7;
eeprom_block.field.settings.adapter = ADAPTER_WAVESHARE_PICO_2_7_V2;
else
#if defined(BUILD_SKYVIEW_HD)
eeprom_block.field.settings.adapter = ADAPTER_TTGO_T5_4_7;
Expand Down
4 changes: 3 additions & 1 deletion software/firmware/source/SkyView/Platform_RP2040.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,10 +583,12 @@ static ep_model_id RP2040_EPD_ident()
* 0x2D:
* FF FF FF FF FF FF FF FF FF FF FF - W3
* 00 00 00 FF 00 00 40 01 00 00 00
* 00 00 00 00 00 00 00 00 00 00 00 - T91
*
* 0x2E:
* FF FF FF FF FF FF FF FF FF FF - W3
* FF FF FF FF FF FF FF FF FF FF
* 00 00 00 00 00 00 00 00 00 00 - T91
*/
#endif

Expand All @@ -603,7 +605,7 @@ static ep_model_id RP2040_EPD_ident()
if (is_ff) {
rval = EP_GDEW027W3;
} else {
rval = EP_GDEY027T91; /* TBD */
rval = EP_GDEY027T91;
}

return rval;
Expand Down

0 comments on commit a9b0948

Please sign in to comment.