Commit Graph

604 Commits (3da254960fad5b334f48d0554823a208debfab0e)

Author SHA1 Message Date
Matthew Else 3da254960f Fixed file permissions for install_dependencies.sh 2013-10-28 09:35:14 +00:00
Matthew Else 56de616b93 Updated travis :D 2013-10-28 09:32:25 +00:00
Matthew Else d5cc572df1 Added travis image to readme. 2013-10-28 09:29:07 +00:00
Matthew Else ea181069b0 Now using sudo in the travis install commands 2013-10-28 09:27:03 +00:00
Matthew Else ca5a5a4f5f mbedmicro/mbed#87 Added some travis support, I hope. Only currently supports GCC_ARM and untested so far... 2013-10-28 09:23:39 +00:00
Emilio Monti 5aad98af4b Merge pull request #94 from pbrier/master
fixed can_filter() prototype (prevents build of LPC1768)
2013-10-27 09:26:19 -07:00
pbrier b1d88905a9 fixed can_filter() prototype (prevents build of LPC1768) 2013-10-26 17:02:29 +02: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 9d881770c9 Merge remote-tracking branch 'github/master' 2013-10-25 15:43:01 +03:00
Emilio Monti 7a15854fb8 Merge pull request #93 from spectaclelabs/bugfix-STM32-vectors
Make STM32F4 vectors relocate properly
2013-10-25 05:20:06 -07:00
Adam Green 969733ae8f serial_putc() to make better use of Tx FIFO
If don't know if this is an issue that anyone cares about.  I am also
not sure what the best way to solve it is either.  I just thought I
would issue a pull request with this commit to bring the issue to light
and show a possible solution that I have tested on my mbed-1768 device.

Previously the serial_putc() API didn't make any use of the Tx FIFO
since the serial_writable() API it utilizes only returns true when the
FIFO is completely empty.  This is due to the fact that the THRE bit of
the UART's LSR (Line Status Register) only goes high when the whole
FIFO is empty.

I noticed this when doing some performance testing with the network
stack.  I went from calling printf() to output 3 bytes every 10 seconds
(with packet drop stats) to instead output 4 bytes every 10 seconds.
I thought these should easily fit in the 16 byte FIFO but outputting
one extra byte caused an additional three 550 byte UDP packets to be
dropped.  This should only happen if the additional character being
sent to the UART was taking away extra CPU cycles from the network
stack.

My solution is to keep track of the number of bytes that have been
placed in the Tx FIFO since it was last detected as being completely
empty (via the THRE bit).  Only once this count hits 16 does the code
then block, waiting for the THRE bit to go high.  Each time the THRE
bit does go high, the count is reset to 0 again and it is incremented
for each byte that is loaded into the THR.
2013-10-25 15:17:06 +03:00
Joe Turner 6ae1e9e360 Merge branch 'master' of git://github.com/mbedmicro/mbed into bugfix-STM32-vectors 2013-10-25 13:11:25 +01:00
Joe Turner 0ef4905728 Fix relocation of vector on STM32. 2013-10-25 13:09:06 +01:00
Bogdan Marinescu 544ac9e728 Disable DEVICE_STDIO_MESSAGES for LPC81X
Because the LPC81X HAL implementation calls error(), which in turn calls
fprintf(), quite a bit of code is added to the image, which is not a good
idea on such resource constrained targets.
2013-10-25 14:51:01 +03:00
Emilio Monti 430869d251 Merge pull request #92 from parisk/feature/pypi
Feature/pypi updates [package name, synced with upstream master]
2013-10-24 02:27:55 -07:00
Paris Kasidiaris 3ec4c4f974 Merge branch 'master' into feature/pypi 2013-10-24 10:19:09 +01:00
Paris Kasidiaris 1de931b04a Updated package name 2013-10-24 10:17:17 +01:00
Bogdan Marinescu 5742abe6d9 Added the new RawSerial.h in mbed.h 2013-10-23 17:28:05 +03:00
Bogdan Marinescu 6af18d0946 Fix error in 'update_repo' call 2013-10-23 17:27:36 +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 739f2a6375 Add can_api hal implementation to LPC11CXX target
Most of the functionality works, interrupts might need a little more work.
2013-10-22 11:02:10 -07:00
Joris Aerts 08c1483eb3 Add bitfields definition to LPC11XX target
Generated from UM10398
2013-10-22 11:00:17 -07: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
Emilio Monti 00c641cf26 Merge pull request #90 from parisk/feature/pypi
PyPI Distribution Code
2013-10-22 05:30:51 -07:00
Paris Kasidiaris ae77a10212 Merge branch 'master' into feature/pypi 2013-10-22 13:25:01 +01:00
Paris Kasidiaris d2318804f1 Restructuring 2013-10-22 12:13:04 +01:00
Bogdan Marinescu fe7021d433 Renamed ubloxusbgsm in main to ubloxusb
Since the tests are now generic (both GSM and CDMA), rename the directory
to reflect this.
2013-10-22 12:41:01 +03:00
Bogdan Marinescu 07519d3bce Merge remote-tracking branch 'github/master' 2013-10-22 12:29:08 +03:00
Bogdan Marinescu ae0bc41693 Added support for CDMA modem in SMSTest
Also remove unnecessary thread from main
2013-10-22 12:27:18 +03:00
Bogdan Marinescu 7f35fc4b76 Added support for CMDA modem in HTTPClientTest
Also remove unnecessary thread from main
2013-10-22 11:59:11 +03:00
Bogdan Marinescu cabc4b6b9d Remove invalid default value for '-p' in make.py
This prevented make.py from running properly.
2013-10-22 11:50:52 +03:00
Bogdan Marinescu 87d93542d1 Merge pull request #89 from amullins83/master
Added 'macros' keyword to build_api.py to allow building USB libraries

