Pin remap configurations may take two different values
For instance:
USART3_CTS PA13 matches both remap values 00 and 01.
In a peripheral pin remapping configuration, all pins associated to the
device must share the same remap value.
For instance, on USART3
-remap0 cfg uses PB10, PB11, PB12, PB13, PB14, all configured with remap0
-remap1 cfg uses PC10, PC11, PC12, PB13, PB14, all configured with remap1
If pinctrl driver detects one of the pins has a remap value different
from the whole set, it will generate an error.
As a consequence, it may happen that for a single pin (PB13, in the above
example), we need to generate both remap configurations, each one
correctly identified with a specific name.
To take this into account, always include the remap information in
the generated pin configuration node.
T
o minimize the impact, it has been decided to apply this only if remap
value differs for "0" or "No remap".
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Zephyr has prefixed all of its includes with <zephyr/...>. While the old
mode can still be used (CONFIG_LEGACY_INCLUDE_PATH) and is still enabled
by default, it's better to be prepared for its removal in the future.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Adds pin configuration generation for the octospi interface
including 8 IO lines, clk, nCS and DQS signals.
for octospi through IO manager (OCTOSPIM) or not
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Regenerate all pinctrl files using revision
ff795904601ad4a0b8e8b36fee02b5a67f7d41c2. Only change is the addition of
/omit-if-no-ref/.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
All DT nodes end up being part of the generated 'devicetree_unfixed.h'
header, wether they are referenced or not. A quick test on a board,
nucleo_l4r5zi, shows that such header has ~55K lines. When adding
/omit-if-no-ref/ attribute to pinctrl nodes, the number of lines goes
down to ~14K. Since the devicetree_unfixed.h header ends up being
included in lots of places (via devicetree.h), it should reduce build
times (specially noticeable in CI environments). Something similar
happened to NXP based boards.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
A new ETH API was provided in last F4 HAL release.
Since Zephyr driver is not yet updated, don't use it and enable
what is now the Legacy API instead.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32F7xx series
on https://github.com/STMicroelectronics
from version v1.16.1
to version v1.16.2
Added LICENSE.md as software component license.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
New function implementation generates warning when -Wstrict-aliasing
is used.
Fix it for now.
Internal reference: 124484
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32H7xx series
on https://github.com/STMicroelectronics
from version v1.9.0
to version v1.10.0
This package provides a new implementation of ethernet HAL,
not backward compatible.
Waiting Zephyr HAL based ethernet driver to be converted to this
new implementation, H7 hal module is tweaked to use the legacy ethernet
API.
Added LICENSE.md as software component license.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32G4xx series
on https://github.com/STMicroelectronics
from version v1.4.0
to version v1.5.0
Added LICENCE.md as software component license.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32U5xx series
on https://github.com/STMicroelectronics
from version v1.0.2
to version v1.1.0
Removed patch "Fix utils_ll.c definitions" which is now part of official
package delivery.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32F4xx series
on https://github.com/STMicroelectronics
from version v1.26.2
to version v1.27.0
Added LICENSE.md as software component license.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32WBxx series
on https://github.com/STMicroelectronics
from version v1.13.0
to version v1.13.2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32WBxx series
on https://github.com/STMicroelectronics
from version v1.13.0
to version v1.13.2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32L4xx series
on https://github.com/STMicroelectronics
from version v1.17.0
to version v1.17.1
Added LICENSE.md as software component license.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
In a majority of cases low power pin configuration would be
analog.
Instead of providing a analog variant for each signal, which would
be equivalent between each signal, generate analog variant
for each pin supporting it.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Allow for more flexibility when it comes to dependencies. The scripts do
not have any strong dependency or known compatiblity issues, so do not
specify any version. This means the latest version will be downloaded.
If anything comes up scripts can always be updated or versions until
scripts are updated.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
If LL_RCC_MSI_IsEnabledRangeSelect returns 1 it means RUN mode.
__LL_RCC_CALC_MSI_FREQ expects MSISEL param to be
LL_RCC_MSIRANGESEL_STANDBY or LL_RCC_MSIRANGESEL_RUN
which is not the value that LL_RCC_MSI_IsEnabledRangeSelect
returns.
Signed-off-by: Francois Ramu <francois.ramu@st.com>
When updating stm32wb hci lib from V1.12.0 to V1.13.0,
Zephyr specific patch Z-WB-3 (which configures BLE controller
firmware to work in mode LL only) was overwitten.
As a consequence, it was not possible to establish BLE connection
anymore.
Set it back.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32U5xx series
on https://github.com/STMicroelectronics
from version v1.0.0
to version v1.0.2
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32MP1xx series
on https://github.com/STMicroelectronics
from version 1.4.0
to version 1.5.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32WBxx series
on https://github.com/STMicroelectronics
from version v1.12.0
to version v1.13.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32WBxx series
on https://github.com/STMicroelectronics
from version v1.12.0
to version v1.13.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
On some series, QUASPI signals are defined with a numbered instance:
QUASPI1_CLK, ....
Allow instance number in quaspi signal searches
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>