Martin Kojtal
c6d814e68c
Merge pull request #15215 from jeromecoutant/PR_STM32L4_ADD
...
STM32 : add MCU_STM32L4P5xG and MCU_STM32L412xB support
2022-02-09 16:57:53 +01:00
Jerome Coutant
12757de057
STM32L4 : add MCU_STM32L412xB support
2022-01-28 13:49:49 +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
4ecbf935ce
STM32L4 : add MCU_STM32L4P5xG support
2022-01-28 11:46:39 +01:00
Jerome Coutant
999d98a3d7
STM32L4 : remove warning
...
This is the MBED current implementation, no need to warn
2021-12-10 17:16:47 +01:00
Jerome Coutant
eb8d8547ed
STM32L4 remove non-UTF characters
2021-10-12 17:52:07 +02:00
Jerome Coutant
26df0c144e
STM32 : default SPI anbd I2C for targets with ARDUINO-NANO
2021-09-28 13:23:21 +02:00
Leon
4b27aef0ae
Add platform MTS_DRAGONFLY_L496VG
2021-08-18 12:03:48 -05:00
Martin Kojtal
7095dc79fa
Merge pull request #14688 from MubeenHCLite/CAN_rxinterrupt_fix
...
Solution for mutex problem in CAN read ISR
2021-07-12 17:21:56 +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
Mohammed Mubeen
8622f66b46
Resolved review comments
2021-07-03 13:22:25 +05:30
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
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
Mohammed Mubeen
5d861f895d
Merge branch 'master' into CAN_rxinterrupt_fix
2021-06-29 18:32:48 +05:30
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
Mohammed Mubeen
1a2d624828
Added Raw CAN (unlocked can read api) and updated the code for the
...
rxInterrupt to work for all CAN instances
2021-06-29 12:46:21 +05:30
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
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
pennam
cd35063694
Add missing changes in objects.h file for others STM32 components
2021-06-03 10:12:04 +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
jeromecoutant
1694acd7ac
STM32L4 astyle
2021-05-25 14:46:00 +02:00
jeromecoutant
81dc8f8605
STM32: correct __cplusplus brackets in ci2c_device.h
2021-05-24 14:47:05 +02:00
jeromecoutant
073c82e568
STM32: correct __cplusplus brackets in can_device.h
2021-05-24 14:39:32 +02:00
Anna Bridge
5ef56cc6f4
Merge pull request #14557 from affrinpinhero-2356/feature_i2cTiming_Calculation
...
STM32: driver/Added I2C timing calculation algorithm
2021-05-24 13:09:19 +01:00
Affrin Pinhero
d974b47439
driver/i2c: Added I2C timing calculation function.
...
This commit adds I2C timing value automatic calculation algorithm
for all supported families added. This patch improves I2C timing calculation
according to I2C input clock and I2C bus speed.
This commit also allows user to change the system clock and I2C input clock.
Related issue: #12907
Pull request type:
[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)
Test results:
[] No Tests required for this change (E.g docs only update)
[x] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR
Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-05-19 18:35:47 +05:30
reme
6b6b17dbbb
STM32L4 update drivers version to CUBE V1.17.0
2021-05-10 07:28:27 +01:00
jeromecoutant
4e9ef595c3
DISCO_L475VG_IOT01A: enable PinMap_GPIO[]
2021-04-16 12:37:49 +02:00
Martin Kojtal
32d1c99d3c
Merge pull request #14480 from jeromecoutant/PR_STM32_STANDARD
...
STM32: Standard Pin Names
2021-04-15 17:30:50 +02:00
Martin Kojtal
dd1da3da40
Merge pull request #14469 from jeromecoutant/PR_FLASH_PROGRAM
...
STM32: remove critical sections in flash_program_page
2021-04-14 20:15:11 +02:00
jeromecoutant
8e3c5f11d4
STM32L4: standard pin names
2021-04-14 11:18:22 +02:00
Martin Kojtal
8b8f4e52a0
Merge pull request #14521 from AnishKumarHCL/pwm_gpiopull_fix
...
Updated TARGET_STM32 board pinMap_PWM table with GPIO_NOPULL
2021-04-14 09:54:22 +02:00
Anish Kumar
780d7c4a00
Updated TARGET_STM32 PeripheralPins.c and PeripheralPinMaps.h Replaced GPIO_PULLUP with GPIO_NOPULL in PinMap_PWM table
2021-04-08 18:42:01 +05:30
Martin Kojtal
0075eeab6b
Merge pull request #14482 from jeromecoutant/PR_L4_SYSCLOCK
...
STM32L4: align all system_clock files
2021-04-07 10:22:50 +02:00
Anna Bridge
b91a705e74
Merge pull request #14444 from jeromecoutant/PR_GPIO_FREE
...
STM32: reset GPIO value is analog mode
2021-03-29 11:23:15 +01:00
jeromecoutant
1a27351582
STM32L4: align all system_clock files
2021-03-29 09:32:26 +02:00
jeromecoutant
d0ea0466ad
STM32: remove critical sections in flash_program_page
2021-03-24 17:40:18 +01:00
George Psimenos
61cfaa15cd
Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides
2021-03-23 11:17:17 +00:00
jeromecoutant
bb7d0391a4
[STD-PIN] STM32L4: standardized pins
2021-03-18 17:01:53 +00:00
George Psimenos
885cdef5f7
Add standard pin-names validation script & tests
2021-03-18 17:01:53 +00:00
jeromecoutant
5e50e3b19b
[STD-PIN] enable "ARDUINO_UNO" for B_L4S5I_IOT01A
2021-03-18 17:01:50 +00:00
jeromecoutant
a4350f72bd
[STD-PIN] BUTTON and LED define
...
hal/tests/TESTS/mbed_hal/gpio/main.cpp is replaced by
hal/tests/TESTS/pin_names/generic/main.cpp now
2021-03-18 17:01:50 +00:00
jeromecoutant
a6c213bb10
[STD-PIN] Replace STDIO_UART_TX by USBTX
2021-03-18 17:01:50 +00:00
jeromecoutant
7203125827
STM32 ANALOGOUT : correct GPIO free
2021-03-18 14:53:00 +01:00
Marek Czerski
f64e64dc9d
STM32: AnalogOut: do not call HAL_DAC_Start in dac_write
...
dac_write (used by AnalogOut.write) calls HAL_DAC_Start
every time. It is required to call HAL_DAC_Start only once.
HAL_DAC_Start uses internally HAL_Delay(1) making AnalogOut
not suitable for use in high speed application.
This change removes call to HAL_DAC_Start in dac_write and
moves it to analogout_init.
2021-03-12 09:56:41 +01:00
Martin Kojtal
5326e30961
Merge pull request #14293 from jeromecoutant/PR_CMAKE_ALIGN
...
STM32L4 : align CMakeLists.txt with all STM32
2021-03-11 08:56:06 +00:00
Ladislas de Toldi
40120e6036
STM32L4 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:18:24 +01:00
jeromecoutant
8987aed3e8
STM32L4: align CMakeLists.txt for all families
2021-02-24 12:20:58 +01:00
Martin Kojtal
85c2d7a25c
CMake: remove IAR references as they are not supported
2021-02-17 09:19:03 +00:00
Robert Walton
f6302dc108
Fix NUCLEO_L496ZG_P target
2021-02-15 11:05:07 +00:00
Robert Walton
956a8790c1
Fix DISCO_L4R9I target
2021-02-15 11:05:07 +00:00