2019-12-25 04:32:12 -05:00
|
|
|
# This example supports running on the SPI1 bus, which is shared with SPI flash accessed by the
|
|
|
|
# cache. When doing transaction on SPI1 bus, data cannot be fetched from the flash, so all the data
|
|
|
|
# used during this time should be put into the internal RAM.
|
|
|
|
|
|
|
|
[mapping:eeprom]
|
|
|
|
archive: libeeprom.a
|
|
|
|
entries:
|
2023-10-17 00:11:42 -04:00
|
|
|
if EXAMPLE_USE_SPI1_PINS = y:
|
|
|
|
* (noflash)
|
2023-11-07 21:51:04 -05:00
|
|
|
# Following code are not used during SPI1 bus or bus option
|
|
|
|
spi_eeprom: eeprom_wait_done_by_intr (default)
|
|
|
|
spi_eeprom: spi_eeprom_deinit (default)
|
|
|
|
spi_eeprom: spi_eeprom_init (default)
|
2019-12-25 04:32:12 -05:00
|
|
|
|
|
|
|
[mapping:ext_newlib]
|
|
|
|
archive: libnewlib.a
|
|
|
|
entries:
|
2023-10-17 00:11:42 -04:00
|
|
|
if EXAMPLE_USE_SPI1_PINS = y:
|
|
|
|
time:usleep (noflash)
|