Commit Graph

8697 Commits (mbed-os-6.17.0-rc3)

Author SHA1 Message Date
Martin Kojtal 963aa8bcd3
Merge pull request #15065 from jeromecoutant/PR_CAN
STM32L5/STM32U5 : CAN support
2021-09-29 10:25:27 +01:00
Martin Kojtal fc62b15b08
Merge pull request #15114 from MaximIntegrated/fix-warnings-maxim
Fix ARM toolchain #L6803W Relocation warnings
2021-09-29 10:14:11 +01:00
Jerome Coutant 8d3587919e STM32F3 - enable USB_DEVICE for NUCLEO_F303ZE 2021-09-28 16:36:12 +02:00
Martin Kojtal d93843a694
Merge pull request #15080 from jeromecoutant/PR_F407_CAN
STM32F4: CAN issue with F407 target
2021-09-28 14:02:50 +01:00
Martin Kojtal ff6d401a86
Merge pull request #15095 from LDong-Arm/ctest_nfc
CMake: greentea: Migrate the NFC EEPROM test to CTest
2021-09-28 13:26:41 +01:00
Jerome Coutant f9010ed7a0 STM32F4: CAN issue with F407 target 2021-09-28 13:32:11 +02:00
Jerome Coutant 26df0c144e STM32 : default SPI anbd I2C for targets with ARDUINO-NANO 2021-09-28 13:23:21 +02:00
Martin Kojtal 94c7463762
Merge pull request #15062 from jeromecoutant/PR_LORABARE
Lora drivers: explicit lib requirement
2021-09-28 11:04:55 +01:00
Martin Kojtal c8b489ea9b
Merge pull request #15075 from jeromecoutant/PR_G0_CUBE
STM32G0 update drivers version to CUBE V1.5.0
2021-09-28 11:04:36 +01:00
Sadik.Ozer 6f8e7232d1 Fix ARM toolchain #L6803W Relocation warnings
While building with ARM toolchain relocation warnings appears
This commit will fix it for MAX32625/30 targets.

The system interrupt function is defined as weak in startup file
and its overvides in other files, Becuase of the functions is overrites
while calling it in startup modile by B XXXXX probably compiler give
info purpose warnings... By using using . instead function name it says
go existing point to the compiler.
Warning detail:
https://www.keil.com/support/man/docs/armerr/armerr_dom1365073159742.htm

Signed-off-by: Sadik.Ozer <Sadik.Ozer@maximintegrated.com>
2021-09-28 12:01:13 +03:00
Jerome Coutant da903bf057 STM32H7 add subfamilies for custom boards
- STM32H723xG
- STM32H725xE
- STM32H750xB
2021-09-22 15:13:31 +02:00
Jerome Coutant 998a46f775 STM32F303xC: cmakelist issue 2021-09-22 11:48:01 +02:00
Jerome Coutant d61d7aa24b STM32G0: update README 2021-09-22 11:47:05 +02:00
Jerome Coutant 168f9a37a9 STM32G0: introduce sub family for custom boards
STM32G030x8
STM32G041x8
STM32G050x8
STM32G051x8
STM32G061x8
STM32G081xB
STM32G0B0xE
STM32G0B1xE
STM32G0C1xE
2021-09-22 11:46:54 +02:00
Jerome Coutant 4da602f79e STM32: STM32_gen_PeripheralPins.py v1.20.4
Minor updates needed in
https://github.com/ARMmbed/stm32customtargets/tree/GENERIC_TARGET
2021-09-22 10:59:56 +02:00
Jerome Coutant b711180838 STM32G0: update from STM32Cube_FW_G0_V1.5.0 2021-09-21 11:29:33 +02:00
Jerome Coutant e0877e4077 STM32G0: align code with CubeUpdate script 2021-09-21 11:29:33 +02:00
Lingkai Dong cbec61adb5 targets: Declare DISCO_L475VG_IOT01A's built-in M24SR NFC 2021-09-20 17:04:51 +01:00
Jerome Coutant a3d21b7672 STM32F1: add more alternate functions 2021-09-17 15:37:56 +02:00
Hari Limaye b493a15a53 CAN: Use uintptr_t for can_irq_ids
The HAL can_api stores an array of IDs in order to dispatch interrupts
to the correct CAN object. The drivers level CAN Class casts a pointer
to itself to an uint32_t, which is stored as the ID and then cast back
to a CAN * in order to call the correct handler. This results in
compilation failure when the size of an object pointer is greater than
uint32_t, for example when building on a PC for unit testing.

In order to allow Unit Testing of the CAN Class, we replace the use of
uint32_t with uintptr_t (type capable of holding a pointer), which
allows portability and expresses intentions more clearly. In aid of this
latter goal, we also replace the use of the name "id" with "context",
to improve clarity. These are addresses of the context related to that
callback.
2021-09-17 13:36:43 +01:00
Chun-Chieh Li bbc5ad9505 M2354: Fix TF-M 1.4
1.  In TF-M, fix NSPE interrupt-disabled NSC call broken. Check:
    https://developer.trustedfirmware.org/T966
2.  In TF-M, enable mcuboot log enabled forcibly. This is to help check firmware update process.
3.  Update readme and script
2021-09-17 13:44:58 +08:00
Robert Walton a43103faac TFM: MUSCA: Import partition maps from upstream
Import the latest partition headers from upstream. We no longer need to
patch the headers to define the BL2 macro as we now define it in the
scatter files for the MUSCA targets.
2021-09-14 17:32:42 +01:00
Robert Walton 33e57ee577 TFM: Remove BL2 macro workaround for mbed-cli1/ARMClang
We worked around an issue with mbed-cli1 not recognising the BL2 macro
from targets.json by adding patched versions of region_defs.h and
flash_layout.h for ARM_MUSCA targets. In the patched headers we defined
the BL2 macro to ensure it can be picked up by the ARM scatter files
that include the headers.

The current solution is not robust, because it means that the
aforementioned headers easily become out of date. A workaround of
defining the macros in the scatter files which need them was suggested
in https://github.com/ARMmbed/mbed-os/issues/14762

