Commit Graph

30311 Commits (dd209da675d446c0971fe921c6da707535e237cc)

Author SHA1 Message Date
Jaeden Amero 295ff531a4 psa: Pick up code from MBED_PSA_SRV
Make single Armv7-M PSA targets pick up files under TARGET_MBED_PSA_SRV.
We'll be moving the Mbed implementation of PSA to TARGET_MBED_PSA_SRV
folders soon.

Targets (dual-core and Armv8-M) that expect to use TF-M for their PSA
implementation also have MBED_PSA_SRV labels added to them so that they
continue working with the Mbed PSA implementation for the time being.
2020-05-29 13:19:11 +01:00
Darryl Green cf17d7a178 Change unrecognised features to a warning, rather than error
Give a warning rather than error if an unrecognised feature is used.
This will help compatibility when new features are added.

Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:19:11 +01:00
Kevin Bracey 922b656d39 Fix ThisThread::get_name definition 2020-05-29 11:46:58 +03:00
Rajkumar Kanagaraj 7229e64381 Documentation update about MBRBlockDevice::partition type parameter 2020-05-28 14:04:12 +01:00
Jaeden Amero 4e47c38701 tools: Fix grammar in feature error message
Use "not a supported feature" instead of "not a supported features".
2020-05-27 16:37:59 +01:00
jeromecoutant 76135d0820 STM32: add weak TargetBSP_Init function 2020-05-27 16:49:54 +02:00
Martin Kojtal c7759fe505
Merge pull request #13008 from Patater/armc5-usage-warning-compat
tools: Warn when ARMC5 is no longer supported
2020-05-27 10:57:36 +02:00
Martin Kojtal a802ab89e8
Merge pull request #13007 from Patater/default-lib-c-compat
tools: Support default_lib and c_lib
2020-05-27 10:57:23 +02:00
Jaeden Amero 5e65cf7f4d tools: Support default_lib and c_lib
For backwards compatibility reasons, since the latest Mbed OS tools must
be able to build any previous online-compiler-supported version of Mbed
OS, allow targets to use `default_lib` or `c_lib`. This should enable
the tools to work with Mbed OS 5 style targets.json.
2020-05-26 10:47:13 +01:00
jeromecoutant ccfb099255 tests-mbed_hal-rtc patch to match IAR compilation issue 2020-05-26 10:26:45 +02:00
jeromecoutant d8fc1e9121 Force callback non-trivial for IAR 2020-05-25 15:29:27 +02:00
jeromecoutant 876125ad49 DISCO_H747I_CM4 is supporting now hex format
- minimum STLink version: V3J7M2
2020-05-25 11:34:40 +02:00
Ari Parkkila de765a41f0 Cellular: Fix packet data registration after CREG 2020-05-25 11:17:59 +03:00
rogeryou de9b283abe modify the div value when calling octo controller.
For ST OSPI controller driver(stm32l4xx_hal_ospi.c), the frequency it has be subtracted 1, so "div = div - 1;" should be removed.
2020-05-25 12:07:24 +08:00
pea-pod 77a1a72c46 Add enum class flag definition to platform 2020-05-24 00:23:06 -05:00
Jaeden Amero a5a544408d tools: Warn when ARMC5 is no longer supported
Update the warning when ARMC5 is used to specify the conditions under
which ARMC5 is no longer supported.
2020-05-22 15:39:01 +01:00
Jaeden Amero 64f19281d3 Revert "Add the exception in Mbed OS build tool for Arm Compiler 5 toolchain."
For backwards compatibility reasons, as the Mbed tools must be able to
build any online-compiler-supported version of Mbed, revert back to
emitting a warning when ARMC5 is used. This will enable ARMC5 to
continue working in the online compiler for Mbed OS 5 and other previous
versions. ARMC5 remains unsupported in Mbed 6.

