This commit is contained in:
NonPIayerCharacter
2025-09-02 18:20:30 +03:00
parent 1e529c2c72
commit 81d5621bab
10 changed files with 17 additions and 7 deletions
+1
View File
@@ -1,3 +1,4 @@
*.bin
*.hex
*.elf
*.bin.xz
+3 -3
View File
@@ -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:
+2 -2
View File
@@ -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
/************************************************************************************************** */
+9
View File
@@ -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.
+1 -1
View File
@@ -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;