1/**
2 * ROM APIs
3 */
4
5/* user may provide newer version of tjpgd */
6/* so here directly assign the symbols with the ROM API address to make sure one from rom is correctly linked */
7PROVIDE ( esp_rom_tjpgd_decomp = 0x400613e8 );
8PROVIDE ( esp_rom_tjpgd_prepare = 0x40060fa8 );
9
10PROVIDE ( esp_rom_crc32_le = crc32_le );
11PROVIDE ( esp_rom_crc16_le = crc16_le );
12PROVIDE ( esp_rom_crc8_le  = crc8_le );
13PROVIDE ( esp_rom_crc32_be = crc32_be );
14PROVIDE ( esp_rom_crc16_be = crc16_be );
15PROVIDE ( esp_rom_crc8_be  = crc8_be );
16
17PROVIDE ( esp_rom_gpio_pad_select_gpio    = gpio_pad_select_gpio );
18PROVIDE ( esp_rom_gpio_pad_pullup_only    = gpio_pad_pullup );
19PROVIDE ( esp_rom_gpio_pad_set_drv        = gpio_pad_set_drv );
20PROVIDE ( esp_rom_gpio_pad_unhold         = gpio_pad_unhold );
21PROVIDE ( esp_rom_gpio_connect_in_signal  = gpio_matrix_in );
22PROVIDE ( esp_rom_gpio_connect_out_signal = gpio_matrix_out );
23
24PROVIDE ( esp_rom_efuse_mac_address_crc8       = esp_crc8 );
25PROVIDE ( esp_rom_efuse_get_flash_gpio_info    = ets_efuse_get_spiconfig );
26PROVIDE ( esp_rom_efuse_is_secure_boot_enabled = ets_efuse_secure_boot_enabled );
27
28PROVIDE ( esp_rom_uart_flush_tx       = uart_tx_flush );
29PROVIDE ( esp_rom_uart_tx_one_char    = uart_tx_one_char );
30PROVIDE ( esp_rom_uart_tx_wait_idle   = uart_tx_wait_idle );
31PROVIDE ( esp_rom_uart_rx_one_char    = uart_rx_one_char );
32PROVIDE ( esp_rom_uart_rx_string      = UartRxString );
33PROVIDE ( esp_rom_uart_set_as_console = uart_tx_switch );
34PROVIDE ( esp_rom_uart_putc           = ets_write_char_uart );
35
36/* wpa_supplicant re-implements the MD5 functions: MD5Init, MD5Update, MD5Final */
37/* so here we directly assign the symbols with the ROM API address */
38PROVIDE ( esp_rom_md5_init   = 0x4005da7c );
39PROVIDE ( esp_rom_md5_update = 0x4005da9c );
40PROVIDE ( esp_rom_md5_final  = 0x4005db1c );
41
42PROVIDE ( esp_rom_printf   = ets_printf );
43PROVIDE ( esp_rom_delay_us = ets_delay_us );
44PROVIDE ( esp_rom_install_uart_printf = ets_install_uart_printf );
45PROVIDE ( esp_rom_get_reset_reason = rtc_get_reset_reason );
46