This commit applies the suggested changes to the ARM_MUSCA scatter
files.
2021-09-14 17:32:42 +01:00
Robert Walton aeee26019e targets: ARM_MUSCA: Update tfm_target_names
The directory structure upstream has changed. Now ARM_MUSCA board
support has been moved under an "arm" subdirectory. Update targets.json
with the new locations.
2021-09-14 17:32:42 +01:00
Robert Walton 56ffd54dd4 tfm: Move tfm_ns_interface.c
tfm_ns_interface.c is intended to be overriden by clients to support
different targets. We copy this file from upstream into the mbed-os
platform library. We also have a specific "strong" overridden version
for the NU_M2354 target, which is located in its target library.
Previously the implementations in the platform library were decorated
with __attribute__(weak), and we provided a strong definition for the
NU_M2354 target. This worked fine because of weak linking, the linker
will pick the first "strong" definition and use that, avoiding any ODR
violations. However, upstream have removed __attribute__(weak) from the
function definitions, which caused multiply defined symbol errors when
trying to build the NU_M2354 target.

To work around the above issue, we remove the common definition in the
platform library; instead we copy the file to the Musca B1 and Musca S1
target libaries. This means the appropriate tfm_ns_interface.c is only
included in the build when compiling for the specific target which uses
it.
2021-09-14 17:32:42 +01:00
Robert Walton 3d17e1646c "Update secure binaries for [('NU_M2354', 'GNUARM')]" 2021-09-14 17:32:42 +01:00
Robert Walton d11bac087c "Update secure binaries for [('ARM_MUSCA_S1', 'ARMCLANG')]" 2021-09-14 17:32:42 +01:00
Robert Walton f28a6eab4f "Update secure binaries for [('ARM_MUSCA_B1', 'ARMCLANG')]" 2021-09-14 17:32:42 +01:00
Jerome Coutant abe2e48ae8 STM32L5/STM32U5 : CAN suport 2021-09-13 13:55:33 +02:00
Jaeden Amero 756830e776
Merge pull request #14989 from LDong-Arm/sfdp_sector_maps_multi
SFDP: Add support for multiple configurations and sector maps
2021-09-13 10:09:27 +01:00
Lingkai Dong 9ade440860 CYW9P62S1_43012EVB_01: Enable QSPI and QSPIF
QSPIF was disabled on CYW9P62S1_43012EVB_01 because its S25FS512S
flash chip has multiple configurations but our SFDP parser did not
support this scenario. Now having added support for this, we can
enable QSPIF (the component label for QSPIFBlockDevice) and QSPI
(the label for Quad-SPI communication).
2021-09-10 11:40:01 +01:00
Jerome Coutant 4ef3b6cc9c STM32U5: README update 2021-09-10 11:16:17 +02:00
Jerome Coutant 90510bb401 STM32U5: targets.json 2021-09-10 11:16:17 +02:00
Jerome Coutant 84959256b7 STM32U5 : B_U585I_IOT02A introduction 2021-09-10 11:16:17 +02:00
Jerome Coutant 8114954054 STM32U5 : NUCLEO_U575ZI_Q introduction 2021-09-10 11:16:17 +02:00
Jerome Coutant 724c378c42 STM32U5 : STM32U5xxxxx sub-families 2021-09-10 11:16:16 +02:00
Jerome Coutant f45b1890aa STM32U5 specific driver files 2021-09-10 11:16:16 +02:00
Jerome Coutant e2ca71d1bf STM32U5: generic STM32 driver files update 2021-09-10 11:16:16 +02:00
Jerome Coutant 69c7cb4d59 STM32U5 CMSIS update 2021-09-10 11:16:16 +02:00
Jerome Coutant 3a1eb190d1 STM32U5 / GPIO HAL : GPIO_AF3_TIM1 is missing 2021-09-10 11:16:16 +02:00
Jerome Coutant 16a40c3ff1 STM32U5 ST_HAL_SPI workaround
Internal ticket 112451
2021-09-10 11:16:16 +02:00
Jerome Coutant 8bdd782a30 STM32U5 / CMSIS : USB_OTG patch 2021-09-10 11:16:16 +02:00
Jerome Coutant 59affad91c STM32U5: STM32Cube_FW_U5_V1.0.0 2021-09-10 11:16:08 +02:00
Martin Kojtal 5a3f3f7330
Merge pull request #15051 from hallard/STM32_LPTIM_Prescaler
Allow to use all STM32 targets prescaler for LPTIM
2021-09-10 09:52:04 +01:00
Jerome Coutant fe1adbcc86 Lora drivers: explicit lib requirement 2021-09-10 09:07:15 +02:00
Martin Kojtal 9eed4272f5
Merge pull request #15029 from OpenNuvoton/nuvoton_m2354_tfm_import_mcu_partition
M2354: Fix incorrectly resolved peripheral base with security
2021-09-09 08:00:37 +01:00
Martin Kojtal 3031898929
Merge pull request #15027 from OpenNuvoton/nuvoton_m2354_tfm_fw_version
M2354: Generate unique MCUboot image version
2021-09-08 14:47:54 +01:00
Jerome Coutant 066c07b234 STM32 SPI : Pull Down for output line 2021-09-07 14:32:47 +02:00
Jerome Coutant 8bd27caf89 STM32 SPI : Add SPI reset in init 2021-09-07 14:32:47 +02:00
Jerome Coutant d3b03dec0c STM32 SPI : STM32H7 IP is SPI_IP_VERSION_V2 2021-09-07 14:32:39 +02:00
Charles 81876a0f88 added disclaimers 2021-09-06 10:25:42 +02:00
Charles 1ad23b8d13 Allow more target prescaler for LPTIM 2021-09-03 22:33:40 +02:00
Martin Kojtal 887bcf7f93
Merge pull request #15030 from OpenNuvoton/nuvoton_m2354_tfm_missing_lcdcp
M2354: Fix LCDCP missing in TF-M CLK pass list
2021-09-02 12:59:57 +01:00
Chun-Chieh Li dcd30e0cb0 M2354: Change MCUboot image versioning for unique version
Change MCUboot image versioning to meet requirements below:
1. Major.Minor.Revision must be non-decremental when used to derive security counter (-s 'auto').
2. Make Major.Minor.Revision+Build incremental to identify the firmware itself through psa_fwu_query().
3. Get around MCUboot failure with TF-M underestimated MAX_BOOT_RECORD_SZ
2021-09-02 09:18:25 +08:00
Chun-Chieh Li 6447b3d8f3 M2354: Fix LCDCP missing in TF-M CLK pass list
Besides LCD_MODULE, add LCDCP_MODULE into TF-M pass list for below CLK driver in NSPE:

-   CLK_SetModuleClock_S
-   CLK_EnableModuleClock_S
-   CLK_DisableModuleClock_S
-   CLK_GetModuleClockSource_S
2021-09-02 09:17:18 +08:00
Chun-Chieh Li fc080f76fc M2354: Fix incorrect peripheral base with security
Import mcu partition header (renamed to partition_M2354_im.h) for resolving peripheral base with security.
Though Mbed is non-secure only and needn't secure peripheral base, some BSP driver code still rely on it.
2021-09-02 09:16:01 +08:00
Konstantin Kochin 7bc773badd Improve STM32 SPI asynchronous API stability
`HAL_SPI_Receive_IT` HAL function causes dummy reads in 3-wire mode,
that causes data corruption in RX FIFO/register. It isn't possible
to fix it without signification refactoring, but we may prevent data
corruption with the following fixes:

- RX buffer/register cleanup after asynchronous transfer in 3-wire mode
- Explicit RX buffer/register cleanup after SPI initialization
  (for cases if we re-create SPI object).
2021-09-01 21:12:48 +03:00
Konstantin Kochin c60f0cc11e Fix STM32 spi_abort_asynch function
- add RX cleanup after SPI re-initialization,
  as it isn't implemented in the `HAL_SPI_Init`
- cancel SPI enabling for 3-wire mode
2021-09-01 21:12:48 +03:00
Konstantin Kochin f1c4a7fe52 Fix STM32 SPI 3-wire (synchronous API)
All STM32 families except STM32H7 has the following 3-wire SPI peculiarity in master receive mode:
SPI continuously generates clock signal till it's disabled by a software. It causes that a software
must disable SPI in time. Otherwise, "dummy" reads will be generated.

Current STM32 synchronous SPI 3-wire implementation relies on HAL library functions HAL_SPI_Receive/HAL_SPI_Transmit.
It performs some SPI state checks to detect errors, but unfortunately it isn't fast enough to disable SPI in time.
Additionally, a multithreading environment or interrupt events may cause extra delays.

This commit contains the custom transmit/receive function for SPI 3-wire mode. It uses critical sections to
prevents accidental interrupt event delays, disables SPI after each frame receiving and disables SPI during
frame generation. It adds some delay between SPI frames (~700 ns), but gives reliable 3-wire SPI communications.
2021-09-01 21:12:48 +03:00
Konstantin Kochin 179bba9189 Move common STM32 SPI operations to separate functions
- move a code that waits readable SPI state from `spi_master_write`
  function to inline functions `msp_writable` and `msp_wait_writable`
- move a code that waits writeable SPI state from `spi_master_write`
  function to inline functions `msp_readable` and `msp_wait_readable`
- move a code that writes data to SPI from `spi_master_write`
  function to inline function `msp_write_data`
- move a code that reads data from SPI from `spi_master_write`
  function to inline function `msp_read_data`
2021-09-01 21:12:48 +03:00
Lukas Karel e4f0281dd8 add RTC from HSE to target STM32F1 2021-09-01 14:42:04 +02:00
Martin Kojtal d2a88f4400
Merge pull request #15024 from OpenNuvoton/nuvoton_m2354_tfm_sdh
M2354: Enhance TF-M SDH stability
2021-08-26 10:22:48 +01:00
Martin Kojtal 43a060fe7c
Merge pull request #14926 from katherrafi/hal_callback_override
Eth: STM32: Overriding HAL callbacks in stm32xx
2021-08-26 09:51:48 +01:00
Chun-Chieh Li 259ee6b17a M2354: Enhance TF-M SDH stability
1.  Lower TF-M SDH clock to avoid premature timeout
2.  Re-initialize TF-M SDH on (timeout) failure
2021-08-26 11:02:13 +08:00
Kather Rafi Ibrahim a9f51e31fd Eth: STM32: Overriding HAL callbacks in stm32xx
This commit enables the Overriding of HAL callbacks and IRQHandler
in stm32xx_emac.cpp. Hence the user can have their own
implementations of callbacks and IRQHandler functions.

Signed-off-by: Kather Rafi Ibrahim <katherrafi.i@hcl.com>
2021-08-25 14:30:47 +05:30
cyliangtw f28181c32a M451 CAN API support mask feature 2021-08-24 19:14:27 +08:00
cyliangtw a33dc4e371 M480 CAN API support mask feature 2021-08-24 18:26:49 +08:00
Martin Kojtal 513f581bce
Merge pull request #15012 from felser/MTS_DRAGONFLY_L496VG
Add platform MTS_DRAGONFLY_L496VG
2021-08-24 09:50:58 +01:00
Leon 4b27aef0ae Add platform MTS_DRAGONFLY_L496VG 2021-08-18 12:03:48 -05:00
Martin Kojtal 5d82bd5b85
Merge pull request #14956 from jeromecoutant/PR_SCRIPT_UPDATE
STM32_gen_PeripheralPins script update
2021-08-17 20:29:54 +01:00
Martin Kojtal 4e0e21f897
Merge pull request #15000 from SamuA-AP/fix-can-api-filters
Fix Extended Message Filter count in STM CAN API
2021-08-17 11:14:31 +01:00
Martin Kojtal ca5126e2e4
Merge pull request #15003 from dustin-crossman/pr/add_missing_bt_support
Add bluetooth support files to Cypress BSPs.
2021-08-16 09:32:30 +01:00
Jerome Coutant 79d403a0db STM32_gen_PeripheralPins script update
- add CMakeLists.txt
- patch for STM32U5 boards
2021-08-16 10:28:21 +02:00
Martin Kojtal 9bcc48678a
Merge pull request #14976 from world-direct/feature/target_stm32f1
Add more uarts for STM32F103xG
2021-08-13 13:08:02 +01:00
Samu Ampio cbc0ee60b0
Fix Extended Message Filter count in STM CAN API
As per STM32H7-series reference manuals:
"Up to 64 filter elements can be configured for 29-bit extended IDs."
This commit fixes a bug which prevented receiving CAN-messages
with extended IDs.
2021-08-13 12:43:36 +03:00
Dustin Crossman 1aa67dd235 Add bluetooth support files to Cypress BSPs. 2021-08-12 10:06:40 -07:00
Martin Kojtal 4dd08c40f5
Merge pull request #14990 from ikmdani/stm32l1_usb_enable_pullups
Driver: USB: STM32L1: Managing internal pullups for usb enumeration
2021-08-12 15:54:40 +01:00
Jaeden Amero 4125fd0786
Merge pull request #14972 from OpenNuvoton/nuvoton_m2354_tfm_psa_fwu
M2354: Support PSA Firmware Update
2021-08-11 13:57:57 +01:00
Robert Walton a437ed4047 targets: Add "bare-metal" to supported_application_profiles
We weren't setting the "supported_application_profiles" correctly for
some baremetal supported targets. This didn't cause build failures with
mbed-cli 1 as it just seems to ignore this config parameter. In our CMake
build system we have added a hard dependency on the
supported_application_profiles; we fail the build if the profile we're
trying to build isn't in the list.
2021-08-11 10:15:42 +01:00
Robert Walton cfc68a0918 CMake: Use CMAKE_MODULE_PATH to locate nuvoton post build hook
We were previously relying on the global MBED_PATH variable to provide
the root for the include path to the post build hooks. We can't
guarantee that MBED_PATH will be set by any application building us, so
use CMAKE_MODULE_PATH (which we always set) like we do for the other
post-build hooks.
2021-08-11 10:15:42 +01:00
Krishna Mohan Dani 3e83108f1c Driver: USB: STM32L1: Managing internal pullups for usb enumeration
This commit adds internal pullup on DP line for usb enumeration
in nucleo_l152re platform. This platform as such does not have
usb connector (device).

