Commit Graph

32745 Commits (3e63fd911c9ad107423412e3f58fc6c639c0ac1d)

Author SHA1 Message Date
George Psimenos 3e63fd911c Replace USBTX/RX in docs 2021-03-24 10:18:34 +00:00
George Psimenos cd5330e5a9 Replace USBTX/RX everywhere else 2021-03-24 10:11:30 +00:00
George Psimenos 8a4b88c762 Update USBTX/USBRX alias 2021-03-23 17:07:52 +00:00
George Psimenos 61cfaa15cd Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
Martin Kojtal 96e19afdd1
Merge pull request #14396 from LDong-Arm/tfm_os_wrapper
TF-M: Switch to vanilla TF-M's OS wrapper
2021-03-22 12:06:04 +01:00
Lingkai Dong a6081e5681 Update VERSION.txt for imported TF-M files 2021-03-22 10:01:46 +00:00
Martin Kojtal 7ef27d9498
Merge pull request #13209 from AGlass0fMilk/virtual-gpio-methods
Implement polymorphism for DigitalIn/Out/InOut
2021-03-22 11:00:05 +01:00
Martin Kojtal 1fdb1c18e8
Merge pull request #14198 from ARMmbed/feature-bluetooth-traces
Feature bluetooth traces
2021-03-22 10:59:44 +01:00
Martin Kojtal f00ce59769
Merge pull request #14243 from boraozgen/feature/stm32-rtc-hse
STM32: Add HSE support to RTC
2021-03-22 10:57:28 +01:00
Martin Kojtal 83adad9609
Merge pull request #14421 from jeromecoutant/PR_SDPUSB
SDP-K1: enable IAR compilation
2021-03-22 10:57:08 +01:00
Martin Kojtal b7f1acff44
Merge pull request #14428 from 0xc0170/cmake-fix-targets-labels
CMake targets: remove labels usage, not required anymore
2021-03-22 10:56:55 +01:00
Martin Kojtal 6a252875c7
Merge pull request #14429 from hugueskamba/hk_cmake_fix_st_build_error
CMake: Fix STM target build failures
2021-03-22 10:45:46 +01:00
Martin Kojtal 4ab347c1a1
Merge pull request #14381 from ARMmbed/feature-std-pin-name
Standard Pin Names
2021-03-22 10:45:28 +01:00
George Psimenos 21194f5b95 New lines 2021-03-18 17:01:54 +00:00
George Psimenos d239ef98cd Rename USBTX/RX to CONSOLE_TX/RX 2021-03-18 17:01:54 +00:00
George Psimenos 3af96247a6 Update PinNames markers 2021-03-18 17:01:54 +00:00
George Psimenos 87b587cc23 Remove design documents 2021-03-18 17:01:54 +00:00
George Psimenos 2322f1dd7a Remove unused NUCLEO_H743ZI target files 2021-03-18 17:01:54 +00:00
George Psimenos ec7e00a780 Add target markers to new PinNames.h files 2021-03-18 17:01:54 +00:00
George Psimenos 8cf2eccd47 Remove unused NUVOTON M2351 target files 2021-03-18 17:01:54 +00:00
George Psimenos 4dfdb11de0 Move pinvalidate files 2021-03-18 17:01:54 +00:00
jeromecoutant e602adb080 [STD-PIN] STM32H7: standardized pins 2021-03-18 17:01:54 +00:00
jeromecoutant eafaca379e [STD-PIN] STM32L5: standardized pins 2021-03-18 17:01:53 +00:00
jeromecoutant bb7d0391a4 [STD-PIN] STM32L4: standardized pins 2021-03-18 17:01:53 +00:00
George Psimenos 885cdef5f7 Add standard pin-names validation script & tests 2021-03-18 17:01:53 +00:00
jeromecoutant 500ddf596a [STD-PIN] Updates after review 2021-03-18 17:01:50 +00:00
jeromecoutant d514b78bb3 [STD-PIN] hal-tests-tests-pin_names-arduino_uno
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | ADC A0                | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | ADC A1                | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | ADC A2                | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | ADC A3                | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | ADC A4                | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | ADC A5                | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO A0               | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO A1               | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO A2               | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO A3               | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO A4               | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO A5               | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D0               | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D1               | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D10              | 1      | 0      | OK     | 0.06               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D11              | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D12              | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D13              | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D14              | 1      | 0      | OK     | 0.06               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D15              | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D2               | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D3               | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D4               | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D5               | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D6               | 1      | 0      | OK     | 0.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D7               | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D8               | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | GPIO D9               | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | I2C                   | 1      | 0      | OK     | 0.06               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | PWM D10               | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | PWM D11               | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | PWM D3                | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | PWM D5                | 1      | 0      | OK     | 0.06               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | PWM D6                | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | PWM D9                | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | SPI                   | 1      | 0      | OK     | 0.08               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-arduino_uno                 | UART                  | 1      | 0      | OK     | 0.06               |
2021-03-18 17:01:50 +00:00
jeromecoutant 5e50e3b19b [STD-PIN] enable "ARDUINO_UNO" for B_L4S5I_IOT01A 2021-03-18 17:01:50 +00:00
jeromecoutant eca714c93f [STD-PIN] update tests and components 2021-03-18 17:01:50 +00:00
jeromecoutant 9d453cce68 [STD-PIN] ARDUINO_UNO pins
- hal/include/hal/ArduinoUnoAliases.h creation
- doc update
2021-03-18 17:01:50 +00:00
jeromecoutant a4350f72bd [STD-PIN] BUTTON and LED define
hal/tests/TESTS/mbed_hal/gpio/main.cpp is replaced by
hal/tests/TESTS/pin_names/generic/main.cpp now
2021-03-18 17:01:50 +00:00
jeromecoutant 23e3bb301d [STD-PIN] hal-tests-tests-pin_names-generic
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-generic | BUTTON1   | 1      | 0      | OK     | 0.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-generic | LED1      | 1      | 0      | OK     | 1.05               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-generic | LED2      | 1      | 0      | OK     | 1.04               |
| B_L4S5I_IOT01A-ARMC6 | B_L4S5I_IOT01A | hal-tests-tests-pin_names-generic | LED3      | 1      | 0      | OK     | 1.04               |
2021-03-18 17:01:50 +00:00
jeromecoutant a6c213bb10 [STD-PIN] Replace STDIO_UART_TX by USBTX 2021-03-18 17:01:50 +00:00
Marcelo Salazar 61248478c2 Clarify impact on changes 2021-03-18 17:01:50 +00:00
Marcelo Salazar 2ca4f8175e Standard pin-name design documents
This is proposal to standardize the definition of pin names by
proposing guidelines, requirements and checks to claim compliance
with specific standard connectors.

