Rajkumar Kanagaraj
2d038b75e1
Refactor Mbed drivers host-tests to use standalone htrun greentea
...
- - Updated drivers host-tests to import from htrun
2021-06-09 03:05:32 -07:00
Martin Kojtal
ae79b61765
Merge pull request #14675 from 0xc0170/fix_i2c_start
...
i2c: `start()` should aquire the bus
2021-06-07 20:49:58 +02:00
Rajkumar Kanagaraj
50fc85dc44
CMake: Remove all unittest.cmake script from test suite
...
- Remove redundant cmake script as already added the CMake configuration file
- Remove redundant empty_baseline as it is no longer needed with the help of CMake configuration file
2021-05-26 07:09:14 -07:00
Anna Bridge
891805b42e
Merge pull request #14662 from AGlass0fMilk/can-message-comparison-operators
...
Add CANMessage deep comparison operators
2021-05-25 14:05:03 +01:00
Anna Bridge
e0069d8b9a
Merge pull request #14678 from ghseb/uartserial-shadowing-2
...
Serial: remove shadowing member variables
2021-05-24 13:20:11 +01:00
Anna Bridge
4e586a93d3
Merge pull request #14426 from ARMmbed/feature_unittest_refactor
...
CMake: Refactor UNITTESTS CMake
2021-05-24 13:04:22 +01:00
Sebastian Stockhammer
77b5ffc2f6
Remove shadowing member variables
...
- The variables shadow SerialBase::_tx_enabled and SerialBase::_rx_enabled
- Update interrupts when input/output is enabled to avoid infinite congestion
- Update comments
2021-05-19 09:01:06 +02:00
George Beckstein
b9f2367271
Add CANMessage deep comparison operators
2021-05-18 08:33:22 -04:00
Martin Kojtal
3af058af8b
i2c: `start()` should aquire the bus
...
From the history it looks like aquire was not added explicitely to start. I do not see
why as it's the condition that must be sent when communication is initiated.
write/read/transfer invoke `aquire()`
2021-05-18 12:28:13 +01:00
Martin Kojtal
c02e101e9f
Merge pull request #14336 from AGlass0fMilk/polymorphic-can
...
Implement polymorphism for CAN driver
2021-05-12 10:17:28 +02:00
Rajkumar Kanagaraj
2bafdf82e7
CMake: Refactor drivers unittest cmake
2021-05-11 02:29:56 -07:00
Rajkumar Kanagaraj
ba04c1cf76
CMake: Add add_subdirectory of unittests
...
- add every libraries unittest directory into respective CMake
which allows to include unittest source into build based on
MBED_BUILD_UNITTESTS flag
2021-05-11 02:29:56 -07:00
Martin Kojtal
e18d280ede
Merge pull request #14588 from Patater/mbed-libs-for-m55
...
Add v8.1-M architecture awareness
2021-05-10 15:13:33 +02:00
George Beckstein
d39a4168ec
Replace NonCopyable in CAN inheritance.
...
This commit moves the deletion of copy constructor and copy assignment operators to the `mbed::interface::can` class, where both `mbed::CAN` and `mbed::interface::CAN` inherit enum types from. This allows `NonCopyable` to be removed from the inheritance list.
2021-05-07 21:02:34 -04:00
George Beckstein
d79446c0da
Fix astyle CI failures
2021-05-06 02:09:54 -04:00
George Beckstein
49e58ddab6
Make interface::CAN buildable on targets without DEVICE_CAN
...
This commit adds provisions to enable using interface::CAN on targets that don't have DEVICE_CAN set to 1 (ie: they don't normally have a CAN peripheral).
2021-05-04 02:23:51 -04:00
George Beckstein
d6104c8194
Enable inheritance of CAN enum types
...
This commit changes the `interface::can` namespace to a `struct`. This allows the enum types to be inherited and prevents breaking old code relying on referencing eg: `CAN::RxIrq`.
When enabled, the polymorphic CAN interface class inherits from this `interface::can` struct. If not enabled, the `mbed::CAN` class inherits from `interface::can` directly.
Co-authored-by: Vincent Coubard <vincent.coubard@arm.com>
2021-05-04 01:29:20 -04:00
George Beckstein
be077713b3
Implement polymorphism for CAN
2021-05-04 01:11:32 -04:00
Martin Kojtal
331473a706
Merge pull request #14589 from plan-do-break-fix/Typo-corrections
...
fix(docs): corrects various typos in project documentation
2021-04-28 13:36:37 +01:00
plan-do-break-fix
915b45af23
fix(docs): corrects various typos in project documentation
2021-04-23 23:31:11 -05:00
Jaeden Amero
5d20374bc3
Add v8.1-M architecture awareness
...
Add v8.1-M architecture awareness to Mbed CRC, HAL, and Mbed Atomic.
Fixes #14433
2021-04-23 15:01:16 +01:00
Lingkai Dong
42c3c927de
Fix DeviceKey documentation regarding RoT
...
Since the commit
0e7a53c
DeviceKey Root of Trust generation refactored.
the Root of Trust is not automatically generated anymore.
2021-04-15 12:15:50 +01:00
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
dddd6341f5
Merge pull request #14437 from ARMmbed/qspi-fix
...
Remove ownership/acquire in QSPI/OSPI driver
2021-03-26 14:52:52 +00:00
George Psimenos
8600157f62
Replace USBTX/RX
2021-03-24 15:00:53 +00:00
George Psimenos
cd5330e5a9
Replace USBTX/RX everywhere else
2021-03-24 10:11:30 +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
George Psimenos
0b4fdb5e70
Remove ownership in OSPI driver
2021-03-18 17:12:19 +00:00
George Psimenos
a28a8684c9
Remove ownership in QSPI driver
2021-03-17 13:26:25 +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
George Beckstein
78cfad97d8
Remove virtual from interface operator definitions
2021-03-09 13:22:14 -05:00
George Beckstein
78e33b0926
astyle fixes
2021-03-09 13:01:06 -05:00
George Beckstein
326f5bb898
Implement polymorphism for DigitalInOut
...
Co-authored-by: Vincent Coubard (pan-) <Vincent.Coubard@arm.com>
2021-03-09 13:01:06 -05:00
George Beckstein
2e6a5522d2
Implement polymorphism for DigitalOut
2021-03-09 13:01:06 -05:00
George Beckstein
c64091519f
Implement polymorphism for DigitalIn
2021-03-09 13:01:06 -05:00
Martin Kojtal
e6565a4486
Merge pull request #14031 from arduino/blockdevices_namespaces
...
BlockDevices: specify mbed namespace where needed
2021-02-04 20:08:07 +00:00
Rajkumar Kanagaraj
6824b14e48
CMake: rename greentea test macro
2021-02-02 07:43:40 -08:00
Oliver Wildtgrube
6b0215c687
fix namespaces for MBED_NO_GLOBAL_USING_DIRECTIVE feature
...
added namespaces in various files
2021-02-02 12:49:11 +01:00
Harrison Mutai
619ca54735
Remove lock from enable_* function overrides
2021-01-21 11:09:50 +00:00
Harrison Mutai
0214a156e7
Implement override of enable_* functions
2021-01-21 10:20:49 +00:00
Harrison Mutai
7b8ca37bd7
Add declaration to expose enable_* functions from SerialBase
...
UnBufferedSerial is missing a declaration to expose enable_input and
enable_output, which are inherited from the private base class Serial
Base. Add the using-declaration to the class definition.
2021-01-19 14:28:54 +00:00
Martin Kojtal
aef93ca7c9
Merge pull request #14020 from pea-pod/stm-spi-more-bits
...
Add SPI bitwidths to ST targets where supported
2021-01-15 10:01:28 +00:00
pea-pod
e1c754b179
Add SPI bitwidths to ST targets where supported
2021-01-11 07:53:07 -06:00
Rajkumar Kanagaraj
20fb74f829
Add CMake support
2021-01-05 09:10:05 -08:00
Ahmet Alincak
9eec40873b
Add internal subfolder to USBDriver's CMakelists
...
To build USB Drivers for targets which have USBDevice attribute,
subfolder added as header file path.
2020-12-18 13:54:59 +03:00
Hugues Kamba
5082e957e2
CMake: Remove TODO note in device_key list input source file
...
The Device Key API is a security API that relies on storage. It is not a storage API
2020-12-16 11:47:51 +00:00
Anna Bridge
9f18c445ee
Merge pull request #13908 from LDong-Arm/kvstore_libraries
...
Restructure KVStore to one library per store type
2020-12-11 13:41:16 +00:00
Martin Kojtal
be295e42a4
Merge pull request #13917 from LDong-Arm/move_SFDP
...
Move SFDP to blockdevice
2020-12-10 13:03:23 +00:00
Lingkai Dong
c2cc43875a
CMake: add missing linkages of storage libraries
2020-12-09 17:26:32 +00:00
Lingkai Dong
386926615c
CMake fix: SFDP already moved to BlockDevice
2020-12-09 17:26:32 +00:00