Skip to content

Commit

Permalink
Merge pull request #359 from lucianomartin/feature/remove_qe_info
Browse files Browse the repository at this point in the history
Remove QE bit, QE register and flash type information from XN files
  • Loading branch information
lucianomartin authored Jul 17, 2024
2 parents ea9bd15 + 7d7e41b commit b35b292
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 33 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ XCORE-VOICE change log
* ADDED: Support for DFU over I2C for FFVA INT example.
* CHANGED: Updated submodule fwk_rtos to version 3.1.0 from 3.0.5.
* ADDED: lib_sw_pll submodule v1.1.0.
* REMOVED: flash settings in .xn files, as they are not required by XMOS
Tools 15.2.x.

2.2.0
-----
Expand Down
4 changes: 1 addition & 3 deletions examples/ffd/bsp_config/XK_VOICE_L71/XK_VOICE_L71.xn
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,10 @@
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="S25FL116K" PageSize="256" SectorSize="4096" NumPages="32768">
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" PageSize="256" SectorSize="4096" NumPages="32768">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS_0"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK_0"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO_0"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_0"/>
<!-- <Attribute Name="QE_BIT" Value="flash_qe_bit_6"/> -->
</Device>
</ExternalDevices>
<JTAGChain>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<Port Location="XS1_PORT_1A" Name="PORT_I2S_DAC_DATA"/>
<Port Location="XS1_PORT_1N" Name="PORT_I2S_ADC_DATA"/>
<Port Location="XS1_PORT_4A" Name="PORT_CODEC_RST_N"/>

<!-- I2C Slave ports -->
<Port Location="XS1_PORT_1M" Name="PORT_I2C_SLAVE_SCL"/>
<Port Location="XS1_PORT_1O" Name="PORT_I2C_SLAVE_SDA"/>
Expand All @@ -97,12 +97,10 @@
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="S25FL116K" PageSize="256" SectorSize="4096" NumPages="16384">
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" PageSize="256" SectorSize="4096" NumPages="16384">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_0"/>
<Attribute Name="QE_BIT" Value="flash_qe_bit_6"/>
</Device>
</ExternalDevices>
<JTAGChain>
Expand Down
4 changes: 1 addition & 3 deletions examples/ffva/bsp_config/XK_VOICE_L71/XK_VOICE_L71.xn
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,10 @@
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="S25FL116K" PageSize="256" SectorSize="4096" NumPages="32768">
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" PageSize="256" SectorSize="4096" NumPages="32768">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS_0"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK_0"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO_0"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_0"/>
<!-- <Attribute Name="QE_BIT" Value="flash_qe_bit_6"/> -->
</Device>
</ExternalDevices>
<JTAGChain>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,10 @@
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="S25FL116K" PageSize="256" SectorSize="4096" NumPages="32768">
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" PageSize="256" SectorSize="4096" NumPages="32768">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS_0"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK_0"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO_0"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_0"/>
<!-- <Attribute Name="QE_BIT" Value="flash_qe_bit_6"/> -->
</Device>
</ExternalDevices>
<JTAGChain>
Expand Down
8 changes: 3 additions & 5 deletions examples/mic_aggregator/src/XCORE-AI-EXPLORER.xn
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
<Port Location="XS1_PORT_1B" Name="PORT_SQI_CS"/>
<Port Location="XS1_PORT_1C" Name="PORT_SQI_SCLK"/>
<Port Location="XS1_PORT_4B" Name="PORT_SQI_SIO"/>

<Port Location="XS1_PORT_1N" Name="PORT_I2C_SCL"/>
<Port Location="XS1_PORT_1O" Name="PORT_I2C_SDA"/>

<Port Location="XS1_PORT_4C" Name="PORT_LEDS"/>
<Port Location="XS1_PORT_4D" Name="PORT_BUTTONS"/>

<Port Location="XS1_PORT_1I" Name="WIFI_WIRQ"/>
<Port Location="XS1_PORT_1J" Name="WIFI_MOSI"/>
<Port Location="XS1_PORT_4E" Name="WIFI_WUP_RST_N"/>
Expand Down Expand Up @@ -111,8 +111,6 @@
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_0"/>
<Attribute Name="QE_BIT" Value="flash_qe_bit_6"/>
</Device>
</ExternalDevices>
<JTAGChain>
Expand Down
6 changes: 2 additions & 4 deletions examples/speech_recognition/XCORE-AI-EXPLORER.xn
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<Port Location="XS1_PORT_1A" Name="PORT_I2S_DAC_DATA"/>
<Port Location="XS1_PORT_1N" Name="PORT_I2S_ADC_DATA"/>
<Port Location="XS1_PORT_4A" Name="PORT_CODEC_RST_N"/>

<!-- I2C Slave ports -->
<Port Location="XS1_PORT_1M" Name="PORT_I2C_SLAVE_SCL"/>
<Port Location="XS1_PORT_1O" Name="PORT_I2C_SLAVE_SDA"/>
Expand All @@ -97,12 +97,10 @@
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="S25FL116K" PageSize="256" SectorSize="4096" NumPages="32768">
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" PageSize="256" SectorSize="4096" NumPages="32768">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_0"/>
<Attribute Name="QE_BIT" Value="flash_qe_bit_6"/>
</Device>
</ExternalDevices>
<JTAGChain>
Expand Down
2 changes: 0 additions & 2 deletions examples/speech_recognition/XK_VOICE_L71.xn
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS_0"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK_0"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO_0"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_0"/>
<!-- <Attribute Name="QE_BIT" Value="flash_qe_bit_6"/> -->
</Device>
</ExternalDevices>
<JTAGChain>
Expand Down
4 changes: 1 addition & 3 deletions test/asr/bsp_config/XK_VOICE_L71/XK_VOICE_L71.xn
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,10 @@
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="S25FL116K" PageSize="256" SectorSize="4096" NumPages="32768">
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" PageSize="256" SectorSize="4096" NumPages="32768">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS_0"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK_0"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO_0"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_0"/>
<!-- <Attribute Name="QE_BIT" Value="flash_qe_bit_6"/> -->
</Device>
</ExternalDevices>
<JTAGChain>
Expand Down
4 changes: 1 addition & 3 deletions test/ffd_gpio/XCORE-AI-EXPLORER.xn
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,10 @@
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="S25FL116K" PageSize="256" SectorSize="4096" NumPages="16384">
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" PageSize="256" SectorSize="4096" NumPages="16384">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_0"/>
<Attribute Name="QE_BIT" Value="flash_qe_bit_6"/>
</Device>
</ExternalDevices>
<JTAGChain>
Expand Down
4 changes: 1 addition & 3 deletions test/pipeline/bsp_config/XK_VOICE_L71/XK_VOICE_L71.xn
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,10 @@
</Link>
</Links>
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="S25FL116K" PageSize="256" SectorSize="4096" NumPages="32768">
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" PageSize="256" SectorSize="4096" NumPages="32768">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS_0"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK_0"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO_0"/>
<Attribute Name="QE_REGISTER" Value="flash_qe_location_status_reg_0"/>
<!-- <Attribute Name="QE_BIT" Value="flash_qe_bit_6"/> -->
</Device>
</ExternalDevices>
<JTAGChain>
Expand Down

0 comments on commit b35b292

Please sign in to comment.