Commit Graph

402 Commits (8b4f07882b14f6152ee6d3e1c72b548d6f340650)

Author SHA1 Message Date
Bogdan Marinescu 34a43eaa41 Merge branch 'flow_control'
Conflicts:
	workspace_tools/tests.py
2013-12-19 11:36:45 +02:00
Bogdan Marinescu bb8ed20a47 LPC1768 flow control fixes
- Disable TX buffer, this isn't compatible with the software CTS implementation
- Properly set hardware RTS/CTS pins when possible
- Modified test to use hardware CTS and software RTS
2013-12-19 11:31:23 +02:00
Bogdan Marinescu b74e0c8b39 mbed-tools package improvements
- install all the needed components
- use a customized version of private_settings.py. Projects using mbed-tools
  will be able to use mbed_settings.py instead of private_settings.py. This
  ensures compatibility with the current structure.
2013-12-18 16:03:27 +02:00
0xc0170 988894e837 Merge branch 'master' into K20D50 2013-12-17 16:13:27 +01:00
Bogdan Marinescu 2fb9de927c Merge pull request #127 from 0xc0170/dev_KL05Z_exporters
Dev kl05 z exporters
2013-12-17 00:40:49 -08:00
0xc0170 82c5d7f317 README - KL05Z, KL46Z 2013-12-15 12:01:21 +01:00
0xc0170 f7cee14193 KL05Z GCC support, exporters for arm_gcc, uvision 2013-12-15 11:54:44 +01:00
Bogdan Marinescu b72b73e6f0 Added LPC11U35_401 in the list of official builds 2013-12-13 13:36:37 +02:00
Bogdan Marinescu 7d1c888204 Added LED PWM test 2013-12-12 19:59:31 +02:00
Anders Lindvall 0c774294fb LPC4088 target fixes
- changed scatter file to keep all the code in the internal flash
- added tests for SPIFI memory usage
2013-12-12 12:29:00 +02:00
Stephen Paulger 76ff8eb377 Add KL46Z exporters to README 2013-12-11 10:09:47 +00:00
0xc0170 69d91e067c exporters for KL46Z (ARM GCC, uVision) 2013-12-10 17:10:23 +01:00
Bogdan Marinescu 1f942615c1 Added KL46Z and NUCLEO_F103RB to the official SDK build 2013-12-09 18:24:05 +02:00
Bogdan Marinescu 17471ea8ed Changed name of LPC4088 cmdline hook function
For compatibility with the on-line build system
2013-12-09 15:39:41 +02:00
Bogdan Marinescu 7a7c14e050 [NUCLEO_F103RB] Test porting
Ported GPIO and UART tests, verified as working.
2013-12-09 15:36:51 +02:00
Bogdan Marinescu 1dbb6d9c90 Fix defined labels for Cortex-M4F 2013-12-06 16:19:56 +02:00
Bogdan Marinescu 697acd34c0 Added command line hooking option
compiler, linker, assembler and binary command lines can now be modified
using the hooks mechanism. Also, '--any_placement=first_fit' linker option
is now used only on LPC4088 using this mechanism, in order to preserve
compatibility with the other targets.
2013-12-05 13:48:42 +02:00
Bogdan Marinescu d0b2fb6c66 Added flow control test
Since this requires a separate serial port connection, added this as a
new attribute of the MUTs.
2013-12-04 19:46:51 +02:00
Bogdan Marinescu 6959ef77f4 Don't build a NUCLEO_F103RB release for now
NUCLEO_F103RB is not yet integrated in the on-line environment, so don't
build a release for it yet.
2013-12-03 12:44:30 +02:00
tkuyucu c845f39c50 The python script provided in the original repo fails trying to access an empty string as a file, this version removes any empty strings in the files to build. 2013-12-02 16:34:19 +01:00
Bogdan Marinescu 49df530ae7 Merge pull request #118 from bcostm/master
Add STMicroelectronics NUCLEO_F103RB target
2013-12-02 03:15:58 -08:00
0xc0170 d8d526f656 Merge branch 'master' into K20D50 2013-11-28 17:24:57 +01:00
0xc0170 ba7b4c300a Cortex-M4 split to M4 and M4F
- all current supported M4 cores will be M4F
2013-11-27 21:02:37 +01: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
Emilio Monti 60f37b4adf There is only an LPC4088 target 2013-11-25 16:32:46 +00:00
bcostm c47bc1780a Add UseMicroLIB option for exported project 2013-11-22 11:41:07 +01:00
Bogdan Marinescu 8f8e5e8d8a fix STLink debugger/downloader settings 2013-11-21 21:02:23 +02:00
Bogdan Marinescu 1c6bfd17bf Fixes in export templates for NUCLEO_F103RB 2013-11-21 15:28:50 +02: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
0xc0170 4e09b52a71 K20 uVision files, ld NVIC offset
- K20 KEIL files
	- clock set to 1 (48MHz)
	- offset in GCC ld for vectors in RAM
	- us ticker - PIT timer interrupt implementation
