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 = 0x40000864 );
8PROVIDE ( esp_rom_tjpgd_prepare = 0x40000858 );
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_get_flash_wp_gpio      = ets_efuse_get_wp_pad );
27PROVIDE ( esp_rom_efuse_is_secure_boot_enabled = ets_efuse_secure_boot_enabled );
28
29PROVIDE ( esp_rom_uart_flush_tx       = uart_tx_flush );
30PROVIDE ( esp_rom_uart_tx_one_char    = uart_tx_one_char );
31PROVIDE ( esp_rom_uart_tx_wait_idle   = uart_tx_wait_idle );
32PROVIDE ( esp_rom_uart_rx_one_char    = uart_rx_one_char );
33PROVIDE ( esp_rom_uart_rx_string      = UartRxString );
34PROVIDE ( esp_rom_uart_set_as_console = uart_tx_switch );
35PROVIDE ( esp_rom_uart_usb_acm_init   = Uart_Init_USB );
36PROVIDE ( esp_rom_uart_putc           = ets_write_char_uart );
37
38PROVIDE ( esp_rom_md5_init   = MD5Init );
39PROVIDE ( esp_rom_md5_update = MD5Update );
40PROVIDE ( esp_rom_md5_final  = MD5Final );
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
47PROVIDE( esp_rom_spiflash_attach = spi_flash_attach );
48