Alexandre Bourdiol
6397a1d555
Mbed patch of STM32cube for bootloader: use NVIC_FLASH_VECTOR_ADDRESS
2019-10-14 18:03:47 +02:00
Alexandre Bourdiol
02cdac5fe3
Update HAL/LL EXTI to have default API applied on current core and nott CPU1
2019-10-14 18:03:28 +02:00
Alexandre Bourdiol
48aba33204
SystemCoreClock should correspond to current core clock and not D1 clock.
2019-10-14 18:03:06 +02:00
Alexandre Bourdiol
adcf0e2fa5
DISCO_H747I Dualcore support
...
Add 2 targets for DISCO_H747I dualcore:
* DISCO_H747I -> for CM7 core
* DISCO_H747I_CM4 -> for CM4 core
Current restrictions:
* TICKLESS deactivated
* DeepSleep not supported (DeepSleep wrapped to sleep)
Warning: use of the same IP (example I2C1) by both core at the same time is not prevented,
but is strongly not recommended.
Some Hardware Semaphore are use for common IP, to manage concurrent access by both cores: Flash, GPIO, RCC.
Warning: Drag and drop of binary to DISCO_H747I will flash CM7.
In order to flash CM4, one can use STM32 CubeProgrammer tool.
2019-10-14 18:02:57 +02:00
jeromecoutant
fff88617b7
STM32H7 ST CUBE V1.5.0 update
2019-09-27 11:39:06 +02:00
Martin Kojtal
fff888b118
Merge pull request #11562 from VVESTM/vve_h7_memmap
...
STM32H7: memory relocation
2019-09-26 14:01:23 +02:00
jeromecoutant
5cfee65881
STM32H7: LSI clock selection when LSE is not available
2019-09-19 13:07:54 +02:00
Vincent Veron
82e89add61
STM32H7 : use RAM instead of DTCMRAM (GCC_ARM toolchain)
2019-09-18 10:57:21 +02:00
Vincent Veron
ac30a70092
STM32H7 : use RAM instead of DTCMRAM (ARM toolchain)
2019-09-18 10:57:20 +02:00
Vincent Veron
d241eef5d4
STM32H7 : use RAM instead of DTCMRAM (IAR toolchain)
...
Keep vector table and crash data ram in 0x20000000 for
tests-mbed_platform-crash_reporting test.
Move the rest in RAM (0x24000000). This is needed for ethernet and allows
user to use more RAM (512k).
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-09-18 10:57:19 +02:00
Martin Kojtal
c897e041c8
Merge pull request #11384 from jeromecoutant/PR_H747_CM7
...
ST DISCO-H747I introduction
2019-09-10 19:43:57 +02:00
jeromecoutant
db7efabfd5
STM license file update
...
Some code have been copied from ST Cube deliveries.
ST copyright is then needed.
2019-09-10 14:24:48 +02:00
jeromecoutant
535dbe87af
STM32H747 license update
2019-09-10 11:46:52 +02:00
jeromecoutant
c28d5f17e5
DISCO_H747I single core M7 introduction
2019-09-10 11:46:50 +02:00
jeromecoutant
73a00e953d
STM32H747xI introduction
2019-09-10 11:46:47 +02:00
jeromecoutant
117ddbadee
STM32H743 files move
2019-09-10 11:46:35 +02:00
jeromecoutant
be78084a8b
NUCLEO_H743ZI and NUCLEO_H743ZI2: clock configuration cleanup
2019-08-29 10:52:24 +02:00
jeromecoutant
3e4592703d
Create NUCLEO_H743ZI2 own target at 480 MHz
2019-08-23 10:33:08 +02:00
Vincent Veron
76fb4d22cc
STM32H7 : update linker script files to use right location for lwip_ram_heap
...
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-21 11:41:30 +02:00
Vincent Veron
9f2e9aa576
Add EMAC support for NUCLEO_H743ZI
...
This port is based on :
* CurryGuy ethernet branch :
https://github.com/CurryGuy/mbed-os/tree/feature-stm32h7-emac
* STM32 Cube example :
Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS example
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-21 11:40:48 +02:00
Martin Kojtal
de84004be1
Merge pull request #11189 from LMESTM/pwmout_cpp_guard
...
__cplusplus guard fixed pwmout_device.h for STM32 families
2019-08-13 11:19:24 +02:00
Laurent Meunier
319223ac16
__cplusplus guard fixed pwmout_device.h for STM32 families
...
This bug prevented using this header in cpp code directly.
2019-08-09 09:51:39 +02:00
Yuan Cao
6ed21ee1c0
Fixed serial_device IRQ infinite loop bug due to uint8_t overflowing
2019-07-13 00:05:25 -04:00
jeromecoutant
aa31b1268a
STM32H7 watchdog patch
2019-07-05 14:44:43 +02:00
jeromecoutant
da9b919268
STM32H7: Increase watchdog timeout value
2019-07-05 14:44:41 +02:00
jeromecoutant
3384cea281
STM32H7 : add LSI
2019-07-05 14:44:39 +02:00
Martin Kojtal
be2c2bed30
Merge pull request #10884 from jeromecoutant/PR_H743ZI2
...
NUCLEO_H743ZI2 new target support
2019-07-01 09:27:31 +01:00
Martin Kojtal
61c4d05ce9
Merge pull request #10824 from ABOSTM/PRSTM32_PWMWRTIE_GLITCH_10734
...
STM32: pwmout_write: configure channel only when not already enabled
2019-06-28 14:24:14 +01:00
Martin Kojtal
924af9481e
Merge pull request #10841 from VVESTM/vve_10827_spi_count
...
TARGET_STM: Add DEVICE_SPI_COUNT to use SPIs without interference
2019-06-26 09:09:38 +01:00
Martin Kojtal
b0073bb70d
Merge pull request #10774 from fkjagodzinski/fix-uart_irq
...
Fix serial IRQ handling
2019-06-25 15:49:41 +01:00
jeromecoutant
d2ea0f9432
NUCLEO_H743ZI2 new target support
2019-06-24 11:00:58 +02:00
Alexandre Bourdiol
a339084684
STM32: pwmout_write: configure channel only when not already enabled
...
Fix PWM glitch on write(), TARGET_STM/pwmout_api.c, #10734
2019-06-20 17:49:16 +02:00
Vincent Veron
31eb49b918
TARGET_STM: Add DEVICE_SPI_COUNT to use SPIs without interference
...
Extend to all STM targets the work done on PR10752.
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-06-14 14:15:56 +02:00
Martin Kojtal
09ea361c7e
Merge pull request #10790 from jeromecoutant/PR_H7_LPUART
...
STM32H7 enable LPUART
2019-06-11 09:06:22 +01:00
Martin Kojtal
94d2a42fd5
Merge pull request #10793 from jeromecoutant/PR_STM32WARNING
...
STM32: remove compilation warnings
2019-06-11 07:36:47 +01:00
jeromecoutant
ddcc63276a
STM32H7 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:11:04 +02:00
jeromecoutant
a90e68e788
STM32H7 UART: enable LPUART
2019-06-07 18:05:06 +02:00
Filip Jagodzinski
fa0cc68657
STM32H7: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:30:03 +02:00
jeromecoutant
25e4316963
STM32H7 directory cleanup and refactoring
2019-06-06 10:48:11 +02:00
jeromecoutant
119ff51fee
STM32H7: use default files from ST drivers delivery
2019-06-06 10:48:09 +02:00
jeromecoutant
5b53b3aae0
STM32: define USE_FULL_LL_DRIVER at top level
2019-06-06 10:48:08 +02:00
Martin Kojtal
93e4a8251c
Merge pull request #10697 from jeromecoutant/PR_H7FLASH
...
STM32H7: flash issue while erasing sector in Bank 1
2019-06-03 08:35:29 +01:00
jeromecoutant
58994d88cd
STM32H7: flash issue while erasing sector in Bank 1
2019-05-29 09:31:30 +02:00
jeromecoutant
d919498745
STM32: common cmsis.h and device.h
2019-05-27 16:27:41 +02:00
Vincent Veron
d8e1e43e35
H7 ST CUBE : remove unecessary #if 1 instead of USE_FULL_LL_DRIVER
...
Keep #define USE_FULL_LL_DRIVER and define this switch in target.json
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-05-23 14:01:01 +02:00
Vincent Veron
80b41f0276
H7 ST CUBE V1.4.0
2019-05-23 14:01:00 +02:00
jeromecoutant
ec00ea5655
STM32 ADC INTERNAL CHANNEL reset after read
...
Internal channels use is enabling ADC "internal path"
which needs to be disabled after measurement
2019-03-29 14:30:49 +01:00
jeromecoutant
75a771c583
STM32H7 ADC internal channels
2019-03-18 16:55:37 +01:00
jeromecoutant
5839a8e7c5
NUCLEO_H743ZI: Arduino A5 is mapped on ADC3_IN6
2019-03-04 17:18:56 +01:00
Deepika
122549910e
Add Crash report section to all uARM files
2019-02-28 19:54:38 -06:00
deepikabhavnani
0dc5561991
Guard RAM start and size defines
2019-02-28 19:54:38 -06:00
deepikabhavnani
b598dc1f46
Target_STM: Add ARM_LIB_STACK and ARM_LIB_HEAP section
...
Instead of user defined symbols in assembly files or C files,
use linker scripts to add heap and stack - this is inconsistent
with ARM std linker scripts
2019-02-28 19:54:28 -06:00
Deepika
e522c4691e
Target_STM:_sbrk updated to use limits from linker files no need to set defines
...
_sbrk uses the exports from linker file __end and __HeapLimit to allocate memory
in heap. Linker scripts were updated accordingly to set the limits.
2019-02-19 15:49:49 -06:00
Russ Butler
3bd3aca6db
Add HAL API for analog out pinmap
...
Add the function analogout_pinmap to all targets.
2019-02-08 09:10:05 -06:00
Russ Butler
4818f88d73
Add HAL API for analog in pinmap
...
Add the function analogin_pinmap to all targets.
2019-02-08 09:09:51 -06:00
Martin Kojtal
ed53fe1ed4
Merge pull request #9534 from jeromecoutant/PR_FLOW
...
STM32 Serial Flow Control
2019-02-04 14:35:47 +01:00
jeromecoutant
eec7126d37
STM32 Serial Flow Control
...
Crash occured when RTS=CTS=NC
Now we chek if used pins are the same UART as TX and RX
2019-01-31 17:11:23 +01:00
Martin Kojtal
9265c19e2e
Merge pull request #9394 from jeromecoutant/PR_PERIPH
...
STM32: PeripheralPins files update from lastest CubeMX tool version
2019-01-31 11:21:09 +01:00
jeromecoutant
0564498509
STM32H7: 0S2 compilation
2019-01-30 14:05:45 +01:00
jeromecoutant
a5ef971402
STM32: PeripheralPins files minor update
...
Script version 1.4
CubeMX DB version DB.5.0.1
2019-01-24 10:51:30 +01:00
jeromecoutant
f1d10cfeff
STM32: FDCAN support for H7 family
2019-01-21 13:53:19 +01:00
Martin Kojtal
d92febe700
Merge pull request #9327 from jeromecoutant/PR_IFDEF
...
STM32: replace missing #ifdef DEVICE_xxx
2019-01-11 14:07:28 +00:00
Martin Kojtal
fd6ceda960
Merge pull request #9323 from jeromecoutant/PR_AST
...
STM32: astyle check
2019-01-11 14:06:05 +00:00
jeromecoutant
877a3a13e1
STM32: replace missing #ifdef DEVICE_xxx
2019-01-10 11:02:52 +01:00
jeromecoutant
b1a284a876
STM32: astyle check
2019-01-10 10:22:21 +01:00
Przemyslaw Stekiel
58f6bf7292
[STM] Support boot stack size configuration option
2019-01-08 15:32:06 +01:00
bcostm
b897719c9d
NUCLEO_H743ZI: add crash reporting for IAR
2019-01-04 10:03:36 +01:00
bcostm
1cf92dd8d4
NUCLEO_H743ZI: include rtc LL driver
2019-01-04 10:03:36 +01:00
jeromecoutant
4b67820f8a
NUCLEO_H743ZI: add initial SDK
2019-01-04 10:03:36 +01:00