2013-11-19 20:06:26 +01:00
bcostm ef164aa78b Add uvision4 template files for NUCLEO_F103RB 2013-11-19 14:38:06 +01:00
0xc0170 8ca8014c00 Merge branch 'master' into K20D50 2013-11-18 20:34:45 +01: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
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 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
bcostm 6d9b523185 Update workspace_tools files 2013-11-14 11:07:01 +01: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 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
Stephen Paulger 8d9375022f Correct LPC812 exporters list in README 2013-11-07 22:53:08 +00: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
Stephen Paulger 250610e13c Add expoter README
Includes table of exporter supported toolchains by platform.
2013-11-05 23:39:49 +00: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
Emilio Monti e0d0dddc78 Additional toolchains to the official builds for the KL25Z and LPC4088 2013-11-05 14:58:47 +00:00
Bogdan Marinescu bb04bf917a Merge branch 'lpc4088' of git://github.com/arebert/mbed into arebert-lpc4088
Conflicts:
	workspace_tools/export/gccarm.py
2013-11-04 12:19:29 +02:00
0xc0170 8ae57ce8db KL25Z GCC_ARM export 2013-10-31 16:00:50 -04:00
Andreas Rebert 09cf4ef128 Support for exporting to GCC_ARM 2013-10-31 13:28:05 +01:00
Andreas Rebert 83d4facb0e Added support for GCC_ARM 2013-10-31 13:25:58 +01:00
Stephen Paulger 779657221e Merge branch 'master' into ds5_exporter 2013-10-29 10:55:59 +00:00
Stephen Paulger 50d8cb0bce Merge remote-tracking branch 'upstream/master' 2013-10-29 10:55:29 +00:00
Stephen Paulger a27dae0977 Merge branch 'master' into ds5_exporter 2013-10-29 10:40:31 +00:00
Stephen Paulger 43eeaa338f Fix DS5 11U24 exporter 2013-10-29 10:35:15 +00:00
Bogdan Marinescu 6af18d0946 Fix error in 'update_repo' call 2013-10-23 17:27:36 +03:00
Bogdan Marinescu 2404dc0092 Added new serial class, remove interrupt chaining
The new RawSerial class is a simple wrapper over the serial HAL that can
be safely used from an interrupt handler.
Interrupt chaining code was removed from InterruptIn, Serial and Ticker
because it caused lots of issues with the RTOS. Interrupt chaining is
still possible using the InterruptManager class.
2013-10-23 16:08:34 +03:00
Bogdan Marinescu fe7021d433 Renamed ubloxusbgsm in main to ubloxusb
Since the tests are now generic (both GSM and CDMA), rename the directory
to reflect this.
2013-10-22 12:41:01 +03:00
Bogdan Marinescu 07519d3bce Merge remote-tracking branch 'github/master' 2013-10-22 12:29:08 +03:00
Bogdan Marinescu cabc4b6b9d Remove invalid default value for '-p' in make.py
This prevented make.py from running properly.
2013-10-22 11:50:52 +03:00
Austin Mullins 081453e376 Merge remote-tracking branch 'origin/master' 2013-10-21 11:07:43 -05:00
Austin Mullins 77326cd553 Added 'macros' keyword to build_api.py to allow building USB libraries. 2013-10-21 11:05:46 -05:00
Emilio Monti 6b6bc938c5 pyOCD development moved to https://github.com/OpenHDK/pyOCD 2013-10-21 16:59:08 +01:00
Bogdan Marinescu 8557b24b61 Merge remote-tracking branch 'github/master' 2013-10-21 14:23:04 +03:00
Bogdan Marinescu 8aaa1b76a6 Added auto synchronization for the u-blox GSM modem test
Also changed the test to look more like the original VodafoneUSBModem SMS
test (added another thread).
2013-10-21 14:21:42 +03:00
Emilio Monti 38eb79e9cc Merge pull request #86 from pbrier/master
Issue #84 - Added command line source/build directory option
2013-10-21 03:33:44 -07:00
Bogdan Marinescu 1bb844c842 Added macro definition from command line
build_api.py now support macros defined at compile time, so build.py and
make.py can be used like this:

