Commit Graph

454 Commits (65be1ee4a1e5212e696a4d8cab05bfc0522bb81f)

Author SHA1 Message Date
neilt6 985c40a3d9 Changed LPC11U35 online toolchain to uARM
Added the ONLINE_TOOLCHAIN tag to the LPC11U35_401 target class in order
to prevent ARM Standard from being used instead of ARM Micro.
2014-02-12 09:55:06 -07:00
Emilio Monti 641ac65ce7 Remove duplicate label (already in the target name) 2014-02-12 14:03:44 +00:00
root e04b97e6e1 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-02-12 11:43:00 +00:00
Mihail Stoyanov fc201caf64 Add preferred online toolchain flag in targets.py 2014-02-12 11:42:19 +00:00
Emilio Monti 9762d3af3b Add UBLOX_C027 to official builds 2014-02-12 11:34:06 +00:00
Emilio Monti e5ac8fed59 Update list of officially supported builds 2014-02-12 10:31:25 +00:00
Emilio Monti 0466e90b2a Merge pull request #163 from bcostm/master
Add uvision exporters for NUCLEO_L152RE/F030R8/F401RE
2014-02-11 23:01:21 +00:00
bcostm 156be94791 [NUCLEO_F401RE] Add uvision exporter + remove compilation warning 2014-02-11 21:08:36 +01:00
Emilio Monti b213992ac0 Optimize for speed 2014-02-11 17:07:29 +00:00
Emilio Monti 0b9d9ff701 Add proper support to nrfjprog interface 2014-02-11 15:54:52 +00:00
bcostm 90c261a513 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-02-11 16:50:40 +01:00
bcostm e9394fc5f5 Add exporters for NUCLEO_L152RE and F030R8 2014-02-11 16:38:37 +01:00
Mihail Stoyanov 4b49861ffb Remove "quirky" resources assignment to toolchain 2014-02-11 10:55:20 +00:00
Mihail Stoyanov 31ccf33a12 Fixed parameters of binary_hook functions 2014-02-11 10:50:16 +00:00
ytsuboi e06e842221 [LPC1549] initial commit 2014-02-11 15:54:38 +09:00
Emilio Monti 82b58af42c Merge pull request #162 from bcostm/master
[NUCLEO_F401RE] Corrections in uvision exporter, GPIOs setting and SPI.
2014-02-10 18:48:45 +00:00
Mihail Stoyanov 8c9d70d224 Changed binary naming flag to OUTPUT_NAMING; Fixed binary_hook() to use 3 params 2014-02-10 15:38:37 +00:00
bcostm 3bcee59e40 Add NUCLEO_F401RE in uvision exporter, change flash prog to stlink for F103RB 2014-02-09 21:49:55 +01:00
Emilio Monti 4b2b368a6a Fix build system merge with Nordic changes 2014-02-07 17:57:35 +00:00
Emilio Monti 90d56a0234 Fix "binary" function parameters 2014-02-07 12:10:39 +00:00
Emilio Monti acdd9db330 Throw exception if in verbose mode 2014-02-07 12:06:48 +00:00
tkuyucu f597baf35b Targets.py nrf correction 2014-02-07 12:43:25 +01:00
tkuyucu 78b141b483 Revert "Revert "Use hex delivery mode for NRF51822""
This reverts commit 5038233192.
2014-02-07 11:08:58 +01:00
tkuyucu 026b6610a8 Merge remote-tracking branch 'upstream/master'
Conflicts:
	libraries/tests/mbed/portinout/main.cpp
	libraries/tests/mbed/portout_portin/main.cpp
	libraries/tests/mbed/sd/main.cpp
	libraries/tests/mbed/spi_slave/main.cpp
	workspace_tools/targets.py
	workspace_tools/toolchains/arm.py
	workspace_tools/toolchains/gcc.py
	workspace_tools/toolchains/iar.py