This has been tested with example in https://github.com/ARMmbed/
mbed-os/blob/master/drivers/usb/include/usb/USBMouse.h#L58-L76

and mbed_app.json file

"target_overrides": {
        "*": {
            "platform.stdio-baud-rate": 115200,
            "platform.all-stats-enabled": true,
            "mbed-trace.enable": "0"
        },
        "NUCLEO_L152RE": {
            "target.device_has_add": ["USBDEVICE"]
        }
    }
}

Signed-off-by: Krishna Mohan Dani <krishnamohan.d@hcl.com>
2021-08-10 17:49:36 +05:30
Chun-Chieh Li 5114e4c7c2 M2354: Support PSA Firmware Update
1.  Change from single image boot to multiple image boot
2.  SDH is configured to Secure for placing update firmware. It becomes inaccessible to Mbed.
3.  Post-build script supports both multiple image boot and single image boot
4.  Update readme to reflect above change
5.  Increase forced_reset_timeout due to longer booting time for Greentea test
2021-08-05 10:14:33 +08:00
Lukas Karel 727daf910b add more uarts for STM32F103xG 2021-08-04 09:05:59 +02:00
Martin Kojtal 7214fe9c99
Merge pull request #14970 from MubeenHCLite/USBSerial_connect_blocking_resolution
USB connect problem in non blocking mode
2021-08-02 09:52:30 +01:00
Mohammed Mubeen b429aeb5f7 Added PCD Start so that connection is established when a host is
connected in non blocking mode (cinnect_blocking = false)
2021-07-30 10:52:00 +05:30
Martin Kojtal 4822ac56a1 cypress: fix cy_syslib breakpoint undefined
CMSIS 5.8.0 requires for armcc to include compat header prior any other header.
See Known issues for the release.
2021-07-29 14:31:39 +01:00
Martin Kojtal c0187712b1 musca targets: use IsException instead of removed isIrqMode 2021-07-29 14:31:39 +01:00
Martin Kojtal e2ec3cd720
Merge pull request #14831 from jeromecoutant/PR_DISCO_WB_LED
DISCO_WB5MMG: add RGB LED
2021-07-26 13:21:09 +02:00
jeromecoutant 68529322dd DISCO_WB5MMG: add RGB LED 2021-07-23 12:34:49 +02:00
Lingkai Dong 91b8186615 Cypress: Improve `mbed_post_build_psoc6_merge_hex()`
The CMake macro `mbed_post_build_psoc6_merge_hex()` takes the name of
a Cypress target and an optional Cortex-M0 hex image as arguments. The
proper way to define and parse optional arguments of a function or
macro is `cmake_parse_arguments()`, which allows the caller to
indicate what they are passing rather than rely on an argument's
relative position within `${ARGN}` which is not rigorous.

Also, avoid duplicating the common part of the post build command
when the optional argument is passed/not passed.
2021-07-22 17:31:45 +01:00
Lingkai Dong 351680fb18 Rework post-build to support multiple executables
When building greentea tests, each test is an executable with its
own output binary path. This is also the case when a user project
produces multiple executables. But the current implementation of
post-build operations always assumes there's only one executable,
at the root of the build directory.

The post-build command depends on Mbed target, and it always takes
the the executable we build as an input file. To achieve this, we
let each Mbed target (that has a post-build command) define a function

    function(mbed_post_build_function target)

which takes a CMake executable target as an argument from which it can
get its binary path using generator expressions. It generates and adds
to the passed executable target a post-build custom command.

