Przemek Wirkus
60f6c97c3f
HTTPClient bugfixed - recent HTTPClient tests show POST method failing. HTTP header scan function insufficient buffers blocked proper header scan
2014-09-01 08:43:18 +01:00
Przemek Wirkus
884fed5a63
Mysql DB access: small updates
2014-09-01 08:43:14 +01:00
Przemek Wirkus
1e4ac92f2a
Database / MySQL API support added (test suite will access DB to store test results)
2014-09-01 08:43:10 +01:00
Bogdan Marinescu
f304c6ba83
Merge pull request #471 from dbestm/master
...
[NUCLEOs] enhance i2c api
2014-08-29 20:42:28 +01:00
Rohit Grover
734f365d7d
These changes allow us to re-implement us-Ticker using the RTC for the
...
nRF51822. There are two major themes here:
1. timestamp_t as an abstraction for time values managed by
Ticker. Using uint64_t for timestamp_t allows a wraparound-free
Ticker. This change forces us to update the definitions of usTicker
for all platforms; but the changes beyond nRF51822 aren't major.
2. reduce power consumption on the nRF51822 by removing the need for
the high-frequency processor timer; and reimplementing it using the
RTC.
I've also replaced high-frequency clock with low-frequency external
clock during system startup of the nRF51822. This brings a major win
in power consumption.
2014-08-29 17:03:08 +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
ab17cc71dc
minor simplification of a reused expression
2014-08-29 17:02:39 +01:00
Rohit Grover
a5ac14aab0
use constants from projectconfig.h as arguments for APP_TIMER_INIT()
2014-08-29 17:02:39 +01:00
Rohit Grover
c8f896d708
update definitions for us_ticker_set_interrupt() across all platforms to use timestamp_t
2014-08-29 17:02:39 +01:00
Rohit Grover
01bc4de3ab
white space diffs.
2014-08-29 17:02:39 +01:00
Rohit Grover
c8fc050ce4
simplify the algorithm which keeps only one app_timer timer running.
2014-08-29 17:02:39 +01:00
Rohit Grover
dcdca19948
updated call to APP_TIMER_INIT() to use contants from projectconfig.h
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
Rohit Grover
7555d7411c
add a cachedInterruptTimestamp to us_ticker_set_interrupt() to short-circuit duplicate calls.
2014-08-29 17:02:39 +01:00
Rohit Grover
88e2e4e369
add a minor comment to explain some complex branching in us_ticker_irq_handler()
2014-08-29 17:02:39 +01:00
Rohit Grover
9294fcbb59
reimplement the micro-second ticker on nRF51822 using the app_timer module (RTC)
2014-08-29 17:02:39 +01:00
Rohit Grover
ac11358455
add a missing call to us_ticker_disable_interrupt from us_ticker_remove_event.
2014-08-29 17:02:39 +01:00
Rohit Grover
2deb3706d2
Replace the 16mhz clock with a low-freqncy external crystal based clock source at statup.
...
This results in a big win in power consumption.
2014-08-29 17:02:39 +01:00
Rohit Grover
27be321fa6
add some more files related to app_common/ to the Nordic Lib
2014-08-29 14:47:30 +01:00
dbestm
aee7023d7f
[NUCLEOs] enhance i2c api
2014-08-29 15:31:51 +02:00
Rohit Grover
04d0142bd6
add app_common header files for Nordic targets
2014-08-29 11:37:13 +01:00
Bogdan Marinescu
e4e0873d55
Merge pull request #469 from Experiment-626/master
...
Renamed TARGET_GHI_MBUINO to TARGET_OC_MBUINO to fix an issue with the o...
2014-08-29 10:02:34 +01:00
Aron L. Phillips
bbe0203ccf
Renamed TARGET_GHI_MBUINO to TARGET_OC_MBUINO to fix an issue with the online compiler.
2014-08-28 15:22:12 -04:00
Rohit Grover
616ac8929a
add support for nRF51-DK
2014-08-28 16:36:16 +01:00
Bogdan Marinescu
fee50a80ff
Fixed case for FATFileSystem
2014-08-28 13:14:38 +01:00
Bogdan Marinescu
024a68e792
Publish FatFileSystem under mbed-official
2014-08-28 10:54:35 +01:00
Bogdan Marinescu
2b696a06fc
Synchronize FatFileSystem automatically
2014-08-28 10:42:59 +01:00
Bogdan Marinescu
e4109d8efc
Added MemFileSystem.h from repo on mbed.org
2014-08-28 09:55:01 +01:00
Rohit Grover
90467175c0
cleaning up code within Nordic's mbed HAL using astyle
2014-08-27 08:42:26 +01:00
Martin Kojtal
d20ce63487
Merge pull request #463 from toyowata/master
...
[Common] Fixed crash issue in RawSerial::printf for uARM
2014-08-27 10:57:32 +08:00
Martin Kojtal
74958e0f72
Merge pull request #465 from bcostm/master
...
[NUCLEOs] Fix bug (normalization to 16bit) in adc read_u16()
2014-08-27 10:40:19 +08:00
Martin Kojtal
3fa2fcb906
Merge pull request #466 from AFritzMulti/master
...
[HAL][MTS_GAMBIT] Update the PeripheralPins.c mapping
2014-08-27 10:21:29 +08:00
Andrew Fritz
0cafe361f3
Updated the PeripheralPins.c mapping
2014-08-26 15:46:43 -05:00
bcostm
314f578539
[NUCLEOs] Fix bug with adc read_u16 function
...
Add data convertion from 12bit to 16bit.
2014-08-26 15:27:42 +02:00
Toyomasa Watarai
d05b7f51d8
Fixed crash issue in RawSerial::printf for uARM
...
Fixed crash issue in RawSerial::printf() function for microlib platforms
since microlib doesn't fully support C99 functions such as vsnprintf().
2014-08-25 16:13:43 +09:00
Bogdan Marinescu
bbc120c478
Merge pull request #460 from xiongyihui/stm32f407
...
DISCO_F407VG - add USBDevice support and a variant - ARCH_MAX
2014-08-21 14:57:36 +01:00
Martin Kojtal
fc1fa25ada
Merge pull request #461 from Cheong2K/master
...
[RBLAB_NRF51822] Fixed syntax error and analog pins.
2014-08-21 14:25:28 +01:00
Cheong2K
0ca7a7096a
Fixed syntax error and analog pins.
2014-08-21 21:15:49 +08:00
Bogdan Marinescu
5ba8d2a310
Merge pull request #450 from micromint/master
...
LPC4330_M4 port_api, us_ticker update
2014-08-21 10:54:39 +01:00
Bogdan Marinescu
0035a1902a
Merge pull request #452 from PrzemekWirkus/macros-missing
...
Macros are not passed down to toolchain for compilation
2014-08-21 10:51:12 +01:00
Bogdan Marinescu
0f8a06d818
Merge pull request #459 from bcostm/master
...
[NUCLEOs] Improvement of Serial hal
2014-08-21 10:41:22 +01:00
Yihui Xiong
cbe4a4b26e
add target ARCH_MAX, a variant of DISCO_F407VG
2014-08-21 16:48:40 +08:00
Yihui Xiong
132278ac87
add USBDevice library support for DISCO_F407VG
2014-08-21 16:03:37 +08:00
bcostm
5655a56941
[NUCLEO_F334R8] Improvement of Serial hal
2014-08-21 09:58:05 +02:00
bcostm
91ee61cc17
[NUCLEO_L053R8] Improvement of Serial hal
2014-08-21 09:54:11 +02:00
bcostm
b507427292
[NUCLEO_F072RB] Improvement of Serial hal
2014-08-21 09:39:21 +02:00
Martin Kojtal
51025c56d3
Merge pull request #458 from Cheong2K/master
...
[RBL nRF51] Fixed pins for RBL nRF51822 board.
2014-08-21 07:52:12 +01:00
Cheong
300dbd6843
Fixed pins for RBL nRF51822 board.
2014-08-21 11:01:34 +08:00