Jamie Smith
5b28f5bc96
Rethink STM32 I2C v2 HAL ( #78 )
...
* Initial attempt at rethinking the STM32 I2C v2 HAL. Makes single-byte work properly and adds a new 'state' variable to track what the hardware is doing.
* Fix some initial test failures
* Fix incorrect logic
* Fix more incorrect logic
* Tabs to spaces
* Fix repeated starts with single-byte API
* Fix race condition causing stop() after nacked address to sometimes break things
* Fix missed i2c structs that should have been removed
* Fix doing a repeated start from single-byte to transaction API causing I2C peripheral to lock up
* Fix xferOperation being set wrong for repeated starts, causing the peripheral to hang
* Fix race condition with repeated start after single-byte operation
* Fix compilation for targets that use I2C IP v1
* Fix initialization of XferOperation for API v1, optimize stop()
* Remove unneeded line
* Add docs for I2C events
2022-11-20 17:46:30 -08:00
Jamie Smith
c89876a6ef
Fix assertion failures missed from test log when multiple tests fail
2022-09-14 00:25:29 -07:00
Jamie Smith
fe23ff8d5b
Only support GCC ARM compiler, but reap the benefits of static libraries instead of objects
2022-09-14 00:25:28 -07:00
Jamie Smith
c11d32fbf4
- Split mbed-core and mbed-rtos into -sources and -flags targets
...
- Fix some logic errors in top level cmakelists related to building greentea tests
- Fix mbed_create_distro() for OBJECT libraries
2022-09-14 00:25:25 -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
Robert Walton
e9747d7bcd
CMake: greentea: Fix io issue with greentea-client
...
The stdio implementation of the standalone greentea-client wasn't
streaming "KiVi protocol" messages through the serial IO. Separate out
the existing implementation for greentea-client that uses
mbed_retarget.h's `read` and `write` functions so greentea tests
continue to work with the standalone client.
The IO fixture is shared between the "legacy" embedded greentea-client
and the newer standalone client.
2021-07-09 14:33:08 +01:00
Jaeden Amero
4e2206e482
Use standalone greentea-client
...
For CMake or Mbed CLI 2, use the standalone greentea-client.
2021-07-07 14:29:14 +01:00
George Psimenos
8600157f62
Replace USBTX/RX
2021-03-24 15:00:53 +00:00
George Psimenos
e6c43bd943
Use length constant instead of literal
...
Co-authored-by: Ladislas de Toldi <ladislas@detoldi.me>
2021-01-14 13:20:36 +00:00
George Psimenos
3b665dd29e
Use named namespace & improvements
2021-01-14 09:32:39 +00:00
George Psimenos
7a81783285
Remove const suffix
2021-01-13 08:37:33 +00:00
George Psimenos
3664ce9b39
Replace macros
2021-01-13 08:37:33 +00:00
George Psimenos
a32b81f7b6
Rename FLASH_SECTOR_SIZE macro to avoid conflicts
2021-01-13 08:37:33 +00:00
Rajkumar Kanagaraj
d634236eae
CMake: Create mbed-greentea library
2020-12-16 12:06:11 -08: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
Martin Kojtal
7a7f6a5a5c
Merge pull request #13768 from jeromecoutant/PR_FPGA_PRINT
...
COMPONENT_FPGA_CI_TEST_SHIELD: better debug print
2020-11-18 09:39:28 +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
Hugues Kamba
fa98689639
CMake: Componentize Mbed OS into multiple CMake targets ( #13732 )
...
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.
Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba
9b8c5acb99
CMake: Fix build failure due to mbed-trace, mbed-client-randlib, and nanostack dir changes
2020-11-06 17:25:20 +00:00
Hugues Kamba
0c8cb3134c
CMake: Fix build failure due to PSA dir move
2020-11-06 17:25:20 +00:00
Hugues Kamba
f12f9adbed
CMake: Fix failures due to device_key and storage dirs move
2020-11-06 17:25:19 +00:00
Hugues Kamba
67a20580cf
CMake: Fix build failure due to lora, cryptocell, and nfc dirs move
2020-11-06 17:25:19 +00:00
Hugues Kamba
fbaeae5a8e
CMake: Fix failure due to MbedTLS rdir relocation
2020-11-06 17:25:19 +00:00
Hugues Kamba
20e19de028
CMake: Fix breakage due to BLE dir move
2020-11-06 17:25:19 +00:00
Hugues Kamba
c30d9259e9
CMake: Fix build failure due to nanostack dir move
2020-11-06 17:25:19 +00:00
Hugues Kamba
e744208c07
CMake: Fix build failure due to drivers and lwipstack dirs move
2020-11-06 17:25:18 +00:00
Hugues Kamba
24c79a4b47
CMake: Fix build failure due to nanostack drivers move
2020-11-06 17:25:17 +00:00
Hugues Kamba
8b21238e08
CMake: Fix failure due to events and netsocket dirs changes
2020-11-06 17:25:17 +00:00
Hugues Kamba
396ddc7a4d
CMake: Fix build due to system_storage and netsocket dir move in master
2020-11-06 17:25:17 +00:00
Hugues Kamba
bd45acba8c
CMake: Fix failure due to kvstore and cellular dirs changes
2020-11-06 17:25:16 +00:00
Hugues Kamba
554a5d3597
CMake: Fix failure due to restructure of rtos and ppp directories
2020-11-06 17:25:16 +00:00
Hugues Kamba
1d6f86f553
CMake: Add support for features 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
jeromecoutant
88282c2868
COMPONENT_FPGA_CI_TEST_SHIELD: better debug print
2020-10-15 16:03:33 +02:00
Harrison Mutai
4fad1112e5
Add SPDX license identifier to Arm files
...
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Rajkumar Kanagaraj
326fdf966c
Refactor COMPONENT_FPGA_CI_TEST_SHIELD as per new directory proposal
2020-09-11 13:17:33 +01:00
Lingkai Dong
9b1e0a38fe
Move mbed-client-randlib -> platform/randlib
2020-09-02 12:31:00 +01:00
Lingkai Dong
a88438ce04
Move mbed-trace into platform
2020-09-02 12:30:59 +01:00
Martin Kojtal
a32168c819
Merge pull request #13473 from artokin/nanostack_relase_12_4_0_to_master
...
Nanostack release v12.4.0
2020-08-25 09:40:45 +01:00
Martin Kojtal
f76c323ada
Merge pull request #13460 from rajkan01/psa_move_platform
...
Move PSA FEATURE_EXPERIMENTAL_API directory to platform
2020-08-25 08:45:58 +01:00
Anna Bridge
4ba1a5433f
Merge pull request #13433 from LDong-Arm/refactor_device_key
...
Refactor device_key
2020-08-24 12:56:10 +01:00
Rajkumar Kanagaraj
118c01016b
Move FEATURE_EXPERIMENTAL_API for PSA to platform
2020-08-21 14:35:10 +01:00
Arto Kinnunen
af76ebc90c
Merge commit 'bbc6f377f5e58e1798c41e8c670c714b9c3e35de' into nanostack-as_subtree
...
* commit 'bbc6f377f5e58e1798c41e8c670c714b9c3e35de':
Squashed 'features/frameworks/mbed-trace/' changes from 642a459a39..6ced9711c4
2020-08-21 12:09:06 +03:00
Arto Kinnunen
d3fc6c4563
Revert max line length change
...
Do not chnage default line length as it is a breaking chnage.
Library configuration can be used to adjust max lien length.
2020-08-18 10:10:49 +03:00
Arto Kinnunen
3ce9f34147
Decrease max line length from 2000 to 200
...
Decrease maximun line length from 2000 to 200 to reduce heap usage.
2020-08-17 16:42:00 +03:00
Arto Kinnunen
9325f17d70
Update mbed-client-cli from v0.5.0
...
Update mbed-client-cli from v0.5.0 of master repository
https://github.com/ARMmbed/mbed-client-cli
2020-08-17 15:46:07 +03:00
Lingkai Dong
ccacd5caf6
Move device_key into drivers
2020-08-14 17:16:40 +01:00
Martin Kojtal
327fe532b2
Merge pull request #13410 from ashok-rao/lorawan-refactor
...
Refactoring \lorawan --> moving it inside \connectivity.
2020-08-14 14:27:48 +01:00
Martin Kojtal
94c62f2677
Merge pull request #13404 from gpsimenos/gp-cryptocell-restruct
...
Restructure cryptocell
2020-08-14 14:25:43 +01:00