This proposal includes design documents in two areas:
- General guidelines and requirements for all boards
- Arduino Uno specific pin name requirements (first standard connector)
2021-03-18 17:01:50 +00:00
Paul Szczepanek d43d4a0e7e fix cordio include path 2021-03-18 11:30:43 +00:00
Paul Szczepanek 1afbbebc96 fix include path for dm_api.h 2021-03-18 11:27:42 +00:00
Lingkai Dong 6c405d2492 USB: use fully-qualified RTOS include paths
The Arm Compiler is case sensitive and unable to distinguish
between `Thread.h` from Mbed OS RTOS and `thread.h` from TF-M's
OS wrapper, for example. This resolves compilation failures due to
wrong includes.

To resolve this, use the fully-qualified include paths for the
RTOS API.
2021-03-17 09:41:56 +00:00
Lingkai Dong eeae3d73dd Import OS wrapper from the vanilla TF-M
Previous, we patched TF-M to replace its OS wrapper with CMSIS RTOS
to resolve manage management issue when integrated with Mbed OS. But
as of TF-M v1.2, the OS wrapper has been reworked in the vanilla TF-M,
and now it makes identical calls to its underlying CMSIS RTOS as our
patches do. So, we remove our patches and use vanilla TF-M's OS
wrapper instead to avoid extra maintenance overhead.

This commit re-imports TF-M files associated with the OS wrapper.
2021-03-17 09:41:56 +00:00
Martin Kojtal a0ee432279 CMake Freescale: add freescale prefix to avoid conflict with NXP 2021-03-16 17:30:09 +00:00
Paul Szczepanek dc6e9db067 add tracing to scan state (#14225) 2021-03-15 15:35:52 +00:00
Paul Szczepanek a62c1e1228 add missing include 2021-03-15 15:35:52 +00:00
Vincent Coubard f572e5d5a5 Update .github/issue_template.md
Reword traces addition.

Co-authored-by: Paul Szczepanek <pawel.szczepanek@arm.com>
2021-03-15 15:35:52 +00:00
Vincent Coubard cf33ed0668 BLE: Add MemorySecurityDb.cpp and SecurityDb.cpp to CMake. 2021-03-15 15:35:52 +00:00
Vincent Coubard f515c41a76 Github template: Recommend to join traces to connectivity issue. 2021-03-15 15:35:52 +00:00
Vincent Coubard d1672aaa64 BLE: Update level of traces in GattServer 2021-03-15 15:35:52 +00:00
Vincent Coubard 957486e0eb BLE: Move traces out of header file to avoid collisions.
This change required the creation of the implementation files of SecurityDb classes.
2021-03-15 15:35:52 +00:00
Vincent Coubard 6adaefd9f3 BLE: Fix traces parameter warnings 2021-03-15 15:35:52 +00:00
Vincent Coubard 65c61a1ca9 BLE: Remove uses of tr_as_array in favour of to_string. 2021-03-15 15:35:52 +00:00
Vincent Coubard c674990820 BLE: Fix sprintf overflow in trace helpers. 2021-03-15 15:35:52 +00:00