Martino Facchin
3d2d683dee
Add Arduino Portenta H7 target
2020-12-11 10:11:53 +01:00
Martino Facchin
ae35c887f3
STM32H747xI: allow overriding SetSysClock
2020-12-11 10:11:51 +01:00
jeromecoutant
cc90ec9096
STM32H7: system power supply configuration
2020-12-04 10:52:59 +01:00
Martin Kojtal
b5b0cfb2c6
STM32: fix H7 target definition in sct files
2020-11-25 14:12:26 +00:00
Martin Kojtal
fc16d2bae7
STM: fix ARMClang sct files, using proper -E command
...
This is required for ARMClang, otherwise there is an error with unknown command.
2020-11-25 13:35:36 +00:00
Martin Kojtal
ced4aa6e2d
Merge pull request #13939 from jeromecoutant/PR_LSEDRIVE
...
STM32: LSE DRIVE feature update
2020-11-24 14:13:52 +00:00
Martin Kojtal
a1fc9cdad5
Merge pull request #13915 from 0xc0170/cmake-stm32
...
CMake: add all TARGET_STM targets
2020-11-24 14:09:28 +00:00
Martin Kojtal
59c03e1e75
Merge pull request #13914 from JeanMarcR/FLASH_API
...
STM32 FLASH API : add critical sections
2020-11-24 14:08:52 +00:00
jeromecoutant
29af76fcca
STM32: LSE DRIVE feature update
2020-11-20 17:31:26 +01:00
reme
16e63dc108
STM32 FLASH API : add critical sections
...
See PR #13802 (for F4 board)
Concerned boards are
STM32F0
STM32F1
STM32F2
STM32F3
STM32F4
STM32F7
STM32G0
STM32G4
STM32H7
STM32L0
STM32L1
STM32L4
STM32L5
Adding test of return code of HAL_FLASH_Lock() function
Adding board STM32F4
Running AStyle
2020-11-20 08:03:24 +00:00
Martin Kojtal
4c115a5c8d
CMake: fix STM32 cmsis include
2020-11-17 16:30:37 +00:00
Martin Kojtal
80161f59ca
CMake: add STM32H7 targets
2020-11-17 15:32:24 +00:00
jeromecoutant
3697167b73
STM32: add OSPI capability
...
PeripheralPins.c and PinNames.h files
generated by STM32_gen_PeripheralPins.py v1.17
2020-11-10 18:37:51 +01:00
jeromecoutant
379182299d
STM32H7 readme update
2020-10-20 13:10:59 +02:00
jeromecoutant
04c8ff91d4
STM32H7: new target NUCLEO_H7A3ZI_Q
2020-10-20 13:10:59 +02:00
jeromecoutant
1e2aacd373
STM32H7: create MCU_STM32H7A3xIQ
2020-10-20 13:10:59 +02:00
jeromecoutant
3f843d55ed
STM32H7: readme update
2020-10-20 08:19:28 +02:00
jeromecoutant
2ccf534aaa
STM32H7: fix ADC internal channels
2020-10-20 08:19:27 +02:00
jeromecoutant
e322870219
STM32H7: FLASH update
2020-10-20 08:19:27 +02:00
jeromecoutant
f0b7e8b98c
STM32H7: update target specific files with Cube-1.8
...
- startup files pdated from Cube
- all SetSysClock aligned and checked
- license header updated
2020-10-20 08:19:16 +02:00
jeromecoutant
13df49e315
STM32H7: STM32Cube_FW_H7_V1.8.0
...
https://github.com/STMicroelectronics/STM32CubeH7
2020-10-20 08:18:21 +02:00
Harrison Mutai
4fad1112e5
Add SPDX license identifier to Arm files
...
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Dmitriy Isaev
8597f6ae12
Removed excess space simbol. Also runtime config check changed to compile time check.
2020-09-21 20:17:45 +03:00
Dmitriy Isaev
3f83163a63
Fixed system clock setup for XTAL and/or internal source on stm32f743 chips.
2020-09-20 16:26:25 +03:00
Jaeden Amero
612b148fd4
stack: armc: Workaround config passing bug
...
Workaround a bug where the boot stack size configuration option is not
passed on to armlink, the Arm Compiler's linker. Prefer
MBED_CONF_TARGET_BOOT_STACK_SIZE if present, as this is what the
configuration system should provide. Fall back to MBED_BOOT_STACK_SIZE
if MBED_CONF_TARGET_BOOT_STACK_SIZE is not defined, as in the case of
buggy tools. If both MBED_CONF_TARGET_BOOT_STACK_SIZE and
MBED_BOOT_STACK_SIZE are not defined, then we fall back to a hard-coded
value provided by the linkerscript. See
https://github.com/ARMmbed/mbed-os/issues/13474 for more information.
2020-09-10 10:08:38 +01:00
Jaeden Amero
39e69d328d
Use boot stack size from config system
...
To allow overriding of the boot stack size from the Mbed configuration
system, consistently use MBED_CONF_TARGET_BOOT_STACK_SIZE rather than
MBED_BOOT_STACK_SIZE.
Fixes #10319
2020-09-10 10:08:38 +01:00
jeromecoutant
b65afe028e
STM32H7 ADC: clock selection lost after deepsleep
2020-09-08 11:40:02 +02:00
jeromecoutant
02c79e8603
STM32H7 ADC: No MultiMode configuration needed for ADC2
2020-09-01 17:52:13 +02:00
Rajkumar Kanagaraj
2add7064ec
Update astyleignore and source code comment
2020-07-27 10:04:01 -07:00
jeromecoutant
b4d31ae863
STM32H7: correct Ethernet issue in baremetal
2020-06-17 18:39:34 +02:00
Martin Kojtal
0614e92c5b
Merge pull request #13083 from jeromecoutant/PR_H7_CUBE170
...
STM32H7 update drivers version to CUBE V1.7.0
2020-06-16 13:45:42 +02:00
jeromecoutant
048f454a5a
STM32H7: remove GENERIC_H745I
2020-06-08 15:33:42 +02:00
jeromecoutant
561f8d48bf
STM32H7 STM32Cube FW V1.5.0 => V1.7.0
2020-06-08 14:33:10 +02:00
jeromecoutant
9936a53bd1
STM32H7 STM32Cube FW V1.5.0 => V1.7.0: HAL Driver part
2020-06-08 14:33:09 +02:00
jeromecoutant
21f262b5c3
STM32H7 STM32Cube FW V1.5.0 => V1.7.0: CMSIS part
2020-06-08 14:33:09 +02:00
jeromecoutant
7d181c1bf7
STM32H7: directory restructuration
...
- only files move
- sometimes files rename
+ targets.json update
2020-06-08 14:33:08 +02:00
jeromecoutant
10a5b97396
STM32H7: NUCLEO_H743ZI2 pins update
2020-06-05 16:26:33 +02:00
jeromecoutant
1484ac0859
STM32H7: DISCO_H747I pins update
2020-06-05 16:26:23 +02:00
jeromecoutant
b289d5a08f
STM32H7: enable dual analogic pad
2020-06-05 16:26:22 +02:00
jeromecoutant
538552adea
STM32H7 ADC issue correction
2020-06-05 16:26:22 +02:00
Martin Kojtal
59df4efaac
Merge pull request #13022 from jeromecoutant/PR_BSP
...
STM32: add weak TargetBSP_Init function
2020-06-05 16:01:25 +02:00
Martin Kojtal
8911f96c1b
Merge pull request #13014 from jeromecoutant/PR_H7CM4
...
DISCO_H747I_CM4 is supporting now hex format
2020-06-04 15:23:26 +02:00
jeromecoutant
76135d0820
STM32: add weak TargetBSP_Init function
2020-05-27 16:49:54 +02:00
jeromecoutant
876125ad49
DISCO_H747I_CM4 is supporting now hex format
...
- minimum STLink version: V3J7M2
2020-05-25 11:34:40 +02:00
jeromecoutant
9b819c7f8b
STM32H7 baremetal support
2020-05-18 17:27:32 +02:00
jeromecoutant
c96eb2cd0e
STM32 rename TOOLCHAIN_ARM_STD into TOOLCHAIN_ARM
2020-05-15 10:41:28 +02:00
jeromecoutant
303752ad84
STM32 remove all TOOLCHAIN_ARM_MICRO
2020-05-15 09:37:40 +02:00
George Beckstein
5087b6da4e
Moved GENERIC_H745I_CM* targets into parent target folder
2020-04-30 09:27:26 -04:00
George Beckstein
5dcc49d9f5
Change structure so custom targets may define their own linker scripts
2020-04-30 09:24:02 -04:00
jeromecoutant
1877b68869
STM32H745 : creation of GENERIC target
...
Goal is to enable compilation in CI
2020-04-30 09:24:02 -04:00
jeromecoutant
38801157ac
STM32H745 restructuration
2020-04-30 09:24:02 -04:00
George Beckstein
ecaa5fe793
Add BSP initialization hook to system initialization code
2020-04-30 09:24:02 -04:00
George Beckstein
decc6d335f
Added common system files from H747 targets
2020-04-30 09:24:02 -04:00
George Beckstein
a1bb4b1d0a
Add and configure support for IAR toolchain
2020-04-30 09:24:02 -04:00
George Beckstein
fab7de62e7
Add and configure support for ARM_STD toolchain
2020-04-30 09:24:02 -04:00
George Beckstein
88a6d37a07
Add target files for STM32H745-based targets
2020-04-30 09:24:01 -04:00
jeromecoutant
249752e7bc
STM32H7: enable QSPI
...
- DISCO_H747I board has MT25QL512 embedded QSPI
2020-03-23 18:46:26 +01:00
jeromecoutant
065a79e48a
STM32H7: add README file for dual core use
2020-02-17 16:21:20 +01:00
jeromecoutant
2368a07244
STM32: Fix the UART RX & TX data reg bitmasks
2020-02-07 16:23:50 +00:00
jeromecoutant
9f42a58d5a
STM32H7 correct PWMOUT
2020-01-21 16:03:17 +01:00
jeromecoutant
bea83d02c2
STM32 TARGET_STM astyle corrections
2019-12-10 14:39:47 +01:00
Kevin Bracey
fe22bc023e
Update HAL CRC API
...
* Change "is supported" check to be a macro, so it can be done at
compile-time.
* Eliminate weird shift on 7-bit CRCs.
* Add support for 32-bit CRCs and reversals to TMPM3HQ.
2019-12-02 14:45:37 +02:00
Martin Kojtal
7177d8fefe
Merge pull request #11950 from ABOSTM/DISCO_H747I_TICKLESS
...
DISCO_H747I: add support of MBED_TICKLESS
2019-11-29 09:48:09 +01:00
Martin Kojtal
a1cddbae5f
Merge pull request #11938 from LMESTM/stm32_serial_clear_rxne
...
STM32: Update and align serial_clear implementations
2019-11-27 16:30:11 +01:00
Alexandre Bourdiol
f36982cc97
TARGET_STM: STM32H7 HAL_RCC_OscConfig update in PLL configuration
...
port fix #5896 on STM32H7 Cube HAL
ST internal ticket 42806 not yet released for STM32H7
2019-11-27 14:26:02 +01:00
Alexandre Bourdiol
df7431df81
TARGET_STM: Improve H747 dual core Deepsleep robustness
2019-11-27 14:25:53 +01:00
Alexandre Bourdiol
affe7113ef
TARGET_STM: Remove timeout on HSEM.
...
With tickless mechanism hsem can be used for quite a long time
(time to set up PLL clock).
Also, if hsem is held to long, then this is not the current core which is faulty,
but probably the other (the one which hold the HSEM)
2019-11-27 14:25:43 +01:00
Alexandre Bourdiol
41b038a028
TARGET_STM: rework hal_sleep management to be compatible with all STM32 families
2019-11-27 14:25:30 +01:00
Alexandre Bourdiol
e83a8abdcb
targets: DISCO_H747I add support of MBED_TICKLESS
2019-11-27 14:16:15 +01:00
Martin Kojtal
5f7ecea00b
Revert "MbedCRC and CRC HAL revisions"
2019-11-26 13:45:37 +00:00
Laurent Meunier
f20529f9e6
STM32: Update and align serial_clear implementations
...
Clear RXNE flag by reading the RX register and align this implementation
on all families.
2019-11-25 14:55:32 +01:00
Kevin Bracey
1f94428a56
Update HAL CRC API
...
* Change "is supported" check to be a macro, so it can be done at
compile-time.
* Eliminate weird shift on 7-bit CRCs.
* Add support for 32-bit CRCs and reversals to TMPM3HQ.
2019-11-13 14:31:49 +02:00
Martin Kojtal
4f6ca1512a
Merge pull request #11827 from ABOSTM/DISCO_H747I_ETHERNET_READY
...
DISCO STM32H747I ETHERNET support, but disabled.
2019-11-11 16:56:36 +01:00
jeromecoutant
7fcedd20e1
DISCO STM32H747I ETHERNET support, but disabled.
...
Ethernet is disabled by default,
because some hardware modifications are required on the board DISCO_H747I.
see https://os.mbed.com/teams/ST/wiki/DISCO_H747I-modifications-for-Ethernet
2019-11-08 16:05:00 +01:00
jeromecoutant
c6fdd4efb6
STM32H7 FLASH API issue with M4 core
2019-11-05 10:25:43 +01:00
jeromecoutant
c7ca6f731c
STM32H7 linker script files alignment
2019-10-31 14:59:18 +01:00
jeromecoutant
21ff11c3d3
STM32H7 alignment within family
...
- license header update
- STMOD+ connector pin addition
- update pin comment for Ethernet connector issue (DISCO_H747I)
- align files for each target
2019-10-31 14:38:37 +01:00
jeromecoutant
0c740e7095
STM32H7: update PeripheralPin generation script and pin files accordingly
2019-10-31 14:11:00 +01:00
jeromecoutant
d7d0d0b8cb
STM32H7 FLASH and DEVICE_KEY
...
- Enable FLASHIAP for all H7 boards
- Use "TDB_INTERNAL" for all H7 boards
- Define specific internal_base_address only for DISCO_H747I_CM7
(default address is the end of FLASH which is correct for other H7 boards)
- Correct GetSectorBase function with Dual Bank information
2019-10-31 13:04:49 +01:00
Janne Kiiskila
a48500183e
Fix for the H747 flash driver / cache cleaning
...
This copies the approach of the STM32F7 flash driver submitted via
PR https://github.com/ARMmbed/mbed-os/pull/10248
With this change the board finally passes all of the device key
tests 10/10 times correctly.
2019-10-30 15:25:20 +02:00
Martin Kojtal
df79609cc5
Merge pull request #11675 from jeromecoutant/PR_USB_STEP1
...
STM32 USB update step 1
2019-10-28 14:06:15 +01:00
Kevin Bracey
fb6aa3ef4f
Clean up ARM toolchain heap+stack setup in targets
...
ARM Compiler 6.13 testing revealed linker errors pointing out
conflicting use of `__user_setup_stackheap` and
`__user_initial_stackheap` in some targets. Remove the unwanted
`__user_initial_stackheap` from the targets - the setup is
centralised in the common platform code.
Looking into this, a number of other issues were highlighted
* Almost all targets had `__initial_sp` hardcoded in assembler,
rather than getting it from the scatter file. This was behind
issue #11313 . Fix this generally.
* A few targets' `__initial_sp` values did not match the scatter
file layout, in some cases meaning they were overlapping heap
space. They now all use the area reserved in the scatter file.
If any problems are seen, then there is an error in the
scatter file.
* A number of targets were reserving unneeded space for heap and
stack in their startup assembler, on top of the space reserved in
the scatter file, so wasting a few K. A couple were using that
space for the stack, rather than the space in the scatter file.
To clarify expected behaviour:
* Each scatter file contains empty regions `ARM_LIB_HEAP` and
`ARM_LIB_STACK` to reserve space. `ARM_LIB_STACK` is sized
by the macro `MBED_BOOT_STACK_SIZE`, which is set by the tools.
`ARM_LIB_HEAP` is generally the space left over after static
RAM and stack.
* The address of the end of `ARM_LIB_STACK` is written into the
vector table and on reset the CPU sets MSP to that address.
* The common platform code in Mbed OS provides `__user_setup_stackheap`
for the ARM library. The ARM library calls this during startup, and
it calls `__mbed_user_setup_stackheap`.
* The default weak definition of `__mbed_user_setup_stackheap` does not
modify SP, so we remain on the boot stack, and the heap is set to
the region described by `ARM_LIB_HEAP`. If `ARM_LIB_HEAP` doesn't
exist, then the heap is the space from the end of the used data in
`RW_IRAM1` to the start of `ARM_LIB_STACK`.
* Targets can override `__mbed_user_setup_stackheap` if they want.
Currently only Renesas (ARMv7-A class) devices do.
* If microlib is in use, then it doesn't call `__user_setup_stackheap`.
Instead it just finds and uses `ARM_LIB_STACK` and `ARM_LIB_HEAP`
itself.
2019-10-23 14:53:49 +03:00
jeromecoutant
01e798fd6a
STM32 clock configuration depending on USB
2019-10-21 17:11:59 +02:00
jeromecoutant
40739d3b8f
STM32H7 USB pins addition
2019-10-21 17:11:50 +02:00
Martin Kojtal
dba8e77b8c
Merge pull request #11688 from LMESTM/Clearing_UART_TC_Flag_prevents_deepsleep
...
Clearing UART TC Flag prevents deep sleep, so do not clear it
2019-10-17 14:17:15 +02:00
Laurent Meunier
e862438fad
Clearing UART TC Flag prevents deep sleep, so do not clear it
...
The TC flag is used in function serial_is_tx_ongoing to check if there is
an ongoing serial transmission. So this Flag must not be cleared at the
end of the transmission, otherwise, serial_is_tx_ongoing will notify that
TX is ongoing.
The impact is that it may prevent deep sleep to be entered.
Also there is no need to clear this flag at the end of the transaction
because it will be cleared automatically by HW when a new transmission
starts.
2019-10-15 15:59:51 +02:00
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