Bogdan Marinescu
ed8481eb97
Updated library version
2014-03-19 18:08:26 +00:00
Bogdan Marinescu
423ddcb86e
Merge pull request #198 from mazgch/gpio_api
...
proposed change of gpio_api (new update pull request)
2014-03-10 11:15:59 +00:00
Emilio Monti
955bd9a5c9
Update MBED_LIBRARY_VERSION to latest revision
2014-03-06 09:55:02 +00:00
mazgch
4e53124e70
fix more tabs to spaces
2014-03-04 15:07:30 +01:00
mazgch
c1d3cb5aa3
address concern from watarai-san about code size and performance by creating a set of common initialization functions
2014-03-04 14:09:41 +01:00
mazgch
be8bca4aa0
proposed change of gpio_api
2014-03-04 11:27:30 +01:00
0xc0170
dc19dcbb94
fix - KL46Z cmsis header (v2.2), shared interrupt PORTCD
...
- Ports C and D sharing same interrupt vectors
- KL46Z CMSIS header update
- InterruptIn methods irq_disable/enable comment update
2013-12-30 12:19:24 +01:00
Bogdan Marinescu
5f62a399db
Added preliminary printf() support to RawSerial
2013-12-19 15:05:17 +02:00
Bogdan Marinescu
c3d4d3079f
Added DEVICE_SERIAL_FC as an indicator for the flow control implementation
2013-12-11 10:26:18 +02:00
Bogdan Marinescu
fbeb52d613
Added RTS/CTS flow control
...
Currently implemented only for LPC1768. On this platform, when hardware
flow control is not directly supported, it will be emulated.
Also added "not_implemented.c" as a placeholder for various HAL functions
that might not be implemented on all platforms (in this particular case,
serial_set_flow_control). These are weak implementations that default to a
"not implemented" error message.
2013-12-04 19:42:11 +02:00
Bogdan Marinescu
256f70fffc
Merge remote-tracking branch 'origin/master'
2013-11-26 17:14:46 +02:00
Bogdan Marinescu
3c0a8b633f
Provide generic pinout defines
...
This commit adds generic peripheral names to various mbed enabled
boards, to make it easier to write portable code amongst various
mbed boards.
2013-11-26 17:12:36 +02:00
mazgch
2b7d2bb343
fix the documentation to match implementation
2013-11-21 11:24:58 +01:00
Emilio Monti
317a1f66d2
Merge pull request #91 from jorisa/master
...
Add CAN api filter support and LPC11CXX CAN implementation
2013-10-25 06:58:05 -07:00
Bogdan Marinescu
5742abe6d9
Added the new RawSerial.h in mbed.h
2013-10-23 17:28:05 +03:00
Bogdan Marinescu
2404dc0092
Added new serial class, remove interrupt chaining
...
The new RawSerial class is a simple wrapper over the serial HAL that can
be safely used from an interrupt handler.
Interrupt chaining code was removed from InterruptIn, Serial and Ticker
because it caused lots of issues with the RTOS. Interrupt chaining is
still possible using the InterruptManager class.
2013-10-23 16:08:34 +03:00
Joris Aerts
067e446ae2
Add CAN->filter to API and add placeholders to hal's
...
Add filter function and modify CAN->read definition to allow reading specific messages.
2013-10-22 10:57:28 -07:00
0xc0170
b0537af763
gpio irq enable/disable
...
- InterruptIn disable_irq/enable_irq
2013-10-19 22:28:29 +02:00
Joris Aerts
c275ef3b3d
Replace #ifdef with #if DEVICE_STDIO_MESSAGES
...
DEVICE_STDIO_MESSAGES is the only #define in device.h that is being used in the library as #ifdef rather than #if. This is misleading since setting it to 0 will not disable including the <stdio.h> libraries.
2013-09-17 18:19:22 -07:00
Bogdan Marinescu
ae16d3efa8
Fix NULL pointer indirection in FilePath
...
If the FileBase::lookup operation in the constructor of FilePath returns
NULL, subsequent operations (such as isFile()/isFileSystem()) will call
methods on a NULL 'fb' pointer. This commit fixes this issue by adding
explicit NULL checks and a new method in FilePath (exists()).
2013-09-05 14:09:27 +03:00
Bogdan Marinescu
15ed7ea66a
Fix bug in Ticker code
...
The bug was introduced by the interrupt chaining code.
2013-08-16 15:55:24 +03:00
0xc0170
3d9be83e38
Chaining in Ticker - switched arguments [fix]
2013-08-14 18:22:30 +02:00
0xc0170
74a34c842d
default mbed interface for ethernet
...
- correction in macros, renamimg
2013-08-13 21:49:04 +02:00
Bogdan Marinescu
3b465de3aa
Changed line endings to LF, removed non-ASCII chars from sources
2013-08-08 12:58:34 +03:00
Bogdan Marinescu
6c05438993
Interrupt chaining: added documentation, fixed a synchronization issue in CallChain.
2013-08-07 14:46:40 +03:00
Bogdan Marinescu
d399e51bfd
Interrupt chaining: now working on all targets.
...
Tested on LPC1768, LPC11U24, KL25Z, LPC2368.
2013-08-07 14:43:36 +03:00
Bogdan Marinescu
43d4445074
Interrupt chaining: preliminary version
2013-08-07 14:43:26 +03:00
Joris Aerts
c747e2533f
Rename some argument and enum names to match existing naming
...
Add CAN->mode(Mode mode) function (not implemented in hal)
2013-08-05 17:28:27 -07:00
Joris Aerts
a16dc72272
Add @param documentation for new event parameter
...
Add clear irq to attach() template function
Call irq_handler for every interrupt set
2013-07-31 10:45:28 -07:00
Joris Aerts
63b2b271d1
Refactor CAN interrupt handling to LPC176X HAL implementation
...
Add handlers for other CAN interrupt events
Changed CAN private entities to protected
2013-07-31 07:26:32 -07:00
Emilio Monti
5f0bd9d283
Update ARM toolchain symbols
2013-07-26 15:49:00 +01:00
Bogdan Marinescu
0c33d40fbb
Added support for UART break generation.
2013-07-17 15:29:39 +03:00
Emilio Monti
90b614baf8
Unify mbed library sources
...
Remove stdio retargeting reference form cmsis: keep it as a standalone
object
Avoid object files clash for sources with the same name
2013-06-14 17:32:15 +01:00