Commit Graph

623 Commits (47e943af2d47a0bbc6a6c0b7d5cdac3da6cbe5eb)

Author SHA1 Message Date
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
Martin Kojtal b2ac60924c
Merge pull request #13476 from talorion/bugfix/fix-warnings
Fix trivial compiler Warnings
2020-09-07 09:58:41 +01:00
Martin Kojtal 1778c6d501
Merge pull request #13501 from jeromecoutant/PR_USB_TEST
USB-DEVICE tests: move host scripts
2020-09-07 09:37:41 +01:00
Lingkai Dong 183ca7729c drivers/SFDP should compile without mbed-trace
The library "drivers" is a core one available to bare metal.
It should not depend on mbed-trace which is an optional library.
2020-09-02 15:50:25 +01:00
talorion 6625bdb9f3 fixed resets after suspend 2020-09-02 13:39:16 +02:00
Lingkai Dong af1950fb16 Add include/ path for mbed-trace 2020-09-02 12:30:59 +01:00
Lingkai Dong a88438ce04 Move mbed-trace into platform 2020-09-02 12:30:59 +01:00
jeromecoutant f9832cb3be USB_DEVICE MSD test skipped when RAM is limited 2020-08-27 11:13:21 +02:00
jeromecoutant ccece2fdee Move USB host tests 2020-08-27 11:13:16 +02:00
talorion a721767c00 fixed warnings: comparison of integer expressions of different signedness 2020-08-24 15:34:20 +02: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
Lingkai Dong 2f92378642 Move TESTS/usb_device -> drivers/tests/TESTS/usb_device 2020-08-14 17:57:13 +01:00
Lingkai Dong 3681a874e6 Restruture device_key
Restructure device_key to have
* include/device_key - header
* source - source file
* tests/TESTS - Greentea test
2020-08-14 17:31:11 +01:00
Lingkai Dong ccacd5caf6 Move device_key into drivers 2020-08-14 17:16:40 +01:00
George Psimenos bb5c2cf32a Duplicate host tests for drivers 2020-07-31 10:04:36 +01:00
George Psimenos 0a759aaa38 Move drivers greentea tests 2020-07-31 10:04:36 +01:00
George Psimenos 973c1dc2ff Move drivers unit tests 2020-07-31 10:04:36 +01:00
George Psimenos 009f91e2cc Move drivers headers 2020-07-31 10:02:47 +01:00
Martin Kojtal f20f93a648
Merge pull request #13333 from gpsimenos/gp-events-restruct
Events directory restructuring
2020-07-29 12:44:17 +01:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00
Kyle Kearney 9e4be5e494 Call HAL free functions from C++ destructors
Add missing calls to HAL free to the following drivers
- AnalogIn
- QSPI
- SerialBase
2020-07-20 12:15:40 -07:00
Rajkumar Kanagaraj e92efbd800 Update the header file reference 2020-07-17 03:10:58 -07:00
Rajkumar Kanagaraj aafdb8a0a3 Update the header reference from feature/storage to stroage 2020-07-10 14:59:53 +01:00
Martin Kojtal 802c89707e
Merge pull request #12905 from kjbracey-arm/timer_tweaks
Timer: minor revisions
2020-06-18 22:23:56 +02:00
Martin Kojtal 86dad5cda9
Merge pull request #12471 from AGlass0fMilk/adc-voltage-api
Extend AnalogIn API: read_voltage
2020-06-17 19:57:28 +02:00
George Beckstein 7f19f8226e Revised doxygen comments and fixed code style inconsistencies 2020-05-20 06:23:22 -04:00
Martin Kojtal 3fe0022baf
Merge pull request #12902 from kjbracey-arm/chrono_usb
USB: Convert to Chrono
2020-05-12 14:22:59 +02:00
Kevin Bracey 2540ab1802 Timer: minor revisions
* C++11-ify a little.
* Make it copy/move constructible.
2020-05-11 16:20:13 +03:00
Kevin Bracey 0a9e1db181 Correct Timeout rescheduling
Chrono changes "optimised" `Timeout::handler` in a way that broke users
who rescheduled the timeout during their attached callback.

Attempted optimisation is less necessary now that
`platform.callback-nontrivial` is set to false by default - that
setting reduces overhead of copying the `Callback` to almost nothing.
2020-05-07 17:00:59 +03:00
Martin Kojtal 57b6df9b2e USBCDC: add doxy only to provide doxygen for this object always 2020-05-04 12:11:45 +01:00
George Beckstein aeb91c2598 Updated default vref to be NAN. Made vref an optional constructor arg 2020-04-30 12:40:19 -04:00
George Beckstein 746f2f5fb5 Changed default ADC vref configuration from driver-level to target-level 2020-04-30 12:40:19 -04:00
George Beckstein 5d3d633566 Update voltage wording to be consistent 2020-04-30 12:40:19 -04:00
George Beckstein 7b70843632 Fix styling and fix mbed_lib.json syntax error 2020-04-30 12:40:19 -04:00
George Beckstein b76300f57c Add reference voltage getter and clarify some comments 2020-04-30 12:40:19 -04:00
George Beckstein 3717c982e3 Rename default adc vref parameter. 2020-04-30 12:39:58 -04:00
George Beckstein 5a543918ca Added API to reconfigure ADC reference voltage at runtime. 2020-04-30 12:39:58 -04:00
George Beckstein 6ffacaef05 Added API call to return ADC reading in volts, scaled by configurable system ADC reference voltage. 2020-04-30 12:39:58 -04:00
Kevin Bracey cd6e7bb4cf USB: Convert to Chrono 2020-04-30 13:33:15 +03:00
Martin Kojtal d1ae0d570c
Merge pull request #12425 from kjbracey-arm/chrono
C++ Chrono support
2020-04-30 11:41:43 +02:00
Rajkumar Kanagaraj adeae5157f Add the newline 2020-04-28 16:55:58 +01:00
Rajkumar Kanagaraj d4e2d6961a Add MBED_CONF_RTOS_PRESENT guard to enable USBCDC_ECM class device only for MBED OS full profile. 2020-04-27 15:00:33 +01:00
Kevin Bracey b614bd3113 Durations don't always zero init
In a couple of places I assumed that durations and time_points always
zero-initialised. This is incorrect - they act as if they were their
representation, so integer durations only zero-init when static.

You can zero init (like integers) by having `{}` initialisation.
2020-04-27 10:19:08 +03:00
Kevin Bracey 58388b7e5e Out-of-line LowPowerTimeout etc, lock
To match Timer etc, make LowPowerTimer et al out-of-line.

Correct LowPowerTimeout to not lock deep sleep.
2020-04-27 10:19:08 +03:00
Rajkumar Kanagaraj a10dafdda8 Fix the CI build issue 2020-04-27 10:19:08 +03:00
Rajkumar Kanagaraj c71c980ccd Fix the CI build and unit test issue 2020-04-27 10:19:08 +03:00
Kevin Bracey f0ee31f119 Add RealTimeClock 2020-04-27 10:19:08 +03:00
Kevin Bracey 34428f9d4c Add Chrono support to Ticker et al 2020-04-27 10:19:08 +03:00
Kevin Bracey b9aa69a376 Add HighResClock and LowPowerClock 2020-04-27 10:19:08 +03:00
Rajkumar Kanagaraj 9b2cea75ad Add the Doxygen note to non-supported RTOS and Driver class. 2020-04-20 18:24:37 +01:00