Notes:
* The function name needs to be exact, because CMake only supports
literal function calls - CMake can't dereference a function name from
a variable. To avoid multiple definitions of this function, each Mbed
target needs to guard it with a macro to check if the user is
building this Mbed target.
* `mbed_post_build_function()` is a function, but it is usually
defined by another macro rather than a parent function, because
nesting functions would make many variables inaccessible inside the
innermost `mbed_post_build_function()`.
* There's no more need to force regenerate images. Previously, post-
build commands were custom *targets* which always got to run, so we
force regenerated images on every build to avoid patching an image
that's already been patched once on previous build. Now post-build
commands are custom *commands* of the same executable target, and they
are only run if the executable target itself is rebuilt.
2021-07-22 17:31:22 +01:00
Martin Kojtal 16d3e998fa
Merge pull request #14915 from arduino/i2c_timing_fix
STM32 Fix i2c_compute_timing() API
2021-07-13 16:20:15 +02:00
Martin Kojtal f37b0c485b
Merge pull request #14905 from jeromecoutant/PR_STM32CUSTOM
STM32 : README updates about custom boards
2021-07-13 14:22:01 +02:00
pennam ccf8995858 STM32 Fix i2c_compute_timing() API 2021-07-13 14:07:12 +02:00
Martin Kojtal 0ea3f0cc53
Merge pull request #14787 from dustin-crossman/pr/june-asset-update
Cypress Asset Update
2021-07-13 12:53:26 +02:00
jeromecoutant 2bdd68f0d0 STM32WL README update for custom boards 2021-07-13 12:22:36 +02:00
jeromecoutant 8462a19207 STM32 README update for custom boards 2021-07-13 12:08:46 +02:00
Martin Kojtal abd32c70e4
Merge pull request #14895 from AnishKumarHCL/skip_analog_inn
ADC: STM32H7: Skip Negative input analog channels (INN)
2021-07-13 10:45:31 +02: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
anish-k ec44991a6f ADC: STM32H7: Skip Negative input analog channels (INN)
Removed INN ADC channels from PeripheralPins.c
2021-07-09 21:15:01 +05:30
anish-k f14ce30ba6 script: STM32: STM32_gen_PeripheralPins.py updated
Removed INN channel ADC
2021-07-09 21:14:24 +05:30
Martin Kojtal 0726db09fb
Merge pull request #14888 from arduino/portenta_ble_support
Portenta: Add BLE support using CYW43XXX generic transport layer
2021-07-09 17:22:55 +02:00
Martin Kojtal cf54d36bfb
Merge pull request #14899 from jeromecoutant/PR_WLE5
STM32WL: correct CMakeLists.txt for STM32WLE5xC
2021-07-09 12:26:42 +02:00
Martin Kojtal 705c61b0c2
Merge pull request #14898 from byq77/master
Fix gcc_arm linker script for stm32f407xg targets
2021-07-09 10:32:33 +02:00
jeromecoutant 9a7b1dbd1c STM32WL: correct CMakeLists.txt for STM32WLE5xC 2021-07-09 09:33:12 +02:00
pennam 1da67b2da8 Add missing PBL header 2021-07-08 22:04:53 +02:00
Martino Facchin 133864a750 PortentaH7: add BLE support 2021-07-08 17:07:06 +02:00
pennam 1a0ab10e95 Temp portenta add COMPONENT_4343W_FS BLE firmware 2021-07-08 17:04:05 +02:00
byq77 9b1399283e Fix gcc_arm linker script for stm32f407xg targets 2021-07-08 16:07:52 +02:00
Martin Kojtal 0e52d4946c
Merge pull request #14663 from arduino/whd_patch_portenta
Portenta: Add support to generic COMPONENT_WHD
2021-07-08 15:54:20 +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
Martin Kojtal 97b9754141
Merge pull request #14838 from katherrafi/set_mac_address
Eth: STM32:  Updating documentation on mbed_otp_mac_address()
2021-07-08 14:20:09 +02:00
Martin Kojtal 7350b03088
Merge pull request #14872 from hallard/STM32WLEx
Add STM32WLE5 for custom targets LORA_E5 and RAK3172
2021-07-08 13:25:24 +02:00
Martin Kojtal f937383384
Merge pull request #14843 from AnishKumarHCL/interrupt_in_multiple_gpio
InterruptIn : STM32: Implemented error catching for multiple gpio on the same  irq line
2021-07-08 13:25:10 +02:00
Martin Kojtal 3fcc8347a9
Merge pull request #14844 from AnishKumarHCL/analogout_free_implementation
Analogout free implementation for F4/F7/H7 boards
2021-07-08 13:24:50 +02:00
Dustin Crossman 4bce6471c1 Delete unnecessary assembler files (CI complains about them). 2021-07-07 10:56:58 -07:00
Mohammed Mubeen b5e785efd3 Updated can bit timing parameters (TSEG1, TSEG2) as per the ISO11898-2
standard
2021-07-07 16:55:20 +05:30
Dustin Crossman ddb92ba877 Fixup license issues. 2021-07-06 15:40:48 -07:00
Dustin Crossman a0d058dbcf Fixup CMakeLists.txt 2021-07-06 10:09:37 -07:00
Dustin Crossman 11c598d517 Add proper PDL (still version 2.2.0.7891). 2021-07-06 10:09:03 -07:00
Charles e598f5fe61 typo + moved device_name 2021-07-06 17:10:35 +02:00
Mohammed Mubeen 65a72c29c8 Added documentation for the implementation 2021-07-06 20:12:12 +05:30
Affrin Pinhero b559cec29e I2C: STM32: Upating documentation for I2C timing Algorithm
This commit modifies readme file. Descption for using
I2C timing algorithm and how to enable and disable
included.

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-07-06 19:48:36 +05:30
Charles 51cfdc2bee moved to up folder common to STM32WL 2021-07-05 16:43:44 +02:00
Charles 37814f25a7 added target stm32wle5xc 2021-07-05 12:57:33 +02:00
Charles 38eed85d5a moved system_clock.c to STM32WL up folder 2021-07-05 12:55:32 +02:00
Charles d601dd8e91 moved to STM32WL up folder 2021-07-05 12:55:14 +02:00
Charles cf7e1ebe48 moved to STM32WL up folder 2021-07-05 12:52:58 +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
anish-k 59ba97f7b4 analogout: STM32: Implemented analogout_free for STM32H7 series
analogout_free implemented with multiple DAC channel usage check.
2021-07-02 18:01:12 +05:30
anish-k c22331cc03 analogout: STM32: analogout_free implementation for STM32F7
Implemented analogout_free for STM32F7 Series.
2021-07-02 17:53:58 +05:30
anish-k b52b3b6d43 analogout: STM32: analogout_free implementation for F4
Implemented analogout_free for STM32F4 family and added new
member "PinName pin" in dac_s structure.
2021-07-02 17:39:44 +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
anish-k 91d0a6dec0 InterruptIn : STM32: Implemented error catching for multiple gpio irq line
The multiple InterruptIn object with same pin_index sharing same IRQ line.
So the second object will overwrite the first one. To catch this as error,
implemented an error catching functionality.
2021-07-01 21:32:39 +05:30
Kather Rafi Ibrahim a9e9564ced Eth: STM32: Upating documentation on mbed_otp_mac_address()
This commit updates the documentation on how to use
mbed_otp_mac_address() to modify the default MAC address to custom
Mac address.

Signed-off-by: Kather Rafi Ibrahim <katherrafi.i@hcl.com>
2021-07-01 17:07:01 +05:30
Martin Kojtal 43116a2822
Merge pull request #14807 from noonfom/m2354-psa-v8-m-devices
M2354: inherit PSA_V8_M devices
2021-07-01 10:52:53 +02:00
Jaeden Amero 043d1735a1
Merge pull request #14837 from LDong-Arm/K64F_pin_names
K64F: Fix pin names and migrate to Arduino Uno form factor
2021-06-30 09:15:54 +01:00
Mohammed Mubeen 5d861f895d
Merge branch 'master' into CAN_rxinterrupt_fix 2021-06-29 18:32:48 +05:30
pennam 4f80d23607 Provide missing stubs for ARMClang build 2021-06-29 14:41:08 +02:00
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
Lingkai Dong 61989e106a K64F: Fix pin names and migrate to Arduino Uno form factor
Fix pin names of K64F with the following from the latest guidelines:
* LEDs and buttons are defined as macros, digital and analog pins as
enums.
* No duplicated pin names with the same value.
* The Arduino form factor is deprecated in favour of Arduino Uno.

