On linux the script crashes, when subprocess.check_call()
parameters are passed as list and shell=True is set,
or if subprocess.check_call() parameters are passed as string
and shell=True is not set. These changes fix that.
When an STM32 SoC goes into STOP mode, the SPI device is disabled. This
cause the pins to not be drived anymore (i.e. they are floating) except
through their pull-up or pull-down.
From the logical point of view, the NSS pin is held high by a pull-up so
it's not a problem if the other pins are floating. However those pins
are floating input for the slaves, which increase their power
consumption.
The solution is to hold the state of the pins through a pull-up or a
pull-down. This is already done for the NSS and MOSI pins, but not for
SCK. Fix that by using pull-down on the SCK pin the same way it is
already done for the MOSI pin.
(For the STM32L4 series, this is a regression introduced by the switch
to the device tree bindings for SPI pins configuration, see
zephyr #24097).
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Update Cube version for STM32MP1xx series
on https://github.com/STMicroelectronics
from version v1.2.0
to version v1.4.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32H7xx series
on https://github.com/STMicroelectronics
from version v1.8.0
to version v1.9.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32G0xx series
on https://github.com/STMicroelectronics
from version v1.4.0
to version v1.4.1
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32F4xx series
on https://github.com/STMicroelectronics
from version v1.25.2
to version v1.26.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32F7xx series
on https://github.com/STMicroelectronics
from version v1.16.0
to version v1.16.1
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32G4xx series
on https://github.com/STMicroelectronics
from version v1.3.0
to version v1.4.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32L4xx series
on https://github.com/STMicroelectronics
from version v1.16.0
to version v1.17.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32FL5xx series
on https://github.com/STMicroelectronics
from version v1.3.1
to version v1.4.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32F1xx series
on https://github.com/STMicroelectronics
from version v1.8.2
to version v1.8.3
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32F2xx series
on https://github.com/STMicroelectronics
from version v1.9.1
to version v1.9.2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32F3xx series
on https://github.com/STMicroelectronics
from version v1.11.1
to version v1.11.2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32L0xx series
on https://github.com/STMicroelectronics
from version v1.11.3
to version v1.12.0
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32F4xx series
on https://github.com/STMicroelectronics
from version v1.25.1
to version v1.25.2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32F0xx series
on https://github.com/STMicroelectronics
from version v1.11.1
to version v1.11.2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
When running ./update_stm32_package.py, script breaks due to
unexpected presence of common_ll/ under stm32cube/ .
Skip update when this directory is parsed.
Additionally, update README to avoid recurrent issue when using
the script.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
The content of stm32g0xx_hal_hcd.h should be included only
on devices where the usb peripheral is available,
but this is not the case in STM32CubeG0 v1.4.0 release.
This commit fixes that issue.
Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
Update Cube version for STM32G0xx series
on https://github.com/STMicroelectronics
from version v1.3.0
to version v1.4.0
Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
Re-generate pinctrl files using STM32 open pin data. No changes are
present since data is based on the same CubeMX version.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Change script to require STM32 Open Pin Data as input. README file is
now autogenerated so that it will always include the STM32 Open Pin Data
commit used for generation.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This new set of files includes "additional functions"
analog signals as defined in reference manuals.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
It is now possible that mode is not provided for non-F1 series
configs.
On F1 series ADC1_IN0 could be af 0.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Due to inference of mode for default configurations, mode
should not be set unless it specifies a specific signal variant.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
For non-F1 series:
Add generation of additional functions by inferring mode based
on AF detection instead of the mode value filed in config file.
This allows to detect that a signal should use 'analog' mode
when no AF function is associated to it.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Add systematic compialtion of '..._hal_rcc_ex.c' in 'CMakeLists.txt'
generation. There is more and more dependence of HAL IP to
'..._hal_rcc_ex.c'
Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>