Sissors
095ebd03e3
[HAL] K20DXX PWM fix
...
The old code for the K20 PWM had an issue where calling for example
pwm.period and pwm.write after each other resulted in the pwm.write
function setting the pulsewidth with the value of the old pwm period.
This makes sure it waits until the latest pwm period is written before
it will do so.
2015-03-07 22:06:01 +01:00
Paul Staron
fda34ea4c2
Update USBDevice.cpp
...
Added Teensy3.1 support
2015-03-07 18:28:13 +00:00
Paul Staron
ea867c7cf7
Update USBEndpoints.h
...
Added Teensy3.1 support
2015-03-07 18:26:12 +00:00
Paul Staron
4cfd93b5af
Update USBHAL_KL25Z.cpp
...
Added Teensy3.1 support
2015-03-07 18:23:25 +00:00
Martin Kojtal
87952c57ec
Merge pull request #952 from vh21/master
...
Remove trailing whitespace in RTX
2015-03-07 14:25:20 +01:00
Mihail Stoyanov
90b01bb708
Add BOOT and OTA for Seeed Tiny BLE target
2015-03-06 20:31:28 +02:00
Mihail Stoyanov
46e1601852
Added bootloader hex file for all nRF51822 based platforms. Added NRF51822_BOOT and NRF51_DK_BOOT platforms so bootloader is included in the compiled program. This is required for FOTA.
2015-03-06 18:54:14 +02:00
Mihail Stoyanov
27431a156c
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-03-06 18:09:01 +02:00
bcostm
ba2d69e5a4
[NUCLEO_F103RB] Update all hal files (STM32Cube compliancy)
2015-03-06 10:11:35 +01:00
bcostm
d54b1038fa
[NUCLEO_F103RB] Add cmsis toolchains files
2015-03-06 10:08:49 +01:00
bcostm
69cecbdf8e
[NUCLEO_F103RB] Add STM32Cube F1 driver
2015-03-06 10:06:22 +01:00
bcostm
fc95094dae
[NUCLEO_F103RB] Remove cmsis folder (StdPeriphLibrary driver)
2015-03-06 10:02:19 +01:00
Viller Hsiao
bb0246f04a
Remove trailing whitespace in RTX
2015-03-06 16:16:58 +08:00
Martin Kojtal
698c235ba6
Merge pull request #947 from PrzemekWirkus/singletest_force_peripherals
...
Singletest option -p to force peripherals
2015-03-06 09:06:23 +01:00
Martin Kojtal
ed57ce8748
Merge pull request #948 from GustavWi/master
...
IAR support for ethernet library
2015-03-06 08:48:13 +01:00
Martin Kojtal
f8bd7a37d2
Merge pull request #951 from GustavWi/iar_mbed
...
IAR folder structure in project when exporting.
2015-03-06 08:11:29 +01:00
Rohit Grover
be71348f20
remove include for app_timer.h
...
need to add stdbool.h
2015-03-05 17:00:27 +00:00
GustavWi
2e97c1e997
removed unnecessary libs
2015-03-05 16:13:58 +01:00
GustavWi
03c532f2aa
When exporting project to IAR the src files are now structured in folders to give the user a better overview of the project.
2015-03-05 15:58:24 +01:00
Martin Kojtal
9ffb355546
Merge pull request #949 from GustavWi/iar_mbed
...
IAR support LPC824
2015-03-05 14:05:06 +01:00
Rohit Grover
e01cb0ae84
use a virtual 64-bit timestamp to avoid wrap-around issues. gosh!
2015-03-05 11:49:48 +00:00
Rohit Grover
aaf998f5cf
fix minor typo in the declaration of the macro RTC_UNITS_TO_MICROSECONDS()
2015-03-05 11:49:48 +00:00
Rohit Grover
0f60237a88
switch to tracking overflowCount instead of overflowBits.
2015-03-05 11:49:48 +00:00
Rohit Grover
e927c5bf27
rename INVOKE_CALLBACK() as invokeCallback()
2015-03-05 11:49:47 +00:00
Rohit Grover
47db597822
replace __INLINE with inline
2015-03-05 11:49:47 +00:00
Rohit Grover
eb9f2ce77f
don't invoke callbacks from set_interrupt().
2015-03-05 11:49:47 +00:00
Rohit Grover
20c6611548
remove dependencies from nRF51822
2015-03-05 11:49:47 +00:00
Rohit Grover
c48a1adf82
fix for #832 Merge branch 'replaceAppTimer'
...
Replace use of Nordic's AppTimer with an RTC driver.
2015-03-05 11:49:47 +00:00
Rohit Grover
70f91c10d5
white space diff.
2015-03-05 11:49:47 +00:00
Rohit Grover
5afdc68620
INVOKE_CALLBACK() is now a static inline instead of a macro.
2015-03-05 11:49:47 +00:00
Rohit Grover
f8fd702c09
rearranging some code so that state is tidied up before calling us_ticker_set_interrtupt()
2015-03-05 11:49:47 +00:00
Rohit Grover
ca9050e1ef
updating the comment header for set_interrupt() with a note.
2015-03-05 11:49:47 +00:00
Rohit Grover
7c0e814bd4
introduce FUZZY_RTC_TICKS for comparsions
2015-03-05 11:49:47 +00:00
Rohit Grover
5cf0f29cfc
minor white-space and comment improvements.
2015-03-05 11:49:47 +00:00
Rohit Grover
97e7fbbc8b
minor improvement to the wording for the comment header for set_interrupt()
2015-03-05 11:49:47 +00:00
Rohit Grover
42f801cc27
If set_interrupt() is used to setup an interrupt for a time in the past, then the callback is invoked right-away.
2015-03-05 11:49:46 +00:00
Rohit Grover
ac8f3e5522
add a helper method: INVOKE_CALLBACK()
2015-03-05 11:49:46 +00:00
Rohit Grover
2e892c6c0d
rename callbackTime to newCallbackTime
2015-03-05 11:49:46 +00:00
Rohit Grover
90354c0a23
check for instantaneous callback before checking for repeat callback.
2015-03-05 11:49:46 +00:00
Rohit Grover
b7cd6b6ae8
add a comment block for us_ticker_set_interrupt()
2015-03-05 11:49:46 +00:00
Rohit Grover
2e8c48c97e
minor white space diff
2015-03-05 11:49:46 +00:00
Rohit Grover
9c9553cfd7
set_interrupt: if callbackTime is NOW, invoke handler.
2015-03-05 11:49:46 +00:00
Rohit Grover
7d688ad607
set_interrupt: short-circuit the setting of the same interrupt.
2015-03-05 11:49:46 +00:00
Rohit Grover
54dc3c1dcf
reset us_ticker_callbackPending when disabling interrupts.
2015-03-05 11:49:46 +00:00
Rohit Grover
53d2b152c4
us_ticker_set_interrupt() should set an interrupt for the given timestamp even if there's a pending interrupt.
2015-03-05 11:49:46 +00:00
Rohit Grover
8c21ef208c
white space diffs.
2015-03-05 11:49:46 +00:00
Rohit Grover
5906372a58
remove m_rtc1_running; made redundant by us_ticker_inited.
2015-03-05 11:49:46 +00:00
Rohit Grover
a13e31d6b0
remove app_timer.c
2015-03-05 11:49:46 +00:00
Rohit Grover
5a0f3b808c
MICROSECONDS_TO_RTC_UNITS() should round-up
2015-03-05 11:49:45 +00:00
Rohit Grover
b1575db8b3
rtc1_stop() doesn't need to be static.
2015-03-05 11:49:45 +00:00