winneymj
32b5f2d3fb
Revert "Initial commit"
...
This reverts commit dec6e3600f
.
2020-08-05 19:30:16 -05:00
winneymj
77d6787be7
more dcx
2020-08-05 18:50:46 -05:00
winneymj
e4e7dcc1ff
First stab at implement SPIM DCX
2020-08-03 20:10:07 -05: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
Martin Kojtal
098c72a312
Merge pull request #12161 from AGlass0fMilk/nrf-i2c-slave
...
nRF52 I2CSlave Implementation
2020-04-14 16:31:31 +02:00
Rajkumar Kanagaraj
9739b565b2
Fix the CI build issue
2020-04-08 10:35:07 +01:00
Rajkumar Kanagaraj
83be3f24a5
Remove mbed wait deprecated APIs
2020-04-08 10:35:07 +01:00
George Beckstein
6baab6cd33
Changed pin names in example to be more universal
2020-04-03 06:10:53 -04:00
George Beckstein
8b264fd821
Attmpted to fix astyle of I2CSlave example 🤞
2020-04-03 05:38:23 -04:00
George Beckstein
0dbc2606be
Improved I2CSlave example with code for both Mbed master and slave to test with
2020-04-03 05:38:23 -04:00
Martin Kojtal
8376303092
Merge pull request #12698 from hugueskamba/hk-remove-armc5-support-drivers
...
Drivers: Remove support for ARM Compiler 5
2020-04-03 09:00:49 +02:00
Martin Kojtal
b7664fa78c
Merge pull request #12680 from dustin-crossman/pr/qspi_partial_fix
...
QSPI driver also acquires ownership upon initialization now.
2020-04-02 13:59:40 +02:00
Anna Bridge
292a1b9862
Merge pull request #12693 from maciejbocianski/fix_usb_msd
...
USBMSD security updates
2020-03-27 12:08:02 +00:00
Hugues Kamba
e435738cd7
Drivers: Remove support for ARM Compiler 5
...
ARM Compiler 5 is no longer actively supported and was superseded in
Mbed OS by ARM Compiler 6.
2020-03-26 12:34:06 +00:00
Maciej Bocianski
1ffb4d7356
update USBMSD::memoryWrite implementation
...
Fix prevents unaligned USB transfers
2020-03-24 22:05:46 +01:00
Maciej Bocianski
89e67d3136
update USBMSD::memoryRead implementation
...
Fix protects underlaying block device from out-of-bound reads
2020-03-24 21:52:03 +01:00
Maciej Bocianski
ac105f5a18
update USBMSD::infoTransfer implementation
...
Fix protects underlaying block device from out-of-bound read/writes
- prevents the host from setting block device addres larger then block device size
- prevents the host from setting wrong read/write lenght
2020-03-24 21:28:23 +01:00
Dustin Crossman
1e000bb9ae
QSPI driver also acquires ownership upon initialization now.
2020-03-23 12:11:47 -07:00
Anna Bridge
4a5fac34a1
Merge pull request #12528 from VeijoPesonen/sfdp_split_5
...
SFDP: consolidation of SFDP parsing [5/5]
2020-03-20 16:26:39 +00:00
Anna Bridge
197e1d2daa
Merge pull request #12649 from rajkan01/unbuffered_serial_member_expose
...
Expose SerialBase IrqType member to UnbufferedSerial class
2020-03-20 15:21:12 +00:00
Anna Bridge
d048cd4c83
Merge pull request #12410 from rajkan01/serial_remove_deprecate
...
Remove the deprecated RawSerial, UARTSerial, Serial
2020-03-20 15:19:32 +00:00
Rajkumar Kanagaraj
3d74a6b167
Expose private SerialBase IrqType member to UnbufferedSerial class
2020-03-18 09:49:20 -07:00
Veijo Pesonen
b89e60ba8f
SFDP: code readability improvements
2020-03-17 17:48:39 +02:00
Veijo Pesonen
eb01afb198
SFDP: fixes a trace print
...
Indexing runs from highest to lowest, not other way round.
2020-03-17 17:48:39 +02:00