0xc0170
c1c1102a89
i2c api update
2013-07-02 20:27:20 +02:00
0xc0170
9ff042699b
Update freedomKL05 from upstream master
2013-07-02 19:44:15 +02:00
0xc0170
90bb8521aa
ADC, code indentation
...
- ADC resolution - 12bit, all pins definition
- code indentation
2013-07-02 19:34:11 +02:00
Emilio Monti
f4f34a025d
Merge pull request #9 from spectaclelabs/fix-gpio-mode
...
Fix setting STM32 GPIO input/output mode.
2013-07-02 02:44:29 -07:00
Emilio Monti
585b369ab8
Explicitly add gpio write/read prototypes to the HAL header
2013-07-02 10:37:57 +01:00
Joe Turner
fac01e3186
Fix setting GPIO input/output mode.
2013-07-02 10:37:24 +01:00
0xc0170
ed200183d0
RTC OSC32, systemUpdate v0.1
...
- RTC clock init from crystal, tested
- system update function
- startup - handler PORTB correction
2013-07-01 21:32:22 +02:00
Emilio Monti
95e66aa4c6
Move the target dependent code from the shared code to the HAL implementation
2013-07-01 18:05:31 +01:00
Bogdan Marinescu
28961db4a5
Added timeout to i2c_stop operations
...
Fixes this issue:
http://mbed.org/users/mbed_official/code/mbed/issues/3
2013-07-01 16:28:35 +01:00
Bogdan Marinescu
bfeb47f523
I2C API refactoring
...
Now the I2C send/receive functions in the mbed HAL return the number of
bytes actually transferred or an error code (a negative value). The
public API remains unchanged.
2013-07-01 16:28:32 +01:00
0xc0170
20789374a0
i2C - pulse definition, serial - define correction
2013-06-29 09:10:26 +02:00
0xc0170
7d3864f27b
Update KL05 to mbed new structure
2013-06-29 09:08:28 +02:00
0xc0170
cd5d235e2b
Merge branch 'master' into freedomKL05
...
Conflicts:
workspace_tools/targets.py
workspace_tools/tests.py
2013-06-29 07:53:32 +02:00
0xc0170
4c4d15f323
Serial api - clock, SPImaster test
2013-06-28 19:59:15 +02:00
Emilio Monti
265c5b405d
Move common CMSIS headers
...
Remove obsolete CMSIS "*.c" files
2013-06-28 16:12:45 +01:00
0xc0170
5d169ce654
Clocks correction, ticker, tests
...
- systemInit - clock update (crystal 32768Hz)
- us_ticker - MCG clock input
- Kl05 testing - pin definitions for KL05 (all run in KEIL with debugger)
2013-06-27 23:20:47 +02:00
Joe Turner
3e40b905f0
Merge branch 'master' of git://github.com/mbedmicro/mbed into STM32F4
...
Conflicts:
workspace_tools/targets.py
2013-06-26 13:34:34 +01:00
0xc0170
bf4746897f
KL05 clock removal, I2C API
...
- spi - bus clock clock correction
- i2c driver
2013-06-25 21:53:06 +02:00
jesusalvarez
ecd051c7a1
LPC43xx port from Micromint
2013-06-25 02:20:08 -04:00
0xc0170
3884f1ba3c
SPI API
2013-06-24 22:40:04 +02:00
0xc0170
19ead14dcb
KL05 Clocks, PWM, RTC, Serial
...
- clock setup update
- serial correction with core clock (define)
- pwm defines
- RTC clock
2013-06-24 19:41:54 +02:00
Emilio Monti
984ba4b113
Refactor the build system:
...
* add sets of TARGET and TOOLCHAIN "labels"
2013-06-24 14:32:08 +01:00
0xc0170
0bad32c110
Serial API
...
- serial UART0 added
- correction in gpio irq (port b)
2013-06-23 22:55:23 +02:00
0xc0170
8a41a5ba9a
KL05 analog in+out, gpio irq
...
- AnalogIn
- AnalogOut
- GPIO irq
- target KL05 added
2013-06-23 18:22:46 +02:00
0xc0170
72659a220b
HAL removing code for API which is not ported yet
2013-06-22 20:54:48 +02:00
0xc0170
a14d88f156
KL05 - target ARM - gpio, us_ticker
...
- cmsis - only one type of MCG at the moment
- HAL - gpio pins
- us_ticker
2013-06-21 20:39:27 +02:00
Joe Turner
92a5e412bd
Merge branch 'master' into STM32F4
...
Conflicts:
workspace_tools/build_api.py
workspace_tools/data/support.py
workspace_tools/libraries.py
workspace_tools/paths.py
workspace_tools/toolchains.py
2013-06-19 13:10:44 +01:00
Emilio Monti
90b614baf8
Unify mbed library sources
...
Remove stdio retargeting reference form cmsis: keep it as a standalone
object
Avoid object files clash for sources with the same name
2013-06-14 17:32:15 +01:00
Emilio Monti
31ee5e5f29
Refactoring of the mbed SDK:
...
- Provide a well defined HAL and API
- Keep separated the HAL implementations for the different targets
2013-06-10 15:44:08 +01:00
Joe Turner
fe625b1f65
Remove empty files, and not ported driver code.
2013-06-04 11:50:07 +01:00
Joe Turner
af5bc356ca
Changes to make port api work.
2013-06-04 11:30:51 +01:00
Joe Turner
79bb66bab5
Small fixes to make analog in work.
2013-06-03 16:42:28 +01:00
Joe Turner
32e7bb8b8c
GPIO fixes to make digital input work.
2013-06-03 14:55:51 +01:00
Joe Turner
a3fd58bf2b
Initialize the I2S PLL in the system startup.
2013-05-31 08:49:12 +01:00
Joe Turner
9e3cd7f379
Make GPIOs use high-speed mode
2013-05-31 08:48:40 +01:00
Emilio Monti
a0c51e0eff
mirror the mbed.org libraries
2013-05-30 18:17:50 +01:00
Emilio Monti
f3acb6c8fd
cleanup
2013-05-30 10:56:18 +01:00
Joe Turner
a71c955c35
Various small fixes to get I2C working.
2013-05-28 16:37:01 +01:00
Joe Turner
e06063aa64
Lots of small fixes to make SPI work.
2013-05-16 11:02:16 +01:00
Joe Turner
9329d73d87
Leave enough space at the start of the RAM block for the dynamic
...
vectors.
2013-05-16 11:01:38 +01:00
Andreas Rebert
2662e105c4
Add support for NXP LPC4088
2013-05-16 08:53:02 +02:00
Joe Turner
bec4ecab29
Add fixes for us_ticker so it updates the prescale register after the
...
counter is enabled, and uses the capture/compare register rather than
the auto-reset register to trigger interrupts.
2013-05-15 11:54:23 +01:00
Joe Turner
4e68eaef57
Make pinmap and port API use the correct memory region for the GPIOs.
2013-05-14 11:00:18 +01:00
Joe Turner
3a0c872df4
Small fixes to the GPIO api, meaning it works!
2013-05-14 10:59:14 +01:00
Joe Turner
8ffca414a5
Generate update event when initializing the ticker so the new prescaler
...
value is used straight away.
2013-05-14 10:58:37 +01:00
Joe Turner
e6ff45d87c
Remove moved options file.
2013-05-13 14:35:32 +01:00
Joe Turner
8efa81bb32
Lot of small fixes to cmsis code so it works correctly.
2013-05-13 14:34:38 +01:00
Emilio Monti
992f34117a
Use two separate toolchains for CodeWarrior: one using EWL and one using newlib
2013-05-10 16:36:40 +01:00
samux
4292adebc1
[KL25Z]: spi slave and i2c slave support
2013-05-08 16:05:57 +01:00
Emilio Monti
a6cad7b15e
Prepare support for ARMCC 5.03 (mainline microlib)
2013-04-24 15:29:23 +01:00