fix warnning in ac5

This commit is contained in:
pikastech 2022-01-07 09:58:07 +08:00
parent baef641fc8
commit 7469b34ec1
8 changed files with 42 additions and 8 deletions

View File

@ -776,6 +776,41 @@
</File>
</Files>
</Group>
<Group>
<GroupName>Python</GroupName>
<Files>
<File>
<FileName>requestment.txt</FileName>
<FileType>5</FileType>
<FilePath>..\PikaScript\requestment.txt</FilePath>
</File>
<File>
<FileName>main.py</FileName>
<FileType>5</FileType>
<FilePath>..\PikaScript\main.py</FilePath>
</File>
<File>
<FileName>PikaObj.py</FileName>
<FileType>5</FileType>
<FilePath>..\PikaScript\PikaObj.py</FilePath>
</File>
<File>
<FileName>PikaStdDevice.py</FileName>
<FileType>5</FileType>
<FilePath>..\PikaScript\PikaStdDevice.py</FilePath>
</File>
<File>
<FileName>PikaStdLib.py</FileName>
<FileType>5</FileType>
<FilePath>..\PikaScript\PikaStdLib.py</FilePath>
</File>
<File>
<FileName>STM32F1.py</FileName>
<FileType>5</FileType>
<FilePath>..\PikaScript\STM32F1.py</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>::CMSIS</GroupName>
</Group>

View File

@ -1,5 +1,5 @@
pikascript-core==latest
PikaStdLib==v1.2.4
pikascript-core==v1.3.1
PikaStdLib==v1.3.1
PikaStdDevice==v1.4.3
STM32F103RBBooter==v1.0.0
STM32F1==v1.0.3

View File

@ -114,4 +114,4 @@ PIKA_WEAK void* __platform_memcpy(void* dir, const void* src, size_t size) {
PIKA_WEAK char __platform_getchar(void) {
return getchar();
}
}

View File

@ -102,4 +102,4 @@ int32_t __platform_save_pikaAsm_EOF(void);
char* __platform_load_pikaAsm(void);
/* support shell */
char __platform_getchar(void);
char __platform_getchar(void);

View File

@ -567,7 +567,6 @@ int32_t getAddrOffsetOfJUM(char* code) {
return offset;
}
}
return 0;
}
int32_t getAddrOffsetFromJmp(char* start, char* code, int32_t jmp) {

View File

@ -42,4 +42,4 @@ def_ins(NEL)
def_ins(DEL)
def_ins(EST)
def_ins(BRK)
def_ins(CTN)
def_ins(CTN)

View File

@ -84,4 +84,4 @@ int32_t queue_pushStr(Queue* queue, char* str) {
char* queue_popStr(Queue* queue) {
return arg_getStr(queue_popArg(queue));
}
}

View File

@ -120,4 +120,4 @@ Arg* arg_strAppend(Arg* arg_in, char* str_to_append){
arg_deinit(arg_in);
args_deinit(buffs);
return arg_out;
}
}