Jamie Smith
a5abf7ca11
Remove Portenta-specific system clock override as this can be done through targets.json now
2024-05-05 16:37:00 -07:00
Jamie Smith
7cb61d9edf
Rework STM32H7x clocking configuration
2024-04-16 00:24:09 -07:00
wdx04
b22d510b47
Add OSPI support for STM32H7
2023-05-03 23:00:45 +08:00
Jasper
d2fdd6f943
Fix variable name
...
Signed-off-by: Jasper <jasper.jonker@wingtra.com>
2023-04-22 11:27:13 +02:00
Jasper Jonker
5f9f8f3fe5
Fix system_clock.c location
...
Signed-off-by: Jasper Jonker <jasper.jonker@wingtra.com>
2023-04-21 16:18:20 +02:00
jmcloud
fba9f98950
add support for Nucleo-H745ZI
2023-04-11 09:46:05 -07:00
Jamie Smith
0751932dd3
Rethink STM32 I2C v2 HAL
2022-11-27 21:14:58 -08:00
Daniel Starke
53d043d3a2
Add proper support for NUCLEO-H723ZG.
...
- add board specific EMAC setup to connectivity/drivers/emac/TARGET_STM/TARGET_STM32H7
- stm32h7_eth_init.c was derived from the NUCLEO-H743ZI2 code whilst comparing to the output of STM32CubeIDE
- complete board specific code in targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H723xG
- PeripheralPins.c and PinNames.h were created by targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py
- ST ZIO connector pins in PinNames.h have been adapted from NUCLEO-H743ZI2
- CONSOLE_TX and CONSOLE_RX have been interchanged in PinNames.h to match the actual board layout
- startup_stm32h723xx.S was derived from startup_stm32h743xx.S
- stm32h723xg.ld was completely rewritten to match the actual MCU including:
- split heap support
- SRAM2 and SRAM4 support
- crash dump support
- proper use of DTCM as stack
- system_clock.c has been changed to support the maximal main clock speed of 550 MHz
- fix handling of HS in FS mode for the target board in targets/TARGET_STM/USBPhy_STM32.cpp
- add board definition to targets/targets.json and correct linker setup for the chip
Signed-off-by: Daniel Starke <daniel-email@gmx.net>
2022-10-27 21:22:45 +02:00
Jerome Coutant
90cbc89532
STM32H7: add MCU_STM32H753xI support
2022-02-15 16:40:04 +01:00
Jerome Coutant
03e51c164c
STM32H7 : fix I2C5 build error
2022-02-14 13:39:19 +01:00
Mathieu Othacehe
3c0c9c2b33
STM32: increase i2c slave rx limit.
...
Use uint16_t variables for i2c slave_rx_buffer_size and slave_rx_count
variables. This allows to receive more than 255 bytes in slave mode. The
bytes are received one by one in slave mode so there are no hardware
limitations forcing a 1 byte rx count limit.
2022-01-28 11:58:52 +01:00
Jerome Coutant
de3f9efb67
STM32H7 : remove warning
...
[Warning] stm32h7xx_hal_hrtim.c@1621,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@1625,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@2238,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@2242,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@5332,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@5767,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@5771,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] analogin_device.c@63,30: comparison between 'PinName' and 'enum <anonymous>' [-Wenum-compare]
2021-12-10 17:16:47 +01:00
Jerome Coutant
9319d2ace2
STM32H7 remove non-UTF characters
2021-10-12 17:52:06 +02:00
Jerome Coutant
abf86183bb
STM32H743: correct pack manager rom value
2021-10-06 15:30:29 +02:00
Jerome Coutant
317079bde3
STM32: create MCU_STM32H7B3xIQ for custom boards
2021-09-30 09:33:09 +02:00
Jerome Coutant
18f737e906
STM32: create MCU_STM32H735xG for custom boards
2021-09-30 09:15:40 +02:00
Jerome Coutant
da903bf057
STM32H7 add subfamilies for custom boards
...
- STM32H723xG
- STM32H725xE
- STM32H750xB
2021-09-22 15:13:31 +02:00
Jerome Coutant
d3b03dec0c
STM32 SPI : STM32H7 IP is SPI_IP_VERSION_V2
2021-09-07 14:32:39 +02:00
Martin Kojtal
abd32c70e4
Merge pull request #14895 from AnishKumarHCL/skip_analog_inn
...
ADC: STM32H7: Skip Negative input analog channels (INN)
2021-07-13 10:45:31 +02:00
anish-k
ec44991a6f
ADC: STM32H7: Skip Negative input analog channels (INN)
...
Removed INN ADC channels from PeripheralPins.c
2021-07-09 21:15:01 +05:30
pennam
1da67b2da8
Add missing PBL header
2021-07-08 22:04:53 +02:00
pennam
1a0ab10e95
Temp portenta add COMPONENT_4343W_FS BLE firmware
2021-07-08 17:04:05 +02:00
Martin Kojtal
0e52d4946c
Merge pull request #14663 from arduino/whd_patch_portenta
...
Portenta: Add support to generic COMPONENT_WHD
2021-07-08 15:54:20 +02:00
Martin Kojtal
1d5d3b054f
Merge pull request #14808 from affrinpinhero-2356/i2cTimingPerformanceSolved
...
driver/i2c: STM32: I2C performance issue solved.
2021-07-08 14:38:03 +02:00
Martin Kojtal
3fcc8347a9
Merge pull request #14844 from AnishKumarHCL/analogout_free_implementation
...
Analogout free implementation for F4/F7/H7 boards
2021-07-08 13:24:50 +02:00
anish-k
eb06d5eb59
analogout: STM32: modified analogout_free api
...
removed hardcoded pins, implemented multi channel check
implemented DAC_2 initialization for H7 board
Added #if defined DAC_CHANNEL_2
2021-07-02 21:34:24 +05:30
anish-k
59ba97f7b4
analogout: STM32: Implemented analogout_free for STM32H7 series
...
analogout_free implemented with multiple DAC channel usage check.
2021-07-02 18:01:12 +05:30
Affrin Pinhero
d8cbd68dc2
driver/i2c: STM32: Solves I2C driver performanc issue.
...
This commit solves issue related to i2c driver performance.
With this commit delay in read write when using i2c timing
algorithm is solved. Used flag mechanism which will check
tim reg value and hz passed.
Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-07-02 10:54:16 +05:30
pennam
4f80d23607
Provide missing stubs for ARMClang build
2021-06-29 14:41:08 +02:00
Martin Kojtal
8188f5f5ab
Merge pull request #14776 from affrinpinhero-2356/i2c_longTime_Mem_Solve
...
driver/i2c: STM32: I2C memory usage and time delay in read-write solved.
2021-06-29 11:30:02 +02:00
Affrin Pinhero
8f24f09df7
driver/i2c: STM32: Solves excess memory usage issue.
...
This commit solves excess usage of RAM. User can now enable/disable
I2C timing algorithm. Disabling of I2C timing algorithm would
reduce RAM usage.
Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-06-28 18:13:02 +05:30
jeromecoutant
a4b2695d15
STM32H7 CM4: enable ART
2021-06-23 16:58:16 +02:00
jeromecoutant
ec945ba990
STM32H7 CM4: correct FLASH_SIZE
...
FLASH_SIZE_DATA_REGISTER is not accessible by M4,
acces makes a hard fault
2021-06-23 16:53:38 +02:00
pennam
3854de3daf
Portenta Add cyhal_system.h placeholder to build with new cypress assets
2021-06-18 12:58:27 +02:00
pennam
7909a1d571
Portenta Fix ARMClang build
2021-06-18 12:58:19 +02:00
Martin Kojtal
b74f62c974
Merge pull request #14659 from arduino/i2c_slave_patch
...
STM32: make i2c_salve_read return the number of bytes read
2021-06-10 14:10:31 +02:00
Martin Kojtal
8b1b302744
Merge pull request #14733 from jeromecoutant/PR_DUALPAD
...
STM32H7 ADC : dual pad feature update
2021-06-07 20:50:16 +02:00
Anna Bridge
5047bd3c27
Merge pull request #14608 from JeanMarcR/STM32H7_NEW_CUBE
...
STM32H7 update drivers version to CUBE V1.9.0
2021-06-04 11:51:05 +01:00
jeromecoutant
fb8be8259c
STM32H7 ADC : dual pad feature update
2021-06-03 10:42:35 +02:00
Martin Kojtal
0711e488a1
Merge pull request #14686 from jeromecoutant/PR_CPP
...
STM32: correct __cplusplus brackets
2021-06-02 13:59:26 +02:00
pennam
70c09cdb7a
Portenta cycfg.h add missing license header
2021-05-31 16:38:37 +02:00
pennam
c1e7c54964
Portenta CMake fix COMPONENT_WHD
2021-05-31 16:38:37 +02:00
pennam
fc83ee15d8
Portenta add missing includes to resources.h
2021-05-31 16:38:37 +02:00
pennam
5edf34289c
Portenta add resource_fs_handle declaration
2021-05-31 16:38:36 +02:00
pennam
64c9e1fdb3
Portenta split wiced_filesystem.h to avoid cpp BlockDevice inclusion from Cypress layer
2021-05-31 16:38:36 +02:00
pennam
b34a436d25
Portenta removed resource_imp folder
2021-05-31 16:38:36 +02:00
pennam
2852fe41ae
Portenta renamed 4343W to 4343W_FS
2021-05-31 16:38:36 +02:00
pennam
d31e002bae
Portenta SDIO patch to support non NULL response arguments
2021-05-31 16:38:36 +02:00
pennam
774821ca3b
Portenta add cycfg.h
2021-05-31 16:38:35 +02:00
Martino Facchin
94ceb8379d
Portenta add SDIO GPIO and filesystem implementation
2021-05-31 16:38:35 +02:00