由于不明原因Flash字库的头索引乱了,导致一直无法定位,重新计算了位置。

给show str函数加入长度限制。

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2021-03-11 17:22:18 +08:00
parent 04b4a6fd02
commit 1fc2613ea7
46 changed files with 13173 additions and 6703 deletions
Binary file not shown.
Binary file not shown.
+12283 -6074
View File
File diff suppressed because it is too large Load Diff
+855 -605
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -66,8 +66,8 @@ all: main-build
main-build: 103ze_code.elf secondary-outputs
# Tool invocations
103ze_code.elf: $(OBJS) $(USER_OBJS) C:\Users\13370\Desktop\smartbooks\103ze\STM32F103ZETX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-gcc -o "103ze_code.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m3 -T"C:\Users\13370\Desktop\smartbooks\103ze\STM32F103ZETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="103ze_code.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
103ze_code.elf: $(OBJS) $(USER_OBJS) C:\Users\kevin\Desktop\smartbooks\103ze\STM32F103ZETX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-gcc -o "103ze_code.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m3 -T"C:\Users\kevin\Desktop\smartbooks\103ze\STM32F103ZETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="103ze_code.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
@echo 'Finished building target: $@'
@echo ' '
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
c.c:14:5:my_main 656 static
c.c:14:5:my_main 672 static
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4 -4
View File
@@ -1,5 +1,5 @@
text.c:217:9:font_init 16 static
text.c:240:6:Get_HzMat 32 static
text.c:276:6:Show_Font 104 static
text.c:308:6:LCD_ShowChar 32 static
text.c:346:6:LCD_ShowString 40 static
text.c:241:6:Get_HzMat 32 static
text.c:277:6:Show_Font 104 static
text.c:309:6:LCD_ShowChar 32 static
text.c:347:6:LCD_ShowString 40 static