Note: The pins `SPI_xxx` are for SD card only, but the names are kept
for backward compatibility (i.e. no breaking change until the next
Mbed OS major version). The general purpose Arduino Uno SPI pins
(`ARDUINO_UNO_SPI_xxx`) are different and also available.
2021-06-28 17:47:25 +01:00
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 de7e326bc1
Merge pull request #14677 from MubeenHCLite/corrections_in_STM_canapi
Changes required in STM CAN read API
2021-06-25 10:49:20 +02:00
Martin Kojtal a2281a7e49
Merge pull request #14822 from jeromecoutant/PR_H7_M4
STM32H7: correction for FLASH API for CM4
2021-06-25 10:02:31 +02:00
Mohammed Mubeen 6f436dbac3 Adjusted spcae alignment 2021-06-25 12:06:44 +05:30
Martin Kojtal 829164acdb
Merge pull request #14778 from MubeenHCLite/Can_TxIrq_callback_resolution
CAN TxIRq callback never called -STM32G474
2021-06-24 15:44:52 +02:00
Dustin Crossman 444a2bdce0 Astyle run. 2021-06-23 15:40:09 -07:00
jeromecoutant a4b2695d15 STM32H7 CM4: enable ART 2021-06-23 16:58:16 +02:00
jeromecoutant ec945ba990 STM32H7 CM4: correct FLASH_SIZE
FLASH_SIZE_DATA_REGISTER is not accessible by M4,
acces makes a hard fault
2021-06-23 16:53:38 +02:00
Mohammed Mubeen 9732cdcce6 Updated comments appropriately 2021-06-22 14:22:16 +05:30
Abbas Bracken Ziad bfdf6f09ec M2354: inherit PSA_V8_M devices
For `MCU_M2354`, the use of `device_has` in `targets.json` overrides the devices
present in the base target: `PSA_V8_M`. In particular, `DEVICE_TRNG` is missing
in `NU_M2354` builds as `TRNG` is a member of the `PSA_V8_M` `device_has` list.
As suggested by @ccli8, to ensure that `PSA_V8_M` devices are inherited by
derived targets, such as `MCU_M2354`, the correct syntax to use is
`device_has_add`.
2021-06-21 12:40:30 +01:00
Mohammed Mubeen 2cc08cf5a6 Rebaseing to current master 2021-06-21 14:34:48 +05:30
Mohammed Mubeen 5049b518fb Added working functionality to the can_filter api to accept IDs for filtering in both bxCAN and FDCAN 2021-06-21 14:17:41 +05:30
Mohammed Mubeen 064f94d0a6 Added to return failure if filter if unsupported format 2021-06-21 14:17:31 +05:30
Mohammed Mubeen 274d8aa40c The default FIFO for can by hardware is FIFO0 as set by the CAN STM API in configuration. Hence the read api is modified to access FIFO0 only 2021-06-21 14:17:14 +05:30
pennam 3854de3daf Portenta Add cyhal_system.h placeholder to build with new cypress assets 2021-06-18 12:58:27 +02:00
pennam 7909a1d571 Portenta Fix ARMClang build 2021-06-18 12:58:19 +02:00
Mohammed Mubeen 1fc141905e Added code to set TBTIE, to enable the tx complete/abort interrupts, for
all supported FDCAN platforms
2021-06-15 20:17:50 +05:30
Affrin Pinhero ef5ac45192 driver/i2c: STM32: I2C Read Write Take long time
Modified i2c_device.h file. This will solve I2C read
write long time issue. Updated default I2C peripheral clock
value to 160MHz.

