Kyle Kearney
8e9877c212
Update STM driver changes for clarity
...
- Use a switch statement rather than shifting and masking to compute
the AlternateBytes value.
- Rename rounded_size to alt_bytes to clarify its purpose.
2019-10-16 09:37:27 -07:00
Martin Kojtal
16568da47f
Merge pull request #11605 from ABOSTM/DISCO_H747I_DUALCORE_SUPPORT
...
DISCO_H747I dualcore support
2019-10-16 17:35:25 +08: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
728a1c4383
STM32F767ZI - I2C FastModePlus not properly enabled 2/2
...
Warning: sometimes I2C_FASTMODEPLUS_I2Cx is defined,
even if not supported by some chip within the family
2019-10-15 13:46:29 +02:00
Janne Kiiskila
02c139f27a
stm32f4xx_hal_pcd.c@346,22: unused variable 'ep'
...
Compiler warning fix, trivial. One function has an unused
variable, delete that line.
2019-10-15 09:49:09 +03: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
Martin Kojtal
8ff444ff80
Merge pull request #11621 from jeromecoutant/PR_L1_VREFINT_CAL_ADDR
...
STM32L151: update calibration memory address
2019-10-14 09:23:16 +02:00
Martin Kojtal
379787a127
Merge pull request #11626 from jeromecoutant/PR_DISCO_L4R_STMOD
...
DISCO_L4R9I: update default STMOD+ pin
2019-10-14 09:22:35 +02:00
Anna Bridge
489c30f569
Merge pull request #11297 from kyle-cypress/pr/qspi-dummy-cycles
...
Differentiate alt and dummy cycles in QSPIF
2019-10-11 14:34:17 +01:00
Alexandre Bourdiol
66765332e0
STM32F767ZI - I2C FastModePlus not properly enabled
...
Fixes #11659
2019-10-10 10:26:59 +02:00
Rohan Fletcher
02df759c37
OLIMEX_STM32E407_F407ZG: Added new target platform
...
Added Olimex STM32-E407 (STM32F407ZG) evaluation board.
USB, UART, External HS XTAL and Ethernet are all working correctly.
2019-10-10 09:20:28 +13:00
Anna Bridge
f1295b9aa7
Merge pull request #11573 from felser/add_413_dragonfly
...
Add 413 dragonfly
2019-10-07 16:48:07 +01:00
jeromecoutant
fc5b91a36f
DISCO_L4R9I: update default STMOD+ pin
2019-10-07 16:01:16 +02:00
jeromecoutant
1673e8aa1b
STM32L151: update calibration memory address
2019-10-03 14:17:04 +02:00
Kyle Kearney
9b32c0f316
Fix possible negative QSPI alt count on STM
...
Remove an extraneous decrement operation in cases where the alt
bits size is a multiple of 8.
2019-09-30 16:00:24 -07:00
Matthew Macovsky
baf375f8cb
Allow for arbitrary QSPI alt sizes
...
The QSPI spec allows alt to be any size that is a multiple of the
number of data lines. For example, Micron's N25Q128A uses only a
single alt cycle for all read modes (1, 2, or 4 bits depending on
how many data lines are in use).
2019-09-30 14:45:08 -07:00
Ben Cooke
dd778c4126
Add MTS_DRAGONFLY_F413RH platform to mbed-os
2019-09-30 13:50:40 -05:00
int_szyk
f892ae7f1e
Add watchdog clock accuracy to STM targets.
2019-09-30 08:10:24 +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
8c1f94f7cb
STM32WB : LSI clock selection when LSE is not available
2019-09-19 13:07:54 +02:00
jeromecoutant
5cfee65881
STM32H7: LSI clock selection when LSE is not available
2019-09-19 13:07:54 +02:00
Martin Kojtal
83fca603f0
Merge pull request #11454 from Tharazi97/LSI_VALUE_STM
...
ST: Change the LSI_VALUE according to documentation
2019-09-18 13:49:38 +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
int_szyk
48040cf687
Change the LSI_VALUE according to documentation
2019-09-17 12:01:32 +02:00
mahanthgouda
1780a08d54
Add OKDO platform ( #11407 )
...
Add OKDO platform
2019-09-16 16:58:54 +02:00
Martin Kojtal
f51bbe01c8
Merge pull request #11471 from jeromecoutant/PR_WB_ADC
...
STM32WB ADC : consecutive VBAT reading
2019-09-16 13:19:09 +02:00
jeromecoutant
ee8489f4e9
STM32WB ADC : Consecutive VBAT values reading was not possible
...
Add Stop after read
2019-09-12 12:55:41 +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
Martin Kojtal
b8ebee5719
Merge pull request #11385 from Tharazi97/lp_ticker_wrapper_change
...
Fix problem with low level lp_ticker STM wrapper
2019-09-05 11:09:50 +02:00
Martin Kojtal
7b06ce552f
Merge pull request #11368 from ua1arn/master
...
Add pin speed controlling interface
2019-09-04 13:55:26 +02:00
Martin Kojtal
5a6bf446d2
Merge pull request #11383 from Tharazi97/f303_watchdog_reset
...
Change LSI_VALUE in STM implementation.
2019-09-04 11:55:27 +02:00
jeromecoutant
55d60f3c25
Add USB support for DISCO_L4R9I
2019-09-03 16:43:05 +02:00
jeromecoutant
425d63856c
STM32L4 USB: remove EndpointAbort support
2019-09-03 14:23:05 +02:00
dolphin\gena
afc79cf9b7
formatting
2019-09-03 12:03:04 +03:00
dolphin\gena
2a13490e6d
bad formatting correction
2019-09-03 11:47:52 +03:00
dolphin\gena
a684f43b7f
indents correction
2019-09-03 11:45:35 +03:00
dolphin\gena
1379009f5e
rename macro
2019-09-02 14:02:29 +03:00
Martin Kojtal
940d3fdf60
Merge pull request #11291 from LMESTM/STM32_OSPI_QSPI_fallback_support
...
Stm32 ospi qspi fallback support
2019-09-02 12:26:55 +02:00
Martin Kojtal
8add87aeba
ST pinmap: remove endif mistype
2019-09-02 10:33:20 +01:00
Martin Kojtal
b44fbfe714
ST pinmap: Fix the style
2019-09-02 10:32:32 +01:00
dolphin\gena
58ca13006d
formatting
2019-09-02 12:08:07 +03:00
int_szyk
a95450bdc0
AStyle
2019-09-02 10:48:41 +02:00
int_szyk
16c5121705
Fix problem with low level lp_ticker STM wrapper
2019-09-02 10:48:40 +02:00
dolphin\gena
9043330af4
fix mistypes
2019-09-02 10:21:38 +03:00
dolphin\gena
05fc0f5263
formatting issue
2019-09-02 10:17:54 +03:00
dolphin\gena
75c17cea90
mistype fix
2019-09-02 10:08:36 +03:00
int_szyk
3fa878f8a8
Change LSI_VALUE in STM implementation.
...
Wrong LSI value might be causing problems witch watchdogs.
2019-08-30 13:54:39 +02:00
Martin Kojtal
a65ed8c3d8
Merge pull request #11303 from jeromecoutant/PR_H743ZI2_480
...
NUCLEO_H743ZI2 : increase system clock from 400 MHz to 480 MHz
2019-08-29 17:10:06 +02:00
jeromecoutant
bb1388be8e
NUCLEO_L4R5ZI: add QSPI_x definition
2019-08-29 14:17:33 +02:00
Martin Kojtal
8ef742a49c
Merge pull request #11370 from u-blox/ublox_odin_driver_os_5_v3.7.1_rc1
...
Driver Updates + ARMC6 driver support + WIFI fixes
2019-08-29 13:35:06 +02:00
jeromecoutant
f13072490c
NUCLEO_L4R5ZI : add OSPI pins for QSPI
2019-08-29 12:11:28 +02:00
Laurent Meunier
8401c2ea31
STM32: Few fixes and tidy-up in qspi_api
2019-08-29 11:17:46 +02:00
jeromecoutant
be78084a8b
NUCLEO_H743ZI and NUCLEO_H743ZI2: clock configuration cleanup
2019-08-29 10:52:24 +02:00
aqib-ublox
7f36fbc86e
Driver Updates + ARMC6 driver support + wifi fixes
2019-08-29 11:33:29 +05:00
dolphin\gena
605fdd13de
Add pin speed controlling interface
2019-08-28 22:17:45 +03:00
Martin Kojtal
96d9a8fea9
Merge branch 'MX25LM51245G_QSPI_test_config' of git://github.com/LMESTM/mbed into dev_rollup
2019-08-28 18:37:17 +01:00
Martin Kojtal
104f9281c4
Merge branch 'I2C_SEQUENTIAL_COMMUNICATION_REWORK' of git://github.com/ABOSTM/mbed-os into dev_rollup
2019-08-28 18:36:53 +01:00
Martin Kojtal
31b65adf45
Merge branch 'master' of git://github.com/malavikasajikumar/mbed-os into dev_rollup
2019-08-28 18:36:40 +01:00
Leon Lindenfelser
7063ccee9e
Add PA6 to ADC PeripheralPins for MTS_DRAGONFLY_L471QG
2019-08-28 13:12:08 +01:00
Malavika Sajikumar
db0d3d21e6
Updating SDP-K1 PinNames.h file.
...
- Removing LED pin definitions based on color.
- Removing and updating incorrect USB pin definitions.
- Adding comments for Arduino SPI and I2C pins.
2019-08-27 15:24:08 -07:00
Martin Kojtal
7e179f5beb
Merge pull request #11301 from jeromecoutant/PR_L4R
...
STM32L4+ : increase system clock from 80 MHz to 120 MHz
2019-08-27 09:49:09 +02:00
Alexandre Bourdiol
de121a308a
Fix I2C issue with test mbed_hal_fpga_ci_test_shield
...
On last case #5 there was a last unexpected read.
It happened when stop condition was generated
2019-08-26 14:01:23 +02:00
Martin Kojtal
02d1873c06
Merge pull request #11266 from u-blox/feature_adc_temp_conf
...
ADC internal temperature support and EMAC header fix
2019-08-26 11:08:47 +02:00
Alexandre Bourdiol
7910de2f38
TARGET_STM: Fix I2C sequential communication
...
Keep former behaviour for I2C V1.
For I2C V2:
Use only I2C_FIRST_FRAME, I2C_FIRST_AND_LAST_FRAME and I2C_LAST_FRAME,
thus we avoid using reload bit.
Reload suppose the next frame would be in the same direction,
but we have no guarranty about this. So we cannot use reload bit.
Note: in case of 2 consecutive I2C_FIRST_FRAME,
a restart is automatically generated only if there is direction change in the direction.
2019-08-23 16:26:19 +02:00
jeromecoutant
8cd00b3468
STM32L4: Add OSPI IP support in fallback QSPI mode
...
For STM32 platforms that embed an OSPI IP, we're offering
a QSPI fallback support with this commit.
When OSPI is supported in mbed, we can consider adding full
OSPI support
2019-08-23 15:18:48 +02:00
aqib-ublox
1ab75d3759
adding internal ADC pin definition for MBED_CONNECT_ODIN and MBED_ODIN_W2
2019-08-23 15:46:15 +05:00
jeromecoutant
3e4592703d
Create NUCLEO_H743ZI2 own target at 480 MHz
2019-08-23 10:33:08 +02:00
Anna Bridge
7455b89603
Merge pull request #11280 from Tharazi97/stm_spi_api_memset_fill_truncated
...
Tweak stm_spi_api Coverity warning.
2019-08-22 17:11:19 +01:00
jeromecoutant
680e0fc5fb
DISCO_L4R9I: increase system clock from 80MHz to 120MHz
2019-08-22 13:32:20 +02:00
jeromecoutant
bdd0689228
NUCLEO_L4R5ZI: increase system clock from 80MHz to 120MHz
2019-08-22 13:21:28 +02:00
Alexandre Bourdiol
7647b39adc
TARGET_STM: I2C sequential communication revert PR #3324 to original cube HAL
2019-08-22 10:44:20 +02:00
Martin Kojtal
d0c917cb32
Merge pull request #11274 from VVESTM/vve_eth_h7
...
Add ethernet support on NUCLEO_H743ZI board
2019-08-22 09:42:45 +02:00
int_szyk
5c9daa3941
Tweak stm_spi_api Coverity issue.
...
Coverity warining: "memset fill truncated (NO_EFFECT)".
Changed SPI_FILL_WORD to SPI_FILL_CHAR.
2019-08-21 16:47:35 +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
aqib-ublox
80e30f4258
ADc internal temperature suuport and EMAC header fix
2019-08-20 18:44:22 +05:00
Martin Kojtal
ce74bb53c4
Merge pull request #11178 from Tharazi97/watchdog_max_timeout
...
ST: Watchdog: Fix timeout registers value calculation
2019-08-20 13:47:31 +02:00
Hugues Kamba
5cbc3e0497
Relocate USB target specific code to root `targets` directory
...
All target specific source and header files should be in the `targets`
directory located at the root of the Mbed OS repository.
2019-08-16 15:42:43 +01:00
int_szyk
df43350f28
Tweak STM watchdog implementation
...
Change the calculation method of rl so it is rounded up.
2019-08-14 13:02:47 +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
Martin Kojtal
f8dc035ae4
Merge pull request #11139 from sethitow/stm32f413-crash-capture
...
STM32F413 Crash Capture
2019-08-09 12:49:21 +01:00
Martin Kojtal
174cac7e11
Merge pull request #11103 from desowin/stm32f7-usbhost
...
STM32F7: Do not generate redundant IN tokens
2019-08-09 11:36:37 +01:00
Martin Kojtal
9b4373639b
Merge pull request #11072 from jeromecoutant/PULL_REQUEST_CUBE_UPDATE_L4_V1.14.0
...
STM32L4: update drivers version to CUBE V1.14.0
2019-08-09 11:35:00 +01: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
Seth Itow
9a65310a85
stm32f413xh: add crash capture support for ARM_STD
2019-08-01 11:28:36 -07:00
Szymon Szantula
dd2876c8ac
__cplusplus guard fixed
...
This error prevented using this header in cpp code directly.
2019-08-01 14:41:11 +02:00
Seth Itow
1c4ad895dd
stm32f413xh: add crash capture support for IAR
2019-07-31 15:54:47 -07:00
Seth Itow
6278dacc1f
stm32f413xh: add crash capture support for ARM_MICRO
2019-07-31 15:54:20 -07:00
Seth Itow
489bd3dec8
stm32f413xh: add crash capture support for GCC_ARM
2019-07-31 15:53:34 -07:00
Ireneusz Gaicki
b9c4076741
STM32F7: Do not generate redundant IN tokens
...
When STM32F746-DISCO board was being used in (unsupported) USBHost mode,
the communication was unreliable. Our investigation revealed that the
problem lied in redundant IN tokens that the host generated even though
it shouldn't. This could lead to endless high-frequency NAKs being
received from device, which caused watchdog reset as USBHost spent all
time in interrupt handlers.
In our application the clocks frequencies are:
* HCLK = 48 MHz
* APB1 = 6 MHz
* APB2 = 12 MHz
We have captured the raw USB High-Speed traffic using OpenVizsla.
Without this change, when USB MSD device connected to the system
responded to IN with NAK, there were excessive IN tokens generated about
667 ns after the NAK. With this commit the IN tokens are generated no
sooner than 10 us after the NAK.
The high frequency of the IN/NAK pairs is not the biggest problem.
The biggest problem is that the USB Host did continue to send the IN token
after DATA and ACK packets were received from device - *without* any request
from upper layer (USB MSD).
The USB MSD devices won't have extra data available on Bulk IN endpoint
after the expected data was received by Host. In such case IN/NAK cycle
time is only houndreds of nanoseconds, the MCU has no time for anything else.
The problem manifested not only on Bulk endpoints, but also during
Control transfers. Example correct scenario (when this fix is applied):
* SETUP stage
* SETUP [host -> address 0 endpoint 0]
* DATA0 [80 06 00 01 00 00 08 00] [CRC16: EB 94]
* ACK
* DATA stage
* IN
* NAK
... the IN/NAK repeated multiple time until device was ready
* IN
* DATA1 [12 01 10 02 00 00 00 40] [CRC16: 55 41]
* ACK
* STATUS stage
* OUT
* DATA1 ZLP
* ACK
Without this commit, in DATA stage, after the ACK was received, the host
did send extra IN to which device responded with STALL. On bus it was:
* DATA stage
...
* IN
* DATA1 [12 01 10 02 00 00 00 40] [CRC16: 55 41]
* IN
* STALL
* IN
* STALL
* STATUS stage
* OUT
* DATA1 ZLP
* STALL
In the fault case the next SETUP was sent only after 510 ms, which
indicates timeout in upper layer.
With this commit the next SETUP is sent 120 us after the STATUS stage ACK.
2019-07-24 11:40:49 +02:00
jeromecoutant
96a773a0e6
STM32L4: update drivers version to CUBE V1.14.0
2019-07-19 13:15:07 +02:00
Seppo Takalo
12d60f86ea
Merge pull request #11050 from jeromecoutant/PR_DISCO_L4R9I
...
DISCO_L4R9I new target
2019-07-17 23:15:45 +03:00
Seppo Takalo
987533859a
Merge pull request #10104 from kjbracey-arm/sleep_api
...
Sleep rework, RTOS API for bare metal, wait deprecations
2019-07-17 14:37:53 +03:00
Seppo Takalo
8efd123776
Merge pull request #11042 from caoyuan96421/bugfix
...
Fixed serial_device IRQ infinite loop bug due to uint8_t overflowing in STM devices
2019-07-17 14:33:21 +03:00
jeromecoutant
1a835dda4a
DISCO_L4R9I new target
2019-07-15 14:06:40 +02:00
Seppo Takalo
b22641ca18
Normalize line endings for IM880B startup files.
2019-07-15 14:56:22 +03:00
Kevin Bracey
a522dcfa0a
Replace deprecated wait calls
2019-07-15 10:13:50 +03:00
Yuan Cao
6ed21ee1c0
Fixed serial_device IRQ infinite loop bug due to uint8_t overflowing
2019-07-13 00:05:25 -04:00
Tymoteusz Bloch
878c93673b
Reverted "K64F, STM32F429: IAR linker scripts dynamic heap fix"
...
due to side effect with K64F bootloader application jump after three consecutive HW resets.
2019-07-10 13:30:40 +02:00
Martin Kojtal
647b5817ce
Merge pull request #10982 from jeromecoutant/PR_LPUART
...
STM32 LPUART minor update for easy maintenance
2019-07-09 08:33:06 +01:00
Arto Kinnunen
1264660314
Merge pull request #10972 from 0xc0170/test_target
...
add new target IM880B
2019-07-08 16:34:36 +03:00
jeromecoutant
8a3fd6a040
STM32 LPUART update
2019-07-05 17:52:41 +02:00
jeromecoutant
8b6d0920a8
STM32H7: Reset Reason update
2019-07-05 14:44:45 +02: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
itziar
c327f4f070
add new target IM880B
2019-07-05 09:19:51 +01:00
Martin Kojtal
608e4c245f
Merge pull request #10938 from tymoteuszblochmobica/iar
...
K64F, STM32F429: IAR linker scripts dynamic heap fix
2019-07-03 12:00:35 +01:00
Martin Kojtal
ccb63d771e
Merge pull request #10857 from ARMmbed/feature-watchdog
...
Add Watchdog and ResetReason
2019-07-03 11:43:52 +01:00
Martin Kojtal
a84c239830
Merge pull request #10701 from LMESTM/STM_lp_ticker_low_level_wrapper
...
STM: replace C++ low power ticker wrapper with a low level wrapper
2019-07-02 12:50:11 +01:00
Tymoteusz Bloch
83057c95d0
IAR icf linker scripts modified to use dynamic heap allocation of all available memory.
2019-07-01 17:57:40 +02:00
Kevin Bracey
1ced842391
STM: Correct macro test in us_ticker_defines.h
...
Avoids build warning caused by #10609
2019-07-01 13:34:55 +03: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
9e0dc3e198
Merge pull request #10859 from malavikasajikumar/master
...
Removing I2C and SPI pin names in SDP-K1 PinNames.h file.
2019-07-01 09:23:06 +01:00
Laurent Meunier
58a4685811
STM32: lp_ticker optim: initialize handle once only
2019-07-01 09:33:23 +02:00
Laurent Meunier
ee95c7e64a
STM32: lp_ticker optim: remove irq_handler variable
2019-07-01 09:33:23 +02:00
Laurent Meunier
8616cd7655
Update comments and fix typo
2019-07-01 09:33:23 +02:00
Laurent Meunier
501881bf38
Update warning now that C++ wrapper is not needed anymore
...
Now we'd rather not use this wrapper and use instead the low level
wrapper implemented in this driver.
2019-07-01 09:33:22 +02:00
Laurent Meunier
d4ec62ff0c
Manage lp_ticker delay at low level
...
LP TICKER mbed-os wrapper needs to be disabled as it introduces too much latencies.
LP TICKER wrapper has been disabled and we need to managed the HW constraints at low level:
- main HW constraint is that once the comparator has been programmed once,
driver cannot program it again before CMPOK HW flag is set, which takes about 3 30us cycles.
To make it even more complex, the driver also needs to cope with "LP ticker workaround"
See commit:
LP ticker workaround
There is an errata in LPTIM specification that explains that CMP Flag
condition is not an exact match (COUNTER = MATCH) but rather a
comparison (COUNTER >= MATCH).
Also the disable interrupt is more complete now:
- always check sleep manager status and restore it
- remove irq_handler as comparator is always programed and might get called
eventually when LP TICK is restarted
- reset delayed_prog
Also in set_interrupt, make sure interrupt does not fire early.
If needed, we decide to slightly delay the tick to cope with the HW limitation to
make sure it will fire as soon as HW is capable.
Functions are called under critical section as they may be called from
the IRQ handler now, not only from driver layer.
2019-07-01 09:31:53 +02:00
Laurent Meunier
6452eb3172
LP ticker workaround
...
There is an errata in LPTIM specification that explains that CMP Flag
condition is not an exact match (COUNTER = MATCH) but rather a
comparison (COUNTER >= MATCH).
As a consequence the interrupt is firing early than expected when
programing a timestamp after the 0xFFFF wrap-around.
In order to
work-around this issue, we implement the below work-around.
In case timestamp is after the work-around, let's decide to program the
CMP value to 0xFFFF, which is the wrap-around value. There would anyway be
a wake-up at the time of wrap-around to let the OS update the system time.
When the wrap-around interrupt happen, OS will check the current time and
program again the timestamp to the proper value.
2019-07-01 09:31:53 +02:00
Martin Kojtal
85c477c1dc
Merge pull request #10609 from kjbracey-arm/us_ticker_optimise
...
wait_us optimization
2019-06-28 14:29:00 +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
Malavika Sajikumar
6632282b4a
Removing I2C and SPI pin names in SDP-K1 PinNames.h file.
...
This is to ensure the use of Arduino pin names Dxx for I2C and SPI pins in programs written for SDP-K1 board.
2019-06-18 08:15:01 -07: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
Kevin Bracey
8d15a2342f
STM: optimize us_ticker
...
Provide new optimizations for us_ticker and wait_us.
2019-06-14 10:22:08 +03:00
Martin Kojtal
5a8f795976
Merge pull request #10804 from VVESTM/vve_fix_10589
...
TARGET_STM: SPI: update pull up config depending on clk polarity
2019-06-14 07:45:25 +01: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
Martin Kojtal
9dfc8d0ea7
Merge pull request #10775 from jeromecoutant/PR_H7_REFACTOR
...
STM32H7: refactor TARGET directory
2019-06-09 18:22:04 +01:00
Martin Kojtal
356c4fb7cb
Merge pull request #10758 from toyowata/stm32f407xe
...
Move Seeed ARCH_MAX to TARGET_STM32F407xE MCU
2019-06-09 18:20:03 +01:00
Martin Kojtal
9ab0e09699
Merge pull request #10752 from teijokinnunen/stm32l0_target_spi_count
...
STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ
2019-06-09 18:19:34 +01:00
Martin Kojtal
ced4c3f4e4
Merge pull request #10708 from VVESTM/vve_fix_10671
...
TARGET_STM: SPI: add pulse on master transmissions
2019-06-09 18:10:42 +01:00
jeromecoutant
5ac7c8c77e
STM32WB warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:11:16 +02:00
jeromecoutant
ddcc63276a
STM32H7 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:11:04 +02:00
jeromecoutant
39ee51a017
STM32L4 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:10:17 +02:00
jeromecoutant
43a304351a
STM32L1 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:10:17 +02:00
jeromecoutant
daf8d114c4
STM32L0 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:10:17 +02:00
jeromecoutant
7d05f22b31
STM32F7 warning compilation
...
[-Wparentheses-equality]
[-Wsign-compare]
2019-06-07 18:10:03 +02:00
jeromecoutant
09a58b5203
STM32F4 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:08:51 +02:00
jeromecoutant
89f554fb53
STM32F3 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:08:51 +02:00
jeromecoutant
f3c7cc9d47
STM32F2 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:08:51 +02:00
jeromecoutant
8c2ee68be1
STM32F1 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:08:50 +02:00
jeromecoutant
7154ac65f2
STM32F0 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:08:50 +02:00
jeromecoutant
5d80f9e98f
STM32: remove compilation warning
2019-06-07 18:08:39 +02:00
jeromecoutant
a90e68e788
STM32H7 UART: enable LPUART
2019-06-07 18:05:06 +02:00
Filip Jagodzinski
14b83e7fdf
STM32WB: 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:36:21 +02:00
Filip Jagodzinski
53222fa448
STM32L4: 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:33:49 +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
Filip Jagodzinski
d6a48218ee
STM32F3: 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:26:20 +02:00
Filip Jagodzinski
b88b94eb75
STM32L0: 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:17:22 +02:00
Filip Jagodzinski
c387bd889f
STM32F0: 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:17:17 +02:00
Filip Jagodzinski
84384162bb
STM32F7: 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:17:07 +02:00
Vincent Veron
82979f6415
TARGET_STM: SPI: update pull up config depending on clk polarity
...
Fix #10589
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-06-06 17:06:04 +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
toyowata
f1628f0b8d
Correct SPDX identifiers
2019-06-05 19:04:55 +09:00
toyowata
9acf2c325c
Fix device_name and add SPDX identifiers
2019-06-05 16:48:08 +09:00
toyowata
f0a06b24ba
Remove ARCH_MAX files from STM32F407xG
2019-06-05 14:51:06 +09:00
toyowata
db2cac45f1
Move Seeed ARCH_MAX to TARGET_STM32F407xE MCU
2019-06-05 14:35:25 +09:00
Teijo Kinnunen
728c01f9e3
STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ
...
Enables simultaneous use of both SPIs without interference.
2019-06-04 09:38:20 +03:00
Vincent Veron
16475829f1
TARGET_STM: SPI: add pulse on master transmissions
...
Add a pulse when using hardware chip select for SPI transmissions.
CS is at low level when a transmission is on-going.
Be careful, this is not compatible with all modes. It will work only
if PHA is 0, ie spi mode is 0 or 2. See stm32xx reference manual,
chapter "NSS pulse mode" for more details.
Fix #10671
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-06-03 10:00:06 +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
jeromecoutant
570e9b0bf4
STM32 WATCHDOG : increase timeout value
2019-05-24 11:35:42 +02:00
jeromecoutant
4300e5d6c4
STM32 WATCHDOG : use ST HAL in order to make code commun for all STM32
2019-05-24 11:35:41 +02:00
jeromecoutant
feec85cc37
STM32 WATCHDOG : update STM32L0 HAL_IWDG_Init to a newest version
2019-05-24 11:35:41 +02:00
jeromecoutant
e29d64fc19
STM32 WATCHDOG : compilation issue with typed define
2019-05-24 11:35:40 +02:00
jeromecoutant
1b8513a5a8
STM32 Watchdog : move API file to STM family level
2019-05-24 11:35:39 +02:00
Filip Jagodzinski
3d31801f4f
STM: HAL: Reset_reason: Correct return values
2019-05-24 11:35:35 +02:00
Filip Jagodzinski
d26dba40b2
STM32F4: watchdog HAL: Fix issues found with tests
...
Fix WATCHDOG_STATUS_INVALID_ARGUMENT for timeout values from 1 ms to
407 ms (fix inability to set prescaler bits to zero).
Fix timeout <-> IWDG registers conversions.
Fix read & write access to IWDG_PR and IWDG_RLR registers.
Fix LSI RC frequency setting.
Limit MAX_TIMEOUT_MS to UINT32_MAX.
2019-05-24 11:35:29 +02:00
Steven Cartmell
2fb9fc2a8e
Rename watchdog.c -> watchdog_api.c to prevent name collision with Platform API
2019-05-24 11:35:25 +02:00
Steven Cartmell
e7761a1d39
Move watchdog parameter validation into the driver layer
2019-05-24 11:35:22 +02:00
Steven Cartmell
31924b2481
Add missing license headers
2019-05-24 11:35:21 +02:00
Steven Cartmell
7c392a16d4
Remove window and sleep mode options for watchdog API
2019-05-24 11:35:13 +02:00
Steven Cartmell
8fa38bb25b
Add Watchdog driver API
2019-05-24 11:20:26 +02:00
Steven Cartmell
366893ae71
Add independent watchdog reference implementation for STM32
2019-05-24 11:20:25 +02:00
Steven Cartmell
6b3d790fc1
Add function to fetch platform specific reset reason register values
2019-05-24 11:20:24 +02:00
Steven Cartmell
1ec22fee05
Add reset reason reference implementation STM32
2019-05-24 11:20:23 +02:00
Martin Kojtal
4567626ade
Merge pull request #10636 from u-blox/activation_status
...
+UPSND sent to poll activation status
2019-05-23 21:39:48 +01:00
Martin Kojtal
80d7cb2e17
Merge pull request #10631 from VVESTM/update_cube_h7
...
Update cube h7 to 1.4.0
2019-05-23 21:36:38 +01:00
Martin Kojtal
02b91bdfca
Merge pull request #10582 from malavikasajikumar/master
...
Adding LED4 definition in PinNames.h of SDP-K1 board.
2019-05-23 21:35:42 +01: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
Bilal Qamar
defc244db2
+UPSND sent to poll activation status
2019-05-22 16:52:03 +05:00
Martin Kojtal
d5b84a5d57
SDP_K1: Fix year change in the system clock
2019-05-21 07:44:49 -07:00
Martin Kojtal
d4122b0b3a
Merge pull request #10454 from u-blox/ublox_odin_driver_os_5_v3.7.0_rc1
...
Enterprise_mode_+_wifi_configuraiton_api: update ODIN drivers to v3.7.0 RC1
2019-05-20 10:54:45 +01:00
Malavika Sajikumar
cf8f3725f9
Removing stale definition.
2019-05-14 12:33:57 -07:00
Malavika Sajikumar
82a6f157b3
Adding omitted definition for LED4. This is used as a STATUS LED.
2019-05-14 12:32:44 -07:00
Martin Kojtal
a2cde2e24e
Merge pull request #10570 from jeromecoutant/PR_ASTYLE
...
STM32 astyle updates
2019-05-14 09:22:18 +01:00
Martin Kojtal
3ea1c56124
Merge pull request #10147 from kjbracey-arm/atomic_bitwise
...
Assembler atomics
2019-05-13 14:18:05 +01:00
Martin Kojtal
548a40ee62
Merge pull request #10541 from guialonsoalb/master
...
Adding QSPI support to target RHOMBIO_L476DMW1K
2019-05-13 13:59:40 +01:00
Martin Kojtal
2956a35b17
Merge pull request #10538 from masoudr/master
...
Enabled crash reporting for DISCO_F407VG target
2019-05-13 13:29:17 +01:00
Martin Kojtal
773729fcf6
Merge pull request #10479 from LMESTM/more_flash_for_stm32wb_app
...
STM32WB: Update Flash size
2019-05-12 20:08:49 +01:00
Anna Bridge
97e1c9cbaf
Merge pull request #10287 from linlingao/pr10177
...
Enable MTS_DRAGONFLY_F411RE to register with Pelion
2019-05-10 16:21:46 +01:00
jeromecoutant
0352bbbd5b
STM32 astyle updates
2019-05-10 15:32:05 +02:00
Laurent Meunier
e3a72eac9e
Typo fix for MBED_APP_SIZE
2019-05-09 10:28:20 +02:00
aqin
43759c0c4b
Enterprise mode + wifi configuraiton api
2019-05-08 17:52:04 +05:00
M. Rahimi
06ed3c44c2
Enabled crash reporting for DISCO_F407VG on all other toolchains
2019-05-07 21:43:37 +04:30
M. Rahimi
d30bdbe08b
Enabled crash reporting for DISCO_F407VG target
2019-05-07 19:25:46 +04:30
Guillermo Alonso
70bc390410
added QSPI support to target RHOMBIO_L476DMW1K
2019-05-07 15:44:09 +02:00
Laurent Meunier
fcc375f5c9
Update FLASH_SIZE backup value
...
By default, FLASH_SIZE should be read from HW.
In case this is not the case, we define it here, as the size of FLASH
that is available to the application running on M4.
2019-05-06 11:31:37 +02:00
Laurent Meunier
89eef1b490
STM32WB: Update Flash size
...
the flash is shared and split between cortex-M4 that
runs (mbed-os) application and the cortex-M0+ that
runs the BLE firmware.
The 512K allocated to the application was a
conservative that can now be updated.
With recent up-to-date BLE firmware flashed @ 0x080CB000,
there should be 812K available to application.
But there are boards out there that don't have an up-to-date
firmware, so we're keeping an intermediate, safer,
application size of 768K.
2019-05-06 11:31:37 +02:00
mudassar-ublox
5f55eedfae
cellular target name change for ublox cellular instance
2019-05-03 11:21:38 +05:00
Martin Kojtal
87711a9111
Merge pull request #10471 from malavikasajikumar/master
...
SDP-K1: Updates to target code
2019-05-02 19:03:22 +01:00
Lin Gao
2c22f549e9
Add option to keep post_binary_hook and make it default. It can be disabled by setting it to null
2019-05-02 11:25:20 -05:00
Lin Gao
438a52f15a
Fix handoff issue from the bootloader to the application on MTS_DRAGONFLY_F411RE
2019-05-02 11:25:19 -05:00
Martin Kojtal
d41962a8c8
SDP_K1: Fix year change in the system clock
2019-05-02 11:35:40 +01:00
Martin Kojtal
1de0712272
Merge pull request #9944 from deepikabhavnani/stm32_splitheap
...
GCC - Add support to split heap across 2-RAM banks
2019-04-30 11:02:51 +01:00
Malavika Sajikumar
e0faeb2b65
Fixing alignment.
2019-04-29 09:52:01 -07:00
Martin Kojtal
2cd7aa1148
Merge pull request #10303 from juhoeskeli/mem_changes
...
STM32L4xx: IAR memory maps updated
2019-04-29 13:46:46 +01:00
Anna Bridge
536da479dc
Merge pull request #10018 from deepikabhavnani/stm32_heap_armc6
...
STM: Update linker script for using SRAM1 and SRAM2 in ARM
2019-04-26 13:30:42 +01:00
Kevin Bracey
87396e0bf6
Assembler atomics
...
Reimplement atomic code in inline assembly. This can improve
optimisation, and avoids potential architectural problems with using
LDREX/STREX intrinsics.
API further extended:
* Bitwise operations (fetch_and/fetch_or/fetch_xor)
* fetch_add and fetch_sub (like incr/decr, but returning old value -
aligning with C++11)
* compare_exchange_weak
* Explicit memory order specification
* Basic freestanding template overloads for C++
This gives our existing C implementation essentially all the functionality
needed by C++11.
An actual Atomic<T> template based upon these C functions could follow.
2019-04-26 13:12:35 +03:00
Malavika Sajikumar
f11f63ddcf
AWAKE signal turned on at system init for SDP-K1 board.
...
- Setting AWAKE signal high in the SystemInit() to ensure VIO supply to daughter boards through SDP and Arduino connectors.
2019-04-25 23:49:19 -07:00
Malavika Sajikumar
869e48dad0
Improvements made to PinNames.h of SDP-K1 board.
...
PinNames.h:
- Removing definition of Status LED.
- Redefining SPI and I2C pin names using Arduino pins names.
2019-04-25 23:49:19 -07:00
Juho Eskeli
443974b864
STM32L4xx: IAR linker file updated to better use available memory
2019-04-23 12:53:53 +03:00
Martin Kojtal
b6a2c7b63f
Merge pull request #10019 from deepikabhavnani/uarm_fix
...
uARM - Move heap region after IRAM1
2019-04-18 12:49:56 +01:00
Deepika
4b7e163b57
Add missing boot stack size memory from heap calculation
2019-04-12 15:28:52 -05:00
jeromecoutant
9c63d91c11
STM32: protect compilation when DEVICE_USTICKER is disabled
2019-04-11 17:57:39 +02:00
Deepika
feba293673
Update linker script for using SRAM1 and SRAM2 in ARM
...
To have the flexibilty in application; to use any of the section
(data/bss/heap) without updating linker script in every use case,
following decisions are made:
1. Fixed size and small sections moved to SRAM2 (32K)
Vectors
Crash data
Remaining section - RW / ZI
2. Large memory space should be used for variable sections
RW/ZI
Heap - (Minimum - 0x12000)
Stack - At bottom
2019-04-09 13:41:09 -05:00
Deepika
1576fb0aaa
Add support for split heap in ST devices
2019-04-09 12:08:49 -05:00
Deepika
1a52587c2d
Update the linker file to support single and multiple heap banks
2019-04-09 12:08:49 -05:00
Deepika
3593444e93
Add support of heap memory split between 2-RAM banks.
...
Please note the heap address of the both the banks must not be contigious else
GCC considers it to be single memory bank and does allocation across the banks,
which might result into hard-fault
2019-04-09 12:08:49 -05:00
Deepika
719d0fb94e
Update linker script for split heap support
...
To have the flexibilty in application; to use any of the section
(data/bss/heap) without updating linker script in every use case,
following decisions are made:
1. Fixed size and small sections moved to SRAM2 (32K)
Vectors
Crash data
Stack
Remaining section - Heap memory
2. Large memory space should be used for variable sections
Data
BSS
Heap - Remaining section
Heap is moved to the end of both sections as GCC allocates till 4K boundary,
if end of heap is not aligned to 4K, that chunk of memory will go unutilized
2019-04-09 12:08:49 -05:00
Marcus Chang
7c0714132c
Expand sbrk to allocate memory from two regions
2019-04-09 12:08:49 -05:00
Deepika
36c7b2de86
uARM - Move heap region after IRAM1
...
ARM_LIB_HEAP start is aligned to IRAM1 end, hence should be placed next to
RW_IRAM1 i.e. no other region in between.
2019-04-09 12:01:01 -05:00
Vincent Veron
9856e86897
TARGET_STM32F7: Reset QSPI in default mode on abort for all versions.
...
This patch is missing in F7 HAL.
Fix #10049
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-04-08 11:47:15 +02:00
Martin Kojtal
c2ebb79723
Merge pull request #9814 from LMESTM/dev_NUCLEO_WB55RG
...
Adding NUCLEO_WB55RG support
2019-04-04 15:30:07 +02:00
Martin Kojtal
6081727cbf
Merge pull request #10115 from enebular/raven
...
Uhuru RAVEN: Adding platform HAL
2019-04-04 11:05:23 +02:00
Martin Kojtal
2a694cf1d9
Merge pull request #10143 from jeromecoutant/PR_ADC_RESETINTERNAL
...
STM32 ADC INTERNAL CHANNEL reset after read
2019-04-02 13:02:14 +02:00
Cruz Monrreal
cdc2579b7b
Merge pull request #10248 from VVESTM/issue_9934
...
TARGET_STM32F7: Refresh cache when erasing or programming flash
2019-04-01 17:04:26 -05:00
Cruz Monrreal
4dd55d2db6
Merge pull request #10281 from ashok-rao/S2_LP
...
Adding support for S2_LP (WiSUN) as a new MTB target
2019-04-01 17:03:37 -05:00
Ashok Rao
1f572f987e
SPDX license identifier changed to Apache-2.0
2019-04-01 15:17:06 +01:00
Ashok Rao
5cb1c64d59
Adding SPDX identifier
2019-04-01 11:21:45 +01:00
Ashok Rao
83ad921196
Resolving merge conflicts from my remote
2019-04-01 07:49:37 +01:00
Ashok Rao
d4c83fc056
Adding STM32_F429 + S2_LP (WiSUN) as a new MTB target
2019-04-01 07:31:01 +01:00
Laurent Meunier
b0f4815261
STM32WB: ADC INTERNAL CHANNEL reset after read
...
Internal channels use is enabling ADC "internal path" which needs
to be disabled after measurement.
Same applied here for WB family as was done for others in #10143 .
2019-03-29 16:21:46 +01:00
Laurent Meunier
c6277988c6
STM32WB: Only configure default peripherals in SetSysClock
...
Typically the RTC clock is configured by RTC driver itself.
RNG on the other hand is shared with M0+ core and it is expected that
M4 turns it on at boot time.
2019-03-29 16:21:46 +01:00
Laurent Meunier
a744343931
STM32WB: disable debug lines when not needed
...
When doing so, do not disbale GPIO clocks as they may be used by other
drivers !
As a result, debug will be disabled by default, but can be enabled by
either modifying code or selecting MBED debug profile.
2019-03-29 16:21:46 +01:00
Laurent Meunier
718b16545c
STM32WB: update deep sleep sequence
...
Review HSE clock initialization to match with latest CUBE firmware.
Also there is no need to set the full clock tree again after deep sleep exit.
With this change we get a stable deep sleep mode (when allowed by CORDIO stack).
2019-03-29 16:21:45 +01:00
Laurent Meunier
b21110d6b8
STM32WB: Add FLASH HW Semaphore
...
Because FLASH is a shared resource between the 2 STM32WB cores, SW needs
to acquire HW Semaphore before using the resource.
2019-03-29 16:21:45 +01:00
Laurent Meunier
14ee4a1c7b
STM32WB: Add TRNG HW Semaphore
...
Because TRNG is a shared resource between the 2 STM32WB cores, SW needs
to acquire HW Semaphore before using the resource.
2019-03-29 16:21:45 +01:00
Laurent Meunier
71c396cab1
STM32WB: update GCC linker script to match with master
2019-03-29 16:21:45 +01:00
Laurent Meunier
6caa4d487f
STM32WB: Add SPDX identifier to new files
...
also update the copyright year when needed
2019-03-29 16:21:44 +01:00
Laurent Meunier
c53021b77f
STM32WB: Update headers
2019-03-29 16:21:43 +01:00
Laurent Meunier
002f40dd3a
STM32WB: ARM linker script update
...
There is no need to add FIRST attribute to MAPPING_TABLE as the default
ordering is alphabetical order.
With this change, we don't have any warning with MBED2 and the sections
are properly ordered anyway in BLE cases.
2019-03-29 16:21:42 +01:00
Laurent Meunier
f2580c1c4a
STM32WB: Fix ARM link error in mbed2
...
In case of mbed2, BLE feature is not built.
As there is a MAPPING_TABLE in BLE feature which is not compiled in case
of mbed2, the linker reported the below error
[ERROR] "C:/Data/Workspace/mbed/BUILD/test/NUCLEO_WB55RG/ARM/MBED_2/
.link_script.sct", line 65 (column 6): Error: L6236E:
No section matches selector - no section to be FIRST/LAST.
Solution is to check whether BLE is enabled.
2019-03-29 16:21:41 +01:00
Laurent Meunier
f9b4f11507
STM32WB: Adapt I2C timings
...
for now based on L4+ cubeMX inputs
2019-03-29 16:21:41 +01:00
Laurent Meunier
bb2aea41f8
fixup! NUCLEO_WB55RG: add SDK files
2019-03-29 16:21:41 +01:00
Laurent Meunier
e2cdb19e7f
STM32WB: Add missing analogin_pinmap
...
This is required since PR #9449
commit
"Add HAL API for analog in pinmap"
2019-03-29 16:21:41 +01:00
Laurent Meunier
d9c17addd7
Add WB support and CUBE FW version in readme.md
2019-03-29 16:21:40 +01:00
Laurent Meunier
5aa609b4db
STM: fix minor warnings
2019-03-29 16:21:40 +01:00
Laurent Meunier
22f9ac6624
STM32WB: FIX LL RTC warning
2019-03-29 16:21:40 +01:00
Laurent Meunier
5871a712dc
STM32WB: Move STM32WB utilies from FEATURE_BLE to targets folder
...
These files are not BLE specific, but also needed for some clock setting
for instance.
In order to compile an MBED2 application, we need to move the files.
2019-03-29 16:21:40 +01:00
Laurent Meunier
27e7e4d9df
NUCLEO_WB55RG: Rework Clock and sleep support
...
- move hw_conf.h file to targets/TARGET_STM/TARGET_STM32WB directory as
this is used also out of BLE feature.
- create a dedicated hal_deepsleep function as the behavior in WB is a lot
different from other existing STM32 targets
- update clock tree configuration to directly clock the entire tree @ 32MHz
out of HSE. This is needed as we want to let the M0 core running without
any change on M0-side of clocks when M4 enters /exits deep sleep.
2019-03-29 16:21:40 +01:00
jeromecoutant
ea86e8ef34
NUCLEO_WB55RG: HAL API updates to get SLEEP, RTC and LPTICKER OK
...
- astyle OK
- file alignment with other families
- HSE, MSI, HSI clock support
- LPTICKER with RTC and LPTIM tested
2019-03-29 16:21:38 +01:00
bcostm
beab69704a
NUCLEO_WB55RG: update STM common files
...
- Include RTC ll file from hal as in other families
- STM32WB: update Flash API driver
2019-03-29 16:21:38 +01:00
Laurent Meunier
baf7a121bb
NUCLEO_WB55RG: IAR, ARM and GCC linker files alignment
...
Align all scatter BLE shared memory declarations.
2019-03-29 16:21:38 +01:00
bcostm
4547fa34f7
NUCLEO_WB55RG: update mbed_rtx.h
2019-03-29 16:21:38 +01:00
bcostm
81f985433f
NUCLEO_WB55RG: add SDK files
...
- Contains files from STM32Cube_FW_WB_V1.0.0
2019-03-29 16:21:37 +01: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
Cruz Monrreal
6443e4360a
Merge pull request #10212 from ecoromka/master
...
Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
2019-03-28 17:07:46 -05:00
Vincent Veron
5765c4d0e0
TARGET_STM32F7: Refresh cache when erasing or programming flash
...
The cache must be refreshed when we erase or program flash memory.
It fix 2 issues :
Fix #9934
Fix #6380
This solution was initially proposed in #6380 .
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-03-28 14:48:12 +01:00
jk
e44aa056c0
added SPDX identifier and
...
added the description of uhuru_raven_init function
2019-03-27 17:02:56 +09:00
jk
23cb826314
Add definition of RAVEN
2019-03-27 17:02:55 +09:00
Cruz Monrreal
b872d08181
Merge pull request #10000 from malavikasajikumar/master
...
Adding support for SDP-K1.
2019-03-27 00:21:13 -05:00
ecoromka
757b9e250d
Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
...
Fix TEMPSENSOR_CAL1_TEMP according to datasheet.
2019-03-26 10:42:38 -05:00
Martin Kojtal
f76436c955
Merge pull request #10181 from jeromecoutant/PR_STMOD
...
DISCO_L496AG: Add PMOD and STMOD+ connector
2019-03-22 11:17:12 +01:00
Martin Kojtal
d850d3bbca
Merge pull request #10156 from juhoeskeli/MTB_STM_L475_uart_clock_fix
...
MTB_STM_L475: fix UART clock
2019-03-21 10:43:35 +01:00
jeromecoutant
9ac9288229
DISCO_L496AG: Add PMOD and STMOD+ connector
2019-03-21 10:35:11 +01:00
Juho Eskeli
a3beb1081e
MTB_STM_L475: fix UART clock
2019-03-20 16:52:28 +02:00
Martin Kojtal
7d853b46c3
Merge pull request #10133 from ashok-rao/MTB_STM_F439
...
Adding STM32_F439 as a new MTB target
2019-03-20 13:52:46 +01:00
Martin Kojtal
9f2b23d009
Merge pull request #10149 from jeromecoutant/PR_H7ADCINTERNAL
...
STM32H7 ADC internal channels
2019-03-20 13:25:23 +01:00
Ashok Rao
3661957401
Changing SPI flash's CS ine, Errata on SCH
2019-03-19 09:47:38 +00:00
Ashok Rao
fd241ddeaf
Pin map changes
...
Based on v1.1.0 of S2_LP MCB using STM32F429ZIT6.
2019-03-19 09:47:38 +00:00
Ashok Rao
04270f75ba
Adding MTB aliases to PinNames
2019-03-19 09:47:38 +00:00
Ashok Rao
01f2b0426d
Adding STM S2_LP as a new target
2019-03-19 09:47:38 +00:00
Malavika Sajikumar
00863c2664
Renaming SDP-K1 to SDP_K1.
2019-03-18 15:50:14 -07:00
jeromecoutant
75a771c583
STM32H7 ADC internal channels
2019-03-18 16:55:37 +01:00
Ashok Rao
339f806c71
Removing redundant code.
...
MCO pins are not brought out on MTB / MCB design.
2019-03-18 12:37:27 +00:00
Ashok Rao
e4f8b400f8
Adding STM32_F439 as a new MTB target
2019-03-17 19:20:43 +00:00
Martin Kojtal
4b358d63f9
Merge branch 'patch-10' of https://github.com/janjongboom/mbed-os into rollup
2019-03-15 08:44:24 +00:00
Martin Kojtal
d6e81f5249
Merge branch 'PR_H743_A5' of https://github.com/jeromecoutant/mbed into rollup
2019-03-14 11:36:50 +00:00
Martin Kojtal
1bbf7d69d1
Merge pull request #9902 from wajahat-ublox/r412m_reset
...
Remove assertion of MDMRST in case of SARA-R4
2019-03-14 09:40:44 +01:00
Martin Kojtal
897d15a9bc
Merge pull request #9895 from mrcoulter45/issue-9890-fix
...
Fix for i2c_t object not being initialized to 0 causing timeout
2019-03-14 09:39:10 +01:00
Martin Kojtal
b21211dd9f
Merge pull request #9884 from jeromecoutant/PR_F429_uARM
...
STM32F429 ARM MICRO startup file update
2019-03-14 09:38:33 +01:00
Martin Kojtal
76fe7267e7
Merge pull request #9637 from u-blox/C030_N211_Cellular_Driver
...
Cellular: UBLOX_C030_N211 Cellular API's
2019-03-14 09:11:06 +01:00
Malavika Sajikumar
27abeb993a
Updating SPDX-License-Identifier.
2019-03-08 14:30:59 -08:00
Malavika Sajikumar
481c19e30d
Adding support for SDP connector pins.
2019-03-08 10:28:04 -08:00
Malavika Sajikumar
d4cc30c8f9
Fixing for Travis CI test fail. 5e9e140.
2019-03-08 10:11:26 -08:00
Malavika Sajikumar
b8d4ad29da
Adding SPDX identifier (year 2019) to the license.
2019-03-08 09:35:26 -08:00
Malavika Sajikumar
5e9e1404c8
Removing commented out lines. Added SDP connector pins.
2019-03-08 09:22:47 -08:00
Malavika Sajikumar
2ffa39ffc0
Adding support for SDP-K1.
2019-03-07 13:43:54 -08:00
Jan Jongboom
f3614abc30
OdinWifiInterface is calling memcpy with a null pointer
2019-03-07 16:47:56 +01:00
Sarah Marsh
c668472f01
NUCLEO_L073RZ: IAR linker script issue
2019-03-07 13:55:55 +01:00
Michael Coulter
c59c1cb29d
Fix for i2c_t object not being initialized to 0 causing timeout
...
For issue #9890
2019-03-05 11:35:18 -06:00
jeromecoutant
5839a8e7c5
NUCLEO_H743ZI: Arduino A5 is mapped on ADC3_IN6
2019-03-04 17:18:56 +01:00
Martin Kojtal
7c9a71846e
Merge pull request #9469 from kjbracey-arm/spi_muxing
...
SPI upgrade - per-peripheral mutex and GPIO-based SSEL
2019-03-01 18:38:27 +01:00
Martin Kojtal
f559d03ae2
Merge pull request #9766 from deepikabhavnani/uarm_fixes
...
Update Toolchain Arm Micro scatter files
2019-03-01 16:54:27 +01:00
Kevin Bracey
b12be6bb80
Rename SPI_COUNT to DEVICE_SPI_COUNT
...
Avoid collision with some HALs that already define SPI_COUNT.
2019-03-01 14:37:04 +02:00
Martin Kojtal
857cd9fba1
Merge pull request #9845 from jarlamsa/stm_spi_peripheral_name
...
Add spi_get_peripheral_name() to stm_spi
2019-03-01 12:15:04 +01:00
Wajahat Abbas
b7b083e6a2
do not assert MDMRST in case of SARA-R4
2019-03-01 15:33:26 +05:00
Deepika
122549910e
Add Crash report section to all uARM files
2019-02-28 19:54:38 -06:00
deepikabhavnani
944483b0f7
Add missing SHEBANG = #! armcc -E
2019-02-28 19:54:38 -06:00
deepikabhavnani
0ff2d42143
Heap and stack size picked from linker files,export symbols not needed
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
Cruz Monrreal
4b9d07a1da
Merge pull request #9792 from sarahmarshy/nucleo-gcc-bootloader
...
NUCLEO_L073RZ Bootloader support
2019-02-28 18:21:14 -06:00
jeromecoutant
6e12fad543
STM32F429 ARM MICRO startup file update
2019-02-28 11:19:12 +01:00
Jarno Lamsa
a9f0924f7b
Add spi_get_peripheral_name() to stm_spi
...
This is to have support for per-peripheral mutex introduced in https://github.com/ARMmbed/mbed-os/pull/9469
Together fixes an issue seen in https://github.com/ARMmbed/mbed-os/issues/9149
2019-02-27 13:32:22 +02:00
Cruz Monrreal
e1736cd06f
Merge pull request #9571 from mprse/fix_9523_rtos_less_issue
...
Update to 2-region model for HEAP and Stack Memory
2019-02-26 22:50:19 -06:00
Cruz Monrreal
4b13c8a212
Merge pull request #9768 from c1728p9/feature-hal-spec-usb-device
...
Bring USB Feature branch into master
2019-02-26 22:48:02 -06:00
Cruz Monrreal
03bcf28ff0
Merge pull request #9861 from jeromecoutant/PR_INTERRUPTIN
...
STM32 InterruptIn protection
2019-02-26 22:47:05 -06:00
Deepika
e0b4b51d92
Revert "Update params in calls to LDREXW/STREXW to uint32_t"
...
This reverts commit 334b2d64b0 .
This commit is not required any more as changes for this are already part
of master branch
2019-02-26 11:09:25 -06:00
jeromecoutant
675a7f915d
STM32 InterruptIn protection
2019-02-26 16:58:47 +01:00
mudassar-ublox
6c347eafe5
C030_N211 cellular api refactoring
2019-02-26 17:28:01 +05:00
bcostm
28462d476a
STM32F7 USB: add patch in CubeF7 hal driver
2019-02-22 10:53:22 -06:00
bcostm
aa2b76a995
STM32L4 USB: move HAL_PCD_EP_Abort function
...
This function is for USB_OTG_FS devices only. Move it in the correct place (in "#ifdef USB_OTG_FS" area).
2019-02-22 10:53:22 -06:00
bcostm
4ca33aa266
STM32L4 USB: add patch in CubeL4 hal driver
2019-02-22 10:53:22 -06:00
bcostm
1e807a305e
STM32F4 USB: add patch in CubeF4 hal driver
2019-02-22 10:53:22 -06:00
Russ Butler
d08034c9ef
Remove OR from ST endpoint activation
...
When activating an endpoint assign new data rather than ORing
data to it. This ensures that values set from the previous use
do not effect the current configuration.
2019-02-22 10:53:19 -06:00
Russ Butler
86e1d436e7
Alternate implementation of HAL_PCD_EP_Abort
...
Update the patch "Create HAL_PCD_EP_Abort" to fix bugs.
This patch adds the low level functions USB_EPStopXfer, USB_EPSetNak,
USB_EPClearNak and the high level function HAL_PCD_EP_Abort so that
transfers can be stopped.
The functions USB_EPSetNak and USB_EPClearNak allow nak to be enabled
or disabled for an endpoint, preventing or allowing further transfers.
The function USB_EPStopXfer stops pending reads and writes started by
USB_EPStartXfer along with clearing and masking any interrupts enabled
by USB_EPStartXfer.
The function HAL_PCD_EP_Abort aborts any transfers on the given
endpoint. When this function completes the transfer interrupt
is guarenteed not to fire for this endpoint. Furthermore, the size
of data transferred during an aborted read can be found by calling
the function HAL_PCD_EP_GetRxCount.
Other notes on this Change:
1.
Prior to this patch the interrupt USB_OTG_DOEPINT_EPDISD was not
handled. When an OUT endpoint was disabled this interrupt occurred
causing the CPU to get stuck repeatedly handling this interrupt. This
is because this interrupt was unmasked but nothing cleared this
interrupt. This patch also adds code to handle and clear this
interrupt to prevent a lockup.
2.
Stopping a transfer on an OUT endpoint requires global nak OUT to
be in effect. Even with this being done, having entries in the rx fifo
prevented an OUT endpoint from being disabled. This behavior is not
mentioned in the Reference Manual.
2019-02-22 10:53:18 -06:00
Russ Butler
c4cf19ee3b
Revert "Create HAL_PCD_EP_Abort"
...
Revert the patch "Create HAL_PCD_EP_Abort" in preparation for an
alternate fix.
2019-02-22 10:53:18 -06:00
Michel Jaouen
ced1cbd0ed
Create HAL_PCD_EP_Abort
2019-02-22 10:53:16 -06:00
jeromecoutant
21606569da
STM32F4: replace CLOCK_SOURCE_USB by DEVICE_USBDEVICE
2019-02-22 10:53:15 -06:00
jeromecoutant
9b16d4fb5b
NUCLEO_F103RB: replace CLOCK_SOURCE_USB by DEVICE_USBDEVICE
2019-02-22 10:53:15 -06:00
Sarah Marsh
22abea324d
Modify linker scripts for IAR and ARM compilers to support bootloader on NUCLEO_L073RZ
2019-02-22 11:06:29 +00:00
Deepika
3fd5f53b51
Dynamic heap support will be breaking change for all targets in IAR 7.x
...
Reverting this feature till IAR 8.x is stable and supported in Mbed OS
for few releases
1. Revert "Add Dynamic heap support to IAR"
This reverts commit 8ee29bbfa2 .
2. Revert "Splited RAM section not compatible with dynamic HEAP."
This reverts commit a645bb2a6b .
3. Revert "Add Dynamic heap support to IAR"
This reverts commit 891e1f261b .
2019-02-22 09:25:09 +00:00
Deepika
e54be4aeff
Add Dynamic heap support to IAR
...
Two new block properties available in linker configuration files:
"expanding size" and "minimum size" for IAR 8.11.2 and above
Sample:
define block HEAP with expanding size, minimum size = 16K, alignment = 8 {};
This block will expand to consume all remaining available space in
the range where it is placed. If several such blocks end up in the same
range, they will share the remaining space.
Cannot place a block with expanding size inside another block with
expanding size, inside a block with maximum size, or inside an overlay.
2019-02-22 09:25:08 +00:00
deepikabhavnani
334b2d64b0
Update params in calls to LDREXW/STREXW to uint32_t
2019-02-22 09:25:07 +00:00
deepikabhavnani
b91dbab4bd
Add Dynamic heap support to IAR
...
Two new block properties available in linker configuration files:
"expanding size" and "minimum size" for IAR 8.11.2 and above
Sample:
define block HEAP with expanding size, minimum size = 16K, alignment = 8 {};
This block will expand to consume all remaining available space in
the range where it is placed. If several such blocks end up in the same
range, they will share the remaining space.
Cannot place a block with expanding size inside another block with
expanding size, inside a block with maximum size, or inside an overlay.
2019-02-22 09:25:07 +00:00
aqin
84f52a871b
adding updated binary for IAR v8.32
2019-02-22 09:25:06 +00:00
Cruz Monrreal
2ecb0a5031
Merge pull request #9798 from jeromecoutant/PR_LPTICKER_BOOTLOADER
...
STM32 LPTICKER (LPTIM): correct init execution after bootloader
2019-02-21 13:55:20 -06:00
Cruz Monrreal
bba538c714
Merge pull request #9777 from ashok-rao/MTB_STM_L475
...
Adding STM32_L475 as a new MTB target
2019-02-21 10:37:59 -06:00
Cruz Monrreal
5a2e135283
Merge pull request #9782 from Rhomb-io/master
...
Adding RHOMBIO_L476DMW1K as a new Board target
2019-02-21 10:31:03 -06:00
Sarah Marsh
44bc123483
Add bootlader support for NUCLEO_L073RZ on GCC
2019-02-21 16:14:16 +00:00
jeromecoutant
0d620fe720
STM32 LPTICKER (LPTIM): correct init execution after bootloader
2019-02-21 16:25:20 +01:00
Guillermo Alonso
16628d7b8d
Change in license identifier, removed commented dead code
...
Change in license identifier
Removed commented dead code
Removed some tab space
2019-02-21 11:55:41 +01:00
Ashok Rao
9102b59824
Changing SPDX license identifier to BSD-3-Clause
2019-02-21 10:35:25 +00:00
Guillermo Alonso
faf03e02dc
added licence identifier texts
2019-02-20 17:48:07 +01:00
Ashok Rao
6c3b732b17
Removing redundant code comments
2019-02-20 15:22:11 +00:00
Ashok Rao
a7c878bb47
Adding SPDX license identifer for all new files
2019-02-20 15:07:03 +00:00
Ashok Rao
56508cfc4e
Adding SPDX license identifier
2019-02-20 15:02:59 +00:00
Ashok Rao
1849921466
Adding STM32_L475 as a new MTB target
2019-02-20 14:40:39 +00:00
Martin Kojtal
39c8374760
Merge pull request #9554 from SeeedJP/hal-wio_3g-9450
...
Wio 3G: Modified sequence of module startup.
2019-02-20 13:57:33 +01:00
Guillermo Alonso
7b2abc75c2
Added new target RHOMBIO_L476DMW1K
2019-02-20 12:10:53 +01:00
Yoshihiro TSUBOI
c41f1c75d7
[Wio 3G] Fix onboard modem initialization
...
Fix for issue #9450 by adding turning off the modem power at startup, so that modem is sure to be in the initial state.
Fix for wrong filename and classname.
// WIP
2019-02-20 19:00:12 +09:00
Martin Kojtal
3f46c82136
Merge pull request #9555 from SeeedJP/hal-wio_bg96-9450
...
Wio BG96: Modified sequence of module startup
2019-02-20 09:36:00 +01:00
Deepika
9231e26f3f
Corrected main thread stack size, was accidently updated by removing condition
...
Main thread stack size is reduced for TARGET_STM32F070RB and TARGET_STM32F072RB,
in recent update to mbed_rtx.h the conditional check for main thread size update
was removed.
2019-02-19 15:49:49 -06:00
deepikabhavnani
9ed7e4dc83
Remove unnecessary endif
2019-02-19 15:49:49 -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
Martin Kojtal
723236f855
Merge pull request #9307 from mtomczykmobica/ONME-3949
...
Configuration options for STM_EMAC buffer counts
2019-02-19 14:09:24 +01:00
Marcin Tomczyk
a5f93e0b07
ONME-3949 Configuration options for STM_EMAC buffer counts
2019-02-19 08:18:18 +01:00
Yoshihiro TSUBOI
89bb25efc1
[Wio BG96] Fix onboard modem initialization
...
Fix for issue #9450 by adding turning off the modem power at startup, so that modem is sure to be in the initial state.
2019-02-19 00:44:38 +09:00
Cruz Monrreal
67abaf5fa7
Merge pull request #9706 from jarvte/fix_powering_onboard_modems
...
Cellular: fix onboard modems powering failure.
2019-02-14 20:26:51 -06:00
Teppo Järvelin
e4018bd9bb
Cellular: fix onboard modems powering failure
...
Don't call soft power on if device was already powered.
Some modems need to wait before sending anything to modem after soft powering.
2019-02-14 12:39:37 +02:00
Ashok Rao
21339abd61
Changing SPI flash's CS ine, Errata on SCH
2019-02-13 13:42:25 +00:00
Cruz Monrreal
270ff3b6de
Merge pull request #9679 from u-blox/R412M_Fix_After_Cellular_Driver_update
...
Default behavior of C030-R412M should be to use modem IP stack
2019-02-12 20:27:42 -06:00
Martin Kojtal
db1d8fd56d
Merge pull request #9602 from jeromecoutant/PR_VERYHIGH
...
STM32 GPIO: use maximum speed
2019-02-12 09:53:17 +01:00
Fahim Alavi
3549083f9c
Default behavior of C030-R412M should be to use modem IP stack
2019-02-11 16:12:29 +05:00
Russ Butler
8669417e7b
Add HAL API for spi pinmap
...
Add the functions to get spi pinmaps to all targets.
2019-02-08 09:10:37 -06:00
Russ Butler
34c176654d
Add HAL API for serial pinmap
...
Add the functions serial_tx_pinmap, serial_rx_pinmap, serial_cts_pinmap
and serial_rts_pinmap to all targets.
2019-02-08 09:10:28 -06:00
Russ Butler
2ed1dc2bfa
Add HAL API for qspi pinmap
...
Add the functions qspi_master_sclk_pinmap, qspi_master_ssel_pinmap and
qspi_master_data0_pinmap-qspi_master_data3_pinmap to all targets with
qspi support.
2019-02-08 09:10:25 -06:00
Russ Butler
be492fe07a
Add HAL API for pwmout pinmap
...
Add the function pwm_pinmap to all targets.
2019-02-08 09:10:19 -06:00
Russ Butler
22a89773fa
Add HAL API for i2c pinmap
...
Add the functions i2c_master_sda_pinmap, i2c_master_scl_pinmap,
i2c_slave_sda_pinmap and i2c_slave_scl_pinmap to all targets.
2019-02-08 09:10:12 -06:00
Russ Butler
7e8695a2c5
Add HAL API for can pinmap
...
Add the functions can_rd_pinmap and can_td_pinmap to all targets.
2019-02-08 09:10:10 -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
Nir Sonnenschein
8c2ad14ace
Merge pull request #9568 from ARMmbed/feature-cellular-refactor
...
Merge feature cellular refactor
2019-02-07 18:17:32 +02:00
Martin Kojtal
7106d0d201
Merge pull request #9557 from SeeedJP/hal-wio_bg96-9026
...
[Wio BG96] Modified pin map
2019-02-05 10:51:59 +01:00
Martin Kojtal
46101f68fe
Merge pull request #9595 from c1728p9/define_usbtx_and_usbrx
...
Define USBTX and USBRX for targets without them
2019-02-04 17:13:00 +01:00
jeromecoutant
ae47617c77
STM32 GPIO: use maximum speed
2019-02-04 15:32:15 +01:00
Yoshihiro TSUBOI
e19ddef069
[Wio BG96] Modified pin map
...
* Remove unused Peripheral Pins definitions and add UART_1 TXD/RXD pins (fix #9026 ) for the Wio BG96 board
* Remove/Fix unused PinName definitions for the Wio BG96 board from the PinNames enum
2019-02-04 23:04:37 +09:00
Martin Kojtal
346ebe6344
Merge pull request #9556 from SeeedJP/hal-wio_3g-9026
...
[Wio 3G] Modified pin map
2019-02-04 14:41:58 +01:00
Martin Kojtal
e9648dd461
Merge pull request #9583 from jeromecoutant/PR_F2TRNG
...
STM32F2: Enable TRNG
2019-02-04 14:41:19 +01:00
Martin Kojtal
ed53fe1ed4
Merge pull request #9534 from jeromecoutant/PR_FLOW
...
STM32 Serial Flow Control
2019-02-04 14:35:47 +01:00
Yoshihiro TSUBOI
a2f1e9c01e
[Wio 3G] Modified pin map
...
* Remove unused Peripheral Pins definitions and add UART_1 TXD/RXD pins (fix #9026 ) for the Wio 3G board
* Remove/Fix unused PinName definitions for the Wio 3G board from the PinNames enum
2019-02-04 18:12:29 +09:00
Russ Butler
3e10418015
Define USBTX and USBRX for targets missing it
...
Define USBTX and USBRX for the LPC11U37H and the MTS_MDOT_F405RG.
2019-02-02 09:46:29 -06:00
Lin Gao
837e86df28
Updated linker script for IAR and ARM to increase heap size by moving BSS to the 32K ram
2019-02-01 16:03:20 -06:00
Lin Gao
aa2d49ae0c
Move BSS to SRAM2 to increase heap size on ST475 IOT board
2019-02-01 15:32:43 -06:00
jeromecoutant
85c2f22a87
STM32F2: Enable TRNG
2019-02-01 14:54:14 +01:00
Martin Kojtal
363f35f842
Merge pull request #9560 from RobVlaar/analogin-fix-stm32l0xx
...
Reset internal vref buffer after an ADC conversion
2019-02-01 08:25:10 +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
Ashok Rao
60c7edc5bc
Pin map changes
...
Based on v1.1.0 of S2_LP MCB using STM32F429ZIT6.
2019-01-31 11:06:50 +00:00