Thanks! This is something I've neglected to do in one of my latest commits.
2013-10-21 09:20:56 -07:00
Austin Mullins 081453e376 Merge remote-tracking branch 'origin/master' 2013-10-21 11:07:43 -05:00
Austin Mullins 77326cd553 Added 'macros' keyword to build_api.py to allow building USB libraries. 2013-10-21 11:05:46 -05:00
Emilio Monti 6b6bc938c5 pyOCD development moved to https://github.com/OpenHDK/pyOCD 2013-10-21 16:59:08 +01:00
Paris Kasidiaris 69d823fcc1 Issued version 0.1.5 2013-10-21 14:49:00 +01:00
Bogdan Marinescu dfb472ceaf fixed invalid include name 2013-10-21 14:43:46 +03:00
Bogdan Marinescu 8557b24b61 Merge remote-tracking branch 'github/master' 2013-10-21 14:23:04 +03:00
Bogdan Marinescu 8aaa1b76a6 Added auto synchronization for the u-blox GSM modem test
Also changed the test to look more like the original VodafoneUSBModem SMS
test (added another thread).
2013-10-21 14:21:42 +03:00
Paris Kasidiaris a826819ae9 Version 0.1.4 2013-10-21 12:01:53 +01:00
Paris Kasidiaris ceb103b7b2 Added version 0.1.2 2013-10-21 11:54:28 +01:00
Paris Kasidiaris fc39aaa42d Fixed description 2013-10-21 11:40:11 +01:00
Emilio Monti 38eb79e9cc Merge pull request #86 from pbrier/master
Issue #84 - Added command line source/build directory option
2013-10-21 03:33:44 -07:00
Paris Kasidiaris 7932ccd4f6 Updated version to 0.1 2013-10-21 11:33:39 +01:00
Emilio Monti 792c7f286b Merge pull request #88 from 0xc0170/dev_gpio_irq_endis
Dev gpio irq endis
2013-10-21 03:33:28 -07:00
0xc0170 5129cd05f3 Merge branch 'upstream_master' into dev_gpio_irq_endis 2013-10-21 12:29:43 +02:00
Paris Kasidiaris a73db1091a Lowercased name 2013-10-21 11:22:57 +01:00
Paris Kasidiaris 35359d3f0a Added proper authors and maintainers 2013-10-21 11:22:19 +01:00
Paris Kasidiaris d903e6ae1c Added Author and Maintainer names 2013-10-21 10:54:17 +01:00
Paris Kasidiaris a4ac8a734a Added long description 2013-10-21 10:27:53 +01:00