GustavWi
bd6836396b
Moved IAR serial differences to retarget.cpp
2014-12-09 14:30:34 +01:00
Bogdan Marinescu
d8f6c47dde
Bumped build number
2014-11-25 13:48:38 +00:00
0xc0170
a94eb663dc
API: mbed header file - mbed lib revision - 91
2014-10-29 10:54:57 +00:00
0xc0170
823e012597
API: mbed header file - mbed lib revision - 90
2014-10-28 16:28:17 +00:00
Bogdan Marinescu
05aeadd8a9
Bumped revision number
2014-09-12 16:14:56 +01:00
Rohit Grover
958aa2488b
changes proposed from Martin's review
2014-08-29 17:02:40 +01:00
Rohit Grover
6daf3ac52a
add a destructor for Ticker.
2014-08-29 17:02:40 +01:00
Rohit Grover
fedb7f02c0
use timestamp_t for Ticker::_delay
2014-08-29 17:02:39 +01:00
Rohit Grover
675ddde2f4
introduce a timestamp_t to track timeouts for TimerEvents.
...
The previous type used for this purpose was unsigned int, which was both
un-portable and liable to wrap-around.
2014-08-29 17:02:39 +01:00
Bogdan Marinescu
34465d06a7
Bumped SDK revision number
2014-08-15 16:19:19 +01:00
Martin Kojtal
a681b14416
Change "error.h" to "mbed_error.h" to avoid conflicts with 3rd party code
2014-08-15 16:19:18 +01:00
Martin Kojtal
09251dd3ba
Revert "error.h -> mbed_error.h"
2014-07-08 14:04:50 +02:00
0xc0170
f7f77392d9
error header file rename to mbed_error.h
2014-07-04 08:05:49 +02:00
Bogdan Marinescu
f04e12eeda
Bumped revision number
2014-07-02 12:53:38 +01:00
Bogdan Marinescu
0b5a92fbc5
Merge pull request #352 from 0xc0170/dev_error_header_inclusion
...
Error header inclusion in the error code file - fix.
2014-06-12 10:07:36 +01:00
Bogdan Marinescu
c694da0543
Merge branch 'dev_error_assert' of git://github.com/0xc0170/mbed into 0xc0170-dev_error_assert
...
Conflicts:
libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11U6X/serial_api.c
workspace_tools/toolchains/arm.py
2014-06-11 15:50:34 +01:00
0xc0170
2e05e5cc07
Error header inclusion in the error code file - fix.
...
- weak declarations removal from code files
2014-06-11 14:23:55 +01:00
0xc0170
9017b27778
mbed common - trailing white spaces removal
2014-05-29 15:11:05 +02:00
0xc0170
3ce40e2f75
License headers for new assert files.
2014-05-29 08:59:19 +02:00
0xc0170
e70c8daf85
mbed assert - guard macro correction
2014-05-28 16:41:29 +02:00
0xc0170
324407b59a
assert rename to mbed_assert header file
2014-05-28 16:38:00 +02:00
0xc0170
be43ebc182
MBED_ASSERT - mbed assert implementation
2014-05-28 15:39:44 +02:00
Rohit Grover
6eb6b90fe9
provide a default implementation for SerialBase destructor
2014-05-26 18:28:04 +01:00
Rohit Grover
ca965f836b
removing virtual destructor for CAN_Message;
...
it could be compiled using a C compiler where
the destructor will not make sense.
2014-05-26 18:27:06 +01:00
Rohit Grover
f65b7d9077
removing warnings discovered by using -Weffc++ flag for gcc
2014-05-26 18:04:46 +01:00
Bogdan Marinescu
eb0ab77fdb
Bumped revision number
2014-05-19 17:08:40 +01:00
Bogdan Marinescu
af534d61c0
Bumped revision number
2014-04-28 15:56:57 +01:00
Sissors
fc0a2cf35e
Mode added to BusIn + allow creation of NC pins
...
Now BusIn can also use PullUp, etc, instead of only BusInOut.
If the pin is NC, it does get to the init, but all write/mode functions
are disabled. This is how it used to be in the old gpio version. Quite
some libraries allow users to make pins NC, and they are all locking up
with the current mbed version. This is far from a perfect solution, but
more a temporary fix.
2014-04-03 09:22:51 +02:00
neilt6
e57e69c772
Changed error(...) to a weak function
...
Made error(...) a weak function so that it can be overridden in
production projects. Also fixed several serial_api.c files that required
stdlib.h, but were getting it from error.h.
2014-03-31 10:27:14 -06:00
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