mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp32 cpu_start: Include rom/uart.h, remove inline ROM function declarations
This commit is contained in:
parent
3061ae40c0
commit
7ba471d531
@ -18,6 +18,7 @@
|
|||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
|
|
||||||
#include "rom/ets_sys.h"
|
#include "rom/ets_sys.h"
|
||||||
|
#include "rom/uart.h"
|
||||||
|
|
||||||
#include "soc/dport_reg.h"
|
#include "soc/dport_reg.h"
|
||||||
#include "soc/io_mux_reg.h"
|
#include "soc/io_mux_reg.h"
|
||||||
@ -59,11 +60,6 @@ We arrive here after the bootloader finished loading the program from flash. The
|
|||||||
flash cache is down and the app CPU is in reset. We do have a stack, so we can do the initialization in C.
|
flash cache is down and the app CPU is in reset. We do have a stack, so we can do the initialization in C.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void Uart_Init(int no);
|
|
||||||
void uartAttach();
|
|
||||||
void ets_set_appcpu_boot_addr(uint32_t ent);
|
|
||||||
int ets_getAppEntry();
|
|
||||||
|
|
||||||
static bool app_cpu_started = false;
|
static bool app_cpu_started = false;
|
||||||
|
|
||||||
void IRAM_ATTR call_user_start_cpu0() {
|
void IRAM_ATTR call_user_start_cpu0() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user