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
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
Lingkai Dong
8ba64c4139
Update include paths
2020-12-09 17:20:42 +00:00
Martin Kojtal
4c94b4b495
Merge pull request #14005 from kjbracey-arm/teinsert
...
Correct/clarify TimerEvent::insert documentation
2020-12-09 14:18:06 +00:00
Kevin Bracey
cf66a6ed13
Correct/clarify TimerEvent::insert documentation
...
There was much confusion over the functionality of the original
`TimerEvent::insert` call which was described as "Set relative timestamp
of the internal event".
This then extended to my Chrono conversion, meaning the new `insert`
call is not equivalent.
Clarify the original documentation, correct the deprecation messages,
and add more notes on conversion.
No functional change, as the new Chrono API makes more sense - it's just
different from the old API.
Problem actually spotted when I saw the strange code `convert_timestamp`
was producing for the 32-bit->64-bit timestamp conversion. The caller of
it was actually making the mistake of issuing
"TimerEvent::insert(rel_timeout)`, meaning they'd also misunderstood the
documentation, and were not getting the timeout they expected.
(Chrono would have prevented that mistake as durations and time points
are incompatible types).
2020-12-07 16:28:52 +02:00
Lingkai Dong
562b31ccd3
Move SFDP unit tests
2020-12-07 12:05:07 +00:00
Lingkai Dong
5d2fbdc11e
Move SFDP into blockdevice where it belongs to
2020-11-26 17:31:31 +00:00
Martin Kojtal
61e4b55a22
Merge pull request #13947 from LDong-Arm/erase_algorithm_fix
...
Fix erase type determination for [Q/O/]BlockDevice::erase()
2020-11-26 15:53:03 +00:00
Lingkai Dong
c41f7cb864
Fix integer type warnings in SFDP and *SPIFBlockDevice
2020-11-26 10:28:58 +00:00
Lingkai Dong
fb0f9687e4
Initial unit test for SFDP
...
As a starting point, only sfdp_iterate_next_largest_erase_type(),
which the pull request is intended to fix, is tested. More test
cases shall be added in the future.
2020-11-26 09:55:47 +00:00
Lingkai Dong
e0bd9a1c6a
sfdp_iterate_next_largest_erase_type: return -1 if no erase type is applicable
2020-11-25 13:34:01 +00:00
Lingkai Dong
ac86aff928
sfdp_iterate_next_largest_erase_type: do not modify type_mask
...
The supported erase types of a given flash region are indicated
in bitfields of the variable `type_mask`. Even if an erase type
is unused for the current chunk (e.g. size too large, unaligned, etc.),
its bitfield should NOT be cleared - the same erase type might
actually be useful for the next chunk.
The function argument is now a value instead of a reference.
2020-11-24 18:07:34 +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
Lingkai Dong
52627dbc59
sfdp_iterate_next_largest_erase_type: fix size check and add alignment check
2020-11-23 15:45:43 +00:00
Evelyne Donnaes
b7c6bd34f5
Updated CMakeLists.txt
2020-11-12 15:34:47 +00:00
Evelyne Donnaes
30e9050f10
Moved USB greentea tests
2020-11-12 14:57:01 +00:00
Evelyne Donnaes
9964212f9e
Moved USB drivers under drivers/usb
2020-11-12 14:57:00 +00:00
Martin Kojtal
f333c3ead1
Merge pull request #13699 from boraozgen/bugfix/sfdp-find-addr-region
...
Fix sfdp_find_addr_region algorithm
2020-11-12 08:43:02 +00:00
Martin Kojtal
e8a3282181
Merge pull request #13816 from pennam/patch-stm32-usbhs-pull
...
STM32: allow HS USB endpoints and increase USB OTG_HS endpoints number
2020-11-11 08:27:19 +00:00
Martino Facchin
db7954bc9b
STM32: allow high speed USB endpoints
2020-11-10 17:22:28 +01:00
Hugues Kamba
794e32df74
CMake: Use relative paths to list source files and directories
...
The absolute path is still required for listing linker
files as they are referenced from a function in the top
level CMake input source file.
2020-11-09 12:32:30 +00:00