Cruz Monrreal
0f51ea031e
Merge pull request #6610 from pauluap/stm32_eth_remove_tx_rx_locking_interrupt_perforation
...
Stm32 eth remove tx rx locking interrupt perforation
2018-05-07 10:51:03 -05:00
Cruz Monrreal
e2567e5dad
Merge pull request #6599 from jeromecoutant/PR_WARNING
...
STM32 compilation warning issues
2018-04-16 10:41:36 -05:00
Paul Thompson
b45d4233e1
Make the atomic_clr_u32 conditional use raw values rather than computed, remove need for guards
2018-04-13 04:44:43 -07:00
Paul Thompson
2211a27f53
Drop usage of ilen, just use len and cast it to int32_t as appropriate
2018-04-13 00:27:00 -07:00
Paul Thompson
8f4a5e2093
Revert to original fix concentrating on type correctness
2018-04-12 10:09:53 -07:00
Paul Thompson
430784b084
Initial work was for unsigned-signed comparison fix. Current work fixes negative number issues
...
Compile: stm32f7xx_hal_pcd.c
../targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_pcd.c: In function 'PCD_WriteEmptyTxFifo':
../targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_pcd.c:1310:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (len > ep->maxpacket)
^
../targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_pcd.c:1325:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (len > ep->maxpacket)
^
2018-04-12 09:43:18 -07:00
Paul Thompson
c67f535fb3
Drop locking around TX and RX. The DMA channels are independent of each other
2018-04-12 09:42:28 -07:00
jeromecoutant
2d0dce1db5
STM32F7 : correct compilation warnings
2018-04-12 10:55:02 +02:00
Cruz Monrreal
5648b156e6
Merge pull request #6063 from bcostm/PULL_REQUEST_CUBE_UPDATE_F7_V1.10.0
...
STM32F7: Update ST HAL driver with CubeF7 v1.10.0
2018-02-14 12:41:37 -06:00
Wilfried Chauveau
d1a0ff9964
remove magic calibration value for HSI in ST's targets
2018-02-12 16:47:35 +00:00
bcostm
118073a9c5
Add missing can legacy file
2018-02-12 10:37:03 +01:00
bcostm
58c4a5f83e
F7 ST CUBE V1.10.0
...
F7 HAL driver V1.2.5
2018-02-12 10:37:03 +01:00
Cruz Monrreal
6a8a818ebf
Merge pull request #6012 from jeromecoutant/PR_SPI_FLUSH
...
STM32 SPI ASYNC - Add FIFO flush before transfer
2018-02-05 10:11:03 -06:00
jeromecoutant
703df3b6f9
STM32F7 SPI - add missing HAL files
...
ST_INTERNAL_REF 43358
2018-02-05 11:06:14 +01:00
Cruz Monrreal
1e794393e5
Merge pull request #5972 from bcostm/dev_BL_STM32F7
...
STM32F7: Add bootloader support (new trial)
2018-02-02 10:05:49 -06:00
Cruz Monrreal
f907012e55
Merge pull request #5962 from bcostm/fix_usart_irq_index
...
STM32: Fix usart irq index
2018-01-31 12:16:17 -06:00
bcostm
689e15cf29
STM32 serial: improve irq index management for F7 devices
2018-01-29 17:23:21 +01:00
bcostm
5ad0887d7e
NUCLEO_F767ZI: Add bootloader support
2018-01-29 15:53:44 +01:00
bcostm
e933971f92
BL NUCLEO_F746ZG: change scb->vector assignment
2018-01-29 15:53:24 +01:00
bcostm
e10e555520
BL STM32746xG: Update scatter/link files
2018-01-29 15:52:33 +01:00
jeromecoutant
8f647beacb
STM32 : set all PinMap structures as weak
...
This allow custom overwrites
2018-01-29 09:26:49 +01:00
Martin Kojtal
6d52c1c067
Revert "STM32F7: Add bootloader support"
2018-01-25 11:07:01 +00:00
bcostm
4d0535a1bf
NUCLEO_F767ZI: Add bootloader support
2018-01-22 11:11:27 +01:00
bcostm
43f4b679c7
BL NUCLEO_F746ZG: change scb->vector assignment
2018-01-22 11:11:27 +01:00
bcostm
728e89dd03
BL STM32746xG: Update scatter/link files
2018-01-22 11:11:27 +01:00
jeromecoutant
93b34070ed
STM32F7: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-08 11:12:10 +01:00
Jimmy Brisson
62a7ecddd3
Merge pull request #5570 from jeromecoutant/PR_STDIO
...
STM32 UART init update
2018-01-04 09:50:18 -06:00
Kevin Bracey
05e2ae7a70
Add memory barriers to STM32F7xx Ethernet
...
Pending official update from STM, add memory barriers to the Ethernet
HAL code for the STM32F7xx family.
Cortex-M7 has a merging write buffer that is not automatically flushed
by accesses to devices, so without these DMBs, we sometimes lose synch
with the transmitter.
The DMBs are architecturally needed in every version of this HAL, but
adding just to the STM32F7 version for now to clear test, as the
problem has only been observed on Cortex-M7-based devices.
Fixes #5622 .
2017-12-20 15:05:29 +02:00
bcostm
f08c04d81f
STM32 CAN3: add CAN_3 declaration for DISCO_F769NI
2017-12-07 18:12:54 +01:00
bcostm
bfc4d68ae0
STM32 CAN3: remove test of CAN_2 and CAN_3
...
CAN_2 and CAN_3 are enum and not #define and this causes compilation error with GCC_ARM
Instead put back the test of CAN_NUM (which are defined in can_device.h).
2017-12-07 18:04:34 +01:00
jeromecoutant
6d64c2fbf4
STM32 UART init update
...
- serial_init, serial_free and serial_baud function moved from serial_device.c (specific to each STM32 family) to serial_api.c (common STM32 file)
- default baudrate value was hardcoded to 9600
- Value is set now to MBED_CONF_PLATFORM_STDIO_BAUD_RATE for STDIO
- Value is set now to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE for other use
- UART init will not be stopped before calling serial_baud function
2017-11-23 14:47:54 +01:00
bcostm
1d3eb508bf
STM32: fix linker error with adc_read()
2017-11-17 13:50:59 +01:00
bcostm
34fdcc926b
STM32: move analogin_read functions in a common file
2017-11-17 13:50:59 +01:00
bcostm
4dbe95dded
STM32: rename analogin_api.c in analogin_device.c
2017-11-17 13:50:59 +01:00
bcostm
75f80abddc
STM32F7 ADC: remove adc_inited flag
2017-11-17 13:50:59 +01:00
Martin Kojtal
114e019675
Merge pull request #5486 from bcostm/fix_CAN3
...
STM32: Add support of CAN3
2017-11-16 16:12:27 +00:00
bcostm
2d8d8ae9e1
STM32: fix error with CAN_3 not defined
2017-11-15 10:36:03 +01:00
bcostm
be2a6ae273
STM32: Use CAN3_BASE + typos
2017-11-14 09:48:02 +01:00
bcostm
0ef4e2881c
STM32: Add support of CAN3 on STM32F413/F767
2017-11-14 09:48:02 +01:00
Bartek Szatkowski
c5a5438256
Update params in calls to LD/STREXW to be uint32_t
2017-11-10 09:53:42 +00:00
bcostm
ad55bc26dc
STM32: Remove GCC_ARM compilation warnings
2017-10-17 14:04:59 +02:00
bcostm
88b82e312d
fix init struct analogout
2017-10-05 16:35:05 +02:00
Jimmy Brisson
c60194fdfd
Merge pull request #5208 from jeromecoutant/PR_F7_RTC
...
STM32F7 : RTC Wake Up Timer issue
2017-10-02 10:41:31 -05:00
Jimmy Brisson
cc0b3d05aa
Merge pull request #5130 from bcostm/freeze_timer_in_debug
...
STM32: Freeze master timer on stop/breakpoint
2017-10-02 10:38:57 -05:00
Jimmy Brisson
6cb0258344
Merge pull request #5026 from LMESTM/flash_init_issue_4967
...
STM32: Lock / Unlock flash for each operation
2017-09-27 15:17:26 -05:00
jeromecoutant
1e36eb6fc9
STM32F7 : RTC Wake Up Timer issue
2017-09-26 17:04:29 +02:00
Jimmy Brisson
a2cdb10bf7
Merge pull request #4932 from LMESTM/can_reset
...
Fix STM32 CAN reset to not lose context
2017-09-20 16:24:40 -05:00
bcostm
9f86a32baf
Add freeze timer on debug for all STM32 devices
...
This is a continuation of the work done on the STM32F401xE devices only.
2017-09-18 13:31:46 +02:00
Jimmy Brisson
15a9a0382b
Enable Compiling with ARMC6 across all targets
...
remove duplicate sys.cpp
2017-09-11 13:20:32 -05:00
Laurent MEUNIER
f5aa7c7c82
STM32: Lock / Unlock flash for each operation
...
Rather than Unlocking flash during flash object creation, and leaving
the flash possibly continuously unlocked a(s object might bever be freed),
we decide to Unlock then Lock again at each erase or program call.
2017-09-05 17:49:07 +02:00