fix:
ARMmbed/mbed-os#14732

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-06-15 15:08:24 +05:30
Martin Kojtal 3c622f60b5
Merge pull request #14743 from OpenNuvoton/nuvoton_m251_m261_wdt
Nuvoton: Support watchdog on M251/M261 series
2021-06-11 16:10:53 +02:00
Martin Kojtal aeaac0e70c
Merge pull request #14746 from jeromecoutant/PR_WB15CC
STM32WB: introduce STM32WB15CC NUCLEO
2021-06-10 14:16:10 +02:00
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
jeromecoutant 1a370ed02a STM32WB: README update with NUCLEO_WB15CC 2021-06-08 15:04:00 +02:00
Martin Kojtal 7c17693c06
Merge pull request #14729 from affrinpinhero-2356/adc_bank_script_update
tools/STM32 Modified Python script generates Peripheral Pins
2021-06-08 12:21:32 +02:00
Chun-Chieh Li de00a5a4e8 Nuvoton: Support watchdog on M251/M261 series
Support watchdog on below targets:
-   NUMAKER_IOT_M263A
-   NUMAKER_IOT_M252
2021-06-08 11:03:55 +08:00
Martin Kojtal 8b1b302744
Merge pull request #14733 from jeromecoutant/PR_DUALPAD
STM32H7 ADC : dual pad feature update
2021-06-07 20:50:16 +02:00
Martin Kojtal 1fe0650907
Merge pull request #14721 from OpenNuvoton/nuvoton_no-hxt-lxt
Nuvoton: Enable no HXT/LXT configurability
2021-06-07 20:50:10 +02:00
jeromecoutant 4c7d9d190b STM32 NUCLEO_WB15CC support 2021-06-07 18:03:49 +02:00
jeromecoutant 9f0ee46475 STM32WB15xC MCU support 2021-06-07 16:05:41 +02:00
Martin Kojtal 587eb413d6
Merge pull request #14736 from jeromecoutant/ISSUE_USB_F1
STM32 USB: update init
2021-06-07 13:32:01 +02:00
Martin Kojtal a83ec1960b
Merge pull request #14739 from OpenNuvoton/nuvoton_m2354_tfm_no_hxt
M2354: Substitute HIRC for HXT to clock PLL
2021-06-07 12:52:57 +02:00
Martin Kojtal 0675d30be8
Merge pull request #14670 from jeromecoutant/PR_README_SLEEP
STM32: add information in README for SLEEP feature
2021-06-07 12:32:01 +02:00
Martin Kojtal fef89d93ce
Merge pull request #14738 from MaximIntegrated/master
Gate ticker (timer0) clock on deepsleep for MAX32620FTHR
2021-06-07 12:31:48 +02:00
Martin Kojtal 9fbb89e2d1
Merge pull request #14692 from jeromecoutant/PR_WB_HCI
STM32WB: improve FLASH size
2021-06-07 11:18:26 +02:00
Ahmet Alincak 43d9c0fbb4 Gate ticker (timer0) clock on deepsleep 2021-06-07 00:41:09 +03:00
Dustin Crossman ecaadd2597 Fix file modes. 2021-06-04 13:44:44 -07:00
Dustin Crossman 82ad4351db Add back deleted defines. 2021-06-04 12:46:49 -07:00
Dustin Crossman 7d0f3c7ec1 Fixup CMakeLists after reorg. 2021-06-04 12:46:13 -07:00
jeromecoutant 94794f9228 STM32 USB: update init
Add explicit calt to __HAL_PCD_ENABLE()
2021-06-04 17:01:14 +02:00
Anna Bridge 5047bd3c27
Merge pull request #14608 from JeanMarcR/STM32H7_NEW_CUBE
STM32H7 update drivers version to CUBE V1.9.0
2021-06-04 11:51:05 +01:00
Anna Bridge 986add717e
Merge pull request #14722 from jeromecoutant/PR_RNG
STM32 TRNG: update init to match all configs
2021-06-04 11:40:07 +01:00
Chun-Chieh Li 0b6fdf46f0 M2354: Default to HXT not present
1.  Build TF-M v1.3 with GNUARM and HXT not present.
2.  Support configurability of HXT presence (targets.json).
3.  Default HXT to not present (targets.json). This must align with built TF-M secure code above.
2021-06-04 10:32:59 +08:00
Chun-Chieh Li 79cf5a01d5 M2354: Synchronize platform extra secure files from TF-M
These files are refactored on TF-M and make no logic change on Mbed.
2021-06-04 10:32:59 +08:00
Chun-Chieh Li 71c32de1d7 M2354: Refine TF-M import readme
Add bug report of GNU Arm Embedded Toolchain 10-2020-q4-major in CMSE support
2021-06-04 10:32:59 +08:00
Dustin Crossman c57b3536bc Add accidentally deleted files back to CYSBSYSKIT_01 2021-06-03 14:26:27 -07:00
jeromecoutant fb8be8259c STM32H7 ADC : dual pad feature update 2021-06-03 10:42:35 +02:00
pennam cd35063694 Add missing changes in objects.h file for others STM32 components 2021-06-03 10:12:04 +02:00
Dustin Crossman 0d4e447cca Add workaround for changes to cyhal_lptimer_irq_trigger. 2021-06-02 17:11:11 -07:00
Dustin Crossman 0cf1589cdb Reorganize assets. 2021-06-02 17:11:02 -07:00
Dustin Crossman c47f286d1a Remove old files. 2021-06-02 17:09:53 -07:00
Dustin Crossman e97809483c Reorg and rename core-lib. 2021-06-02 17:09:52 -07:00
Dustin Crossman 98cf713e2a Reorg and rename abstraction-rtos. 2021-06-02 17:09:50 -07:00
Dustin Crossman b51527390f Rename and reorganize 2021-06-02 17:09:49 -07:00
Dustin Crossman 2e8de3cd91 Rename to better align with actual asset name. 2021-06-02 17:09:45 -07:00
Dustin Crossman ed14fe3795 Delete unused asset. 2021-06-02 17:09:18 -07:00
Dustin Crossman e2a4a7303e Add missing defines for psoc6 boards. 2021-06-02 17:09:16 -07:00
Dustin Crossman c40bc8b279 Update psoc6hal to 1.5.0.20805 2021-06-02 17:09:15 -07:00
Dustin Crossman 7a7f206344 Update abstraction-resource to 1.0.0.22384 2021-06-02 17:08:20 -07:00
Dustin Crossman c3714868a3 Update abstraction-rtos to 1.4.0.22384 2021-06-02 17:08:19 -07:00
Dustin Crossman 4ca2f281c0 Update core_lib to 1.2.0.22384 2021-06-02 17:08:18 -07:00
Dustin Crossman 9b946a4f0d Update psoc6cm0p to 2.1.2.789 2021-06-02 17:08:16 -07:00
Dustin Crossman 623e799d63 Update serial-flash to 1.1.0.20805 2021-06-02 17:08:15 -07:00
Dustin Crossman f489d579b0 Update psoc6pdl to 2.2.0.7891 2021-06-02 17:08:14 -07:00
Dustin Crossman 85c0e45313 Update TARGET_CYW9P62S1_43438EVB_01 to 2.1.0.21729 2021-06-02 17:07:05 -07:00
Dustin Crossman d1c8bad661 Update TARGET_CYW9P62S1_43012EVB_01 to 2.1.0.21729 2021-06-02 17:07:04 -07:00
Dustin Crossman 783071037c Update TARGET_CYSBSYSKIT_01 to 2.1.0.21729 2021-06-02 17:07:03 -07:00
Dustin Crossman 55c0dd9065 Update TARGET_CY8CPROTO_062_4343W to 2.1.0.21729 2021-06-02 17:07:02 -07:00
Dustin Crossman 1ebbd2b749 Update TARGET_CY8CPROTO_062S3_4343W to 2.1.0.21729 2021-06-02 17:07:01 -07:00
Dustin Crossman 640b5ab094 Update TARGET_CY8CKIT_062_WIFI_BT to 2.1.0.21729 2021-06-02 17:07:00 -07:00
Dustin Crossman 65c1635909 Update TARGET_CY8CKIT_062_BLE to 2.1.0.21729 2021-06-02 17:06:59 -07:00
Dustin Crossman 5d832dd5e9 Update TARGET_CY8CKIT_062S2_43012 to 2.1.0.21729 2021-06-02 17:06:57 -07:00
Affrin Pinhero f7a3ad9008 tools/STM32 Modified Python script generates Peripheral Pins
Modified print_adc function to update adc pin_map.
This patch will update python script that generate
'peripheralPin.c'. Which will give functionality to
gernerate ADC pin definition for BANK_B.
This script update is related to
https://github.com/ARMmbed/mbed-os/pull/14669

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-06-02 21:23:46 +05:30
Martin Kojtal 5fe4dafc34
Merge pull request #14221 from macronix/macronix_rww
Enable the RWW function of Macronix Flash MX25LW51245G in OSPI block device driver
2021-06-02 16:53:59 +02:00
jeromecoutant a4ae9f13a7 STM32 TRNG : update init to match all config 2021-06-02 16:37:38 +02:00
jeromecoutant 20e4a351f1 Revert "STM32L5 RNG : update for deprecated MCU version"
This reverts commit f599a5463c.
2021-06-02 16:37:38 +02:00
Martin Kojtal 045c48db3e
Merge pull request #14669 from affrinpinhero-2356/adcBank
STM32L152: Added ADC Bank_B functionality
2021-06-02 16:33:03 +02:00
Martin Kojtal 5aaf3a3390
Merge pull request #14720 from chrJost/STM32L5x2_pwr_register
STM32L5: corrected voltage scaling when using MSI
2021-06-02 15:50:02 +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 cadc328947 STM32G0: correct voltage scaling control 2021-06-02 09:37:19 +02:00
Chun-Chieh Li f08a841a8c Nuvoton: Configure HXT to not present by default
This is to spare one HXT component in case the substitute HIRC can pass Greentea test with accuracy.
2021-06-02 09:02:06 +08:00
Chun-Chieh Li 77ed6778d8 Nuvoton: Explicitly disable HXT/LXT on configured to not present
This is to guard from BSP driver which cannot see this configuration and still uses HXT/LXT.
2021-06-02 09:02:05 +08:00
Chun-Chieh Li a0c53896e0 Nuvoton: Enable no HXT/LXT configurabiliy
LXT/HXT are external crystl oscillator and can be absent on custom board.
This enables configuring LXT/HXT presence:
1.  By default, LXT/HXT are configured to be present, except M252 which has no HXT.
2.  When LXT is configured to not present, lp_ticker/watchdog will clock by LIRC instead.
3.  Limitations:
    (1) On all targets, LIRC-clocked lp_ticker gets inaccurate and fails to pass tests.
    (2) On NUC472/M453, HIRC-clocked PLL doesn't output 1MHz-aligned frequency. us_ticker gets slight inaccurate.
    (3) On all targets, LIRC-clocked RTC is not supported due to no H/W path/RTC clock source reset to LXT on reset/RTC not trimmed for other clock rates.
