2020-06-19 03:08:38 -04:00
|
|
|
/**
|
|
|
|
* ROM APIs
|
|
|
|
*/
|
|
|
|
|
2021-08-27 03:28:48 -04:00
|
|
|
/* user may provide newer version of tjpgd */
|
|
|
|
/* so here directly assign the symbols with the ROM API address to make sure one from rom is correctly linked */
|
|
|
|
PROVIDE ( esp_rom_tjpgd_decomp = 0x400613e8 );
|
|
|
|
PROVIDE ( esp_rom_tjpgd_prepare = 0x40060fa8 );
|
|
|
|
|
2020-06-19 03:08:38 -04:00
|
|
|
PROVIDE ( esp_rom_crc32_le = crc32_le );
|
|
|
|
PROVIDE ( esp_rom_crc16_le = crc16_le );
|
|
|
|
PROVIDE ( esp_rom_crc8_le = crc8_le );
|
|
|
|
PROVIDE ( esp_rom_crc32_be = crc32_be );
|
|
|
|
PROVIDE ( esp_rom_crc16_be = crc16_be );
|
|
|
|
PROVIDE ( esp_rom_crc8_be = crc8_be );
|
2020-06-19 00:00:58 -04:00
|
|
|
|
|
|
|
PROVIDE ( esp_rom_gpio_pad_select_gpio = gpio_pad_select_gpio );
|
|
|
|
PROVIDE ( esp_rom_gpio_pad_pullup_only = gpio_pad_pullup );
|
|
|
|
PROVIDE ( esp_rom_gpio_pad_set_drv = gpio_pad_set_drv );
|
|
|
|
PROVIDE ( esp_rom_gpio_pad_unhold = gpio_pad_unhold );
|
|
|
|
PROVIDE ( esp_rom_gpio_connect_in_signal = gpio_matrix_in );
|
|
|
|
PROVIDE ( esp_rom_gpio_connect_out_signal = gpio_matrix_out );
|
2020-07-13 09:57:24 -04:00
|
|
|
|
|
|
|
PROVIDE ( esp_rom_efuse_mac_address_crc8 = esp_crc8 );
|
|
|
|
PROVIDE ( esp_rom_efuse_get_flash_gpio_info = ets_efuse_get_spiconfig );
|
|
|
|
PROVIDE ( esp_rom_efuse_is_secure_boot_enabled = ets_efuse_secure_boot_enabled );
|
2020-07-13 09:33:23 -04:00
|
|
|
|
|
|
|
PROVIDE ( esp_rom_uart_flush_tx = uart_tx_flush );
|
|
|
|
PROVIDE ( esp_rom_uart_tx_one_char = uart_tx_one_char );
|
|
|
|
PROVIDE ( esp_rom_uart_tx_wait_idle = uart_tx_wait_idle );
|
|
|
|
PROVIDE ( esp_rom_uart_rx_one_char = uart_rx_one_char );
|
|
|
|
PROVIDE ( esp_rom_uart_rx_string = UartRxString );
|
|
|
|
PROVIDE ( esp_rom_uart_set_as_console = uart_tx_switch );
|
2020-07-21 01:07:34 -04:00
|
|
|
PROVIDE ( esp_rom_uart_putc = ets_write_char_uart );
|
2020-07-21 05:01:28 -04:00
|
|
|
|
|
|
|
/* wpa_supplicant re-implements the MD5 functions: MD5Init, MD5Update, MD5Final */
|
|
|
|
/* so here we directly assign the symbols with the ROM API address */
|
|
|
|
PROVIDE ( esp_rom_md5_init = 0x4005da7c );
|
|
|
|
PROVIDE ( esp_rom_md5_update = 0x4005da9c );
|
|
|
|
PROVIDE ( esp_rom_md5_final = 0x4005db1c );
|
2020-07-21 01:07:34 -04:00
|
|
|
|
|
|
|
PROVIDE ( esp_rom_printf = ets_printf );
|
|
|
|
PROVIDE ( esp_rom_delay_us = ets_delay_us );
|
2020-12-01 22:43:13 -05:00
|
|
|
PROVIDE ( esp_rom_install_uart_printf = ets_install_uart_printf );
|
2021-07-12 22:45:06 -04:00
|
|
|
PROVIDE ( esp_rom_get_reset_reason = rtc_get_reset_reason );
|
2022-01-17 04:44:25 -05:00
|
|
|
PROVIDE ( esp_rom_route_intr_matrix = intr_matrix_set );
|
|
|
|
PROVIDE ( esp_rom_get_cpu_ticks_per_us = ets_get_cpu_frequency );
|
2021-11-26 03:04:49 -05:00
|
|
|
|
|
|
|
PROVIDE ( esp_rom_spiflash_set_bp = esp_rom_spiflash_lock );
|
|
|
|
PROVIDE ( esp_rom_spiflash_write_enable = SPI_write_enable);
|
2022-01-05 01:08:37 -05:00
|
|
|
|
|
|
|
PROVIDE ( esp_rom_regi2c_read = rom_i2c_readReg );
|
|
|
|
PROVIDE ( esp_rom_regi2c_read_mask = rom_i2c_readReg_Mask );
|
|
|
|
PROVIDE ( esp_rom_regi2c_write = rom_i2c_writeReg );
|
|
|
|
PROVIDE ( esp_rom_regi2c_write_mask = rom_i2c_writeReg_Mask );
|