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
samux
a7d3226554
pyOCD: fix CDBGPWRUPACK - CSYSPWRUPACK
2013-07-02 14:40:51 +01:00
0xc0170
ed200183d0
RTC OSC32, systemUpdate v0.1
...
- RTC clock init from crystal, tested
- system update function
- startup - handler PORTB correction
2013-07-01 21:32:22 +02:00
Bogdan Marinescu
39f4d26896
Added I2C master/slave test to the list of tests
2013-07-01 16:29:38 +01:00
0xc0170
cd5d235e2b
Merge branch 'master' into freedomKL05
...
Conflicts:
workspace_tools/targets.py
workspace_tools/tests.py
2013-06-29 07:53:32 +02:00
emilmont
b464564dc1
Avoid including two times the same set of directories
2013-06-28 21:05:27 +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
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
b1ef7a99e0
merge LPC43xx port from Micromint
2013-06-25 10:46:14 +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
984ba4b113
Refactor the build system:
...
* add sets of TARGET and TOOLCHAIN "labels"
2013-06-24 14:32:08 +01:00
0xc0170
8a41a5ba9a
KL05 analog in+out, gpio irq
...
- AnalogIn
- AnalogOut
- GPIO irq
- target KL05 added
2013-06-23 18:22:46 +02: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