This reverts commit 03d57b7ba2.
2020-05-22 15:39:01 +01:00
Jaeden Amero 8be07a4906 tools: Fix typo in comment 2020-05-22 14:51:58 +01:00
George Beckstein 28e221da18 Update NUCLEO_G474RE target definition to inherit from renamed MCU_STM32 2020-05-20 07:30:18 -04:00
George Beckstein 658d89be8c Apply linker fix as in #12690 to new NUCLEO_G474RE target 2020-05-20 06:39:17 -04:00
George Beckstein 6e2fa616c7 Added spi_api.c implementation 2020-05-20 06:39:17 -04:00
George Beckstein eb8d128a24 Updated system clock settings to run at 170MHz (max for this target). Affects both HSI and HSE modes. 2020-05-20 06:39:17 -04:00
George Beckstein f391718a6d Updated detect code for NUCLEO_G474RE 2020-05-20 06:39:17 -04:00
George Beckstein 44ca862af3 Changed us_ticker configuration to use TIM5 instead of TIM2 to be consistent with the allowed PWM peripheral pins. 2020-05-20 06:39:17 -04:00
George Beckstein 2297e1b91e Updated clock configuration settings for NUCLEO_G474RE 2020-05-20 06:39:17 -04:00
George Beckstein c687ae312f Added missing analogin_device.c file and configured for STM32G4xx series 2020-05-20 06:39:17 -04:00
George Beckstein 613af0f604 Added support for ANALOGOUT 2020-05-20 06:39:17 -04:00
George Beckstein 934d60e63d Added support for FLASH API 2020-05-20 06:39:17 -04:00
George Beckstein 7f19c8ac6e Added support for SPI API 2020-05-20 06:39:17 -04:00
George Beckstein 06d74aa37a Added support for PWMOUT 2020-05-20 06:39:17 -04:00
George Beckstein e38dfc78b6 Added support for PORT APIs 2020-05-20 06:39:17 -04:00
George Beckstein f59ec66710 Added support for INTERRUPTIN 2020-05-20 06:39:17 -04:00
George Beckstein 4f41d2d66c Added support for I2CSLAVE and I2C_ASYNCH 2020-05-20 06:39:17 -04:00
George Beckstein 5e25e004df Added support for I2C 2020-05-20 06:39:17 -04:00
George Beckstein cc86ec99d0 Added ANALOGIN support 2020-05-20 06:39:17 -04:00
George Beckstein b11d160195 Added RTC support 2020-05-20 06:39:17 -04:00
George Beckstein d68ec74852 Added USTICKER support 2020-05-20 06:39:17 -04:00
George Beckstein 118919b820 Added RESET_REASON support (untested). 2020-05-20 06:39:17 -04:00
George Beckstein 80c5d96420 Added support for WDT (untested). Checked datasheet for maximum LSI frequency 2020-05-20 06:39:17 -04:00
George Beckstein 143a54922d Add support for SLEEP (untested) 2020-05-20 06:39:17 -04:00
George Beckstein 46ecb489b9 Add support for STDIO_MESSAGES 2020-05-20 06:39:17 -04:00
George Beckstein 740a73fa5b Add support for SERIAL_FC (untested) 2020-05-20 06:39:17 -04:00
George Beckstein 3432960aa1 Implemented support for basic serial communication 2020-05-20 06:39:17 -04:00
George Beckstein ec2544023d Added basic support for NUCLEO_G747RE. Basic GPIO support and system initialization. 2020-05-20 06:39:17 -04:00
jeromecoutant 13ba114d12 STM32G4 DISCO_G474RE introduction
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant 2631bf8070 STM32G4 NUCLEO_G474RE introduction
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant fd2bac73c9 STM32G4 NUCLEO_G431RB introduction
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant 85e8a59e84 STM32G4 NUCLEO_G431KB introduction
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant 35e3ce9034 STM32G4 automatic adaptation for MBED 2020-05-20 06:39:17 -04:00
jeromecoutant b387ed6bc1 STM32G4 introduction
Import from STM32Cube_FW_G4_V1.1.0
2020-05-20 06:39:17 -04:00