@@ -394,6 +394,7 @@ def print_mem_report(artifact, artifact_boards):
394394 f_print ("<th rowspan='2'>SoC</th>" , end = '' )
395395 f_print ("<th rowspan='2'>FLASH</th>" , end = '' )
396396 f_print ("<th rowspan='2'>RAM</th>" , end = '' )
397+ f_print ("<th rowspan='2'>User<br>sketch</th>" , end = '' )
397398 f_print ("<th colspan='2'>User heaps</th>" , end = '' )
398399 f_print ("<th colspan='2'>OS heaps</th>" , end = '' )
399400 f_print ("</tr>" )
@@ -410,14 +411,15 @@ def print_mem_report(artifact, artifact_boards):
410411 f"<code>{ soc } </code>" ,
411412 color_entry (BOARD_LOADERS [board ].meminfo ['FLASH' ]),
412413 color_entry (BOARD_LOADERS [board ].meminfo ['RAM' ]),
414+ f"${{{ BOARD_LOADERS [board ].meminfo ['SKETCH' ] } }}$" ,
413415 f"${{{ BOARD_LOADERS [board ].config .get ('CONFIG_HEAP_MEM_POOL_SIZE' , 0 ) } }}$" ,
414416 f"${{{ BOARD_LOADERS [board ].config ['CONFIG_SRAM_SIZE' ]* 1024 - BOARD_LOADERS [board ].meminfo ['RAM' ][0 ] } }}$" ,
415417 f"${{{ BOARD_LOADERS [board ].config ['CONFIG_LLEXT_HEAP_SIZE' ]* 1024 } }}$" ,
416418 f"${{{ BOARD_LOADERS [board ].config .get ('CONFIG_MBEDTLS_HEAP_SIZE' , '-' ) } }}$"
417419 ]
418420
419421 f_print ("<tr>" )
420- col_aligns = ['center' , 'left' , 'center' , 'right' , 'right' , 'right' , 'right' , 'right' , 'right' ]
422+ col_aligns = ['center' , 'left' , 'center' , 'right' , 'right' , 'right' , 'right' , 'right' , 'right' , 'right' ]
421423 for index , cell in enumerate (row ):
422424 f_print (f"<td align='{ col_aligns [index ]} '>\n \n { cell } \n \n </td>" )
423425 f_print ("</tr>" )
@@ -426,7 +428,7 @@ def print_mem_report(artifact, artifact_boards):
426428 extra_data_present = False
427429 for soc in sorted (list (set ([ ALL_BOARD_DATA [board ]['soc' ] for board in artifact_boards ]))):
428430 soc_boards = [ board for board in artifact_boards if ALL_BOARD_DATA [board ]['soc' ] == soc ]
429- sorted_regions = sorted (r for r in REGIONS_BY_SOC [soc ] if r not in ('FLASH' , 'RAM' ))
431+ sorted_regions = sorted (r for r in REGIONS_BY_SOC [soc ] if r not in ('FLASH' , 'RAM' , 'SKETCH' ))
430432 if not sorted_regions :
431433 continue
432434
0 commit comments