Commit Graph

77 Commits (2f56029f55123ce163d76ca365d65421fa35bf8f)

Author SHA1 Message Date
0xc0170 ba8264717c mbed header file - mbed lib revision - 96 2015-03-18 10:09:17 +00:00
Martin Kojtal 0531ad4544 Merge pull request #926 from Sissors/lookmartinImadeanewbranch
Add option to modify RTC source for time functions (using func pointers)
2015-03-09 11:16:52 +00:00
0xc0170 83f6c17514 mbed header file - mbed lib revision - 95 2015-03-03 16:29:41 +01:00
Sissors 4a184d980e Made attach_rtc with disabled irqs 2015-02-28 12:21:55 +01:00
Sissors f0d04f5360 [API] Added option to modify RTC source
Initially from Karls question here:
http://developer.mbed.org/questions/6337/setTime-and-time-exported-with-__weak-fo/#answer6545?compage=1#c15936.
Currently the C time functions only work with internal RTC. Sometimes
you either want to use an external one, or your target does not even
have an internal RTC. I added function attach_rtc(...) where the default
functions can be overridden at runtime.
2015-02-22 13:19:02 +01:00
0xc0170 31f66c22e5 mbed header file - mbed lib revision - 94 2015-02-16 17:04:27 +00:00
0xc0170 134a67aab2 mbed header file - mbed lib revision - 93 2015-02-03 15:24:20 +00:00
Przemek Wirkus 8c50826562 Removed extra checks for operator[] and replaced them with MBED_ASSERT for cleaner code 2015-01-26 08:47:44 +00:00
Przemek Wirkus 7d54c82331 * Changed Bus operator[]() parameter from unsigned int to int to match mbed code
guidelines.
* Uncommented assertions in operators and added check for operator[] index < 0.
* Moved one operator from private to public, this was a typo thing.
2015-01-06 08:33:24 +00:00
Przemek Wirkus 56e7514495 Modiffied _ns_mack member's comment in Bus classes (BusIn, BusOUt, BusInOut) 2014-12-19 14:59:06 +00:00
Przemek Wirkus 11c5955959 Simple indent 2014-12-19 14:48:39 +00:00
Przemek Wirkus 7720989e20 Added operator[] and mask() function to BusInOut
This change follows changes in BUsIn and BusOUt API
2014-12-19 14:45:32 +00:00
Przemek Wirkus db7e92853b Added mask() function to BusIn and BusOut components
You can use BusIn::mask() or BusOut::mask() to get binary mask of all connected and NC pins in bus
2014-12-19 14:37:00 +00:00
Przemek Wirkus c4fc8e68eb Added operator[] for BusIn and BusOut to add access to particular bit in random-iterator fashion 2014-12-19 14:06:46 +00:00
Przemek Wirkus a53cd59b51 Added is_connected() method to Digital I/O classes APIs (DigitalIn, DigitalOut and DigitalInOut 2014-12-19 13:31:54 +00:00
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