Commit Graph

681 Commits (2ac6c4c53190a358dc75ac78e2109b273b5f6187)

Author SHA1 Message Date
Bogdan Marinescu 2ac6c4c531 Fixed RTS/CTS bit-banging on LPC1768 2013-12-04 19:46:12 +02:00
Bogdan Marinescu fbeb52d613 Added RTS/CTS flow control
Currently implemented only for LPC1768. On this platform, when hardware
flow control is not directly supported, it will be emulated.
Also added "not_implemented.c" as a placeholder for various HAL functions
that might not be implemented on all platforms (in this particular case,
serial_set_flow_control). These are weak implementations that default to a
"not implemented" error message.
2013-12-04 19:42:11 +02:00
Bogdan Marinescu 72a9529287 Added on-line defined macros to the build system
Added 3 macros defined by the on-line build system to the off-line build
system: MBED_BUILD_TIMESTAMP, MBED_USERNAME and __MBED__.
2013-11-27 16:24:42 +02:00
Bogdan Marinescu ea7ee814c9 LPC4088_EA doesn't exist anymore, remove from build_release 2013-11-26 19:26:49 +02:00
Bogdan Marinescu 438a290fe4 Fix LPC4088 codered exporter
Use softfp instead of hardfp for code generation, in order to make linking
with the mbed SDK (generated with softfp) possible.
2013-11-26 19:24:11 +02:00
Bogdan Marinescu 256f70fffc Merge remote-tracking branch 'origin/master' 2013-11-26 17:14:46 +02:00
Bogdan Marinescu 3c0a8b633f Provide generic pinout defines
This commit adds generic peripheral names to various mbed enabled
boards, to make it easier to write portable code amongst various
mbed boards.
2013-11-26 17:12:36 +02:00
Emilio Monti 60f37b4adf There is only an LPC4088 target 2013-11-25 16:32:46 +00:00
Emilio Monti 64952d4f7e Merge pull request #114 from mazgch/master
Avoid hardfault when CAN object is destructed.
2013-11-21 08:40:43 -08:00
mazgch a3a16b3683 Avoid hardfault when CAN object is destructed.
interrupts have to be disabled(can_irq_free) before we turn off(can_free) the peripheral
2013-11-21 17:31:17 +01:00
Emilio Monti 5278dd43f2 Merge pull request #113 from mazgch/master
fix the documentation to ethernet api to match implementation
2013-11-21 02:32:05 -08:00
mazgch 2b7d2bb343 fix the documentation to match implementation 2013-11-21 11:24:58 +01:00
Emilio Monti 6a5335a40e Merge pull request #112 from Sissors/master
Added sleep to LPC81x
2013-11-21 01:58:28 -08:00
Emilio Monti 036f7be34c Merge pull request #111 from hototogi/lpc43xx
support GCC_ARM for LPC4330_M4
2013-11-21 01:56:29 -08:00
Sissors 585e05ca6a Added sleep to LPC81x
http://mbed.org/users/mbed_official/code/mbed-src/pull-request/6
2013-11-21 08:19:44 +01:00
hototogi 03b79b5920 support GCC_ARM for LPC4330_M4
- Linker script is based on LPC1768
     number of NVIC is 16 (CORE) + 53 (M4 in LPC43xx) = 69,
    therefor, reserve at the top of RAM0 (address:0x10000000)
    to relocate NVIC vector table
 - startup file is based on startup_ARMCM4.S in CMSIS V3.20
     change NVIC name for cortex-M4 of LPC43xx
 - add GCC_ARM for LPC4330_M4 in python scripts
 - add some descriptions for GCC_ARM
