Use correct peripheral name for SUBGHZ SPI
* Add SPI2s1_v3_5 register block for SUBGHZSPI peripheral
This commit is contained in:
parent
04ae6ce25e
commit
d9708f6bfc
3
parse.py
3
parse.py
@ -330,6 +330,7 @@ perimap = [
|
|||||||
('.*:SPI:spi2s1_v2_2', 'spi_v1/SPI'),
|
('.*:SPI:spi2s1_v2_2', 'spi_v1/SPI'),
|
||||||
('.*:SPI:spi2s1_v3_3', 'spi_v2/SPI'),
|
('.*:SPI:spi2s1_v3_3', 'spi_v2/SPI'),
|
||||||
('.*:SPI:spi2s1_v3_5', 'spi_v2/SPI'),
|
('.*:SPI:spi2s1_v3_5', 'spi_v2/SPI'),
|
||||||
|
('.*:SUBGHZSPI:.*', 'spi_v2/SPI'),
|
||||||
('.*:SPI:spi2s1_v3_1', 'spi_v2/SPI'),
|
('.*:SPI:spi2s1_v3_1', 'spi_v2/SPI'),
|
||||||
('.*:SPI:spi2s2_v1_1', 'spi_v3/SPI'),
|
('.*:SPI:spi2s2_v1_1', 'spi_v3/SPI'),
|
||||||
('.*:SPI:spi2s2_v1_0', 'spi_v3/SPI'),
|
('.*:SPI:spi2s2_v1_0', 'spi_v3/SPI'),
|
||||||
@ -657,6 +658,8 @@ def parse_chips():
|
|||||||
|
|
||||||
if pname == 'SYS':
|
if pname == 'SYS':
|
||||||
pname = 'SYSCFG'
|
pname = 'SYSCFG'
|
||||||
|
if pname == 'SUBGHZ':
|
||||||
|
pname = 'SUBGHZSPI'
|
||||||
if pname in FAKE_PERIPHERALS:
|
if pname in FAKE_PERIPHERALS:
|
||||||
continue
|
continue
|
||||||
if pname.startswith('ADC'):
|
if pname.startswith('ADC'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user