cmsis-svd / cmsis-svd-data

Aggregration of ARM Cortex-M (and other) CMSIS SVDs
Apache License 2.0
37 stars 17 forks source link

Update Espressif SVD files #3

Closed aykevl closed 9 months ago

aykevl commented 9 months ago

This adds/updates the SVD file to be the latest in the source repository. It now matches the tree here: https://github.com/espressif/svd/tree/dc26397a9e0ae0d59b652a71226f4002028540f2/svd

All these SVD files are licensed by Espressif under the Apache license, version 2.0.

The motivation for this change was that the SVD file for the esp32c3 did not include some interrupt handlers, such as WIFI_MAC and WIFI_PWR that are needed for wifi support on this chip.

VincentDary commented 9 months ago

Thank you very much for your contribution @aykevl.

Contribution review ok for me, the svd file signatures match with the svd files of the Expressif remote reposiroty.

$ git clone https://github.com/aykevl/cmsis-svd-data.git
$ cd cmsis-svd-data/
$ git checkout  espressif-update
$ cd data/Espressif/
$ sha1sum $(ls -1 | sort) > ../../../update_aykevl_expressif_svd_hashs.txt
$ cd ../../..
$ git clone https://github.com/espressif/svd.git
$ cd svd
$ git checkout  dc26397a9e0ae0d59b652a71226f4002028540f2
$ cd svd/
$ sha1sum $(ls -1 | sort) > ../../expressif_svd_hashs.txt
$ cd ../..
$ diff -u expressif_svd_hashs.txt update_aykevl_expressif_svd_hashs.txt | wc -l
0

File hash info:

$ cat expressif_svd_hashs.txt ; echo "---" ; cat update_aykevl_expressif_svd_hashs.txt
751059902d2c3f6c222616d0052e26cef17d5c27  esp32c2.svd
4c8c3ca3221962284b6f3ea7f409a21357c3f72b  esp32c3.svd
a9e25b577f2ff0b6d2f57d49e95d18c7d30bd362  esp32c6-lp.svd
4c3583d53f72341611010667ea03e3229b9f3b79  esp32c6.svd
ee6564aae64a4849b15c4a0c8bb2e710ecf84fce  esp32h2.svd
bb9463f060c395cedfd58e9b74432464cbac51cb  esp32p4.svd
d43a68a6ef87c91b7f4a34335f43832ceb41dd9f  esp32s2.svd
012d2f3a998acb97540fed4af145ac35244c6f06  esp32s2-ulp.svd
e6c826bafa06eed1f3acbdcf04f3e3fe408dc7de  esp32s3.svd
ba6e0d17d6ff89f4c2185c3a2799afe8191d46fd  esp32s3-ulp.svd
7e134b66e69ea868e84ca3e15bf42faa401f3a4e  esp32.svd
---
751059902d2c3f6c222616d0052e26cef17d5c27  esp32c2.svd
4c8c3ca3221962284b6f3ea7f409a21357c3f72b  esp32c3.svd
a9e25b577f2ff0b6d2f57d49e95d18c7d30bd362  esp32c6-lp.svd
4c3583d53f72341611010667ea03e3229b9f3b79  esp32c6.svd
ee6564aae64a4849b15c4a0c8bb2e710ecf84fce  esp32h2.svd
bb9463f060c395cedfd58e9b74432464cbac51cb  esp32p4.svd
d43a68a6ef87c91b7f4a34335f43832ceb41dd9f  esp32s2.svd
012d2f3a998acb97540fed4af145ac35244c6f06  esp32s2-ulp.svd
e6c826bafa06eed1f3acbdcf04f3e3fe408dc7de  esp32s3.svd
ba6e0d17d6ff89f4c2185c3a2799afe8191d46fd  esp32s3-ulp.svd
7e134b66e69ea868e84ca3e15bf42faa401f3a4e  esp32.svd