$ make.py/build.py <options> -DMACRO1 -DMACRO2=VALUE2 ...
2013-10-21 11:11:06 +03:00
pbrier 8fd42e5eda reset to original settings 2013-10-20 17:25:58 +02:00
pbrier d0306ca254 Added additional command line options for the build 2013-10-20 17:17:10 +02:00
Bogdan Marinescu ea9ba23ff5 Changed u-blox modem test
The test is not automated now, so it can be synced with the official
repository.
Also changed it to look more like the original VodafoneUSBModem test by
adding another thread in the code.
2013-10-19 00:54:32 +03:00
Bogdan Marinescu 07e003d783 Added u-blox test repository
Also, allow a repository to synchronize with more than one source
directory.
2013-10-19 00:22:46 +03:00
pbrier 43f4e42681 Added command line source/build directory option 2013-10-17 23:22:26 +02:00
Bogdan Marinescu bdf5d03ba1 Updated tests
- Vodafone tests are gone for now
- Added u-blox TCP test (UB_1) and SMS test (UB_2).
- tests can now have more than a single source directory
2013-10-17 18:57:02 +03:00
Bogdan Marinescu ce17e72891 Added cellular modem libs to sync script 2013-10-17 13:12:05 +03:00
Bogdan Marinescu 7585a23e6c Added CellularModem library, removed old VodafoneUSBModem library 2013-10-17 12:01:55 +03:00
Bogdan Marinescu 52e23e58c0 Added default path for Goanna 2013-10-16 16:35:35 +03:00
Bogdan Marinescu 62f1ac097d Integrated support for Red Lizzard's "goanna" static analysis tool
Initial support (activate with "-o analyze"). Not working well with IAR
for now (partially because of a bug in goannac++ which was reported to
Red Lizzard).
2013-10-14 17:32:41 +03:00
Stephen Paulger a34c747a21 Base DS-5 lpc11u24 project name on mbed project name 2013-10-10 11:38:02 +01:00
Stephen Paulger f7425b4e72 Base project name on mbed project name 2013-10-10 11:32:29 +01:00
Stephen Paulger f51de7be24 Add symbols 2013-10-10 11:31:42 +01:00
Stephen Paulger 3fc39b51a4 Build after project rename 2013-10-10 11:31:09 +01:00
0xc0170 122f24b83f Update: Merge branch 'master' into freedomKL46Z
Conflicts:
	workspace_tools/targets.py
