Willie Walker
c25eea9441
Add SCL and SDA defs for I2C[0-2]; redefine I2C_[SCL,SDA] to I2C2
2017-04-21 15:42:16 +01:00
Rob Meades
31d1338c82
Construct a ticker-based wait, rather than calling wait_ms(), in the C027 board startup code since, for mbed 5, wait_ms() is an RTOS function and the RTOS is not initialised at this stage in start-up.
2017-04-07 14:00:44 +01:00
Christopher Haster
aff49d8d1e
Renamed files in platform to match source names
...
critical.h -> mbed_critical.h
sleep.h -> mbed_sleep.h
toolchain.h -> mbed_toolchain.h
rtc_time.h -> mbed_rtc_time.h
semihost_api.h -> mbed_semihost_api.h
wait_api.h -> mbed_wait_api.h
2017-02-22 18:17:54 -06:00
Sam Grove
15cbf6628e
Merge pull request #3621 from JojoS62/fix-lpcxpresso-clock
...
Fix for #2884 , LPC824: export to LPCXpresso, target running with wron…
2017-02-09 09:30:05 -06:00
JojoS
9b8ac9b4e5
Fix for #2884 , LPC824: export to LPCXpresso, target running with wrong clock speed
...
SystemInit() was called condititionally, but necessary defines were not
set in mbed. Calling SystemInit() unconditional now.
Removed also conditiional calls to legacy CodeRed lib.
2017-01-20 17:04:27 +01:00
Bartek Szatkowski
6a045a49a9
Platform: Add sleep/deepsleep user facing functions
...
Add sleep/deepsleep functions to platform layer which are replacing HAL
functions with the same name, rename existing symbols in HAL layer
to hal_sleep/hal_deepsleep. This way sleep functions
are always available, even if target doesn't implement them, which makes
the code using sleep clearer. It also enables us to make decision on in
which builds (debug/release) the sleep will be enabled.
2017-01-19 09:39:29 +00:00
Sam Grove
10b6dbf839
Merge pull request #3504 from CalSol/canfixes
...
[LPC15xx] CAN implementation improvements
2017-01-09 10:18:43 -06:00
Richard Lin
14d579ad50
Fix && -> & typo
2017-01-02 01:47:43 -08:00
Richard Lin
9a8cd059f8
Ensure that PWM=1 is resolved correctly
2016-12-24 23:20:56 -08:00
Richard Lin
fd24700c50
Add TX, EW, EP, BO interrupts; allow reset to clear a bus-off condition
2016-12-24 01:51:55 -08:00
micromint
aede0fc6f3
Fix default polarity on LPC43XX PWM driver
2016-11-10 13:00:34 -04:00
Peter Harliman Liem
b3e5c97244
Fix wrong index at LPC43xx tx end ring assignment
...
NUM_TX_FRAG should be used instead of NUM_RX_FRAG
2016-10-28 22:48:37 +08:00
Christopher Haster
26ced98734
restructure - Restructured cmsis directory
...
targets/cmsis -> cmsis
targets/cmsis/TARGET_* -> targets/TARGET_*/device
targets/cmsis/TARGET_*/mbed_rtx.h -> targets/TARGET_*/mbed_rtx.h
2016-10-04 17:51:44 -05:00
Christopher Haster
0bad622a16
restructure - Moved targets out to top level
...
hal/targets -> targets
hal/targets.json -> targets/targets.json
2016-09-30 19:18:09 -05:00