Commit Graph

8158 Commits (d6104c8194e122b6a79dceebc98a1f23e919520c)

Author SHA1 Message Date
Martin Kojtal ccde03aac2
Merge pull request #14567 from OpenNuvoton/nvt_m480_wdt_rst
M487: Resolve WDT reset H/W limit
2021-05-03 12:11:30 +02:00
Martin Kojtal 99cf33c202
Merge pull request #14594 from jeromecoutant/PR_GEN_MCU
STM32_gen_PeripheralPins.py : TargetName correction
2021-05-03 09:55:48 +02:00
Martin Kojtal 0a6f769d54
Merge pull request #14555 from OpenNuvoton/nuvoton_wdt_stop-n-kick
Nuvoton: Fix hal_watchdog_kick() with WDT stopped
2021-04-30 15:41:35 +01:00
Martin Kojtal 9f35f294fe
Merge pull request #14582 from LDong-Arm/TF-Mv1.3.0_update
Update TF-M to v1.3.0
2021-04-30 12:13:56 +01:00
Lingkai Dong 5434722328 Updated secure binaries for [('ARM_MUSCA_S1', 'ARMCLANG')] 2021-04-29 11:09:23 +01:00
Lingkai Dong 68f8501885 Updated secure binaries for [('ARM_MUSCA_B1', 'ARMCLANG')] 2021-04-29 11:09:18 +01:00
Martin Kojtal 2bf648f975
Merge pull request #14561 from harmut01/baremetal_renesas
Add bare metal support to Renesas targets
2021-04-28 13:26:50 +01:00
Martin Kojtal 5fe3f09b6a
Merge pull request #14581 from jeromecoutant/PR_G4_UART
STM32G4 : serial issue with LP_UART1
2021-04-28 13:24:52 +01:00
Martin Kojtal 3358b45017
Merge pull request #14583 from Patater/detect-musca-b1
musca: Add detect_code for MUSCA B1
2021-04-28 12:43:48 +01:00
Martin Kojtal 49b018c3db
Merge pull request #14542 from JeanMarcR/STM32F3_NEW_CUBE
STM32F3 update drivers version to CUBE V1.11.2
2021-04-28 12:33:25 +01:00
Martin Kojtal 924652dc7f
Merge pull request #14539 from JeanMarcR/STM32G0_NEW_CUBE
STM32G0 update drivers version to CUBE V1.4.1
2021-04-28 12:33:03 +01:00
jeromecoutant 7150c0610a STM32_gen_PeripheralPins.py TargetName correction 2021-04-27 12:14:57 +02:00
Jaeden Amero b730f1fe27 musca: Add detect_code for MUSCA B1
Wtihout the detect_code, `mbed-tools detect` will fail to detect any
connected ARM_MUSCA_B1 boards with the error:

    ERROR: Could not identify a board with the product code: '5007'.
    No connected Mbed devices found.

Add the detect_code for MUSCA B1 to targets.json so the board can be
reliably detected.

Fixes ARMmbed/mbed-tools#272
2021-04-23 09:13:03 +01:00
Lingkai Dong 7245d5ed3b Rename tfm_target_name for ARM_MUSCA_B1
The mbed-os-tf-m-regression-tests build scripts gets a mapping of
Mbed OS target names to TF-M target names from `targets.json`. TF-M
v1.3 has renamed musca_b1 to musca_b1/sse_200, this commit updates
that accordingly to ensure successful build of TF-M and tests for
ARM_MUSCA_B1.
2021-04-22 15:49:19 +01:00
jeromecoutant f2e153cf74 STM32G4 : serial issue with LP_UART1 2021-04-22 14:10:42 +02:00
Chun-Chieh Li e38b691541 M487: Refine the WKT resolution to WDT reset from PD
1. Rephrase the comment
2. Pass WDT reset reason test
2021-04-22 19:12:52 +08:00
cyliangtw 7db85490e6 Align lines by space instead of tab 2021-04-20 19:39:14 +08:00
cyliangtw b26fd71855 Resolve M480 WDT reset H/W limit by reset from deep power-down 2021-04-20 18:18:00 +08:00
harmut01 9125c51e6c Remove include dependency on `USBDevice_Types.h`
mbed-usb (which provides `USBDevice_Types.h`) is a higher-level USB
library in Mbed-OS that sits on top of the HAL. Targets should not
implement the HAL and use higher-level libraries, hence, the dependency
should be removed. This dependency also causes errors when building with
the bare-metal profile.
2021-04-19 16:20:25 +01:00
harmut01 961ec0ce7f CMake: Add `.cpp` files to target_sources
C++ files were excluded from target_sources, this meant that those files
were being missed entirely during the build process. This adds any files
that may have missed in the first commit.
2021-04-19 16:19:51 +01:00
jeromecoutant d219378f37 NUCLEO_WB55RG: enable PinMap_GPIO[] 2021-04-16 12:37:49 +02:00
jeromecoutant 4e9ef595c3 DISCO_L475VG_IOT01A: enable PinMap_GPIO[] 2021-04-16 12:37:49 +02:00
jeromecoutant 297522b35e STM32: enable PinMap_GPIO table with GPIO_PINMAP_READY
If GPIO_PINMAP_READY is defined for the target,
- PinMap_GPIO table is expected in PeripheralPins.c
- weak gpio_get_capabilities function is implemented
2021-04-16 12:35:40 +02:00
Chun-Chieh Li d489c92a1b Nuvoton: Fix hal_watchdog_kick() with WDT stopped
According to HAL spec, hal_watchdog_kick() shall do nothing when WDT is stopped.
2021-04-16 09:56:43 +08:00
Martin Kojtal 016d725673
Merge pull request #14465 from harmut01/baremetal_maxim
Maxim: Add bare metal support to targets
2021-04-15 17:31:12 +02:00
Martin Kojtal 32d1c99d3c
Merge pull request #14480 from jeromecoutant/PR_STM32_STANDARD
STM32: Standard Pin Names
2021-04-15 17:30:50 +02:00
Martin Kojtal 1fd4cfd798
Merge pull request #14516 from 0xc0170/fix-cmake-project-name
CMake: remove MBED_PATH and use <PROJECT-NAME>_SOURCE_DIR/MODULE_PATH instead
2021-04-15 14:00:21 +02:00
Martin Kojtal dd1da3da40
Merge pull request #14469 from jeromecoutant/PR_FLASH_PROGRAM
STM32: remove critical sections in flash_program_page
2021-04-14 20:15:11 +02:00
Martin Kojtal 121c8286da CMake: set CMAKE_MODULE_PATH in the Mbed OS CMakelists.txt
Update CMAKE_MODULE_PATH at once place.