2013-10-06 18:55:32 +02:00
0xc0170 5dcd8ea10e ARM (KEIL) files for KL46Z 2013-09-29 20:40:06 +02:00
Bogdan Marinescu f580c008b1 Merge pull request #78 from mconners/master
Added KL46Z support
2013-09-25 03:18:49 -07:00
Bogdan Marinescu 8f57c1e847 Merge remote-tracking branch 'github/master' 2013-09-25 10:27:17 +01:00
Bogdan Marinescu 30907d7772 Refactor LPC1114 and LPC11C24 code
Since most of the code for LPC1114 and LPC11C24 is similar, refactor the
code structure to avoid duplication of the common code.
2013-09-25 10:17:19 +01:00
Michael Conners 5bd25ac046 Added K20D5M support 2013-09-24 10:36:04 -04:00
Michael Conners afcc79ad27 Added KL46Z support 2013-09-24 10:01:06 -04:00
Emilio Monti f818f842e0 Merge pull request #77 from stephenpaulger/fix_ds5_exporters
Fixes DS5 exporters
2013-09-23 09:24:07 -07:00
Stephen Paulger dbca3abe60 Fixed ds5 lpc11u24 paths, changed to use internal builder 2013-09-23 17:20:58 +01:00
Stephen Paulger c61623cc5e Fix ds5 lpc1768 paths. Use internal builder 2013-09-23 16:51:29 +01:00
Andreas Rebert bb35d16521 Merged bugfixes and improvments for LPC1768 target to LPC4088 target 2013-09-23 11:39:52 +02:00
Joris Aerts 5b2072a2c7 Modify uVision LPC11C24 template to actually use the LPC11C24 2013-09-18 14:07:13 -07:00
Joris Aerts f9474e926e Add uVision template for LPC11C24 2013-09-18 11:43:08 -07:00
Joris Aerts 434c35c1d5 Split uVision project source files in groups mbed/hal/src
Files are grouped based on their path (mbed/common, mbed/targets, *)
Empty folders are not exported. Modified all uVision templates accordingly.
2013-09-18 10:02:40 -07:00
Joris Aerts 08f74957a4 Add missing --c99 flag to uVision LPC11U24 and LPC1347 projects
Fix indentation in other templates
2013-09-18 09:48:56 -07:00
Joris Aerts c164d0b56b Modify uVision LPC1114 template output name and directory to match others 2013-09-18 08:46:43 -07:00
Emilio Monti 26bd46f50e Add a method to the exporter to choose the toolchain. Add initial LPC812 uvision template 2013-09-17 15:56:35 +01:00
Emilio Monti 2481fbe2a2 Merge pull request #62 from arebert/lpc4088
LPC4088: PIN mode fix, export to external tools and MAC address retrieval
2013-09-13 05:59:14 -07:00
Bogdan Marinescu fc5774131c More changes to the synchronization script
1. added the possibility to redirect stderr to stdout in utils.run_cmd
2. synch.py now calls the above run_cmd in redirect mode instead of the
old 'cmd'  that doesn't intercept standard streams. This makes it easier
for an external tool to intercept the output of 'hg'.
2013-09-11 17:02:51 +03:00
Bogdan Marinescu 162aad2072 Changed do_sync do return the list of changed repositories 2013-09-11 13:10:11 +03:00
Bogdan Marinescu 5ec4edf76f Change the synch.py script to make it usable as a module 2013-09-11 12:59:28 +03:00
Bogdan Marinescu 12d085ec0a Updated synchronization script
Added persistent line endings, commit message on the command line and
"quiet" option (run without user interaction).
2013-09-10 18:27:10 +03:00
Andreas Rebert 00cfdbad2a Merge remote-tracking branch 'upstream/master' into lpc4088 2013-09-09 14:13:08 +02:00
Andreas Rebert cbab9bbfc5 Added: Export to uVision and Code Red toolchains 2013-09-09 14:12:39 +02:00
unknown 0e36bdd457 Bugfix: PIN Modes was not set correctly
Added: Export to uVision and Code Red toolchains
2013-09-09 14:10:11 +02:00
Bogdan Marinescu 95f6826196 Refactor code for LPC810/LPC812
There were lots of overlaps in the code for LPC810 and LPC812, including
duplicated source files. This commit adds a TARGET_LPC81X_COMMON folder in
both HAL and CMSIS, this folder keeps common code for the targets.
2013-09-05 19:00:19 +03:00
Bogdan Marinescu 233979e88f Merge pull request #54 from ytsuboi/master
Added LPC810 support
2013-09-05 07:00:17 -07:00
Bogdan Marinescu f813bb9382 Fix GCC interpretation of dependency file
The dependency file generated by GCC might contain more than one
dependency listed on a single line, which wasn't taken into account by the
GCC dependency fille interpreter. This commit fixes this issue.
2013-09-05 15:29:13 +03:00
ytsuboi 0718c7671a Merge remote-tracking branch 'upstream/master' 2013-09-03 19:38:34 +09:00
Bogdan Marinescu f44914d59a Merge pull request #50 from dinau/lpc2368
LPC2368 [GCC_ARM, GCC_CR]: Startup codes
2013-09-02 03:43:52 -07:00
dinau 7bcdf0b980 LPC2368 [GCC_ARM, GCC_CR]:
1. Added: GCC_CR toolchain ID for LPC2368. (targets.py)
2. Modified: Startup codes for GCC_ARM and GCC_CR toolchain.
3. Verified: "ticker" and "basic" test program works well, so far.
2013-08-31 13:33:34 +09:00
dinau 2b57e648a4 Fixed: [GCC_ARM : LPC1768] Issue ignored the linker option for _print_float and _scanf_float. 2013-08-31 11:34:53 +09:00
Bogdan Marinescu e870a90ff2 Added toolchain hooks and support for LPC4088_EA binary generation
A new hooks mechanism (hooks.py) allows various targets to customize
part(s) of the build process. This was implemented to allow generation of
custom binary images for the EA LPC4088 target, but it should be generic
enough to allow other such customizations in the future. For now, only the
'binary' step is hooked in toolchains/arm.py.
2013-08-30 12:19:08 +03:00
Bogdan Marinescu 9a270999d0 Added support for LPC11U35_401 in ARM and GCC_ARM 2013-08-27 15:19:01 +03:00
ytsuboi 8dd6bdb701 [LPC810] add LPC810 support 2013-08-24 15:49:16 +09:00
ytsuboi 9ae383f8f4 [LPC1114] fixed simple bugs on export templates 2013-08-24 11:57:44 +09:00
Adam Green 25a332d8f1 Updates to GCC warning level flags
In gcc4mbed, I have been running with "-Wall -Wextra" and then
disabling a couple of noisy warnings that result.  In particular, I
disable the unused-parameter and missing-field-initializers warnings.
The first commonly goes off for implementation of virtual methods or
other overridable functions where not all parameters are required for
every override.  I don't find the second warning to be all that useful
anyway since missing structure field initializers will be set to 0
according to the C language specification.  The RTOS code uses this
language feature and I see no reason that it shouldn't :)
2013-08-22 18:09:14 -07:00
Bogdan Marinescu 3210ac98d1 Added LPC1114 in the official release list 2013-08-19 13:51:39 +03:00
Emilio Monti b248827341 Add script to export mbed SDK tests to different IDEs 2013-08-16 16:40:53 +01:00
Bogdan Marinescu 10c7a71c92 Merge remote-tracking branch 'github/master' 2013-08-16 12:29:50 +03:00
Bogdan Marinescu a7628510f5 Added '-fno-delete-null-pointer-checks' to GCC compilation options
From Adam Green, regarding using -fno-delete-null-pointer-checks:

