Commit Graph

1416 Commits (aaf9435f87b9294e82e206085cd475b1bd6c28dd)

Author SHA1 Message Date
Anna Bridge 0742135fd1
Merge pull request #14457 from ARMmbed/uart-stdio-alias
Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides
2021-03-26 15:17:58 +00:00
Anna Bridge 76f470411a
Merge pull request #14450 from jeromecoutant/PR_SPI_WB
FPGA SPI : decrease test frequency for ASYNC test cases
2021-03-26 14:52:00 +00:00
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
jeromecoutant b943c4474a FPGA SPI : decrease test frequency for ASYNC test cases 2021-03-19 11:34:23 +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 4dfdb11de0 Move pinvalidate files 2021-03-18 17:01:54 +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 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
Hugues Kamba c45e6ce13f Remove usage of MBED_TARGET_LABELS in hal/ tests
This removes some dependency on targets.json
2021-02-19 19:15:47 +00:00
Hugues Kamba 7d49d4bce1 Create FLASH CMSIS ALGO target to remove dependency on MBED_TARGET_LABELS
This goes towards eventually removing reliance on targets.json to specify
the requirements of Mbed targets.
2021-02-19 16:56:37 +00:00
Rajkumar Kanagaraj 6824b14e48 CMake: rename greentea test macro 2021-02-02 07:43:40 -08:00
Rajkumar Kanagaraj 7d7159d20f
Apply suggestions from code review
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-01-08 03:21:03 -08:00
Rajkumar Kanagaraj 71729238f0 CMake: Add support for mbed_timing_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
Rajkumar Kanagaraj d9f2d765f4 CMake: Add support for mbed_hal_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
Rajkumar Kanagaraj f78d7e1fe5 CMake: Add CMake support for mbed_hal greentea test 2021-01-05 09:10:45 -08:00
Martin Kojtal 4e0d07d50f
Merge pull request #12897 from kjbracey-arm/tickeropt
Optimise mbed_ticker_api.c
2020-11-30 16:15:37 +00:00
Martin Kojtal 2f709cc13f
Merge pull request #13896 from jeromecoutant/PR_OSPI
STM32 OSPI support
2020-11-24 13:53:30 +00:00
Martin Kojtal 57bbb4739b
Merge pull request #13085 from pea-pod/remove-deprecated-mbed-assert
Change MBED_STATIC_ASSERTs version for built-in
2020-11-24 13:38:07 +00:00
jeromecoutant 4d8127223c OSPI test: dummy cycle update 2020-11-10 18:38:21 +01:00
Rajkumar Kanagaraj e7c0d93ad4 CMake: add mbed-os and mbed-baremetal targets
mbed-os consists of mbed-core and mbed-rtos
mbed-baremetal consists of mbed-core

The main change is for mbed-core. Changing from object library to be interface. This way it allows us to do the above to have 2 main targets for users to use.

This should be backward compatible change as mbed-os target we used contains the same files/options as previously set.
2020-11-06 17:25:22 +00:00
Hugues Kamba bf84a5b329 CMake: Rename CMake targets
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Rajkumar Kanagaraj 8016a53400 CMake: replace usage of the mbed_add_cmake_directory_if_labels() function (#13754)
Directories that start with special prefixes (TARGET_, FEATURE_, COMPONENT_)  are added to the build based on Mbed target configuration from targets.json instead of calling utility function mbed_add_cmake_directory_if_labels().
2020-11-06 17:25:21 +00:00
Hugues Kamba 44f9d176e8 CMake: Fix build due to hal dir move 2020-11-06 17:25:20 +00:00
Hugues Kamba 5f53181f33 CMake: Fix access to usb hal source file 2020-11-06 17:25:18 +00:00
Hugues Kamba 8f9bf40323 CMake: Add support for hal dir 2020-11-06 17:25:15 +00:00
pea-pod 507181d262 Change MBED_STATIC_ASSERTs version for built-in 2020-10-27 08:30:40 -05:00
Martin Kojtal 21652971a5
Merge pull request #12644 from macronix/macronix_ospi
Add OSPI driver to support the Octa mode of Macronix octaflash MX25LM51245G
2020-09-30 16:07:20 +01:00
Martin Kojtal a02ea2f43a
Merge pull request #13623 from rajkan01/refactor_docs
Refactor mbed-os design docs
2020-09-21 16:28:13 +01:00
Rajkumar Kanagaraj 19908b2b21 Refactor hal, platform, rtos docs 2020-09-17 16:03:43 +01:00
Martin Kojtal dcf6def947
Merge pull request #13621 from rajkan01/refactor_rem_tests_dir
Refactor remaining TESTS related to hal, rtos, and platform dir
2020-09-17 09:08:16 +01:00
Rajkumar Kanagaraj a74120ca2e Move greentea test closure to library 2020-09-16 13:04:21 +01:00
rogeryou 48524f25ae add opsi driver 2020-09-16 11:27:23 +08:00
Kevin Bracey c887290db6 Adjust ticker tests 2020-09-14 13:25:12 +03:00
Kevin Bracey 65bc41a96b Optimise mbed_ticker_api.c
The generic code in mbed_ticker_api.c uses run-time polymorphism to
handle different tickers, and has generic run-time calculations for
different ticker widths and frequencies, with a single special-case for
1MHz.

Extend the run-time special casing to handle any conversion cases where
either the multiply or divide can be done as a shift. This is a speed
optimisation for certain platforms.

Add a new option `target.custom-tickers`. If turned off, it promises
that only USTICKER and LPTICKER devices will be used. This then permits
elimination and/or simplification of runtime calculations, saving size
and speed. If either both USTICKER and LPTICKER have the same width, or
same period numerator or denominator, or only one of them exists, then
operations can be hard-coded. This is a significant ROM space saving,
and a minor speed and RAM saving.

We get to optimise all the calculations, but the run-time polymorphism
is retained even if there is only one ticker, as it doesn't
significantly affect code size versus direct calls, and the existence of
lp_ticker_wrapper and various us_ticker optimisations requires it, even
if only LPTICKER is available.
2020-09-14 13:25:10 +03:00
Kevin Bracey 6423633122 Add documentation for LP_TICKER defines
They're now potentially useful, so document them as per the US_TICKER
defines.
2020-09-14 13:25:08 +03:00
Antti Kauppila c1dd8b9acd redundant code combined 2020-09-14 13:25:06 +03:00
Rajkumar Kanagaraj 2bc7bb7a52 - Remove components reference from travis
- update readme
2020-09-11 14:33:18 +01:00
Martin Kojtal 468372e759
Merge pull request #13492 from talorion/fix-PwmOut-resets-after-suspend
Fix pwm out resets after suspend
2020-09-10 12:40:18 +01:00
Jaeden Amero 39e69d328d Use boot stack size from config system
To allow overriding of the boot stack size from the Mbed configuration
system, consistently use MBED_CONF_TARGET_BOOT_STACK_SIZE rather than
MBED_BOOT_STACK_SIZE.

Fixes #10319
2020-09-10 10:08:38 +01:00
Roman Okhrimenko 877078003c Rename CY8CKIT_064B0S2_4343W to CY8CKIT064B0S2_4343W, which fits in 20 characters limit 2020-09-07 08:25:31 +03:00