Commit Graph

88 Commits (d504a3b58af390c779cb7383df2223d0a500f70a)

Author SHA1 Message Date
0xc0170 408956f1e7 CircularBuffer - volatile full flag + indexes 2015-06-08 10:53:52 +01:00
0xc0170 1cef3ffb2d Merge branch 'master' of https://github.com/sg-/mbed into sg--master
Conflicts:
	libraries/mbed/common/SPI.cpp
2015-05-27 13:09:05 +01:00
0xc0170 bdc4434981 mbed lib revision - 100 2015-05-27 09:19:26 +01:00
0xc0170 f0038f84e8 Timer/Ticker - fix constness of the data argument/member 2015-05-21 08:47:23 +01:00
0xc0170 3ee5f8640d mbed lib revision - 99
build release - 2 platforms addition - disco l053c8 and maxwsnenv
2015-05-13 10:29:04 +02:00
Martin Kojtal 7244eb8524 Merge pull request #1073 from marcuschangarm/master
Add missing functionality for disabling interrupts in SerialBase.h
2015-04-30 12:55:33 +01:00
0xc0170 23cde3b008 mbed header file - mbed lib revision - 98 2015-04-30 07:33:37 +01:00
Martin Kojtal be1f88a056 Asynch API for mbed (SPI, I2C, Serial) and low power ticker
New LowPowerXXX classes - low power ticker
SPI, I2C, Serial - asynch methods
2015-04-27 10:55:44 -07:00
Marcus Chang 9a5b7adcf4 Added missing functionality for disabling interrupts in SerialBase.h 2015-04-24 13:53:18 +01:00
0xc0170 2198e68f76 mbed header file - mbed lib revision - 97 2015-04-14 13:09:09 +02:00
sg- 70fad08a4c Update SPI API documentation for hardware driven SS. Modify all target spi_api.c implementations. spi_init ssel parameter was used incorrectly to determine master/slave mode rather than enable hardware driven SS (seems to be due to legacy copy paste). Remove duplicate copy paste code of initialization in spi_init that is done by constructor (SPI and SPISlave) 2015-04-10 00:38:27 -05:00
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