diff options
author | robert-hh <robert@hammelrath.com> | 2025-04-09 18:07:24 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-05-07 16:19:48 +1000 |
commit | 2e6df08e05f4832806f062c56f78c5412fd37ceb (patch) | |
tree | 163c7fe9eca64b397dba5fb4701f185d6fa04d38 /docs/esp8266/tutorial/pwm.rst | |
parent | c22c2c806694dbce55cfe484b1b9e55af33bb950 (diff) | |
download | micropython-2e6df08e05f4832806f062c56f78c5412fd37ceb.tar.gz micropython-2e6df08e05f4832806f062c56f78c5412fd37ceb.zip |
samd/samd_spiflash: Improve the flash type detection.
Changes in this commit:
- Check for the proper SFDP header.
- Use the flash size information from SFDP, if present.
- Add two more special flash chips <= 1 MByte without SFDP. JEDEC-ID table
for special flash types instead of a series of conditional statements.
- Add a compile flag `MICROPY_HW_SPIFLASH_SIZE` to set the size in
`mpconfigboard.h`, which replaces getting the size from the JEDEC ID or
the SFDP record.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'docs/esp8266/tutorial/pwm.rst')
0 files changed, 0 insertions, 0 deletions