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
Martin Kojtal
1c9ba7ca9c
Merge pull request #857 from adamgreen/rtxIssue856Fix
...
Correct warning when assigning HEAP_START to stack_pointer
2015-01-22 07:39:53 +00: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
Martin Kojtal
2716ab1994
Merge pull request #855 from BlackstoneEngineering/ExporterUpdate
...
Tools: exporters - Fix readme.html
2015-01-21 18:26:13 +00:00
Austin Blackstone
c548c2693f
fixed readme.html so it works on all OS's, previous commit only worked on windows
2015-01-21 11:13:33 -06:00
Martin Kojtal
8d97833cad
Merge pull request #851 from NitinBhaskar/master
...
LPC11U37H_401 - target support added to build_travis.py and build_release.py
2015-01-20 14:26:01 +00:00
Martin Kojtal
65160b8255
Merge pull request #852 from bcostm/master
...
NUCLEO_F303RE - Add GCC_ARM toolchain
2015-01-20 14:25:29 +00: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
NitinBhaskar
0fbe72662a
Added new target LPC11U37H_401
2015-01-20 14:43:26 +05:30
NitinBhaskar
4fece5da1c
Update build_release.py
...
Added new target LPC11U37H_401
2015-01-20 14:40:41 +05:30
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
f99ed7037e
Merge pull request #848 from Sissors/master
...
Tools - uVision Teensy3.1 exporter
2015-01-19 12:54:05 +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
Martin Kojtal
af8cf8447d
Merge pull request #849 from adamgreen/lpc4330-GCC-HardFaultFixes
...
Fixes to get LPC4330 GCC based builds to run
2015-01-17 10:18:31 +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
Sissors
ac0504da13
[EXPORT][TEENSY3_1] Added uVision Teensy3.1 exporter
...
Copy paste of K20D50M code, pretty sure I modified the most important
bits.
2015-01-16 22:28:13 +01: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
Martin Kojtal
542dba531c
Merge pull request #846 from BlackstoneEngineering/ExporterUpdate
...
Add readme.html to every exported project
2015-01-16 07:49:44 +00:00
Austin Blackstone
6606e3e3cb
added README.html to every offline export. This will redirect to a handbook page where we can keep an errata of things that need doing with various platforms and various toolchains.
2015-01-15 18:01:28 -06: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
Martin Kojtal
36015c68a8
Merge pull request #842 from bcostm/master
...
NUCLEO_F303RE - Correct ADC initialization
2015-01-14 09:15:35 +00: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
Martin Kojtal
4f7fdf3ee4
Merge pull request #836 from ohagendorf/build_release
...
Tools: Add GCC_ARM toolchain to some Nucleo targets to build release script
2015-01-08 07:20:56 +00:00
Olaf Hagendorf
148a62ef81
[build_release.py]
...
Adding missing GCC_ARM toolchain to some Nucleo targets
2015-01-07 17:56:05 +01: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