"I would argue that on Cortex-M processors, it is more dangerous to not
have it.  The compiler can actually generate incorrect code because it is
making an incorrect assumption (that reads from a NULL pointer will throw
an exception.)   The GCC for ARM developers should actually never enable
the delete-null-pointer-checks optimization for Cortex-M processors.
There is a comment in the GCC manual that indicates, "Some targets,
especially embedded ones, disable this option [delete-null-pointer-checks]
at all levels."  Not having this flag is pretty risky on the current
versions of GCC_ARM.  Just to clarify, this flag doesn't enable an
optimization...it disables an unsafe optimization."
2013-08-16 12:26:50 +03:00
Terry Guo a02cee9d1e A better way to find and save mbed hid devices 2013-08-16 11:18:06 +08:00
Emilio Monti 4d26e2ef4a Tidy up default settings 2013-08-15 16:09:12 +01:00
Bogdan Marinescu 44c43e6e38 Restore C++98 compilation mode
Also, remove the line that required C++11 from UDPSocket.h
2013-08-15 14:09:20 +03:00
Bogdan Marinescu 370b270848 Merge pull request #30 from pbrier/master
Experimental fix for issue #29
2013-08-15 03:24:36 -07:00
pbrier ac078485ac Compile network and RTOS with GCC_ARM 2013-08-14 22:52:16 +02:00
pbrier c0fdbede02 Compile network and RTOS with GCC_ARM 2013-08-14 22:34:33 +02:00
Bogdan Marinescu 0e013cf5c8 Added script for building an official release of the mbed library 2013-08-12 13:45:35 +03:00
Emilio Monti 0843613136 Add LPC11U24/301 TARGET 2013-08-09 17:21:03 +01:00
Emilio Monti d6c658e859 Fix targets.py formatting 2013-08-09 17:18:50 +01:00
Emilio Monti 27d07f4a1d Define all the required symbols in the generated project files 2013-08-08 16:58:37 +01:00
Emilio Monti 239a2f9adf Define all the required symbols in the generated Makefile 2013-08-08 16:39:51 +01:00
Andreas Rebert 75dba19438 Updated pin mapping and CAN HAL for LPC4088 target 2013-08-08 13:57:02 +02:00
Bogdan Marinescu 7b9081b59c Add support for calling a function before main()
Also added a test for this feature (MBED_A22).
Fixes PRMBED-906.
2013-08-07 14:51:30 +03:00
Bogdan Marinescu ad5516f898 Add test groups.
Group tests with the same functionality into groups that can be used by autotest.py.
The groups can be overriden from private_settings.py.
2013-08-07 14:51:24 +03:00
Emilio Monti 790a71b041 Merge pull request #20 from matthewelse/master
CAN-Related Pull Request
2013-08-06 07:15:15 -07:00
Emilio Monti 3c6e2ab67a Add license to workspace_tools files 2013-08-06 14:38:00 +01:00
Matthew Else f7a2be4bed Merge remote-tracking branch 'upstream/master' 2013-08-06 09:42:09 +01:00
Matthew Else ef28879863 Merged remote tracking branch 'upstream/master' 2013-08-05 17:22:01 +01:00
Matthew Else 2c45596673 Merge https://github.com/jorisa/mbed 2013-08-05 17:11:58 +01:00
Matthew Else b470ea0e73 Fixed things that shouldn't have been changed 2013-08-05 14:36:57 +01:00
0xc0170 e993e94886 Update kl25z_gcc_arm branch to latest master 2013-08-04 19:21:04 +02:00
Emilio Monti 8562b3660b Add LPC1347 export templates. Cleanup GCC toolchain check. 2013-08-02 17:56:11 +01:00
Emilio Monti 54893092c3 Merge pull request #17 from matthewelse/forpullrequest
LPC1114 Port Pull Request
2013-08-02 08:56:44 -07:00
Matthew Else 65765b6c68 Merge branch 'forpullrequest' of https://github.com/matthewelse/mbed into forpullrequest 2013-08-02 09:44:57 +01:00
Matthew Else fa19362d61 Removed non-functional LPC1347 uVision export support, and added LPC1114 support, which does work. 2013-08-02 09:44:36 +01:00
0xc0170 afab75fd01 only one flash memory (FLASH) 2013-08-02 07:14:36 +02:00
Joris Aerts 48fc1aa49d Add test case MBED_30 and MBED_31 to test CAN api 2013-08-01 17:54:13 -07:00
matthewelse c01e03c09e Tidied up one line of targets.py
Removed an extra indent.
2013-08-01 23:12:04 +01:00
matthewelse 7c2658bb60 Reverted unnecessary change to settings.py
Also keeps the GCC_ARM_PATH in keeping with the rest of the code, rather than looking out of place.
2013-08-01 23:08:53 +01:00
Matthew Else 7f736b9d19 Removed unnecessary LPC1114-specific test. 2013-08-01 23:04:13 +01:00
matthewelse 37087326f2 Reverted the change to ARM.py from dc68b76
Fixes one of Emilio's problems :D
2013-08-01 22:41:23 +01:00
Matthew Else d899612525 Merge branch 'forpullrequest' 2013-08-01 16:25:28 +01:00
Matthew Else dc68b76d0f Added timeout for i2c_stop in LPC1114 target. 2013-08-01 15:46:05 +01:00
Matthew Else 07cddbf038 Merge remote-tracking branch 'upstream/master' 2013-07-30 12:01:49 +01:00
Bogdan Marinescu 4302720e9a __cxa_pure_virtual changes
Rename stdio.cpp to retarget.cpp, since it doesn't contain only stdio-related code.
2013-07-29 19:06:14 +03:00
Bogdan Marinescu b73306bea6 tests.py: multiple changes
- Change pin assignments for KL25Z
- Two new peripherals: 24LC256 (eeprom), i2c_loop (LPC1768 only, tests communication
  between the two on-chip I2C peripherals)
