daid
99d673efd4
Add support for STEVAL-3DP001V1 board, which has an STM32F401VE chip. This support is based on the NUCLEO-F401RE board. Which has the same amount of flash/ram but less pins available on the chip.
2018-03-14 14:48:10 -05:00
Rob Meades
926f952143
Call i2c_init() before i2c_frequency() (since i2c_frequency() requires the object to be set up) and zero the I2C object before giving it to i2c_init() as i2_init() has to set up a default frequency for its timeouts to work and it will only do this if the hz field in the object was zero to begin with (otherwise you end up with a random but usually very large indeed timeout).
2018-03-14 14:48:09 -05:00
Ashok Rao
769a566e9f
ODIN MTB LEDs Fix
2018-03-14 14:48:09 -05:00
Fahim Alavi
5bf917acaa
Support added for R410M Changes
...
target added r410m
Spaces removed
Trace updated
2018-03-14 14:48:08 -05:00
Bilal
8f1dc9095d
Formatting change - II
2018-02-23 17:08:30 -06:00
Bilal
f855ef4c81
Formatting change
2018-02-23 17:08:30 -06:00
Bilal
43a0b8fbf1
Replacing i2c_xxxx(...) calls to reduce binary size and avoid any RTOS waits
2018-02-23 17:08:30 -06:00
jeromecoutant
4cf68c5e1f
STM32F4 Cube v1.19.0 update : ST CMSIS files
...
Previous version was v1.16.0
2018-02-23 17:08:30 -06:00
jeromecoutant
cd1c958ad8
STM32F4 Cube v1.19.0 update : ST HAL files
...
Previous version was v1.16.0
2018-02-23 17:08:30 -06:00
jeromecoutant
468048c817
STM32F4 Cube update : file name alignment
2018-02-23 17:08:29 -06:00
Wilfried Chauveau
978bc47415
remove magic calibration value for HSI in ST's targets
2018-02-23 17:08:28 -06:00
Ashok Rao
f2337c4ddf
Fixed serial pins and a typo for ODIN MTB
2018-02-23 17:08:28 -06:00
bcostm
83157673d2
STM32 serial: use uart_name in serial_irq_set function for F4
2018-02-09 14:18:42 +00:00
bcostm
fb4d9252f8
STM32 serial: fix linking error
2018-02-09 14:18:42 +00:00
bcostm
2c4d959064
STM32 serial: use uart_name instead of uart_base
2018-02-09 14:18:42 +00:00
bcostm
327a378123
STM32 serial: change serial_get_irq_n function for F4 devices
2018-02-09 14:18:42 +00:00
bcostm
f67975410a
STM32 serial: use get_uart_index function for F4 devices
2018-02-09 14:18:42 +00:00
jeromecoutant
0e78e7ef4e
STM32 : set all PinMap structures as weak
...
This allow custom overwrites
2018-02-09 14:18:42 +00:00
jeromecoutant
73ed270d2d
STM32 NUCLEO F413ZH and L433RC : STDIO configuration
...
#5795 patches are missing for these 2 targets
STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-02-09 14:18:40 +00:00
jeromecoutant
5651aa22da
NUCLEO_F401RE : PeripheralPins file update
...
Default SERIAL pins are now available for ADC and PWM
when STDIO_UART_TX and STDIO_UART_RX are user defined
https://os.mbed.com/teams/ST/wiki/STDIO
Alternative pins have been also defined
2018-01-27 00:57:53 -06:00
jeromecoutant
acfdaca56a
MTB_XX : STDIO configuration
...
Here is a proposition
- to align with other STM32
- and to remove compilation warnings :
[Warning] PeripheralNames.h@38,0: "STDIO_UART" redefined
2018-01-27 00:57:53 -06:00
jeromecoutant
33d2548d24
STM32F407 : correct ARM scatter file
...
Alignment with STM32Cube_FW_F4_V1.18.0 done
2018-01-27 00:57:52 -06:00
Ashok Rao
c4394af334
Adding MTB MXChip EMW3166 as a new target
2018-01-27 00:57:47 -06:00
Ashok Rao
4e38baf637
Adding MTB MTS_Dragonfly as a new target
2018-01-27 00:57:43 -06:00
jeromecoutant
5bdeb14424
STM32F4: STDIO_UART_TX and STDIO_UART_RX can be now user defined
...
NB for UBLOX targets: usb_rx and usb_tx config name are still available
in order to not break current applications.
2018-01-27 00:57:27 -06:00
jeromecoutant
d1a75ecff1
DISCO_F407VG : alignment with other STM32
...
- clock source is now a user choice
- IAR tool chain is available
2018-01-27 00:57:20 -06:00
Adam Heinrich
1ca129ae54
NUCLEO_F413ZH: Add support for the NUCLEO-F413ZH board
...
Merged from the existing TARGET_DISCO_F413ZH code (which has the same MCU)
and TARGET_NUCLEO_F412ZG code (which has the same Nucleo-144 board and
pinout).
2018-01-12 15:01:47 +00:00
Ashok Rao
0c132c57de
Fixing indentation
2018-01-12 15:01:44 +00:00
Ashok Rao
2ead50c325
Adding MTB ublox ODIN W2
2018-01-12 15:01:44 +00:00
jeromecoutant
02b5e52b23
STM32 uart: update after code review
2018-01-12 15:01:43 +00:00
jeromecoutant
c841e4065d
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
2018-01-12 15:01:43 +00:00
andreas.larsson
404e8ed1a0
Added license header
2018-01-02 15:22:04 +00:00
andreas.larsson
d95a2535d3
Added init for ODIN EVK LEDs to be off by default
2018-01-02 15:22:04 +00:00
Bilal
e163adbacf
Bracket moved to next line
2017-12-20 16:05:44 +00:00
Bilal
bef3ea63c3
Licenses added in header files
2017-12-20 16:05:44 +00:00
Bilal
2614c0bc52
C030 Battery Charger Voltage Fix
2017-12-20 16:05:44 +00:00
jeromecoutant
e005456f70
STM32F4 : compilation issue
...
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-20 16:05:44 +00:00
bcostm
b43b6cc420
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-20 16:05:43 +00:00
Martin Kojtal
c7e5eb2f97
Merge pull request #5397 from sakuraio/stm_sco-evb-01
...
add target SAKURAIO_EVB_01.
2017-11-30 18:16:09 +00:00
andreas.larsson
f2de0956b4
Updated ODIN drivers to v2.3 RC1
2017-11-28 12:22:45 +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
d5ff05a03b
STM32F4 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
Martin Kojtal
dc6dd5961e
Merge pull request #5505 from LMESTM/fix_smartcard_HAL
...
STM32: HAL smartcard, fix memory corruption in Receive
2017-11-16 16:11:04 +00:00
Martin Kojtal
41eb565d9c
Merge pull request #5342 from ARMmbed/feature_cortex_a
...
Update CMSIS/RTX with Cortex-A support
2017-11-15 11:24:36 +00:00
Laurent MEUNIER
be42c6de55
STM32: HAL smartcard, fix memory corruption in Receive
...
Re-casting with tmp the uint8_t* pData pointer to uint16_t* brings a
memory corruption and typically can corrupt the size parameter. This
is fixed with this commit.
STM32 Internal ticket reference : 39116
2017-11-15 10:50:21 +01: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