mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-04 18:03:20 +03:00
Fix uboot startup
This commit is contained in:
parent
c66a60d972
commit
bdf24031eb
@ -18,7 +18,7 @@ OBJDUMP := $(XTENSA_TOOCHAIN)xtensa-lx106-elf-objdump
|
|||||||
|
|
||||||
CFLAGS += -std=gnu99
|
CFLAGS += -std=gnu99
|
||||||
|
|
||||||
CFLAGS += -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mno-text-section-literals
|
CFLAGS += -O0 -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mno-text-section-literals
|
||||||
|
|
||||||
LDFLAGS += -nostdlib -Wl,--no-check-sections -umain
|
LDFLAGS += -nostdlib -Wl,--no-check-sections -umain
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ int copy_raw(const uint32_t src_addr,
|
|||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
int res;
|
int res = 9;
|
||||||
struct eboot_command cmd;
|
struct eboot_command cmd;
|
||||||
|
|
||||||
eboot_command_read(&cmd);
|
eboot_command_read(&cmd);
|
||||||
|
Binary file not shown.
@ -4,7 +4,7 @@ MEMORY
|
|||||||
{
|
{
|
||||||
dport0_0_seg : org = 0x3FF00000, len = 0x10
|
dport0_0_seg : org = 0x3FF00000, len = 0x10
|
||||||
dram0_0_seg : org = 0x3FFE8000, len = 0x14000
|
dram0_0_seg : org = 0x3FFE8000, len = 0x14000
|
||||||
iram1_0_seg : org = 0x4010f800, len = 0x800
|
iram1_0_seg : org = 0x4010f000, len = 0x1000
|
||||||
irom0_0_seg : org = 0x40240000, len = 0x32000
|
irom0_0_seg : org = 0x40240000, len = 0x32000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user