- add 24LC256 to the list of automated tests (since it's currently the only
  automated I2C test)
- Tests/is_supported: if the test has an "mcu" attribute and the current target
  is not in the list of MCUs, don't include this test.
2013-07-29 19:06:03 +03:00
emimon01 1c30006043 Keep the default automated "test suite" smaller 2013-07-29 19:05:58 +03:00
Bogdan Marinescu 454ce65693 Added armcc support for STM32F407 2013-07-29 19:03:19 +03:00
Bogdan Marinescu ac2eac5a09 Interrupt chaining: preliminary version 2013-07-29 19:03:11 +03:00
Bogdan Marinescu 0ee819271d Add optional test aliases
If a "test_alias" dictionary is found in private_settings.py, it is searched for
aliases of tests for the "-n" option. For example, if the dictionary has this
association:

test_alias = { "basic" : "MBED_A1" }

you'll be able to use "-n basic" instead of "-n MBED_A1".
2013-07-29 19:00:21 +03:00
Bogdan Marinescu 8b6a294ec7 Added vector table relocation test 2013-07-29 18:59:48 +03:00
Matthew Else 200b263dcd Added basic stuff necessary to compile for LPC11C24 target. 2013-07-27 18:12:35 +01:00
Matthew Else ddbb67a996 Merge remote-tracking branch 'upstream/master' 2013-07-26 09:00:23 +01:00
Emilio Monti c241af345d Keep information about type of interface disk provided by the target board 2013-07-25 17:55:52 +01:00
Emilio Monti 003c48cd44 Use new build convention for objects path 2013-07-25 17:49:55 +01:00
Matthew Else 66dddfb747 Add support for the LPC1114 in export. 2013-07-25 13:08:04 +01:00
ytsuboi ddf19e9a4d Merge remote-tracking branch 'upstream/master' 2013-07-25 09:14:33 +09:00
Emilio Monti 76578ade26 Propagate "clean" option for library builds
Keep the server program cycle target dependent
Keep program compilation and linking separate
Compile separately sources from different directory roots
2013-07-24 17:29:11 +01:00
Matthew Else 57cbd39868 Merge remote-tracking branch 'upstream/master' 2013-07-24 14:39:53 +01:00
Emilio Monti dafcf7f82e Add support for legacy build conventions
Improve exporter test
Build the hal implementation and common sources separately to have proper
temporary relative paths
2013-07-23 17:22:57 +01:00
Matthew Else 04a368cbed Merge remote-tracking branch 'upstream/master' 2013-07-23 09:50:36 +01:00
Emilio Monti 27808da5ec Correctly wait for powerup acknowledge 2013-07-22 18:17:12 +01:00
Toyomasa Watarai 796bbbeb0d Fixed ARM/uARM build and compile error in DigitalOut.h 2013-07-20 19:46:24 +09:00
Matthew Else c703096234 Clicked the wrong button, and had to revert. 2013-07-19 14:34:44 +01:00
Matthew Else a9bb4aa5cb Lots of changes, fixing build bugs and renaming
Files renamed to fit with the new style folder structure
2013-07-19 13:59:50 +01:00
Matthew Else 18c291b7ce Added ytsuboi's modifications for using the 1114 2013-07-19 11:24:51 +01:00
Emilio Monti 091fe5c3d0 synch targets, exporters and tests 2013-07-17 14:11:54 +01:00
Emilio Monti 5020b9ad3b Stop using the patched microlib 2013-07-08 17:31:04 +01:00
Emilio Monti 170b1f8f49 fix target name 2013-07-08 15:58:15 +01:00
jesusalvarez 804176b806 Update targets and pins for LPC43xx 2013-07-07 23:27:11 -04:00
Emilio Monti 6625a4b61c remove temporary files 2013-07-04 17:34:13 +01: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
Joe Turner bd7554f6aa Add debug-info option 2013-07-03 13:20:08 +01:00
0xc0170 9ff042699b Update freedomKL05 from upstream master 2013-07-02 19:44:15 +02:00
Emilio Monti df9e56f638 Fix option append 2013-07-02 17:04:40 +01:00
Emilio Monti a19e99621f Merge branch 'master' of https://github.com/mbedmicro/mbed 2013-07-02 16:45:35 +01:00
Emilio Monti cd669a943f Add build options
Implement "save-asm" option
2013-07-02 16:43:29 +01:00