Commit Graph

125 Commits (f4f34a025d4a3ec765b10b21f5a512cfff876dfb)

Author SHA1 Message Date
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
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 39f4d26896 Added I2C master/slave test to the list of tests 2013-07-01 16:29:38 +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 4a98d0ed7e Added I2C master/slave test 2013-07-01 16:28:33 +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
emilmont b464564dc1 Avoid including two times the same set of directories 2013-06-28 21:05:27 +01:00
Emilio Monti 265c5b405d Move common CMSIS headers
Remove obsolete CMSIS "*.c" files
2013-06-28 16:12:45 +01:00
Emilio Monti c3738a0dd8 Update README.md 2013-06-26 15:42:07 +01:00
Emilio Monti 15f67ef926 Merge pull request #8 from spectaclelabs/STM32F4
Start to STM32F4XX port
2013-06-26 07:14:50 -07: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
Emilio Monti 2dabf3e128 Update README.md 2013-06-26 10:03:40 +01:00
Emilio Monti b1ef7a99e0 merge LPC43xx port from Micromint 2013-06-25 10:46:14 +01:00
Emilio Monti c4aad8d5c7 Merge branch 'master' of https://github.com/mbedmicro/mbed 2013-06-25 10:26:19 +01:00
Emilio Monti 1c98308182 Update default CodeWarrior paths 2013-06-25 10:23:28 +01:00
jesusalvarez ecd051c7a1 LPC43xx port from Micromint 2013-06-25 02:20:08 -04:00
Emilio Monti b4bed9fa6a Update README.md
Add community paragraph
2013-06-24 16:38:43 +02:00
Emilio Monti 984ba4b113 Refactor the build system:
* add sets of TARGET and TOOLCHAIN "labels"
2013-06-24 14:32:08 +01:00
Emilio Monti bf32e2ff80 Merge pull request #6 from spectaclelabs/cortex-m4-float-options
Use correct setting for -mfpu when building for Cortex-M4 targets, and add a setting for using hard or soft floating point.
2013-06-19 05:57:28 -07:00
Joe Turner 0523687926 Merge branch 'cortex-m4-float-options' into STM32F4 2013-06-19 13:34:56 +01:00
Joe Turner b211a33a53 Use correct setting for -mfpu when building for Cortex-M4 targets, and
add a setting for using hard or soft floating point.
2013-06-19 13:32:06 +01: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 9d488c6ea7 Make toolchain use hard float, and remove debugging statement. 2013-06-05 13:07:57 +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 85ee266ab2 Add scripts to sinchronize mbed.org libraries with mbed SDK 2013-05-30 18:22:41 +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
Emilio Monti 6cdbf5512b Merge pull request #5 from arebert/lpc4088
Add support for NXP LPC4088
2013-05-21 10:14:03 -07: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
Emilio Monti 3f96b401b0 Do not repeat tolchain names list 2013-05-13 16:14:22 +01:00