diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-11-05 13:01:55 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-06 18:15:41 +0200 |
commit | 180cef835bf40d0081895773aaa637ac926bb0ac (patch) | |
tree | 48c380d76c0ea40931cb5e863b40fc5dfa1ecba4 /firmware/target/hosted/sdl | |
parent | ced3a20aacf26642ccc3ffd136f64247c67e5769 (diff) | |
download | rockbox-180cef835bf40d0081895773aaa637ac926bb0ac.tar.gz rockbox-180cef835bf40d0081895773aaa637ac926bb0ac.zip |
xDuoo X3II and X20 port
Provided by Roman Stolyarov
Integration, Refactoring, and Upstreaming by Solomon Peachy
X3II confirmed working by forum tester, X20 is nearly identical.
This includes bootloader, main firmware, and the flash image patcher.
Eventual Todo:
* Further refactor AGPTek Rocker & xduoo hiby bootloaders
* Further refactor AGPTek Rocker & xduoo hosted platform code
Change-Id: I34a674051d368efcc75d1d18c725971fe46c3eee
Diffstat (limited to 'firmware/target/hosted/sdl')
-rw-r--r-- | firmware/target/hosted/sdl/sim-ui-defines.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/sim-ui-defines.h b/firmware/target/hosted/sdl/sim-ui-defines.h index 99ae062595..1e96383682 100644 --- a/firmware/target/hosted/sdl/sim-ui-defines.h +++ b/firmware/target/hosted/sdl/sim-ui-defines.h | |||
@@ -521,6 +521,7 @@ | |||
521 | #define UI_HEIGHT 380 | 521 | #define UI_HEIGHT 380 |
522 | #define UI_LCD_POSX 29 | 522 | #define UI_LCD_POSX 29 |
523 | #define UI_LCD_POSY 25 | 523 | #define UI_LCD_POSY 25 |
524 | |||
524 | #elif defined(XDUOO_X3) | 525 | #elif defined(XDUOO_X3) |
525 | #define UI_TITLE "xDuoo X3" | 526 | #define UI_TITLE "xDuoo X3" |
526 | #define UI_WIDTH 192 /* width of GUI window */ | 527 | #define UI_WIDTH 192 /* width of GUI window */ |
@@ -528,6 +529,20 @@ | |||
528 | #define UI_LCD_POSX 34 | 529 | #define UI_LCD_POSX 34 |
529 | #define UI_LCD_POSY 73 | 530 | #define UI_LCD_POSY 73 |
530 | 531 | ||
532 | #elif defined(XDUOO_X3II) | ||
533 | #define UI_TITLE "xDuoo X3ii" | ||
534 | #define UI_WIDTH 322 /* width of GUI window */ | ||
535 | #define UI_HEIGHT 609 /* height of GUI window */ | ||
536 | #define UI_LCD_POSX 43 | ||
537 | #define UI_LCD_POSY 62 | ||
538 | |||
539 | #elif defined(XDUOO_X20) | ||
540 | #define UI_TITLE "xDuoo X20" | ||
541 | #define UI_WIDTH 322 /* width of GUI window */ | ||
542 | #define UI_HEIGHT 609 /* height of GUI window */ | ||
543 | #define UI_LCD_POSX 43 | ||
544 | #define UI_LCD_POSY 62 | ||
545 | |||
531 | #elif defined(IHIFI770) | 546 | #elif defined(IHIFI770) |
532 | #define UI_TITLE "iHiFi 770" | 547 | #define UI_TITLE "iHiFi 770" |
533 | #define UI_WIDTH 382 /* width of GUI window */ | 548 | #define UI_WIDTH 382 /* width of GUI window */ |
@@ -554,4 +569,3 @@ | |||
554 | #endif | 569 | #endif |
555 | 570 | ||
556 | #endif /* #ifndef __UISDL_H__ */ | 571 | #endif /* #ifndef __UISDL_H__ */ |
557 | |||