Commit Graph

34239 Commits (9e49cabb2cdd8540f3ace083b87d5b6492d3b5cc)

Author SHA1 Message Date
Jaeden Amero 14d4ee3f3b python: Allow newer prettytable with newer python
This helps to allow installation of Mbed OS's Python requirements, when
CMake is used, into the same Python environment as mbed-os-tools. The
versions specified here are aligned with mbed-os-tools;
tools/cmake/requirements.txt depends on the same version of prettytable
as mbed-os-tools's requirements.txt.
2021-07-21 13:55:18 +01:00
Jaeden Amero 8ffab0ae5a python: Remove direct dependency on prettytable
Mbed CLI 1 parses the base requirements.txt and attempts to
automatically install missing python libraries for you. Unfortunately,
it's requirements parser is not as capable as the one shipping with pip.
In particular, we are unable to express different version of libraries
conditional on the version of Python being used.

    ---
    [mbed] ERROR: Unknown Error: Unsupported environment marker:  python_version < '3.6'

Remove the direct dependency on prettytable from requirements.txt, as
mbed-os-tools depends on prettytable and we can pick up the dependency
(as properly expressed conditionally on the Python version) from there,
without having to use the limited requirements parser in Mbed CLI 1.
2021-07-21 13:52:52 +01:00
Martin Kojtal e060c8c007
Merge pull request #14730 from Ekidna/fix/sx126x-select-pins
Add config macros for device-variant, freq-support and xtal config
2021-07-21 14:52:44 +02:00
Martin Kojtal 655d889e91
Merge pull request #14912 from ARMmbed/move_unittest_ble_headers_lib
Move ble stubs to FEATURE_BLE lib
2021-07-21 14:52:01 +02:00
Martin Kojtal 530c90b351
Merge pull request #14932 from ARMmbed/remove_tools_host_tests
Remove host_tests from mbed-os/tools
2021-07-21 14:51:30 +02:00
ndrs-pst 369ae208ad FATFS: FATFileSystem.cpp migration, according to FatFs version upgrade from R0.13a to R0.14b 2021-07-21 19:39:26 +07:00
Hari Limaye bfe24ce64d Greentea: Remove unused variable from ticker test
Ticker test contains definition of variable total_ticks, which is unused
in the file since removal of function wait_and_print() in commit
aaa15bcf58
2021-07-21 12:21:58 +01:00
Rajkumar Kanagaraj fb5b0ede45 CMake: Limit the mbed-fakes-ble to required dependency mock 2021-07-21 01:56:29 -07:00
Rajkumar Kanagaraj 9df7a50f39 CMake: Move ble fakes into FEATURE_BLE double dir
Previously ble fakes as part of UNITTESTS/fakes, this PR moves
ble fakes to FEATURE_BLE double directory to make ble stubs
to be self-contained.
2021-07-21 01:56:29 -07:00
Rajkumar Kanagaraj 1b5f5970a2 CMake: fakes ble: Remove trailing whitespace 2021-07-21 01:56:29 -07:00
Rajkumar Kanagaraj 86737bdb89 Remove mbed-headers-connectivity
Moved all the headers out of mbed-headers-connectivity, and these changes remove
that headers lib reference from lorawan and cellular unit tests
2021-07-21 01:56:29 -07:00
Rajkumar Kanagaraj a61392ae30 CMake: Create mbed-headers-ble library
Previously ble headers are part of mbed-headers-connectivity, this PR
moves ble headers into new mbed-headers-ble to make ble stubs to be
more self-contained and improves the composition of the library.
2021-07-21 01:51:48 -07:00
Nicole Osazuwa 24451695e8 greentea: Add missing license header
Add missing license header to greentea_metrics.h
2021-07-20 17:01:34 +01:00
Nicole Osazuwa e8bd2fb530 Deprecate the Greentea metrics API
Add the deprecated macro to where the Greentea metrics API is declared.

