Bogdan Marinescu
7d5e9dac70
[LPC1347] Added support for the ARM toolchain.
2013-07-17 15:25:18 +03:00
Bogdan Marinescu
358e84edf3
[LPC1347] Added GPIO interrupts
2013-07-17 15:17:20 +03:00
samuel.mokrani@arm.com
5b0fe44b0d
[LPC1347]: first implementation of analogIn (not tested)
2013-07-17 15:17:19 +03:00
samuel.mokrani@arm.com
6b7f4b998e
[LPC1347]: first implementation of PWMOut (not tested)
2013-07-17 15:17:09 +03:00
Bogdan Marinescu
721082257c
Preliminary support for LPC13XX
...
Works only with GCC_ARM for now.
2013-07-17 14:57:02 +03:00
Emilio Monti
5020b9ad3b
Stop using the patched microlib
2013-07-08 17:31:04 +01:00
jesusalvarez
804176b806
Update targets and pins for LPC43xx
2013-07-07 23:27:11 -04:00
0xc0170
43ace93009
removed KL05Z hw tests + mv KL05Z to TARGET_Freescale
2013-07-04 17:57:52 +02:00
0xc0170
551f06b66b
Merge branch 'master' into freedomKL05
...
Conflicts:
workspace_tools/toolchains/arm.py
2013-07-04 17:40:46 +02:00
0xc0170
2b57ae9c23
KL25 + KL05 - no pull down, pullup for INPUT pins by default
...
- pull down removal
- ARMCC - debug information option
2013-07-03 19:39:19 +02:00
Emilio Monti
597c62e06a
Add the vendor name as a proper target label
2013-07-03 17:14:43 +01:00
Helmut Schmucker
e38bce5ccd
fix for mbed lib issue 1 (i2c problem)
...
see also https://mbed.org/users/mbed_official/code/mbed/issues/1
2013-07-03 16:12:03 +01:00
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
Emilio Monti
a44371aa5c
Fix typo in mbed-rpc parse_pins
2013-04-24 15:26:47 +01:00
Joe Turner
179b7f677e
Add us_ticker api.
2013-04-24 14:29:53 +01:00
Joe Turner
0b01040f47
Lots of small changes which get us compiling.
2013-04-24 11:48:27 +01:00
Joe Turner
7fba5bae39
Add fix for non-compiling analog in C API when median filtering is disabled.
2013-04-24 09:52:45 +01:00
Joe Turner
b4c4ae8f09
Add options.json file for STM32.
2013-04-24 09:46:59 +01:00
Joe Turner
f1a18358b8
Add device specific pin definitions, etc.
2013-04-24 09:46:22 +01:00
Joe Turner
a28d1704be
Add define to let stm32f4xx.h know which uC version we are working with.
2013-04-24 09:45:30 +01:00
Joe Turner
f51b151a9c
Add pinmap.
2013-04-24 09:45:09 +01:00
Joe Turner
7acc783058
Add SPI api
2013-04-24 09:44:55 +01:00
Joe Turner
56ad7f7d58
Add I2C master mode API
2013-04-24 09:44:44 +01:00
Joe Turner
93b0048cb5
Add GPIO api
2013-04-24 09:41:15 +01:00
Joe Turner
883d9855d3
Add analog in api
2013-04-24 09:40:58 +01:00
Joe Turner
96f69ae818
Add untested port api
2013-04-24 09:40:33 +01:00
Joe Turner
4718fc6e2b
Add alternative function to pinmap for STM32.
2013-04-24 09:39:28 +01:00
Emilio Monti
1cfac4cec4
Add parse_pins function removed from the mbed library
2013-04-22 17:53:15 +01:00
Joe Turner
d18875bee3
Add nvic dynamic vector handling.
2013-04-19 10:11:13 +01:00
Joe Turner
ed9e0c1f0f
Start adding STM32F4 cmsis and placeholders for the C API
2013-04-18 17:13:08 +01:00
Emilio Monti
a607392724
[LPC812] Add us_ticker interrupts, board pin names and tests
2013-04-17 16:32:49 +01:00
Emilio Monti
3f684a518f
Add initial KL25Z startup code and linker script for Code Warrior
2013-04-11 17:22:34 +01:00
Emilio Monti
498d5efcc4
Add LPC812 peripherals
2013-04-11 17:19:34 +01:00
Emilio Monti
3fa0f0a3c0
[KL25Z] Use channel 0 as a prescaler for channel 1
2013-03-21 13:33:59 +00:00
Emilio Monti
db129a9c27
[KL25Z] Improve division by constant integer in us_ticker implementation.
2013-03-18 17:20:05 +00:00
emilmont
b8b42d3abd
Fix GCC build including define of ARMCC intrinsic __disable_irq
...
Change-Id: I13ca92e54d8f752cca18f5c75ac026526419edbe
2013-03-18 10:31:26 +00:00
Emilio Monti
ca6e1ed7ab
[LPC812] Add serial_api implementation. Make sure to always pull in the stdio retargeting module. Remove redundant stdio serial initialization.
2013-03-15 17:11:28 +00:00
Emilio Monti
80518c489c
Add LPC812 target. Update tests. Remove obsolete documentation. Move shared code among targets to target independent layer.
2013-03-14 11:52:38 +00:00
Emilio Monti
5f09c37d0f
[KL25Z] Fix us_ticker_api implementation and improve documentation
2013-03-05 18:16:46 +00:00
Emilio Monti
a5e0438a97
Add Freescale KL25Z
2013-02-26 14:57:42 +00:00
Emilio Monti
9ffa978741
[CodeSourcery Toolchain] Fix standard library retargeting removing duplicate _isatty.
2013-02-25 10:37:22 +00:00
Emilio Monti
cfb0ae66ad
[GCC toolchains] declare "__semihost" as "static inline"
2013-02-23 15:58:22 +00:00
Emilio Monti
5c20760685
Initial commit of the mbed libraries and tools
2013-02-18 15:32:11 +00:00