Note, we update also CMAKE_MODULE_PATH in app.cmake. This is temporary until we get a proper way to include
Mbed Os (removing app.cmake need to be included by an application).
2021-04-14 13:09:28 +01:00
Martin Kojtal 65e246fe4d CMake: add mbed_ prefix to our CMake files
To avoid conflicts as we expose our CMake list files via CMAKE_MODULE_PATH. Some files already include it, this
aligns the rest of files.

I leave app.cmake as it is - it's user facing and it would be breaking change. We can clean this one for the next major version.
2021-04-14 13:09:27 +01:00
Martin Kojtal b6a90c4ae1 CMake: fix for CMAKE_CURRENT_LIST_DIR in functions
CMAKE_CURRENT_LIST_DIR behaves differently in functions. We store it in the CMakeLists itself, so anyone
calling a function would get the actual list dir where the scripts are.

To illustrate: if I call a function from src/CMakelists.txt, function located in src/scripts, `CMAKE_CURRENT_LIST_DIR` in the function would point
to the src/ folder but not to src/scripts.
2021-04-14 13:09:27 +01:00
Martin Kojtal afd938491a CMake platform: remove MBED_PATH, use standard variables
As we still use target labels, TFM is not visible to CMake. Protect include of their scripts with the same mechanism.
2021-04-14 13:09:26 +01:00
Martin Kojtal dfc4010e24 CMake targets: remove MBED_PATH, use stadard variables
- list files included via module path
- <project-name>_SOURCE_DIR for sources that are out of the current processed CMake
- CMAKE_CURRENT_LIST_DIR for listfiles
2021-04-14 13:09:26 +01:00
jeromecoutant 992591e774 STM32WL: standard pin names 2021-04-14 11:18:43 +02:00
jeromecoutant 65a96c57a2 STM32WB: standard pin names 2021-04-14 11:18:43 +02:00
jeromecoutant 768037c05e STM32L5: standard pin names 2021-04-14 11:18:43 +02:00
jeromecoutant 8e3c5f11d4 STM32L4: standard pin names 2021-04-14 11:18:22 +02:00
Martin Kojtal f4f8d8fd3f
Merge pull request #14543 from praveenCY/pr/fix_uart_enable
Fix Unbuffered serial enable/disable issue on Cypress kits
2021-04-14 11:09:24 +02:00
jeromecoutant a5878f45c3 STM32L1: standard pin names 2021-04-14 10:30:04 +02:00
jeromecoutant baa558685c STM32L0: standard pin names 2021-04-14 10:30:03 +02:00
jeromecoutant 68b620bdc2 STM32H7: standard pin names 2021-04-14 10:30:03 +02:00
jeromecoutant ede1741e55 STM32G4: standard pin names 2021-04-14 10:30:03 +02:00
jeromecoutant bd43397f12 STM32G0: standard pin names 2021-04-14 10:29:56 +02:00
jeromecoutant fc54542cf0 STM32F7: standard pin names 2021-04-14 10:23:29 +02:00
jeromecoutant 2323d227fe STM32F4: standard pin names 2021-04-14 10:23:29 +02:00
jeromecoutant 25e85f9fcf STM32F3: standard pin names 2021-04-14 10:23:29 +02:00
jeromecoutant 63ce075fa8 STM32F2: standard pin names 2021-04-14 10:23:29 +02:00
jeromecoutant 69a7e3eeff STM32F1: standard pin names 2021-04-14 10:23:28 +02:00
jeromecoutant d21ff75e39 STM32F0: standard pin names 2021-04-14 10:23:28 +02:00
jeromecoutant 2351460ef7 STM32: replace "ARDUINO" by "ARDUINO_UNO" 2021-04-14 10:23:28 +02:00