test
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
*.bin
|
||||
*.hex
|
||||
*.elf
|
||||
*.bin.xz
|
||||
|
||||
+3
-3
@@ -1460,15 +1460,15 @@ OBJ_LIST += $(SRC_SO)
|
||||
test_target: prerequirement $(SRC_O) $(SRC_SO)
|
||||
|
||||
application: test_target
|
||||
$(CC) -o project.elf -L./../libs \
|
||||
@$(CC) -o project.elf -L./../libs \
|
||||
-u user_main -march=ck803 -mcpu=ck803s -g -Wl,--gc-sections -Wl,-zmax-page-size=1024 \
|
||||
-Xlinker -Map=project.map \
|
||||
-Wl,--start-group $(OBJ_LIST) \
|
||||
$(LDFLAGS) -Wl,--end-group -T./utilities/gcc_csky.ld \
|
||||
-Xlinker -Map=project.map
|
||||
|
||||
$(OP) --strip-unneeded -O ihex project.elf project.hex
|
||||
$(OP) --strip-unneeded -O binary project.elf project.bin
|
||||
@$(OP) --strip-unneeded -O ihex project.elf project.hex
|
||||
@$(OP) --strip-unneeded -O binary project.elf project.bin
|
||||
|
||||
.PHONY: prerequirement
|
||||
prerequirement:
|
||||
|
||||
@@ -794,7 +794,7 @@
|
||||
|
||||
|
||||
/**************************************按键配置******************************************************** */
|
||||
#define KEY_MODULE_EN 1
|
||||
#define KEY_MODULE_EN 0
|
||||
/*************************************************************************************************** */
|
||||
|
||||
|
||||
@@ -812,7 +812,7 @@
|
||||
/*************************************************************************************************** */
|
||||
|
||||
/**********************************************音频相关********************************************* */
|
||||
#define AUDIO_EN 0
|
||||
#define AUDIO_EN 1
|
||||
#define AUDIO_DAC_EN 0
|
||||
/************************************************************************************************** */
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
memset(ibuf, ff);
|
||||
read(bin, APP.bin);
|
||||
def(LEN, v_lx);
|
||||
remap(c00, 0, LEN);
|
||||
write(bin, realcode.bin);
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -23,7 +23,7 @@ __init void sys_sleepdata_init(void)
|
||||
struct system_sleepdata *sdata = (struct system_sleepdata *)start;
|
||||
flags = disable_irq();
|
||||
if (sdata->magic1 != 0x1A2B3C4D || sdata->magic2 != 0xD4C3B2A1) {
|
||||
dump_hex("sleepdata_init: ", ((uint8 *)&__sleep_data_stop) + 4 , 4, 1);
|
||||
//dump_hex("sleepdata_init: ", ((uint8 *)&__sleep_data_stop) + 4 , 4, 1);
|
||||
os_memset(sdata, 0, sizeof(struct system_sleepdata));
|
||||
sdata->magic1 = 0x1A2B3C4D;
|
||||
sdata->magic2 = 0xD4C3B2A1;
|
||||
|
||||
Reference in New Issue
Block a user