From 3678a25e4cba3903b6e20aaa372793d51f7a5de6 Mon Sep 17 00:00:00 2001 From: Chen Jichang Date: Mon, 22 Dec 2025 20:16:00 +0800 Subject: [PATCH 1/2] fix(gdma): fix set dma burst size failure on p4 v3.0 --- components/soc/esp32p4/register/hw_ver3/soc/ahb_dma_struct.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/soc/esp32p4/register/hw_ver3/soc/ahb_dma_struct.h b/components/soc/esp32p4/register/hw_ver3/soc/ahb_dma_struct.h index a754086093..a650777a04 100644 --- a/components/soc/esp32p4/register/hw_ver3/soc/ahb_dma_struct.h +++ b/components/soc/esp32p4/register/hw_ver3/soc/ahb_dma_struct.h @@ -604,6 +604,7 @@ typedef union { * task. */ uint32_t out_etm_en_chn: 1; + uint32_t reserved_7: 1; /** out_data_burst_mode_sel_chn : R/W; bitpos: [9:8]; default: 1; * Configures max burst size for TX channeln. * 2'b00: single From 094518fa0d9efdd3f8ffc34ea4ad8e5c835f9901 Mon Sep 17 00:00:00 2001 From: morris Date: Tue, 23 Dec 2025 15:23:42 +0800 Subject: [PATCH 2/2] fix(check_placements): update method names to follow PEP 8 conventions --- .../ldgen_test/check_placements.py | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/tools/test_apps/build_system/ldgen_test/check_placements.py b/tools/test_apps/build_system/ldgen_test/check_placements.py index c465f7bf0e..ed21368393 100644 --- a/tools/test_apps/build_system/ldgen_test/check_placements.py +++ b/tools/test_apps/build_system/ldgen_test/check_placements.py @@ -8,13 +8,13 @@ import argparse import subprocess -from pyparsing import alphanums -from pyparsing import hexnums from pyparsing import LineEnd from pyparsing import LineStart from pyparsing import Literal from pyparsing import Optional from pyparsing import Word +from pyparsing import alphanums +from pyparsing import hexnums argparser = argparse.ArgumentParser() @@ -29,21 +29,26 @@ contents = subprocess.check_output([args.objdump, '-t', args.elf]).decode() def check_location(symbol, expected): - pattern = (LineStart() + Word(hexnums).setResultsName('address') - + Optional(Word(alphanums, exact=1)) - + Optional(Word(alphanums,exact=1)) - + Word(alphanums + '._*').setResultsName('actual') - + Word(hexnums) - + Literal(symbol) - + LineEnd()) + pattern = ( + LineStart() + + Word(hexnums).set_results_name('address') + + Optional(Word(alphanums, exact=1)) + + Optional(Word(alphanums, exact=1)) + + Word(alphanums + '._*').set_results_name('actual') + + Word(hexnums) + + Literal(symbol) + + LineEnd() + ) try: - results = pattern.searchString(contents)[0] + results = pattern.search_string(contents)[0] except IndexError: raise Exception("check placement fail: '%s' was not found" % (symbol)) if results.actual != expected: - raise Exception("check placement fail: '%s' was placed in '%s', not in '%s'" % (symbol, results.actual, expected)) + raise Exception( + "check placement fail: '%s' was placed in '%s', not in '%s'" % (symbol, results.actual, expected) + ) print("check placement pass: '%s' was successfully placed in '%s'" % (symbol, results.actual)) return int(results.address, 16)