4.  On M263, TRNG's clock source defaults to LXT and needs special handling without LXT.
5.  On M252, replace target.hxt-enable with target.hxt-present for consistency.
2021-06-02 09:02:05 +08:00
Jost, Chris 3bfa124f80 enable the power settings register prior to setting them 2021-06-01 16:40:15 +02:00
Martin Kojtal 543bcb5192
Merge pull request #14441 from OpenNuvoton/nuvoton_m2354_tfm
M2354: Support Nuvoton's new target
2021-06-01 11:25:59 +02:00
Martin Kojtal da13755a9f
Merge pull request #14699 from jeromecoutant/PR_ASTYLE
STM32 astyle format
2021-06-01 10:02:34 +02:00
pennam 70c09cdb7a Portenta cycfg.h add missing license header 2021-05-31 16:38:37 +02:00
Martino Facchin f05eb06439 Portenta enable WiFi 2021-05-31 16:38:37 +02:00
pennam c1e7c54964 Portenta CMake fix COMPONENT_WHD 2021-05-31 16:38:37 +02:00
pennam fc83ee15d8 Portenta add missing includes to resources.h 2021-05-31 16:38:37 +02:00
pennam 5edf34289c Portenta add resource_fs_handle declaration 2021-05-31 16:38:36 +02:00
pennam 64c9e1fdb3 Portenta split wiced_filesystem.h to avoid cpp BlockDevice inclusion from Cypress layer 2021-05-31 16:38:36 +02:00
pennam b34a436d25 Portenta removed resource_imp folder 2021-05-31 16:38:36 +02:00
pennam 2852fe41ae Portenta renamed 4343W to 4343W_FS 2021-05-31 16:38:36 +02:00
pennam d31e002bae Portenta SDIO patch to support non NULL response arguments 2021-05-31 16:38:36 +02:00
pennam 774821ca3b Portenta add cycfg.h 2021-05-31 16:38:35 +02:00
Martino Facchin 94ceb8379d Portenta add SDIO GPIO and filesystem implementation 2021-05-31 16:38:35 +02:00
Martino Facchin 4200d752b2 Portenta add interface to cypress hal 2021-05-31 16:38:35 +02:00
pennam ef7ce6ba68 Portenta Add COMPONENT_WHD/resources to TARGET_PORTENTA_H7 2021-05-31 16:38:35 +02:00
Martin Kojtal 8a0c3c7915
Merge pull request #14698 from affrinpinhero-2356/HAL_I2C_ErrorCallback-#14696
STM32: Fixed I2C Bug
2021-05-31 16:11:38 +02:00
Martin Kojtal bfedc39f7c
Merge pull request #14471 from arduino/whd_patch
COMPONENT_WHD: make reusable code available for other targets
2021-05-31 15:49:25 +02:00
Martin Kojtal 15728abc85
Merge pull request #14702 from jrobeson/silence-warnings-in-3rd-party-nordic-code
Silence expansion-to-defined for nrfx
2021-05-31 15:33:58 +02:00
Jaeden Amero 9135966efe
Merge pull request #14687 from JeanMarcR/STM32L5_NEW_CUBE
STM32L5 update drivers version to CUBE V1.4.0
2021-05-27 14:55:32 +01:00
Affrin Pinhero 4a8b2301a5 STM32: Fixed I2C Bug reported.
Modified HAL_I2C_ErrorCallback function to solve bug reported in I2C Driver.
This commit solves compilation error occured when DEVICE_I2CSLAVE is not defined.

fix #14696

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-05-27 15:02:39 +05:30
Johnny Robeson 65533a9d81 Silence expansion-to-defined in nrfx 2021-05-26 01:06:01 -04:00
Chun-Chieh Li 3fc81fb883 M2354: Comply with standard pin naming rule 2021-05-26 09:35:05 +08:00
Chun-Chieh Li e2491509f5 M2354: Update to TF-M 1.3 2021-05-26 09:35:05 +08:00
Chun-Chieh Li 98f5a99219 M2354: Refine TF-M/Mbed integration readme 2021-05-26 09:35:04 +08:00
Chun-Chieh Li 9fee7d9b18 M2354: Use TF-M exported region_defs.h to replace target.mbed_rom_start and friends 2021-05-26 09:35:04 +08:00