Fixes #14790
2021-07-20 17:01:34 +01:00
Jaeden Amero c703b0de23
Merge pull request #14880 from Patater/dont-require-icetea
Dont require icetea
2021-07-20 15:54:51 +01:00
Martin Kojtal 146c98ccd6
Merge pull request #14920 from hazzlim/refactor-connectivity-netsocket-unittests
Refactor connectivity netsocket unittests
2021-07-20 14:58:40 +02:00
Rajkumar Kanagaraj e75b67fada Remove host_tests from mbed-os/tools
host tests (mbedhtrun) is maintained as part of mbed-os-tools but there
is a redundant duplicate of host_tests under mbed-os/tools/ directory
this PR changes to remove those duplicates and update test_api py modules
to use host tests from mbed-host-tests
2021-07-20 05:07:28 -07:00
Martin Kojtal 2181d7cc77
Merge pull request #14924 from ARMmbed/refactor_cellular_unittest
Refactor cellular unittest CMake
2021-07-20 10:09:57 +02:00
Martin Kojtal 26889ca2f7
Merge pull request #14927 from paul-szczepanek-arm/master
add workflow for checking ble feature selection compilation
2021-07-20 10:09:47 +02:00
Martin Kojtal 2bb1539ec4
Merge pull request #14922 from ARMmbed/at-handler-fix
Cellular: AT command fix - hex string shouldn't be quoted on bc95
2021-07-20 10:04:02 +02:00
Martin Kojtal c9234177c1
Merge pull request #14921 from paul-szczepanek-arm/fix-ble-default-db
BLE: suppress error when no path is passed in for ble security db
2021-07-20 10:02:28 +02:00
Martin Kojtal 1a7175d0a7
Merge pull request #14919 from paul-szczepanek-arm/fix-feature-toggle
BLE: fix missing define guards for feature selection
2021-07-20 10:02:12 +02:00
Martin Kojtal 11439bf264
Merge pull request #14909 from DDC-NDRS/ndrs-pst
SPIF: fixed _address_size to always initialize as 3_BYTES in ::init()
2021-07-20 09:55:08 +02:00
Martin Kojtal b6e044a2f3
Merge pull request #14894 from hazzlim/refactor-connectivity-lorawan-unittests
Unit tests: Connectivity: Make lorawan test header dependencies explicit
2021-07-20 09:54:49 +02:00
Martin Kojtal 2a24d81ef0
Merge pull request #14821 from boraozgen/rtos-events-enable
RTOS: Add configuration to enable RTX events
2021-07-20 09:47:59 +02:00
Martin Kojtal a07ec0bfeb
Merge pull request #14805 from rkotan/I2C_Multiple_Buses_fix
i2c: fix issue #14735 with multiple buses
2021-07-20 09:44:59 +02:00
Jerome Coutant e61aff6564 mbed_retarget: enable IAR build 2021-07-19 15:05:37 +02:00
ndrs-pst 8394988354 SPIF: Moving _address_size = SPIF_ADDR_SIZE_3_BYTES from constructors into ::init() instead 2021-07-19 17:30:00 +07:00
Hari Limaye 14cab32df4 Unittests: Make netsocket test header dependencies explicit
The CMake target `mbed-headers` brings in all
headers, and we are gradually moving away from it and explicitly use
only headers needed by each unit test.
2021-07-19 10:37:45 +01:00
Hari Limaye 4e54bf94d0 Unittests: Replace files with stubs in netsocket unit tests
Some netsocket unit tests depend on nanostack-libservice library, but
should use stubs instead of including the source files. We remove the
source files and link to mbed-stubs-nanostack-libservice.
2021-07-19 10:37:25 +01:00
Hari Limaye 8ad216ae1a Unittests: Clean up unused sources from netsocket
Some source files included when building netsocket unit tests with CMake
were determined to be unused by removing the files from target_sources()
and verifying that the tests still built and ran successfully. These
files have been removed from CMake builds.
2021-07-19 10:37:16 +01:00
Hari Limaye 47943dcf3d Unittests: connectivity: remove trailing whitespace 2021-07-19 10:36:54 +01:00
Paul Szczepanek dd16aa76d2 run only on feature ble changes 2021-07-16 10:20:38 +01:00
Paul Szczepanek b960dfcaf3 run test on push instead of weekly 2021-07-16 10:16:19 +01:00
Paul Szczepanek 413882e7ae add workflow for checking ble feature selection compilation 2021-07-15 17:37:13 +01:00
Jaeden Amero 45a8826ee2 icetea: Remove icetea TEST_APPS
icetea was intended to be deprecated in Mbed 6. icetea is no longer
maintained. Remove icetea-specific TEST_APPS and run_icetea tests from
Mbed OS.
2021-07-15 16:07:20 +01:00
Rajkumar Kanagaraj f32a3cbeb7 CMake: Limit cellular device cmake to use mocks/sources what it depends
Update cellular device unit tests CMake depends on a mock, which is
required for the test instead of depending on the group of mbed-stubs,
mbed-headers, mbed_stub_headers, libraries.
Limit the cellular context unit test CMake target_sources to keep only
required sources
2021-07-15 06:27:28 -07:00
Rajkumar Kanagaraj 27bfa906c6 CMake: Limit cellular common unit tests to use mocks what it depends
Update cellular common unit tests CMake depends on a mock, which is
required for the test instead of depending on the group of
mbed-headers libraries.
2021-07-15 06:25:50 -07:00
Rajkumar Kanagaraj 6cf1211b3a CMake: Limit at cellular unittest to use mock what it depends
Update AT cellular unit tests CMake depends on a mock, which is required
for the test instead of depending on the group of mbed-stubs,
mbed-headers, mbed_stub_headers, libraries.
2021-07-15 06:17:07 -07:00
Paul Szczepanek a8982ca06e AT command fix - hex string shouldn't be quoted on bc95 2021-07-14 21:43:53 +01:00
Paul Szczepanek 8a4b278a38 suppress error when no path is passed in for ble sec db 2021-07-14 17:26:57 +01:00
Hari Limaye db2042755c Unit tests: Make lorawan test header dependencies explicit
To quote @LDong-Arm - "The CMake target `mbed-headers` brings in all
headers, and we are gradually moving away from it and explicitly use
only headers needed by each unit test."
2021-07-14 15:27:30 +01:00
Paul Szczepanek 7ba7f3e667 fix toggling off ble feature signing 2021-07-14 15:13:13 +01:00
mbedmain d147abc3e5 Update Mbed version block 2021-07-14 11:11:35 +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 9a591453b3
Merge pull request #14896 from ARMmbed/move_connectivity_nanostack_libservice_stub
Move connectivity nanostack libservice stub
2021-07-13 16:19:21 +02:00
Rajkumar Kanagaraj d488597a97 CMake: Limit the mbed-stubs-nanostack-libservice to required dependency mocks 2021-07-13 05:49:53 -07:00
Rajkumar Kanagaraj 22b2e9f800 CMake: Add mbed-headers-nanostack-libservice library
Previously all nanostack libservice headers part of
mbed-headers-connectivity. This PR moves all the nanostack
libservice headers into newly added mbed-headers-nanostack-libraries.
This makes the nanostack libservice stubs more self-contained and
improves the composition of the library.
2021-07-13 05:49:53 -07:00
Rajkumar Kanagaraj d95bf96bbf CMake: Move nanostack libservice stubs to the connectivity/libraries dir
Move the connectivity nanostack-libservice stubs into the connectivity/libraries
directory where the nanostack libservice component present as nanostack
libservice source copied from the external repo. So we can avoid duplicating
the mbed-os source tree in a central UNITTESTS folder.
2021-07-13 05:49:53 -07: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