2014-02-07 11:04:50 +01:00
tkuyucu 5038233192 Revert "Use hex delivery mode for NRF51822"
This reverts commit 658b18d502.
2014-02-07 09:31:34 +01:00
Mihail Stoyanov 281fcc76b6 Add 8.3 naming support for ST HDK limitations 2014-02-06 16:02:37 +00:00
root 658b18d502 Use hex delivery mode for NRF51822 2014-02-04 16:48:47 +00:00
tkuyucu cdbf4b5125 nRF51822 class is changed to NRF51822 2014-02-03 17:02:28 +01:00
Mihail Stoyanov f52cd0ef20 Changed class name of Ublox C027 because it conflicts with the C027 library 2014-02-01 18:16:36 +00:00
Mihail Stoyanov 2a9c94e9ac Fixed nRF51822 class name (always use upper case) 2014-01-31 16:57:43 +00:00
Bogdan Marinescu f2e1518220 Merge branch 'master' of git://github.com/Sissors/mbed into Sissors-master
Conflicts:
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/analogin_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/analogout_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/gpio_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/i2c_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/pinmap.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL05Z/pwmout_api.c
2014-01-31 11:46:22 +02:00
Bogdan Marinescu 6e82b54538 Merge branch 'c027_lpc1768_refactor' of git://github.com/sg-/mbed into sg--c027_lpc1768_refactor
Conflicts:
	workspace_tools/export/uvision4.py
2014-01-30 11:31:56 +02:00
sg- f1fa9a0c25 Added support for C027. Small re-factor to LPC1768 to accommodate this. 2014-01-28 20:44:32 -06:00
Sissors 2c2bf35a77 Refactored KLXX code
See description. Everything HAL wise went into KLXX, with target
specific in subfolders. Only interrupt and spi are in target specific
since they are target specific.

Also you cannot set the uart anymore for 9 or 10 databits (the code
supported it to set it like that, but the actually read/write only did
8-bits)
2014-01-28 18:57:07 +01:00
0xc0170 178f881566 KL05Z/LPC1768 coide tmpl, KL05Z GCC warnings fixed
- LPC1768 - coide has issues with CMSIS-DAP debugging, already reported.
	  Added this template but not enabled yet.
	- KL05Z export for coide
	- KL05Z - supressed warnings in HAL
2014-01-27 20:37:58 +01:00
0xc0170 ef94bdf041 project path in -L 2014-01-27 19:24:50 +01:00
0xc0170 91cab7dcfb [fix] coide and c++ libraries correction 2014-01-27 19:18:48 +01:00
Bogdan Marinescu 84a8f2bcd4 Remove not validated targets from build_release.py 2014-01-27 17:29:54 +02:00
Bogdan Marinescu 07709e2f97 Concatenated binary generation
Generate a concatenated binary image that has both the SoftDevice code and the
user code in a single binary file. NOT TESTED.
2014-01-22 18:14:04 +00:00
bcostm 0af4419c74 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-01-20 18:09:48 +01:00
Bogdan Marinescu 3f5c551d0a [nRF51822] Change image generation mechanism
- The final image is now generated at "binary" step, which is compatible with
  the on-line build system structure
- The SoftDevice image is appended to the application code, resulting in a
  single .hex image file
- Python is used for merging and generating .hex files using the 'intelhex'
  module, no more dependencies on external tools
2014-01-14 19:15:31 +02:00
0xc0170 38f24228db file type support 2014-01-12 11:34:35 +01:00
0xc0170 9fe172d939 libraries addition, link command correction 2014-01-12 11:17:21 +01:00
0xc0170 df403f2430 Initial commit - CoIDE for KL25Z 2014-01-12 09:03:46 +01:00
bcostm 7d145c8dc4 [NUCLEO_L152RE] Add first files (gpio, pinmap, us_ticker) 2014-01-10 17:46:18 +01:00
Andreas Rebert 3157d5afb2 [LPC4088] Making it possible to reserve stack space by weak function. 2014-01-09 08:51:30 +01:00
tkuyucu 694f9c726c fixes and updates after the mbed unit tests have been carried out. 2014-01-08 11:14:19 +01:00
Bogdan Marinescu b5527ca74d [LPC4088] Switch to 'hard' FP ABI on GCC
This is consistent with the armcc compilation options.
2014-01-07 15:57:52 +02:00
0xc0170 63526032d9 K20D5M flash algo for template 2013-12-26 09:03:19 +01:00
0xc0170 6aa237fad2 K20D5M exporters for uVision and ARM GCC 2013-12-25 20:29:34 +01:00
0xc0170 c9a029ce6f Merge branch 'master' into K20D50 2013-12-23 20:01:05 +01:00
Bogdan Marinescu e162e96245 Always use the local version of workspace_tools
This ensures compatibility with the mbed-tools package.
2013-12-19 15:02:57 +02:00
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