@@ -412,6 +412,7 @@ def print_mem_report(artifact, artifact_boards):
412412 f_print ("<th rowspan='2'>SoC</th>" , end = '' )
413413 f_print ("<th rowspan='2'>FLASH</th>" , end = '' )
414414 f_print ("<th rowspan='2'>RAM</th>" , end = '' )
415+ f_print ("<th rowspan='2'>User<br>sketch</th>" , end = '' )
415416 f_print ("<th colspan='2'>User heaps</th>" , end = '' )
416417 f_print ("<th colspan='2'>OS heaps</th>" , end = '' )
417418 f_print ("</tr>" )
@@ -428,14 +429,15 @@ def print_mem_report(artifact, artifact_boards):
428429 f"<code>{ soc } </code>" ,
429430 color_entry (BOARD_LOADERS [board ].meminfo ['FLASH' ]),
430431 color_entry (BOARD_LOADERS [board ].meminfo ['RAM' ]),
432+ f"${{{ BOARD_LOADERS [board ].meminfo ['SKETCH' ][1 ] } }}$" ,
431433 f"${{{ BOARD_LOADERS [board ].config .get ('CONFIG_HEAP_MEM_POOL_SIZE' , 0 ) } }}$" ,
432434 f"${{{ BOARD_LOADERS [board ].config ['CONFIG_SRAM_SIZE' ]* 1024 - BOARD_LOADERS [board ].meminfo ['RAM' ][0 ] } }}$" ,
433435 f"${{{ BOARD_LOADERS [board ].config ['CONFIG_LLEXT_HEAP_SIZE' ]* 1024 } }}$" ,
434436 f"${{{ BOARD_LOADERS [board ].config .get ('CONFIG_MBEDTLS_HEAP_SIZE' , '-' ) } }}$"
435437 ]
436438
437439 f_print ("<tr>" )
438- col_aligns = ['center' , 'left' , 'center' , 'right' , 'right' , 'right' , 'right' , 'right' , 'right' ]
440+ col_aligns = ['center' , 'left' , 'center' , 'right' , 'right' , 'right' , 'right' , 'right' , 'right' , 'right' ]
439441 for index , cell in enumerate (row ):
440442 f_print (f"<td align='{ col_aligns [index ]} '>\n \n { cell } \n \n </td>" )
441443 f_print ("</tr>" )
@@ -444,7 +446,7 @@ def print_mem_report(artifact, artifact_boards):
444446 extra_data_present = False
445447 for soc in sorted (list (set ([ ALL_BOARD_DATA [board ]['soc' ] for board in artifact_boards ]))):
446448 soc_boards = [ board for board in artifact_boards if ALL_BOARD_DATA [board ]['soc' ] == soc ]
447- sorted_regions = sorted (r for r in REGIONS_BY_SOC [soc ] if r not in ('FLASH' , 'RAM' ))
449+ sorted_regions = sorted (r for r in REGIONS_BY_SOC [soc ] if r not in ('FLASH' , 'RAM' , 'SKETCH' ))
448450 if not sorted_regions :
449451 continue
450452
0 commit comments