diff --git a/firmware/export/config.h b/firmware/export/config.h index 0a10b59f52..51e0f7a17b 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -599,6 +599,8 @@ Lyre prototype 1 */ #include "config/sonynwza860.h" #elif defined(SONY_NWZS750) #include "config/sonynwzs750.h" +#elif defined(SONY_NWZE350) +#include "config/sonynwze350.h" #else /* no known platform */ #endif diff --git a/firmware/export/config/sonynwze350.h b/firmware/export/config/sonynwze350.h new file mode 100644 index 0000000000..d779052f6d --- /dev/null +++ b/firmware/export/config/sonynwze350.h @@ -0,0 +1,16 @@ +/* + * This config file is for the Sony NWZ-E350 series + */ + +/* For Rolo and boot loader */ +#define MODEL_NUMBER 109 + +#define MODEL_NAME "Sony NWZ-E350 Series" + +/* LCD dimensions */ +#define LCD_WIDTH 240 +#define LCD_HEIGHT 320 +/* sqrt(240^2 + 320^2) / 2 = 200 */ +#define LCD_DPI 200 + +#include "sonynwzlinux.h" diff --git a/rbutil/mknwzboot/mknwzboot.c b/rbutil/mknwzboot/mknwzboot.c index 2e574a94d7..22885674d8 100644 --- a/rbutil/mknwzboot/mknwzboot.c +++ b/rbutil/mknwzboot/mknwzboot.c @@ -45,6 +45,7 @@ struct nwz_model_desc_t static const struct nwz_model_desc_t nwz_models[] = { + { "Sony NWZ-E350 Series", "e350", 109, "nwz-e350" }, { "Sony NWZ-E450 Series", "e450", 100, "nwz-e450" }, { "Sony NWZ-E460 Series", "e460", 101, "nwz-e460" }, { "Sony NWZ-E470 Series", "e470", 103, "nwz-e470" }, diff --git a/tools/configure b/tools/configure index 6e44adef16..bd5fba6607 100755 --- a/tools/configure +++ b/tools/configure @@ -1504,17 +1504,17 @@ cat <