Skip to content

Commit c344d48

Browse files
authored
Update devices.h
1 parent 05ff3fe commit c344d48

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

ports/atmel-samd/external_flash/devices.h

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -180,30 +180,13 @@ typedef struct {
180180
.write_status_register_split = false, \
181181
}
182182

183-
// Settings for the Winbond W25Q16JV 2MiB SPI flash. Note that JV-IQ has a different .memory_type (0x40)
184-
// Datasheet: https://www.winbond.com/resource-files/w25q16jv%20spi%20revf%2005092017.pdf
185-
#define W25Q16JV_IQ {\
186-
.total_size = (1 << 21), /* 2 MiB */ \
187-
.start_up_time_us = 5000, \
188-
.manufacturer_id = 0xef, \
189-
.memory_type = 0x40, \
190-
.capacity = 0x15, \
191-
.max_clock_speed_mhz = 133, \
192-
.has_sector_protection = false, \
193-
.supports_fast_read = true, \
194-
.supports_qspi = true, \
195-
.has_quad_enable = true, \
196-
.supports_qspi_writes = true, \
197-
.write_status_register_split = false, \
198-
}
183+
// Settings for the Winbond W25Q16JV 2MiB SPI flash.
199184

200-
// Settings for the Winbond W25Q16JV_IM 2MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
201-
// Datasheet: https://www.winbond.com/resource-files/w25q16jv%20spi%20revf%2005092017.pdf
202-
#define W25Q16JV_IM {\
185+
#define W25Q16JV {\
203186
.total_size = (1 << 21), /* 2 MiB */ \
204187
.start_up_time_us = 5000, \
205188
.manufacturer_id = 0xef, \
206-
.memory_type = 0x70, \
189+
.memory_type = 0x40, \
207190
.capacity = 0x15, \
208191
.max_clock_speed_mhz = 133, \
209192
.has_sector_protection = false, \
@@ -282,4 +265,6 @@ typedef struct {
282265
.write_status_register_split = false, \
283266
}
284267

268+
269+
285270
#endif // MICROPY_INCLUDED_ATMEL_SAMD_EXTERNAL_FLASH_DEVICES_H

0 commit comments

Comments
 (0)