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