Skip to content

Commit

Permalink
Merge branch 'feature/add_p4_target_support' into 'main'
Browse files Browse the repository at this point in the history
Add support for ESP32-P4 target

See merge request app-frameworks/esp_secure_cert_mgr!56
  • Loading branch information
mahavirj committed Mar 28, 2024
2 parents 8dab813 + 5cad573 commit 780590f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tools/configure_esp_secure_cert.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
bin_filename = os.path.join(esp_secure_cert_data_dir, 'esp_secure_cert.bin')
# Targets supported by the script
supported_targets = {'esp32', 'esp32s2', 'esp32c3', 'esp32s3',
'esp32c6', 'esp32h2'}
'esp32c6', 'esp32h2', 'esp32p4'}


# Flash esp_secure_cert partition after its generation
Expand Down
10 changes: 6 additions & 4 deletions tools/esp_secure_cert/configure_ds.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@
from esp_secure_cert.esp_secure_cert_helper import load_private_key

supported_targets_rsa_ds = ['esp32s2', 'esp32s3', 'esp32c3',
'esp32c6', 'esp32h2']
'esp32c6', 'esp32h2', 'esp32p4']
supported_key_size_rsa = {'esp32s2': [1024, 2048, 3072, 4096],
'esp32c3': [1024, 2048, 3072],
'esp32s3': [1024, 2048, 3072, 4096],
'esp32c6': [1024, 2048, 3072],
'esp32h2': [1024, 2048, 3072]}
'esp32h2': [1024, 2048, 3072],
'esp32p4': [1024, 2048, 3072, 4096]}

supported_targets_ecdsa = ['esp32h2']
supported_key_size_ecdsa = {'esp32h2': [256]}
supported_targets_ecdsa = ['esp32h2', 'esp32p4']
supported_key_size_ecdsa = {'esp32h2': [256],
'esp32p4': [256]}

idf_path = os.getenv('IDF_PATH')
if not idf_path or not os.path.exists(idf_path):
Expand Down
2 changes: 1 addition & 1 deletion tools/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def get_install_requires():
)
exit(1)

VERSION = "2.0.0"
VERSION = "2.1.0"

long_description = """
====================
Expand Down

0 comments on commit 780590f

Please sign in to comment.