Commit Graph

1281 Commits (1dcc9246bd5818587bb8121a171d2c2faf5a6be3)

Author SHA1 Message Date
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 6bfe908d8b Remove start to USB Device so only tested code is merged. 2013-06-26 14:05:33 +01: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 425f177097 Untested start to USB device support. 2013-06-05 13:08:49 +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 1ac73081f6 setup main thread stack for GCC toolchains 2013-05-30 10:57:27 +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
Emilio Monti be73e26366 [mbed::net] Not shutting down the socket, before closing it, is not robust in lwIP 2013-05-14 10:41:47 +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 3f5db944ab In the Keil MDK toolchain RTX_Config.h is a special system library header file 2013-04-30 11:58:51 +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
Emilio Monti 15e1cb5bbb Add KL25Z support to rtos 2013-04-24 15:25:28 +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 0037711cc5 Merge pull request #1 from pbrier/master
Build USB libs with GCC_ARM
2013-04-16 02:38:15 -07: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 49b28faba3 Update tests 2013-04-11 17:13:23 +01:00
pbrier 4440251d78 Added __packed macro to be compatible with GCC compiler, in order to build USB libs with GCC_ARM 2013-04-06 15:50:57 +02: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
samux a498bff4a7 usbhost: fixed skip bits/max size conf descriptor 2013-03-18 14:54:08 +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
unknown 1c981f929a add USBHost library 2013-03-14 16:36:35 +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 a80058dc5f Add multicast and broadcast support 2013-03-01 17:02:35 +00:00
Emilio Monti faa724220f Add KL25Z tests and USBDevice implementation 2013-02-26 15:37:59 +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