数值部分新增向上溢出处理

This commit is contained in:
吴俊潮 2025-02-06 17:05:02 +08:00
parent 5431f6d9ab
commit 9fae18f944
12 changed files with 44893 additions and 94985 deletions

View File

@ -2,7 +2,7 @@
* @Author: wujunchao wujunchao@wuxismart.com * @Author: wujunchao wujunchao@wuxismart.com
* @Date: 2024-12-27 11:50:56 * @Date: 2024-12-27 11:50:56
* @LastEditors: wujunchao wujunchao@wuxismart.com * @LastEditors: wujunchao wujunchao@wuxismart.com
* @LastEditTime: 2025-02-06 14:38:05 * @LastEditTime: 2025-02-06 17:00:55
* @FilePath: \signal_generator\App\APP_WU\Src\apps_gather.c * @FilePath: \signal_generator\App\APP_WU\Src\apps_gather.c
* @Description: ,`customMade`, koroFileHeader查看配置 : https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: ,`customMade`, koroFileHeader查看配置 : https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
@ -99,7 +99,8 @@ void menu_test5(void)
} }
} }
uint8_t twk_cnt = 0; uint8_t twk_cnt = 0; //闪烁计数
uint8_t overflow_flag = 0; //溢出标志
void key_functions_main(void) //按键功能 void key_functions_main(void) //按键功能
{ {
uint8_t cursor_temp = 0; //临时游标,替代枚举变量进行加减运算 uint8_t cursor_temp = 0; //临时游标,替代枚举变量进行加减运算
@ -190,7 +191,14 @@ void key_functions_main(void) //按键功能
case 1: case 1:
{ {
m5data.io_numbers[1] = (m5data.io_numbers[1] >= 9)?(0):(m5data.io_numbers[1] + 1); if(m5data.io_numbers[1] >= 9)
{
m5data.io_numbers[1] = 0;
overflow_flag = 1;
}else
{
m5data.io_numbers[1]++;
}
// sprintf(buff_io,"%d",m5data.io_numbers[1]); // sprintf(buff_io,"%d",m5data.io_numbers[1]);
// lv_span_set_text(guider_ui.screen_main_spangroup_8_span, buff_io); // lv_span_set_text(guider_ui.screen_main_spangroup_8_span, buff_io);
@ -201,7 +209,14 @@ void key_functions_main(void) //按键功能
case 2: case 2:
{ {
m5data.io_numbers[2] = (m5data.io_numbers[2] >= 9)?(0):(m5data.io_numbers[2] + 1); if(m5data.io_numbers[2] >= 9)
{
m5data.io_numbers[2] = 0;
overflow_flag = 2;
}else
{
m5data.io_numbers[2]++;
}
// sprintf(buff_io,"%d",m5data.io_numbers[2]); // sprintf(buff_io,"%d",m5data.io_numbers[2]);
// lv_span_set_text(guider_ui.screen_main_spangroup_9_span, buff_io); // lv_span_set_text(guider_ui.screen_main_spangroup_9_span, buff_io);
@ -212,7 +227,14 @@ void key_functions_main(void) //按键功能
case 3: case 3:
{ {
m5data.io_numbers[3] = (m5data.io_numbers[3] >= 9)?(0):(m5data.io_numbers[3] + 1); if(m5data.io_numbers[3] >= 9)
{
m5data.io_numbers[3] = 0;
overflow_flag = 3;
}else
{
m5data.io_numbers[3]++;
}
// sprintf(buff_io,"%d",m5data.io_numbers[3]); // sprintf(buff_io,"%d",m5data.io_numbers[3]);
// lv_span_set_text(guider_ui.screen_main_spangroup_10_span, buff_io); // lv_span_set_text(guider_ui.screen_main_spangroup_10_span, buff_io);
@ -223,7 +245,14 @@ void key_functions_main(void) //按键功能
case 4: case 4:
{ {
m5data.io_numbers[4] = (m5data.io_numbers[4] >= 9)?(0):(m5data.io_numbers[4] + 1); if(m5data.io_numbers[4] >= 9)
{
m5data.io_numbers[4] = 0;
overflow_flag = 4;
}else
{
m5data.io_numbers[4]++;
}
// sprintf(buff_io,"%d",m5data.io_numbers[4]); // sprintf(buff_io,"%d",m5data.io_numbers[4]);
// lv_span_set_text(guider_ui.screen_main_spangroup_11_span, buff_io); // lv_span_set_text(guider_ui.screen_main_spangroup_11_span, buff_io);
@ -234,7 +263,14 @@ void key_functions_main(void) //按键功能
case 5: case 5:
{ {
m5data.io_numbers[5] = (m5data.io_numbers[5] >= 9)?(0):(m5data.io_numbers[5] + 1); if(m5data.io_numbers[5] >= 9)
{
m5data.io_numbers[5] = 0;
overflow_flag = 5;
}else
{
m5data.io_numbers[5]++;
}
// sprintf(buff_io,"%d",m5data.io_numbers[5]); // sprintf(buff_io,"%d",m5data.io_numbers[5]);
// lv_span_set_text(guider_ui.screen_main_spangroup_12_span, buff_io); // lv_span_set_text(guider_ui.screen_main_spangroup_12_span, buff_io);
@ -246,6 +282,64 @@ void key_functions_main(void) //按键功能
default: default:
break; break;
} }
if(overflow_flag) //发生向上溢出
{
int oftemp = 0;
oftemp = 100000*m5data.io_numbers[0] + 10000*m5data.io_numbers[1] + 1000*m5data.io_numbers[2] + \
100*m5data.io_numbers[3] + 10*m5data.io_numbers[4] + m5data.io_numbers[5];
switch (overflow_flag)
{
case 1:
{
oftemp += 100000;
}
break;
case 2:
{
oftemp += 10000;
}
break;
case 3:
{
oftemp += 1000;
}
break;
case 4:
{
oftemp += 100;
}
break;
case 5:
{
oftemp += 10;
}
break;
default:
break;
}
m5data.io_numbers[0] = (oftemp/100000 > 9)?(0):(oftemp/100000);
lv_img_set_src(guider_ui.screen_main_animimg_2, screen_main_animimg_2_imgs[ m5data.io_numbers[0] ]);
m5data.io_numbers[1] = (oftemp/10000) % 10;
lv_img_set_src(guider_ui.screen_main_animimg_3, screen_main_animimg_3_imgs[ m5data.io_numbers[1] ]);
m5data.io_numbers[2] = (oftemp/1000) % 10;
lv_img_set_src(guider_ui.screen_main_animimg_4, screen_main_animimg_4_imgs[ m5data.io_numbers[2] ]);
m5data.io_numbers[3] = (oftemp/100) % 10;
lv_img_set_src(guider_ui.screen_main_animimg_5, screen_main_animimg_5_imgs[ m5data.io_numbers[3] ]);
m5data.io_numbers[4] = (oftemp/10) % 10;
lv_img_set_src(guider_ui.screen_main_animimg_6, screen_main_animimg_6_imgs[ m5data.io_numbers[4] ]);
m5data.io_numbers[5] = oftemp % 10;
lv_img_set_src(guider_ui.screen_main_animimg_7, screen_main_animimg_7_imgs[ m5data.io_numbers[5] ]);
overflow_flag = 0;
}
} }
break; break;
@ -972,7 +1066,7 @@ void num_twinkle(void) //数值闪烁
} }
} }
if(twk_cnt > 9) // 10秒无动作上、下、左、右无按下后停止闪烁 if(twk_cnt > 10) // 10秒无动作上、下、左、右无按下后停止闪烁
{ {
twk_cnt = 0; twk_cnt = 0;
m5data.twk_flag = 0; m5data.twk_flag = 0;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -225,6 +225,11 @@
<WinNumber>1</WinNumber> <WinNumber>1</WinNumber>
<ItemText>m5data,0x0A</ItemText> <ItemText>m5data,0x0A</ItemText>
</Ww> </Ww>
<Ww>
<count>14</count>
<WinNumber>1</WinNumber>
<ItemText>pltdata,0x0A</ItemText>
</Ww>
</WatchWindow1> </WatchWindow1>
<MemoryWindow1> <MemoryWindow1>
<Mm> <Mm>

View File

@ -26,435 +26,12 @@ Project File Date: 02/05/2025
<h2>Output:</h2> <h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'E:\Softwares\Keil_v5\ARM\ARMCC\Bin' *** Using Compiler 'V5.06 update 7 (build 960)', folder: 'E:\Softwares\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'signal_generator' Build target 'signal_generator'
assembling startup_stm32f407xx.s...
compiling stm32f4xx_hal_timebase_tim.c...
compiling stm32f4xx_hal_msp.c...
compiling dac.c...
compiling i2c.c...
compiling dma.c...
compiling usart.c...
compiling gpio.c...
compiling stm32f4xx_it.c...
compiling hart.c...
compiling JLX240-00301-BN.c...
compiling utils.c...
compiling adc.c...
compiling spi.c...
compiling stm32f4xx_ll_adc.c...
compiling tim.c...
compiling freertos.c...
compiling main.c...
compiling ble.c...
compiling modbus.c...
compiling SIG24130.c...
compiling stm32f4xx_hal_adc_ex.c...
compiling tm1650.c...
compiling dac7811.c...
compiling stm32f4xx_hal_adc.c...
compiling ads1220.c...
compiling mux_signal.c...
compiling dac8552.c...
compiling rn7302.c...
compiling stm32f4xx_hal_rcc_ex.c...
compiling stm32f4xx_hal_rcc.c...
compiling stm32f4xx_hal_flash.c...
compiling stm32f4xx_hal_flash_ex.c...
compiling stm32f4xx_hal_gpio.c...
compiling stm32f4xx_hal_flash_ramfunc.c...
compiling stm32f4xx_hal_dma.c...
compiling stm32f4xx_hal_dma_ex.c...
compiling croutine.c...
compiling event_groups.c...
compiling stm32f4xx_hal_pwr.c...
compiling list.c...
compiling queue.c...
compiling stream_buffer.c...
compiling stm32f4xx_hal_pwr_ex.c...
compiling timers.c...
compiling tasks.c...
compiling heap_4.c...
compiling cmsis_os.c...
compiling port.c...
compiling custom.c...
compiling stm32f4xx_hal_cortex.c...
compiling stm32f4xx_hal_i2c_ex.c...
compiling events_init.c...
compiling stm32f4xx_hal_dac_ex.c...
compiling stm32f4xx_hal_exti.c...
compiling gui_guider.c...
compiling setup_scr_screen_init.c...
compiling setup_scr_screen_setting.c...
compiling setup_scr_screen_main.c...
compiling widgets_init.c...
compiling lv_font_montserratMedium_12.c...
compiling stm32f4xx_hal.c...
compiling stm32f4xx_hal_dac.c...
compiling lv_font_montserratMedium_16.c...
compiling lv_font_montserratMedium_20.c...
compiling lv_font_montserratMedium_25.c...
compiling lv_font_SourceHanSerifSC_Regular_15.c...
compiling lv_font_SourceHanSerifSC_Regular_12.c...
compiling lv_font_SourceHanSerifSC_Regular_20.c...
compiling _W_MOK_dot_alpha_12x35.c...
compiling screen_main_animimg_1bt0.c...
compiling screen_main_animimg_1bt20.c...
compiling screen_main_animimg_1bt40.c...
compiling screen_main_animimg_1bt60.c...
compiling screen_main_animimg_1bt80.c...
compiling screen_main_animimg_1bt100.c...
compiling screen_main_animimg_2W_MOK_0.c...
compiling _logo_blue_bottom_alpha_320x240.c...
compiling screen_main_animimg_2W_MOK_1.c...
compiling screen_main_animimg_2W_MOK_2.c...
compiling screen_main_animimg_2W_MOK_3.c...
compiling screen_main_animimg_2W_MOK_5.c...
compiling screen_main_animimg_2W_MOK_4.c...
compiling screen_main_animimg_2W_MOK_6.c...
compiling screen_main_animimg_2W_MOK_7.c...
compiling screen_main_animimg_2W_MOK_8.c...
compiling screen_main_animimg_2W_MOK_null.c...
compiling screen_main_animimg_2W_MOK_9.c...
compiling screen_main_animimg_3W_MOK_0.c...
compiling screen_main_animimg_3W_MOK_1.c...
compiling screen_main_animimg_3W_MOK_2.c...
compiling screen_main_animimg_3W_MOK_3.c...
compiling stm32f4xx_hal_i2c.c...
compiling screen_main_animimg_3W_MOK_4.c...
compiling screen_main_animimg_3W_MOK_5.c...
compiling screen_main_animimg_3W_MOK_6.c...
compiling screen_main_animimg_3W_MOK_7.c...
compiling screen_main_animimg_3W_MOK_8.c...
compiling screen_main_animimg_3W_MOK_9.c...
compiling screen_main_animimg_4W_MOK_0.c...
compiling screen_main_animimg_3W_MOK_null.c...
compiling screen_main_animimg_4W_MOK_2.c...
compiling screen_main_animimg_4W_MOK_1.c...
compiling screen_main_animimg_4W_MOK_3.c...
compiling screen_main_animimg_4W_MOK_5.c...
compiling screen_main_animimg_4W_MOK_4.c...
compiling screen_main_animimg_4W_MOK_6.c...
compiling screen_main_animimg_4W_MOK_8.c...
compiling screen_main_animimg_4W_MOK_7.c...
compiling screen_main_animimg_4W_MOK_null.c...
compiling screen_main_animimg_4W_MOK_9.c...
compiling screen_main_animimg_5W_MOK_0.c...
compiling screen_main_animimg_5W_MOK_1.c...
compiling screen_main_animimg_5W_MOK_2.c...
compiling screen_main_animimg_5W_MOK_3.c...
compiling screen_main_animimg_5W_MOK_4.c...
compiling stm32f4xx_hal_tim_ex.c...
compiling screen_main_animimg_5W_MOK_5.c...
compiling screen_main_animimg_5W_MOK_7.c...
compiling screen_main_animimg_5W_MOK_6.c...
compiling screen_main_animimg_5W_MOK_9.c...
compiling screen_main_animimg_5W_MOK_8.c...
compiling screen_main_animimg_6W_MOK_0.c...
compiling screen_main_animimg_5W_MOK_null.c...
compiling screen_main_animimg_6W_MOK_1.c...
compiling screen_main_animimg_6W_MOK_2.c...
compiling screen_main_animimg_6W_MOK_3.c...
compiling screen_main_animimg_6W_MOK_4.c...
compiling stm32f4xx_hal_spi.c...
compiling system_stm32f4xx.c...
compiling screen_main_animimg_6W_MOK_5.c...
compiling stm32f4xx_hal_uart.c...
compiling screen_main_animimg_6W_MOK_6.c...
compiling screen_main_animimg_6W_MOK_7.c...
compiling screen_main_animimg_6W_MOK_9.c...
compiling screen_main_animimg_6W_MOK_8.c...
compiling screen_main_animimg_6W_MOK_null.c...
compiling screen_main_animimg_7W_MOK_0.c...
compiling screen_main_animimg_7W_MOK_1.c...
compiling stm32f4xx_hal_tim.c...
compiling screen_main_animimg_7W_MOK_2.c...
compiling screen_main_animimg_7W_MOK_3.c...
compiling screen_main_animimg_7W_MOK_5.c...
compiling screen_main_animimg_7W_MOK_4.c...
compiling screen_main_animimg_7W_MOK_6.c...
compiling screen_main_animimg_7W_MOK_7.c...
compiling lv_disp.c...
compiling screen_main_animimg_7W_MOK_8.c...
compiling lv_event.c...
..\LVGL\src\core\lv_event.c(117): warning: #188-D: enumerated type mixed with another type
return e->code & ~LV_EVENT_PREPROCESS;
..\LVGL\src\core\lv_event.c: 1 warning, 0 errors
compiling lv_port_indev.c...
compiling lv_port_disp.c...
..\LVGL\examples\porting\lv_port_disp.c(19): warning: #1215-D: #warning directive: Please define or replace the macro MY_DISP_HOR_RES with the actual screen width, default value 320 is used for now.
#warning Please define or replace the macro MY_DISP_HOR_RES with the actual screen width, default value 320 is used for now.
..\LVGL\examples\porting\lv_port_disp.c(24): warning: #1215-D: #warning directive: Please define or replace the macro MY_DISP_HOR_RES with the actual screen height, default value 240 is used for now.
#warning Please define or replace the macro MY_DISP_HOR_RES with the actual screen height, default value 240 is used for now.
..\LVGL\examples\porting\lv_port_disp.c: 2 warnings, 0 errors
compiling lv_group.c...
compiling screen_main_animimg_7W_MOK_null.c...
compiling screen_main_animimg_7W_MOK_9.c...
compiling screen_main_animimg_8W_MOK_plus.c...
compiling screen_main_animimg_8W_MOK_minus.c...
compiling lv_obj_class.c...
compiling lv_indev_scroll.c...
compiling lv_obj_draw.c...
..\LVGL\src\core\lv_obj_draw.c(392): warning: #188-D: enumerated type mixed with another type
if(obj->spec_attr) return obj->spec_attr->layer_type;
..\LVGL\src\core\lv_obj_draw.c: 1 warning, 0 errors
compiling lv_indev.c...
compiling lv_obj.c...
compiling lv_draw.c...
compiling lv_obj_tree.c...
compiling lv_obj_style_gen.c...
compiling lv_draw_arc.c...
compiling lv_obj_scroll.c...
compiling lv_theme.c...
compiling lv_obj_style.c...
compiling lv_obj_pos.c...
compiling lv_draw_layer.c...
compiling lv_draw_img.c...
compiling lv_draw_line.c...
compiling lv_draw_label.c...
compiling lv_draw_rect.c...
compiling lv_draw_transform.c...
compiling lv_refr.c...
compiling lv_draw_triangle.c...
compiling lv_draw_pxp.c...
compiling lv_draw_pxp_blend.c...
compiling lv_img_cache.c...
compiling lv_gpu_nxp_pxp.c...
compiling lv_gpu_arm2d.c...
compiling lv_img_buf.c...
compiling lv_draw_mask.c...
compiling lv_gpu_nxp_pxp_osa.c...
compiling lv_img_decoder.c...
compiling lv_draw_vglite.c...
compiling lv_draw_vglite_arc.c...
compiling lv_draw_vglite_blend.c...
compiling lv_draw_vglite_line.c...
compiling lv_draw_vglite_rect.c...
compiling lv_vglite_buf.c...
compiling lv_vglite_utils.c...
compiling lv_draw_sdl.c...
compiling lv_gpu_d2_draw_label.c...
compiling lv_draw_sdl_arc.c...
compiling lv_draw_sdl_bg.c...
compiling lv_draw_sdl_img.c...
compiling lv_draw_sdl_composite.c...
compiling lv_draw_sdl_label.c...
compiling lv_gpu_d2_ra6m3.c...
compiling lv_draw_sdl_layer.c...
compiling lv_draw_sdl_line.c...
compiling lv_draw_sdl_mask.c...
compiling lv_draw_sdl_polygon.c...
compiling lv_draw_sdl_rect.c...
compiling lv_draw_sdl_texture_cache.c...
compiling lv_draw_sdl_stack_blur.c...
compiling lv_draw_sdl_utils.c...
compiling lv_draw_sw_dither.c...
compiling lv_draw_sw.c...
compiling lv_gpu_stm32_dma2d.c...
compiling lv_draw_sw_arc.c...
compiling lv_draw_sw_gradient.c...
compiling lv_draw_sw_img.c...
compiling lv_draw_sw_layer.c...
compiling lv_draw_sw_blend.c...
compiling lv_draw_sw_letter.c...
compiling lv_draw_sw_polygon.c...
compiling lv_gpu_swm341_dma2d.c...
compiling lv_draw_sw_line.c...
compiling lv_extra.c...
compiling lv_draw_sw_transform.c...
compiling lv_bmp.c...
compiling lv_ffmpeg.c...
compiling lv_freetype.c...
compiling lv_flex.c...
compiling gifdec.c...
compiling lv_grid.c...
..\LVGL\src\extra\layouts\grid\lv_grid.c(583): warning: #188-D: enumerated type mixed with another type
lv_grid_align_t col_align = get_cell_col_align(item);
..\LVGL\src\extra\layouts\grid\lv_grid.c(584): warning: #188-D: enumerated type mixed with another type
lv_grid_align_t row_align = get_cell_row_align(item);
..\LVGL\src\extra\layouts\grid\lv_grid.c: 2 warnings, 0 errors
compiling lv_fs_fatfs.c...
compiling lv_fs_littlefs.c...
compiling lv_fs_posix.c...
compiling lv_draw_sw_rect.c...
..\LVGL\src\draw\sw\lv_draw_sw_rect.c(234): warning: #546-D: transfer of control bypasses initialization of:
variable "mask_any_center" (declared at line 280)
goto bg_clean_up;
^
..\LVGL\src\draw\sw\lv_draw_sw_rect.c: 1 warning, 0 errors
compiling lv_fs_stdio.c...
compiling lv_fs_win32.c...
compiling tjpgd.c...
compiling lodepng.c...
compiling lv_gif.c...
compiling lv_png.c...
compiling lv_qrcode.c...
compiling lv_rlottie.c...
compiling lv_sjpg.c...
compiling lv_fragment.c...
compiling lv_fragment_manager.c...
compiling lv_tiny_ttf.c...
compiling lv_gridnav.c...
compiling lv_ime_pinyin.c...
compiling qrcodegen.c...
..\LVGL\src\extra\libs\qrcode\qrcodegen.c(278): warning: #188-D: enumerated type mixed with another type
applyMask(tempBuffer, qrcode, mask);
..\LVGL\src\extra\libs\qrcode\qrcodegen.c(279): warning: #188-D: enumerated type mixed with another type
drawFormatBits(ecl, mask, qrcode);
..\LVGL\src\extra\libs\qrcode\qrcodegen.c(620): warning: #111-D: statement is unreachable
default: LV_ASSERT(false); return;
..\LVGL\src\extra\libs\qrcode\qrcodegen.c(853): warning: #111-D: statement is unreachable
return -1;
..\LVGL\src\extra\libs\qrcode\qrcodegen.c(1008): warning: #111-D: statement is unreachable
default: LV_ASSERT(false); return -1; // Dummy value
..\LVGL\src\extra\libs\qrcode\qrcodegen.c: 5 warnings, 0 errors
compiling lv_monkey.c...
compiling lv_imgfont.c...
compiling lv_msg.c...
compiling lv_snapshot.c...
compiling lv_calendar_header_arrow.c...
compiling lv_calendar_header_dropdown.c...
compiling lv_animimg.c...
compiling lv_theme_basic.c...
compiling lv_theme_mono.c...
compiling lv_calendar.c...
compiling lv_imgbtn.c...
compiling lv_colorwheel.c...
compiling lv_keyboard.c...
compiling lv_list.c...
compiling lv_led.c...
compiling lv_theme_default.c...
..\LVGL\src\extra\themes\default\lv_theme_default.c(211): warning: #188-D: enumerated type mixed with another type
..\LVGL\src\extra\themes\default\lv_theme_default.c: 1 warning, 0 errors
compiling lv_menu.c...
compiling lv_tileview.c...
compiling lv_font.c...
compiling lv_msgbox.c...
compiling lv_spinner.c...
compiling lv_spinbox.c...
compiling lv_font_fmt_txt.c...
..\LVGL\src\font\lv_font_fmt_txt.c(137): warning: #111-D: statement is unreachable
return NULL;
..\LVGL\src\font\lv_font_fmt_txt.c: 1 warning, 0 errors
compiling lv_chart.c...
compiling lv_meter.c...
compiling lv_tabview.c...
compiling lv_win.c...
compiling lv_font_dejavu_16_persian_hebrew.c...
compiling lv_span.c...
..\LVGL\src\extra\widgets\span\lv_span.c(900): warning: #546-D: transfer of control bypasses initialization of:
variable "align" (declared at line 904)
goto Next_line_init;
^
..\LVGL\src\extra\widgets\span\lv_span.c: 1 warning, 0 errors
compiling lv_font_montserrat_8.c...
compiling lv_font_montserrat_10.c...
compiling lv_font_loader.c...
compiling lv_font_montserrat_12.c...
compiling lv_font_montserrat_12_subpx.c...
compiling lv_font_montserrat_14.c...
compiling lv_font_montserrat_16.c...
compiling lv_font_montserrat_18.c...
compiling lv_font_montserrat_20.c...
compiling lv_font_montserrat_22.c...
compiling lv_font_montserrat_24.c...
compiling lv_font_montserrat_26.c...
compiling lv_font_montserrat_28.c...
compiling lv_font_montserrat_28_compressed.c...
compiling lv_font_montserrat_30.c...
compiling lv_font_montserrat_32.c...
compiling lv_font_montserrat_34.c...
compiling lv_font_montserrat_40.c...
compiling lv_font_montserrat_38.c...
compiling lv_font_montserrat_36.c...
compiling lv_font_montserrat_42.c...
compiling lv_font_montserrat_44.c...
compiling lv_font_montserrat_46.c...
compiling lv_hal_tick.c...
compiling lv_font_unscii_8.c...
compiling lv_font_montserrat_48.c...
compiling lv_hal_indev.c...
compiling lv_font_simsun_16_cjk.c...
compiling lv_anim_timeline.c...
compiling lv_anim.c...
compiling lv_font_unscii_16.c...
compiling lv_hal_disp.c...
..\LVGL\src\hal\lv_hal_disp.c(582): warning: #188-D: enumerated type mixed with another type
return disp->driver->rotated;
..\LVGL\src\hal\lv_hal_disp.c: 1 warning, 0 errors
compiling lv_async.c...
compiling lv_bidi.c...
compiling lv_area.c...
compiling lv_gc.c...
compiling lv_color.c...
compiling lv_fs.c...
compiling lv_log.c...
compiling lv_ll.c...
compiling lv_math.c...
compiling lv_lru.c...
..\LVGL\src\misc\lv_lru.c(238): warning: #68-D: integer conversion resulted in a change of sign
uint32_t i = 0, min_index = -1;
..\LVGL\src\misc\lv_lru.c(239): warning: #68-D: integer conversion resulted in a change of sign
uint64_t min_access_count = -1;
..\LVGL\src\misc\lv_lru.c: 2 warnings, 0 errors
compiling lv_templ.c...
compiling lv_mem.c...
..\LVGL\src\misc\lv_mem.c(324): warning: #111-D: statement is unreachable
return NULL;
..\LVGL\src\misc\lv_mem.c: 1 warning, 0 errors
compiling lv_style.c...
..\LVGL\src\misc\lv_style.c(214): warning: #188-D: enumerated type mixed with another type
return last_custom_prop_id;
..\LVGL\src\misc\lv_style.c(219): warning: #188-D: enumerated type mixed with another type
return last_custom_prop_id - _LV_STYLE_LAST_BUILT_IN_PROP;
..\LVGL\src\misc\lv_style.c(290): warning: #188-D: enumerated type mixed with another type
lv_style_set_prop_internal(style, prop | meta, null_style_value, lv_style_set_prop_meta_helper);
..\LVGL\src\misc\lv_style.c: 3 warnings, 0 errors
compiling lv_printf.c...
compiling lv_style_gen.c...
compiling lv_timer.c...
compiling lv_utils.c...
compiling lv_txt_ap.c...
compiling lv_tlsf.c...
..\LVGL\src\misc\lv_tlsf.c(897): warning: #68-D: integer conversion resulted in a change of sign
offset_to_block(pool, -(int)block_header_overhead);
..\LVGL\src\misc\lv_tlsf.c(999): warning: #68-D: integer conversion resulted in a change of sign
block = offset_to_block(mem, -(tlsfptr_t)block_header_overhead);
..\LVGL\src\misc\lv_tlsf.c(1017): warning: #68-D: integer conversion resulted in a change of sign
block_header_t * block = offset_to_block(pool, -(int)block_header_overhead);
..\LVGL\src\misc\lv_tlsf.c: 3 warnings, 0 errors
compiling lv_txt.c...
compiling lv_btn.c...
compiling lv_bar.c...
compiling lv_checkbox.c...
compiling lv_objx_templ.c...
compiling lv_arc.c...
compiling lv_canvas.c...
compiling lv_btnmatrix.c...
compiling lv_line.c...
compiling lv_dropdown.c...
compiling lv_img.c...
compiling lv_switch.c...
compiling lv_slider.c...
compiling lv_roller.c...
compiling lv_demo_benchmark.c...
compiling lv_label.c...
compiling img_benchmark_cogwheel_alpha16.c...
compiling img_benchmark_cogwheel_argb.c...
compiling img_benchmark_cogwheel_chroma_keyed.c...
compiling lv_textarea.c...
compiling lv_table.c...
compiling img_benchmark_cogwheel_indexed16.c...
compiling img_benchmark_cogwheel_rgb.c...
compiling lv_font_bechmark_montserrat_12_compr_az.c.c...
compiling img_benchmark_cogwheel_rgb565a8.c...
compiling lv_font_bechmark_montserrat_16_compr_az.c.c...
compiling lv_font_bechmark_montserrat_28_compr_az.c.c...
compiling timer.c...
compiling apps_gather.c... compiling apps_gather.c...
linking... linking...
Program Size: Code=204040 RO-data=513136 RW-data=1300 ZI-data=97960 Program Size: Code=204592 RO-data=513136 RW-data=1300 ZI-data=97964
FromELF: creating hex file... FromELF: creating hex file...
"signal_generator\signal_generator.axf" - 0 Error(s), 25 Warning(s). "signal_generator\signal_generator.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2> <h2>Software Packages used:</h2>
@ -478,7 +55,7 @@ Package Vendor: Keil
* Component: ARM::CMSIS:CORE@5.6.0 * Component: ARM::CMSIS:CORE@5.6.0
Include file: CMSIS/Core/Include/tz_context.h Include file: CMSIS/Core/Include/tz_context.h
Build Time Elapsed: 00:00:28 Build Time Elapsed: 00:00:06
</pre> </pre>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
<title>Static Call Graph - [signal_generator\signal_generator.axf]</title></head> <title>Static Call Graph - [signal_generator\signal_generator.axf]</title></head>
<body><HR> <body><HR>
<H1>Static Call Graph for image signal_generator\signal_generator.axf</H1><HR> <H1>Static Call Graph for image signal_generator\signal_generator.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Thu Feb 06 14:38:52 2025 <BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Thu Feb 06 17:02:13 2025
<BR><P> <BR><P>
<H3>Maximum Stack Usage = 1072 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3> <H3>Maximum Stack Usage = 1072 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3> Call chain for Maximum Stack Depth:</H3>
@ -2710,7 +2710,7 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[d5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;start_task_hart <BR>[Called By]<UL><LI><a href="#[d5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;start_task_hart
</UL> </UL>
<P><STRONG><a name="[2da]"></a>key_functions_main</STRONG> (Thumb, 1244 bytes, Stack size 64 bytes, apps_gather.o(i.key_functions_main)) <P><STRONG><a name="[2da]"></a>key_functions_main</STRONG> (Thumb, 1756 bytes, Stack size 64 bytes, apps_gather.o(i.key_functions_main))
<BR><BR>[Stack]<UL><LI>Max Depth = 676<LI>Call Chain = key_functions_main &rArr; setup_scr_screen_setting &rArr; lv_menu_set_sidebar_page &rArr; lv_menu_set_page &rArr; lv_menu_refr_main_header_mode &rArr; lv_obj_update_layout &rArr; layout_update_core &rArr; layout_update_core (Cycle) <BR><BR>[Stack]<UL><LI>Max Depth = 676<LI>Call Chain = key_functions_main &rArr; setup_scr_screen_setting &rArr; lv_menu_set_sidebar_page &rArr; lv_menu_set_page &rArr; lv_menu_refr_main_header_mode &rArr; lv_obj_update_layout &rArr; layout_update_core &rArr; layout_update_core (Cycle)
</UL> </UL>
<BR>[Calls]<UL><LI><a href="#[2dc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;setup_scr_screen_setting <BR>[Calls]<UL><LI><a href="#[2dc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;setup_scr_screen_setting

File diff suppressed because it is too large Load Diff

View File

@ -28915,7 +28915,7 @@ I (..\LVGL\demos\benchmark\assets\../../../src/extra/widgets/colorwheel/lv_color
I (..\LVGL\demos\benchmark\assets\../../../src/extra/widgets/led/lv_led.h)(0x676E142C) I (..\LVGL\demos\benchmark\assets\../../../src/extra/widgets/led/lv_led.h)(0x676E142C)
I (..\LVGL\demos\benchmark\assets\../../../src/extra/widgets/imgbtn/lv_imgbtn.h)(0x676E142C) I (..\LVGL\demos\benchmark\assets\../../../src/extra/widgets/imgbtn/lv_imgbtn.h)(0x676E142C)
I (..\LVGL\demos\benchmark\assets\../../../src/extra/widgets/span/lv_span.h)(0x676E142C) I (..\LVGL\demos\benchmark\assets\../../../src/extra/widgets/span/lv_span.h)(0x676E142C)
F (..\App\APP_WU\Src\apps_gather.c)(0x67A458CD)(--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O2 -Otime --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../App/LCD -I ../App/MODBUS -I ../Utils/inc -I ../App/BLE -I ../App/MUX_SIGNAL -I ../App/DAC8552 -I ../App/HART -I ../App/RN7302 -I ../App/ADS1220 -I ../App/TM1650 -I ../App/DAC7811 -I ../App/SIG24130 -I ../LVGL -I ../LVGL/src -I ../LVGL/examples/porting -I ../LVGL/myGUI/generated -I ../LVGL/myGUI/custom -I ../LVGL/myGUI/generated/guider_fonts -I ../LVGL/myGUI/generated/guider_customer_fonts -I ../App/APP_WU/Src -I ../App/APP_WU/Inc -I ../LVGL/demos/benchmark -I ../LVGL/demos -I.\RTE\_signal_generator -IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include -IE:\Softwares\Arm\Packs\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -D__UVISION_VERSION="539" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o signal_generator\apps_gather.o --omf_browse signal_generator\apps_gather.crf --depend signal_generator\apps_gather.d) F (..\App\APP_WU\Src\apps_gather.c)(0x67A47A59)(--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O2 -Otime --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../App/LCD -I ../App/MODBUS -I ../Utils/inc -I ../App/BLE -I ../App/MUX_SIGNAL -I ../App/DAC8552 -I ../App/HART -I ../App/RN7302 -I ../App/ADS1220 -I ../App/TM1650 -I ../App/DAC7811 -I ../App/SIG24130 -I ../LVGL -I ../LVGL/src -I ../LVGL/examples/porting -I ../LVGL/myGUI/generated -I ../LVGL/myGUI/custom -I ../LVGL/myGUI/generated/guider_fonts -I ../LVGL/myGUI/generated/guider_customer_fonts -I ../App/APP_WU/Src -I ../App/APP_WU/Inc -I ../LVGL/demos/benchmark -I ../LVGL/demos -I.\RTE\_signal_generator -IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include -IE:\Softwares\Arm\Packs\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -D__UVISION_VERSION="539" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o signal_generator\apps_gather.o --omf_browse signal_generator\apps_gather.crf --depend signal_generator\apps_gather.d)
I (../App/APP_WU/Inc/apps_gather.h)(0x67A458CD) I (../App/APP_WU/Inc/apps_gather.h)(0x67A458CD)
I (../Core/Inc/main.h)(0x676E6D8C) I (../Core/Inc/main.h)(0x676E6D8C)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66F4ABCF) I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66F4ABCF)