Wim
fd82a674ab
Update serial_api.c
...
Fixed the incorrect clocksource for the baud generator. Should be MainClock instead of SystemCoreClock. This also allows the correct use of the PLL for MainClock and SystemCoreClock without breaking the serial baudrate.
2015-01-27 21:04:17 +01:00
Wim
6fefefa3bb
Update system_LPC8xx.c
...
LPC812 was running at 12MHz on IRC. Added and fixed PLL activation to change the clockspeed into the expected 30MHz. Clock source is still the IRC. Selecting the 12 MHz XTAL clocksource should also work with the PLL.
Added MainClock to fix wrong setting of SystemCoreClock and allow the serial_api to use the correct clock.
2015-01-27 21:00:01 +01:00
Wim
74cd948470
Update system_LPC8xx.h
...
Added extern MainClock to allow the use of the PLL and correct the wrong clock source for serial_api.c
2015-01-27 20:48:51 +01: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
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
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
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
Martin Kojtal
2acefb66eb
Merge pull request #809 from bcostm/master
...
NUCLEO_F334R8 - Fix issue with multiple ADC initialization
2015-01-08 11:57:52 +00:00
Martin Kojtal
bef46907fc
Merge pull request #831 from ohagendorf/stm32f4xx_reorg_hal
...
STM32F4xx reorganisation of hal folder
2015-01-08 11:53:03 +00:00
Masao Hamanaka
90cf47ffdf
Fix some bugs about IntreruptIn.
...
Bugs are as below.
- Add terminal setting of IRQ4 and IRQ6 that leaked.
- When set the interrupt function by rise()/fall(), the interrupt disable state will be released by disable_irq().
- Interrupt will be continued to occur when execute disable_irq() after rise(NULL)/fall(NULL) set.
- Fix the setting timing of PMC register.
2015-01-07 19:11:14 +09:00
Masao Hamanaka
f119a368e5
Fix the bug that a noise will occur in SPI.
...
A noise will occur when execute frequency() after set the "mode" to 3 by format().
2015-01-07 19:10:49 +09:00
Masao Hamanaka
b13b047a76
Implement a stop condition transmission setting function of I2C.
...
User can specify the sending of STOP condition by this implement.
2015-01-07 19:10:26 +09:00
Masao Hamanaka
d469fdf79e
Increase STACK size of thread.
2015-01-07 19:09:50 +09:00
Masao Hamanaka
808c3b4d7c
Take measures about optimization problems of web compiler.
2015-01-07 19:09:22 +09:00
Masao Hamanaka
0ed93c1953
Update scatter file to increase usable RAM area.
...
Remove a usable RAM area limit of RW and ZI area.
2015-01-07 13:04:49 +09:00
ohagendorf
24d7e37e21
all RTOS_x tests are OK
2015-01-06 20:48:37 +01:00
ohagendorf
716c51d232
Deleting doubled files
2015-01-06 00:35:57 +01:00
ohagendorf
11c2a5b888
error correction rebas and build_travis extension
...
travis_build ok
all tests for nucleo_f0xx and nucleo_f3xx ok
2015-01-05 23:59:58 +01:00
ohagendorf
f5c3b18d75
[NUCLEO_F091RC] adding exporter (gcc_arm, coide), enable rtos
...
- Adding exporter for CoIDE and GCC_ARM
- Adding target to RTOS lib
2015-01-05 22:55:18 +01:00
ohagendorf
5ebdb92e78
[NUCLEO_F072RB] adding target to rtos lib
...
Every test (DTCT_1, EXAMPLE_1, MBED_xx, RTOS_x) is OK.
2015-01-05 22:43:52 +01:00
bcostm
f2a6eeca8d
[NUCLEO_F334R8] Correct the code used during initialization
2015-01-05 14:47:38 +01:00
bcostm
ad9b6a7119
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-01-05 14:14:41 +01:00
Martin Kojtal
914dd37b11
Merge pull request #818 from ohagendorf/stm32l053_rtos
...
DISCO/NUCLEO_L053xx - adding to RTOS, corrections for all tests, [DISCO_L053] exporter to µVision
2015-01-05 08:08:00 +01:00
Martin Kojtal
47ac39b3fd
Merge pull request #812 from perkristian/master
...
RTOS: Fix stack alignment
2015-01-05 08:01:09 +01:00
Martin Kojtal
e1309e658a
Merge pull request #811 from albert361/master
...
Add IAR toolchain support for DISCO_F429ZI
2015-01-05 07:57:36 +01:00
Martin Kojtal
3aef1389d5
Merge pull request #829 from Kazu-zamasu/LPC824-GCC_CR
...
Tools: LPC824 - GCC_CR support
2015-01-05 07:55:21 +01:00
Martin Kojtal
fdc60ac217
Merge pull request #827 from adamgreen/rtxNoStackCheckForMainThread
...
RTOS: Main thread should not write MAGIC_WORD to stack
2015-01-05 07:50:23 +01:00
Martin Kojtal
5748a9da69
Merge pull request #826 from adamgreen/rtxSupportStacksLargerThan64k
...
RTX: Support stacks larger than 64k
2015-01-05 07:48:32 +01:00
ohagendorf
f98dd149b9
[MTS_MDOT_F405RG] reorg hal folder
...
- reorganisation of this target needed some extension of serial_api.c
used by all F4xx tagets.
- add arch_max to travis_build
2015-01-04 14:15:16 +01:00