|
application specific pin multiplexing (for STM32F412G-Disco)
Please ignore my previous post I am writing a demo graphic application running on STM32F412G-Discovery. For this purpose, I must set the multiplexing of some pins to use the FSMC device. I wonder if I
Please ignore my previous post I am writing a demo graphic application running on STM32F412G-Discovery. For this purpose, I must set the multiplexing of some pins to use the FSMC device. I wonder if I
|
By
Massimiliano Cialdi
· #1006
·
|
|
How to use STM32 HAL drives
and what about peripherals that zephyr doesn't manage, like FSMC? I am writing a demo graphic application running on STM32F412G-Discovery. For this purpose I use the pre-compiled STemWin532_CM4_OS_GCC
and what about peripherals that zephyr doesn't manage, like FSMC? I am writing a demo graphic application running on STM32F412G-Discovery. For this purpose I use the pre-compiled STemWin532_CM4_OS_GCC
|
By
Massimiliano Cialdi
· #1005
·
|
|
application specific pin multiplexing (for STM32F412G-Disco)
Sto sviluppando una pplicazione grafica che gira su STM32F412G-Discovery. For this purpose, I must set the multiplexing of some pins to use the FSMC device. I wonder if I need to edit the files zephyr
Sto sviluppando una pplicazione grafica che gira su STM32F412G-Discovery. For this purpose, I must set the multiplexing of some pins to use the FSMC device. I wonder if I need to edit the files zephyr
|
By
Massimiliano Cialdi
· #1004
·
|
|
How to use STM32 HAL drives
In an application I need to use STM32 HAL driver, for example GPIO, FSMC and others. I wonder how can I have the appropriate files compiled. There are some CONFIG_* to set? I read zephyr/ext/hal/st/st
In an application I need to use STM32 HAL driver, for example GPIO, FSMC and others. I wonder how can I have the appropriate files compiled. There are some CONFIG_* to set? I read zephyr/ext/hal/st/st
|
By
Massimiliano Cialdi
· #1000
·
|
|
linking a precompiled static library (with custom name)
Modified MyApp/Makefile: BOARD ?= stm32f412g_disco CONF_FILE = prj.conf include ${ZEPHYR_BASE}/Makefile.inc export ALL_LIBS += ${PROJECT_BASE}/../STemWin/Lib/STemWin532_CM4_OS_GCC.a Now I get an error
Modified MyApp/Makefile: BOARD ?= stm32f412g_disco CONF_FILE = prj.conf include ${ZEPHYR_BASE}/Makefile.inc export ALL_LIBS += ${PROJECT_BASE}/../STemWin/Lib/STemWin532_CM4_OS_GCC.a Now I get an error
|
By
Massimiliano Cialdi
· #982
·
|
|
linking a precompiled static library (with custom name)
I can't link a pre-compiled static library (distributed in binary form) with custom name. I tried to modify MyApp/Makefile following the sample zephyr/samples/application_development/static_lib/hello_
I can't link a pre-compiled static library (distributed in binary form) with custom name. I tried to modify MyApp/Makefile following the sample zephyr/samples/application_development/static_lib/hello_
|
By
Massimiliano Cialdi
· #981
·
|
|
Updating HAL library for STM32F4
OK best regards
By
Massimiliano Cialdi
· #980
·
|
|
Updating HAL library for STM32F4
I wonder if I can commit the ST HAL library upgrade for STM32F4 (from 1.15.0 to 1.16.0). Should I update all microcontroller family HALs (F0, F1, etc.)? Is there already someone who is working on it?
I wonder if I can commit the ST HAL library upgrade for STM32F4 (from 1.15.0 to 1.16.0). Should I update all microcontroller family HALs (F0, F1, etc.)? Is there already someone who is working on it?
|
By
Massimiliano Cialdi
· #978
·
|
|
link a static precompiled libray
I have to link a static precompiled library This is my directory tree: . |-- MyApp | `-- src | `-- GUI_glue | |-- Config | `-- OS |-- STemWin | |-- inc | `-- Lib `-- zephyr : files into MyApp/src/GUI_
I have to link a static precompiled library This is my directory tree: . |-- MyApp | `-- src | `-- GUI_glue | |-- Config | `-- OS |-- STemWin | |-- inc | `-- Lib `-- zephyr : files into MyApp/src/GUI_
|
By
Massimiliano Cialdi
· #972
·
|
|
info about device tree for stm32f412zg
I re-read the datasheet. USART2_TX can be assigned to PA2 or PD5 USART2_RX can be assigned to PA3 or PD6 PA15 cannot be configured as USART2_RX and, seeing how multiplexing is set in stm32f4-pinctrl.d
I re-read the datasheet. USART2_TX can be assigned to PA2 or PD5 USART2_RX can be assigned to PA3 or PD6 PA15 cannot be configured as USART2_RX and, seeing how multiplexing is set in stm32f4-pinctrl.d
|
By
Massimiliano Cialdi
· #949
·
|
|
Are device trees used in the STM32?
surfing in the sources tree I can find dts/arm/st/stm32f412-pinctrl.dtsi usart3_pins_a: usart3@0 { rx_tx { rx = <STM32_PIN_PB11 (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)>; tx = <STM32_PIN_PB10
surfing in the sources tree I can find dts/arm/st/stm32f412-pinctrl.dtsi usart3_pins_a: usart3@0 { rx_tx { rx = <STM32_PIN_PB11 (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)>; tx = <STM32_PIN_PB10
|
By
Massimiliano Cialdi
· #867
·
|
|
info about device tree for stm32f412zg
Fo the nucleo_f412zg there is the file zephyr/dts/arm/nucleo_f412zg.dts that includes st/stm32f412.dtsi and then #include <st/stm32f412-pinctrl.dtsi> #include <st/stm32f411.dtsi> stm32f411.dtsi indire
Fo the nucleo_f412zg there is the file zephyr/dts/arm/nucleo_f412zg.dts that includes st/stm32f412.dtsi and then #include <st/stm32f412-pinctrl.dtsi> #include <st/stm32f411.dtsi> stm32f411.dtsi indire
|
By
Massimiliano Cialdi
· #809
·
|
|
info about device tree entry for STM32 micros
this make sense (but the address of RCC_APB1RSTR is 0x20) But this raises the question: where is it defined STM32_CLOCK_BUS_APB1 and how? Grepping the entire zephyr source I find: #define STM32_CLOCK_
this make sense (but the address of RCC_APB1RSTR is 0x20) But this raises the question: where is it defined STM32_CLOCK_BUS_APB1 and how? Grepping the entire zephyr source I find: #define STM32_CLOCK_
|
By
Massimiliano Cialdi
· #807
·
|
|
info about device tree entry for STM32 micros
I am surfing in the device tree files for stm32f412 micro I found usart3: serial@40004800 { compatible = "st,stm32-usart", "st,stm32-uart"; reg = <0x40004800 0x400>; clocks = <&rcc STM32_CLOCK_BUS_APB
I am surfing in the device tree files for stm32f412 micro I found usart3: serial@40004800 { compatible = "st,stm32-usart", "st,stm32-uart"; reg = <0x40004800 0x400>; clocks = <&rcc STM32_CLOCK_BUS_APB
|
By
Massimiliano Cialdi
· #804
·
|