Masao Hamanaka
88604ff8fe
Add some processing of I2C driver
...
Changes are as below
- Add STOP condition omission processing of I2C Master
- Add I2C Slave processing
2015-01-29 16:40:16 +09:00
Masao Hamanaka
44b4fb4b41
Modify some processing of AnalgIn.
...
Modifies are as below.
- Change the A/D conversion time to run fast.
- Change the macro value of ANALOGIN_MEDIAN_FILTER
1 -> 0
2015-01-29 16:38:48 +09:00
Masao Hamanaka
83712b1f83
Add Serial flow control and fix a bug that parity setting is wrong.
...
Modifies are as below.
- Add flow control
- Change the range of baud rate that can be set in the baud function.
8138 bps more -> 128 bps more
- Fixed a bug that designation of parity had been reversed in format().
2015-01-29 16:38:21 +09:00
Masao Hamanaka
25131013bd
Add RTC function.
...
User can use set_time() and time() by this addition.
2015-01-29 16:37:41 +09:00
Martin Kojtal
07ed4ec541
Merge pull request #874 from NitinBhaskar/master
...
Extended RTOS support for LPC4330 Target
2015-01-29 08:22:32 +01:00
Martin Kojtal
3612f38897
Merge pull request #873 from jrjang/master
...
Include missing header file in BusXXX classes
2015-01-29 08:21:47 +01:00
nitin.bhaskar.27.09@gmail.com
81a364c6e9
Extended RTOS support for LPC4330 Target
2015-01-28 20:57:37 +05:30
Martin Kojtal
9cdef7e725
Merge pull request #872 from bcostm/master
...
NUCLEO_F303RE - Corrections in ADC
2015-01-28 12:13:10 +01:00
Jun-Ru Chang
7ee7fab4ee
Include missing header file
...
MBED_ASSERT was defined in mbed_assert.h.
Signed-off-by: Jun-Ru Chang <jrjang@gmail.com>
2015-01-28 18:57:19 +08:00
bcostm
46317484f7
[NUCLEO_F303RE] Corrections in ADC
...
- remove unavailable ADCs and channels
- correct initialization routine
2015-01-28 11:06:44 +01:00
0xc0170
453e81fd4c
Merge branch 'pinology' of https://github.com/PrzemekWirkus/mbed into PrzemekWirkus-pinology
...
Conflicts:
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.c
2015-01-27 14:15:48 +01:00
Martin Kojtal
8c14c0600d
Merge pull request #853 from mstevanovic/nucleo103_gpio_irq
...
Targets - Gpio irq hal with max num of irq for Nucleo 103RB
2015-01-27 08:14:29 +01:00
Martin Kojtal
c1bba47649
Merge pull request #862 from Willem23/master
...
I2C blockread and blockwrite fixed for LPC812
2015-01-27 08:07:28 +01:00
milangit
ea2a3c27a0
Assigned a value to pin variable
2015-01-26 21:47:28 +01:00
0xc0170
1fca34a068
HAL - NRF51822 - us ticker fix for the #839
...
There was a project header file which does not exist in mbed SDK, neither
some defines used from it most probably. This commit reverts those parts.
2015-01-26 15:32:14 +01:00
Martin Kojtal
e979bd60eb
Merge pull request #839 from rgrover/master
...
switching timestamp_t back to 32-bits.
2015-01-26 15:13:08 +01: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
Martin Kojtal
2c2ab2cb06
Merge pull request #861 from NitinBhaskar/master
...
On-Board SD Card support for LPC11U37H_401 board
2015-01-26 06:46:38 +00:00
Willem23
3b7d9635b7
I2C blockread and blockwrite fixed for LPC812
...
Quick fix of block read and write. The i2c_start is still wrong: it
should setup the address before initiating a Start condition. Status
read is also wrong in i2c_do_read.
2015-01-24 20:59:01 +01:00
nitin.bhaskar.27.09@gmail.com
19fd60321b
On-Board SD Card support added, SD Card related test cases updated too
2015-01-24 22:57:01 +05:30
ZKvAH
466223a617
fix read_result always false
...
read_result always false when read file success
2015-01-24 13:38:20 +08:00
Martin Kojtal
ebc51cd52c
Merge pull request #858 from bcostm/master
...
NUCLEO_F303RE - Update SetSysClock function
2015-01-22 12:55:46 +00:00
bcostm
cb36f2c472
[NUCLEO_F303RE] Update SetSysClock function
2015-01-22 11:10:09 +01:00
Adam Green
35d1ffd787
Correct warning when assigning HEAP_START to stack_pointer
...
This fixes issue #856 reported by @neilt6.
I tested on mbedLPC1768 and mbedLPC11U24 using the GCC_ARM toolchain.
2015-01-21 18:52:24 -08:00
milangit
b223f83441
Updated gpio irq hal with max num of irq
...
- EXTI lines 5 to 9
- EXTI lines 10 to 15
2015-01-20 21:40:05 +01:00
bcostm
8fe645ecd1
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-01-20 13:14:59 +01:00
bcostm
5e57cd3d29
[NUCLEO_F303RE] Add GCC_ARM toolchain
2015-01-20 13:10:22 +01:00
Martin Kojtal
0ab8d2e6b3
Merge pull request #844 from masaohamanaka/master
...
RZ_A1H - Implement some USB functions and fix some bugs about USBHost common codes.
2015-01-19 14:25:26 +00:00
Martin Kojtal
befdc7ae6b
Merge pull request #847 from ytsuboi/master
...
LPC1114 - remove reset pin name to protect people. [LPC824] I2C pin names were crossed
2015-01-19 12:54:52 +00:00
Martin Kojtal
5c5232c36a
Merge pull request #850 from NitinBhaskar/master
...
Initial support for LPC11U37H_401
2015-01-19 12:52:04 +00:00
nitin.bhaskar.27.09@gmail.com
f38d985cc8
Initial support for LPC11U37H_401
2015-01-17 13:29:17 +05:30
Adam Green
c1307163b3
Fixes to get LPC4330 GCC based builds to run
...
I was getting Hard Faults in even the simplest of samples before I made
these fixes.
* WaitUs() did nothing on optimized builds. I added the volatile
qualifier to the cyc variable to make sure that the delay loop
doesn't get optimized out.
* I removed the #ifdef which skipped the fpuInit() call when building
with GCC.
2015-01-16 15:58:55 -08:00
ytsuboi
5b8a42ffe9
[LPC824] I2C pin names were crossed
2015-01-17 01:33:22 +09:00
ytsuboi
7c55ec9590
[LPC1114] remove reset pin name to protect people.
...
If user set P0_0 as DigitalOut and set it to low, LPC1114 will be in
reset condion. To avoid this situation, p4, xp4 and dp23 was removed
from PinNames.h.
2015-01-17 00:41:17 +09:00
Paul Staron
e21c65041d
New platform - Teensy 3.1
2015-01-15 19:18:01 +00:00
Masao Hamanaka
63cfe8da23
Fix some bugs about USBHost common codes.
...
Find some bugs in USBHost common codes. Bugs as below.
- USBHostMouse.cpp
- Memory destroy will occur when the size of interrupt transfer is larger than 4 bytes.
- USBHostMSD.cpp
- Type declaration of vender dependent.
U16 -> uint16_t
- USBHostSerial.cpp
- connected() will not be "true".
- Communication with USBSerial will not start.
2015-01-15 14:01:48 +09:00
Masao Hamanaka
7726496957
Implement some USB functions to RZ-A1H
...
Implemented functions as below.
- USB Host
- USB Device(Full speed)
2015-01-15 14:00:42 +09:00
bcostm
fb2ed14768
[NUCLEO_F303RE] Correct ADC initialization
...
Same as #809
2015-01-12 16:30:05 +01:00
Przemek Wirkus
0c3caf8d75
Refactored SD card basic test
...
Included return value check from fopen() functions in read/write testcases
2015-01-12 08:39:34 +00:00
Martin Kojtal
7a3d2b4423
Merge pull request #837 from bcostm/master
...
NUCLEO_F070RB - Update tests
2015-01-12 08:14:44 +00:00
Martin Kojtal
47725f9123
Merge pull request #835 from masaohamanaka/master
...
RZ_A1H - Fix some bugs about InterruptIn, SPI, I2C and modify some settings.
2015-01-12 08:14:02 +00:00
Rohit Grover
c8b9b9c2f5
add a declaration for the signed version of timestamp_t; used in a comparison
2015-01-12 07:58:31 +00:00
Rohit Grover
f7a78073e8
add 1 to the scheduler-op pool to allow deleting a timer whilst in its handler.
...
Please note that this commit goes with another recent commit to the nRF51822 repository which updated values under projectconfig.h. Please remember to update nRF51822 as well.
This has a bearing on issue #832 .
2015-01-09 13:19:55 +00:00
Rohit Grover
e7a9c01708
update us_ticker_appTimerRunning after a call to app_timer_stop()
2015-01-09 12:43:18 +00:00
Rohit Grover
c18633dcf2
switching timestamp_t back to 32-bits.
...
The underlying us_tickers used for comparison are still 32-bits; keeping a 64-bit timestamp isn't going to be useful.
fixes #838
2015-01-09 12:42:55 +00:00
bcostm
321f012f06
[NUCLEO_F070RB] Add missing line (same as F072RB)
2015-01-09 11:32:49 +01:00
bcostm
e0e18f54d6
[NUCLEO_F070RB] Update tests with this target
2015-01-09 11:21:15 +01:00
Masao Hamanaka
596d0e9b78
Commit upstream changes.
...
Commit upstream changes that is "Merge pull request #833"
2015-01-09 13:54:55 +09:00
Masao Hamanaka
4004624a1f
Add comments.
...
Add comments to provide details about this code.
2015-01-09 13:50:41 +09:00
Przemek Wirkus
3ec2247713
K22F: added peripheral pin definitions to SD card tests and I2C EEPROM tests
2015-01-08 14:06:39 +00:00