2013-11-20 17:03:59 +09:00
Bogdan Marinescu ec1a027088 Merge pull request #109 from adamgreen/rtxIncreaseRAM
Increase available RAM for RTX on LPC11U24
2013-11-19 00:57:19 -08:00
Adam Green 10126e0b2f Increase available RAM for RTX on LPC11U24
The INITIAL_SP value used by RTX was originally at the 4k limit instead
of at the 8k limit.  The HEAP_START macro was defined to __HeapLimit
but the heap really starts at __end__.  __HeapLimit is just used for
some link time sanity checks to verify that the heap and stack can
grow a bit without colliding.
2013-11-19 00:38:12 -08:00
Bogdan Marinescu 0abfca2938 Added export maps
Since some targets with different names use the same exporters (for example
LPC4088_EA and LPC4088), add an "export map" for this situation.
2013-11-18 20:24:51 +02:00
Bogdan Marinescu 86e57616ce Added LPC4088_EA to the list of targets 2013-11-18 19:57:25 +02:00
Bogdan Marinescu a3cae89a98 Merge pull request #108 from ScreamerBG/master
Refactored exporter features
2013-11-16 03:56:39 -08:00
root f168089a91 Drop deep repository scanning from scan_resources() so it doesn't affect compile
Implement repository scanning through __scan_all() for exporter
2013-11-15 18:59:19 +00:00
root 9a080d65ee Merge branch 'master' of https://github.com/mbedmicro/mbed 2013-11-15 14:53:48 +00:00
Emilio Monti 7e42a9ff3e Merge pull request #107 from ScreamerBG/master
Exporter features
2013-11-15 02:34:48 -08:00
Mihail Stoyanov b43e947c3b Added support to export mbed special .bld and .lib files
Added support to export repositories for seamless offline setup
2013-11-14 18:45:14 +02:00
root f834b6f1a9 Merge branch 'master' of https://github.com/mbedmicro/mbed 2013-11-14 16:30:00 +00:00
Mihail Stoyanov 0c62e84623 Added support to export mbed special .bld and .lib files
Added support to export repositories for seamless offline setup
2013-11-14 16:28:34 +00:00
Bogdan Marinescu b2733e9b9a Added preliminary support for nRF51822 as a target
No actual files for the target, just the target definition for now, so it
can't be compiled yet.
2013-11-11 15:15:57 +02:00
Bogdan Marinescu 5b6faea448 Removed redundant label TARGET_LPC81X_COMMON 2013-11-11 13:28:18 +02:00
Bogdan Marinescu cbc47292e6 Merge pull request #106 from jorisa/master
Fix bug in gpio_set not setting reserved pins correctly
2013-11-09 12:55:22 -08:00
Joris Aerts 76ffc4935e Fix bug in gpio_set not setting reserved pins correctly
Loop going over reserved pins was not going over all entries as result of incorrect sizeof
2013-11-08 13:39:00 -08:00
Bogdan Marinescu 15422b3a67 Travis-CI: display the build command before running it 2013-11-08 18:21:58 +02:00
Bogdan Marinescu bd89e121e5 Added build script for travis (build_travis.py) 2013-11-08 17:52:10 +02:00
Bogdan Marinescu e69956aba2 Updated DSP library + build system changes
Updated CMSIS DSP to latest version (CMSIS-SP-00300-r3p2-00rel1.zip)
Build system changes to be able to preprocess assembler sources before compiling them:

- GCC: use gcc '-x assembler-with-cpp'
- ARM: preprocess first, then assemble (two separate commands)
- IAR: added macro definitions and include directories to the assembler command line

Removed CORTEX_ARM_SUPPORT restriction for the DSP libraries.
Tested: LPC1768 with ARM, GCC_ARM and IAR, LPC11U24 with ARM.
2013-11-08 15:38:23 +02:00
Emilio Monti d7d5954f59 Add correct return code to build script 2013-11-08 11:54:12 +00:00
Emilio Monti 600e9ecc46 Default to ARM GCC tools in the system path 2013-11-08 11:46:00 +00:00
Emilio Monti 3e8f11d7ed Update README.md 2013-11-08 11:31:53 +00:00
Emilio Monti 0aeabe419f Use only GCC_ARM toolcahin for Travis CI 2013-11-08 11:20:23 +00:00
Emilio Monti 42aa8af618 Merge pull request #96 from matthewelse/master
Added (partial) Travis-CI Support
2013-11-08 02:40:51 -08:00
Stephen Paulger 8d9375022f Correct LPC812 exporters list in README 2013-11-07 22:53:08 +00:00
Emilio Monti 8fb37b338e Merge pull request #105 from stephenpaulger/ds5-lpc812
Add LPC812 exporter for DS-5
2013-11-07 09:37:58 -08:00
Stephen Paulger 10ef3d610e Add LPC812 exporter for DS5 2013-11-07 17:33:50 +00:00
Bogdan Marinescu b704300021 Merge remote-tracking branch 'origin/master' 2013-11-07 13:50:42 +02:00
Bogdan Marinescu 1a1dafe44c Added configuration mechanism
If the build system finds a file named mbed_config.h, it will automatically
define a HAVE_MBED_CONFIG_H macro. Various libraries/components can use
this mechanism to provide compile-time configuration for user projects.
2013-11-07 13:48:34 +02:00
Emilio Monti 41b2cd4b45 Merge pull request #104 from stephenpaulger/exporter-readme
Add exporter README
2013-11-05 15:42:50 -08:00
Stephen Paulger 250610e13c Add expoter README
Includes table of exporter supported toolchains by platform.
2013-11-05 23:39:49 +00:00
Emilio Monti 887fd2ba3a Merge pull request #103 from 0xc0170/dev_kl46z
Dev kl46z
2013-11-05 13:37:06 -08:00
0xc0170 f4591dbbab Merge branch 'upstream_master' into dev_kl46z 2013-11-05 22:08:07 +01:00
Emilio Monti 17bdeb4924 Merge branch 'master' of https://github.com/mbedmicro/mbed 2013-11-05 15:00:23 +00:00
Emilio Monti 8668dfe81a Merge pull request #102 from stephenpaulger/ds5_exporter
Ds5 exporter for LPC11U24
2013-11-05 06:59:31 -08:00