1/** ROM APIs
2 */
3
4/* user may provide newer version of tjpgd */
5/* so here directly assign the symbols with the ROM API address to make sure one from rom is correctly linked */
6PROVIDE ( esp_rom_tjpgd_decomp = 0x40000108 );
7PROVIDE ( esp_rom_tjpgd_prepare = 0x40000104 );
8
9PROVIDE ( esp_rom_crc32_le = crc32_le );
10PROVIDE ( esp_rom_crc16_le = crc16_le );
11PROVIDE ( esp_rom_crc8_le  = crc8_le );
12PROVIDE ( esp_rom_crc32_be = crc32_be );
13PROVIDE ( esp_rom_crc16_be = crc16_be );
14PROVIDE ( esp_rom_crc8_be  = crc8_be );
15
16PROVIDE ( esp_rom_gpio_pad_select_gpio    = gpio_pad_select_gpio );
17PROVIDE ( esp_rom_gpio_pad_pullup_only    = gpio_pad_pullup );
18PROVIDE ( esp_rom_gpio_pad_set_drv        = gpio_pad_set_drv );
19PROVIDE ( esp_rom_gpio_pad_unhold         = gpio_pad_unhold );
20PROVIDE ( esp_rom_gpio_connect_in_signal  = gpio_matrix_in );
21PROVIDE ( esp_rom_gpio_connect_out_signal = gpio_matrix_out );
22
23PROVIDE ( esp_rom_efuse_mac_address_crc8       = esp_crc8 );
24PROVIDE ( esp_rom_efuse_get_flash_gpio_info    = ets_efuse_get_spiconfig );
25PROVIDE ( esp_rom_efuse_is_secure_boot_enabled = ets_efuse_secure_boot_enabled );
26PROVIDE ( esp_rom_efuse_get_flash_wp_gpio      = ets_efuse_get_wp_pad );
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_putc           = ets_write_char_uart );
34
35
36PROVIDE ( esp_rom_md5_init   = MD5Init );
37PROVIDE ( esp_rom_md5_update = MD5Update );
38PROVIDE ( esp_rom_md5_final  = MD5Final );
39
40PROVIDE ( esp_rom_printf   = ets_printf );
41PROVIDE ( esp_rom_delay_us = ets_delay_us );
42PROVIDE ( esp_rom_get_reset_reason = rtc_get_reset_reason );
43