Commit Graph

1320 Commits (d8df2f25d3437fa5c4f63e003677f59c08b77c96)

Author SHA1 Message Date
Mihail Stoyanov 1490888ddb Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-11-19 14:45:49 +02:00
Mihail Stoyanov fbf08e2727 Make merging of soft device optional for FOTA platforms and change FOTA platforms to generate .hex files 2014-11-19 14:45:36 +02:00
Martin Kojtal 160b1f04b8 Merge pull request #725 from GustavWi/iar_mbed
Tools: Add defines to IAR templates
2014-11-19 03:30:43 -08:00
GustavWi 4a8685fdb6 Added defines to IAR templates 2014-11-19 11:49:24 +01:00
0xc0170 dcfa675e50 Merge branch 'NUCLEO_L152RE_exporter' of github.com:ohagendorf/mbed into ohagendorf-NUCLEO_L152RE_exporter
Conflicts:
	workspace_tools/build_travis.py
	workspace_tools/export/coide.py
2014-11-19 08:43:14 +00:00
Martin Kojtal 7ff3e68a96 Merge pull request #714 from ohagendorf/NUCLEO_F302R8_exporter_2
Tools: NUCLEO_F302R8  - exporters for gcc_arm and coide
2014-11-19 00:28:37 -08:00
Martin Kojtal eadd2013c2 Merge pull request #719 from PrzemekWirkus/host-test-improvements-part-2
Tools: Host test plugin improvements, part 2: Copy plugins
2014-11-19 00:24:28 -08:00
GustavWi 849c8742f0 IAR export LPC4088 2014-11-18 16:19:26 +01:00
GustavWi 299749f143 IAR export LPC810 + 812 2014-11-18 16:09:38 +01:00
GustavWi 82523de2c6 IAR export LPC1549 2014-11-18 16:01:34 +01:00
GustavWi d13714fb07 IAR export for LPC11XX and 11CXX 2014-11-18 15:49:23 +01:00
GustavWi b3656be310 Added IAR export for LPC11UXX 2014-11-18 14:54:40 +01:00
GustavWi 5311efaae6 Added IAR export for LPC11U68. 2014-11-18 11:15:49 +01:00
Martin Kojtal 02497b1f62 Merge pull request #708 from dinau/fixed_parallel_build_issue
Tools: Export GCC_ARM Makefile -  Refactoring makefiles templates
2014-11-18 00:03:52 -08:00
Przemek Wirkus 2ab22b1dbe Host test plugins: removed shutil.copy() dependency and added re module import - note this plugin is still unstable so change is just cosmetic 2014-11-17 16:07:18 +00:00
Przemek Wirkus 7e11ffd173 Fixed traceback from host_test_plugin - formating issue with integer 2014-11-17 15:45:10 +00:00
ohagendorf 67379da300 [NUCLEO_F302R8] exporters for gcc_arm and coide
Adding a missing line in build_release.
2014-11-16 18:29:15 +01:00
ohagendorf 42c20128a6 [NUCLEO_F302R8] exporters for gcc_arm and coide
Adds exporter for gcc_arm and coide for the NUCLEO_F302R8.
2014-11-16 18:24:57 +01:00
ohagendorf 5c36e9544f [NUCLEO_L152RE] exporters for gcc_arm and coide 2014-11-16 17:10:47 +01:00
ohagendorf 1cde3b3877 [EXPORT][GCC_ARM] additional linker option for wrap main
Most makefile templates didn't use the -Wl,--wrap,main so that
__wrap_main was not called.
2014-11-15 21:35:48 +01:00
Rohit Grover ab3fb54a15 fix a minor typo in an error message 2014-11-15 08:47:35 +00:00
dinau feae034bff [Export][GCC_ARM][Makefile][tmpl] Fixed parallel build errro and others. 2014-11-15 11:43:15 +09:00
Martin Kojtal 1cc251f8e2 Merge pull request #683 from PrzemekWirkus/cpputest-export
Tools: Update exporters' capabilities to support CppUTest project exports
2014-11-14 01:19:30 -08:00
0xc0170 67346ec8d6 Merge branch 'reorder_f3xx_2' of github.com:ohagendorf/mbed into ohagendorf-reorder_f3xx_2
Conflicts:
	workspace_tools/export/coide.py
2014-11-14 08:56:20 +00:00
Martin Kojtal 08c85ef136 Merge pull request #680 from mbrudevoldlpd/master
Platform: Add support for MultiTech mDot module
2014-11-13 08:21:18 +00:00
Michael Brudevold ae8d818927 Rename mDot to mDot F405RG to allow for variation in processor 2014-11-12 16:21:13 -06:00
Olaf Hagendorf 56af0e1621 [TARGET_DISCO_F303] reorder structure - part5
Add missing -Wl,--wrap,main linker option so that __wrap_main is called.
This function was ignored in gcc_arm and coide projects before.
2014-11-12 22:20:38 +01:00
Przemek Wirkus 858196ffff When users are using 'build only flag' (switch -O) and test do not have specified peripherals (muts.json file is just empty dictionary) we can allow test building by default. This supposed to be Yotta related improvement. 2014-11-12 18:02:07 +00:00
Michael Brudevold 52ac44b482 Move OS CLOCK rate to target define 2014-11-12 10:59:27 -06:00
Michael Brudevold cc48aa05dd Set default compiler to a valid compiler 2014-11-12 10:06:02 -06:00
Olaf Hagendorf 691f34097a [TARGET_DISCO_F303] reorder structure part4
Remove change of wrong target and add it to the wright one. Additionally
changing the CoIDE template file to the correct mcu.
2014-11-12 14:31:57 +01:00
GustavWi 857d59a6c0 Added IAR export support for NUCLEO F103RB 2014-11-12 13:31:30 +01:00
GustavWi 0deec17713 added IAR support for 1347 to build_release.py 2014-11-12 10:03:39 +01:00
Przemek Wirkus 1e73f086bc Fixed issue with compilation related to other platforms. None object was iterable. 2014-11-11 17:46:15 +00:00
Przemek Wirkus 1d5b91549e Minor changes: Removed unused import and trailing spaces 2014-11-11 16:08:13 +00:00
Przemek Wirkus a4bafa53d0 Added new functionality to project.py switch -m where we can now separate using comma platforms. Now when you specify more than one platform, for each your peoject will be exported 2014-11-11 16:04:59 +00:00
Przemek Wirkus f408c2140b Added extra includes for CPPUTEST library - in CppUTest library structure we only include from include/CppUTest and we do not use other functionality 2014-11-11 15:31:18 +00:00
Przemek Wirkus 66cd258254 Modified exporters so they support extra macros from external libraries like CppUTest library 2014-11-11 14:56:26 +00:00
Przemek Wirkus cce551af35 Added new switch to build.py script. Now we can also build CppUTest library using switch --cpputest 2014-11-11 14:49:12 +00:00
Przemek Wirkus e017463c25 Added new switch to build.py script. Now we can also build CppUTest library using switch --cpputest 2014-11-11 14:44:48 +00:00
Przemek Wirkus 77e847632e Reverted Martin's changes related to CppUTest includes 2014-11-11 14:43:07 +00:00
Michael Brudevold ec790f1a01 add mdot to builds/tests 2014-11-10 16:16:31 -06:00
Michael Brudevold 185925beec Update list of supported toolchains 2014-11-10 16:16:20 -06:00
Michael Brudevold 44b72fbb87 Support for CoIDE 2014-11-10 16:16:15 -06:00
Michael Brudevold 3f5b4b39e2 Add support for uvision 2014-11-10 16:16:11 -06:00
Michael Brudevold ac7da3e5d8 Add support for GCC ARM 2014-11-10 16:16:06 -06:00
Michael Brudevold 5d6ee64bf1 Support for MTS MDOT 2014-11-10 16:15:53 -06:00
Mihail Stoyanov 05b86e41c1 Remove duplicate target definitions 2014-11-10 18:23:09 +02:00
Martin Kojtal aab52cb7ec Merge pull request #669 from 0xc0170/fix_cpputest_testrunner
Tests: Fix cpputest testrunner
2014-11-07 15:31:22 +00:00
0xc0170 b624eda4e5 Tools: Cpputest - fix for testrunner to be exported with predefined cpputests 2014-11-07 09:22:09 +00:00
bcostm cc42c7b690 [NUCLEO_F0] Add IAR exporters 2014-11-07 09:49:42 +01:00
bcostm 5c842943da [NUCLEO_F0] Add missing files for IAR exporter 2014-11-07 09:24:57 +01:00
Bogdan Marinescu 142ad22a2f [RZ_A1H] Remove target-specific check from build system 2014-11-06 13:47:43 +00:00
Bogdan Marinescu 7b90c2ba13 Remove RZ_A1H from the list of release targets
This target is not yet tested, so it can't be released as part of the official
SDK build for now.
2014-11-06 12:55:51 +00:00
Bogdan Marinescu 45ddf10698 Proper fix for Cortex-M/Cortex-A RTOS issue
Created two new labels (CORTEX_A and CORTEX_M) that can be used to differentiate
between Cortex-A and Cortex-M code in the build system.
2014-11-06 12:54:09 +00:00
Bogdan Marinescu b5c8a23e79 Fix RTOS build options 2014-11-06 11:33:27 +00:00
Bogdan Marinescu 8724eb616b Merge pull request #594 from tkuro-rel/master
[RZ/A1H] mbed-RZ first release
2014-11-06 10:54:58 +00:00
Takayuki Kurosawa 33a843cf93 Merge remote-tracking branch 'upstream/master'
Conflicts:
	workspace_tools/targets.py
2014-11-06 16:19:35 +09:00
Toyomasa Watarai e0c00cc4ee [WALLBOT_BLE] Add new platform
* Add new platform Wallbot BLE
* Identical as nRF51822 target, but different pinout
2014-11-06 16:03:43 +09:00
bcostm dd5e093d55 [NUCLEO_L053R8] Add IAR exporter 2014-11-05 10:42:44 +01:00
Takayuki Kurosawa 2fab4af9b1 [RZ/A1H] changes copy scheme for iodefines/iobitmasks
RZ's toolchain assumes that iodefines/iobitmasks dirs. are structured real not flat.
Adds some code to toolchain::copy_files
2014-11-05 18:27:30 +09:00
Martin Kojtal 42a4935bd5 Merge pull request #647 from screamerbg/master
Tools: Restructure targets.py for easier navigation
2014-11-05 00:39:41 -08:00
ohagendorf d61817a4c8 [TARGET_DISCO_F303] reorder structure - part2
Update of mbed hal.
2014-11-05 01:11:22 +01:00
Mihail Stoyanov c75f3ac9a0 Remove "Silicon" from comments 2014-11-04 16:11:05 +02:00
Mihail Stoyanov 87c43630d0 Restructure and cleanup targets.py for easier navigation 2014-11-04 15:00:42 +02:00
Stephen Paulger 8edcefa42a LPC11U35_501 removed from uVision exporter targets
uvision4_lpc11u35_501.uvproj.tmpl is missing so the export fails.

I am removing this so that the option to export is removed.
2014-11-04 10:45:19 +00:00
ohagendorf ff48c7994b [TARGET_XXX_L053YY] filename - includename case missmatch
Changed include filename to a lower case l from higher case L because of
Windows-Linux incompatibility. Removed temporarly taget DISCO_F407VG
from build_travis so that Travis runs trough the build process.
2014-11-03 23:40:57 +01:00
0xc0170 83e066053a Merge branch 'build_travis_nucleo_l053' of github.com:ohagendorf/mbed into ohagendorf-build_travis_nucleo_l053
Conflicts:
	workspace_tools/build_travis.py
2014-11-03 10:28:29 +00:00
ohagendorf 376d2df516 [BUILD_TRAVIS.py] additional line for nucleo_l053
Adding a line for nucleo_l053 target.
2014-10-31 18:52:11 +01:00
ohagendorf d1ae7fe040 [BUILD_TRAVIS.py] additional line for disco_f334
Adding a line for disco_f334 target and adding the rtos lib to
nucleo_f334 target.
2014-10-31 18:42:47 +01:00
ohagendorf 86c54a26af [DISCO_F334C8] new target incl. rtos support
New target as a copy of nucleo_f334 with changes/additions in pin and
rtos definitions.
2014-10-31 18:14:23 +01:00
Martin Kojtal 06b9f49e50 Merge pull request #626 from ohagendorf/cmdlineoptions
Tools: Some minor changes in help text - sorting longer lists
2014-10-31 06:59:07 -07:00
Martin Kojtal e7e9dd54eb Merge pull request #625 from bcostm/master
Toolchain: NUCLEO_F334R8 - support for IAR
2014-10-31 06:40:49 -07:00
Martin Kojtal 159e424dfa Merge pull request #624 from ohagendorf/exporter_gccarm_disco_l053
Toolchain: DISCO_L053C8, NUCLEO_L053R8 - GCC ARM support
2014-10-31 06:32:48 -07:00
Martin Kojtal 6a705fdadd Merge pull request #623 from GustavWi/iar_mbed
Tools: IAR export to Kinetis targets
2014-10-31 06:17:44 -07:00
ohagendorf 113a81d312 [MAKE.py] [BUILD.py] some minor
Ordering the entries in mcu and toolchain lists when printing the help
text.
2014-10-31 13:59:26 +01:00
bcostm 5bc736defc [NUCLEO_F334R8] Add IAR exporter 2014-10-31 13:40:36 +01:00
ohagendorf 0afdcd751e [NUCLEO_L053R8][EXPORT] gcc_arm 2014-10-31 13:34:43 +01:00
ohagendorf 7b43c64da6 [DISCO_L053C8][EXPORT] gcc_arm
Added exporter for disco_l053c8
2014-10-31 13:17:23 +01:00
Bogdan Marinescu a634fa24eb Merge branch 'master' of github.com:mbedmicro/mbed 2014-10-31 11:44:03 +00:00
Bogdan Marinescu 880fda3381 Fix .hex file generation with GCC_ARM for Nordic targets 2014-10-31 10:58:49 +00:00
Richard Osterloh 1d489bc298 Added support for the STM32L0 Discovery board 2014-10-30 21:11:36 +00:00
GustavWi 92f654f525 Added IAR export support for K64F 2014-10-30 19:07:44 +01:00
GustavWi 5c5d1d3ed5 Added IAR export support for K22F 2014-10-30 18:29:24 +01:00
GustavWi f32dabadc1 Fixed bug with -DCPU_MK64FN1M0VMD12 when trying to run IAR_TOOLCHAIN 2014-10-30 18:22:04 +01:00
Przemek Wirkus 54c06c8b84 Host test plugins: Ethernet tests (NET_*) refactored to new host test copy paradigm 2014-10-30 15:22:02 +00:00
Przemek Wirkus 7646c51d7e Host test plugins: minor updates 2014-10-30 14:26:52 +00:00
GustavWi bd7ca62d01 Added IAR export KL46Z 2014-10-30 14:23:27 +01:00
GustavWi 2a2efd5d84 Added Iar support for KL05Z 2014-10-30 12:38:53 +01:00
GustavWi 22bf9b3a0a IAR support for KL25Z 2014-10-30 12:23:34 +01:00
GustavWi c3bfa3406c Added support for target K20D50M 2014-10-30 10:29:12 +01:00
Przemek Wirkus 7cc6a2bf1c Host test plugins: Modified WAIT_US_AUTO host test to take under consideration 10 consecutive timer ticks within deviation 2014-10-29 17:45:08 +00:00
Przemek Wirkus 93a87748a3 Host test plugins: bug-fix: serial_timeout was used as function name and class member. Caused runtime script problem
Host test plugins: Increased test suite timeout on each test execution twice - for now, so tests do not timeout. TODO: exclude coopy and reset procedures from testcase timeout measurement
2014-10-29 17:21:55 +00:00
Przemek Wirkus 3d4e03d0da Host test plugins: added custom serial port configuration, baudrate and timeout. This can now be done before host test will call run() function 2014-10-29 17:00:10 +00:00
Przemek Wirkus 5ef767a880 Host test plugins: Added prints to serial_init() function 2014-10-29 14:34:20 +00:00
Przemek Wirkus c4397b75b7 Host test plugins: moved program cycle sleep time to host_test - this delay is used to give time device to flash copied file 2014-10-29 14:28:02 +00:00
Martin Kojtal 5a47ce92d4 Merge pull request #613 from bcostm/master
Tools: Exporters - IAR exporter for NUCLEO_F302R8
2014-10-29 07:19:34 -07:00
Martin Kojtal f60c1161b9 Merge pull request #611 from GustavWi/iar_mbed
Tools: STM32F407 - IAR export
2014-10-29 07:03:36 -07:00
Martin Kojtal 0c68e8e25c Merge pull request #614 from Accutechs/master
Tools: HRM1017 - uvision4 and gcc-arm exporter
2014-10-29 07:02:31 -07:00
Przemek Wirkus e984b51e49 Host test plugins: removed usused extra_baud parameter from serial port initialization 2014-10-29 14:02:16 +00:00
Przemek Wirkus 7d5d0d116c Host test plugins: Bug-fix: Wrong variable was checked against None while readling line from serial port 2014-10-29 10:55:02 +00:00
Mihail Stoyanov 4dd6caa144 Build release support for nRF51-DK, nRF51-Dongle, RedBearLab BLE Nano 2014-10-29 11:26:41 +02:00
Mihail Stoyanov fcd3ac25dc Fixed the nRF51-Dongle support 2014-10-29 11:07:04 +02:00
Takayuki Kurosawa 807f031d39 [RZ/A1H] disables GCC_ARM in targets.py
GCC is not supported by now, so eliminate GCC_ARM in targets.py and fpu related settings in toolchains/gcc.py
2014-10-29 17:54:39 +09:00
Takayuki Kurosawa b8809b3e14 Merge remote-tracking branch 'upstream/master' 2014-10-29 13:24:46 +09:00
ytsuboi 57d6b1437c [HRM1017] Add uvision4 and gcc-arm exporter 2014-10-29 00:47:17 +09:00
Przemek Wirkus b3b6d848b5 Host test plugins: refactored UDP LINK LAYER testcase to use test() method instead of run() 2014-10-28 14:50:47 +00:00
Przemek Wirkus b404b21098 Host test plugins: refactored TCP ECHO SERVER testcase to use test() method instead of run() 2014-10-28 14:44:26 +00:00
Przemek Wirkus 52f0b33e7a Host test plugins: refactored UDP ECHO SERVER testcase to use test() method instead of run() 2014-10-28 14:38:15 +00:00
Przemek Wirkus c0895fdbfc Host test plugins: removed unused self.mbed.reset() call in test constructor. No need for two resets because reset is performed in run() function 2014-10-28 14:01:05 +00:00
Przemek Wirkus 00904b5f24 Host test plugins: refactored TestResults class to HostTestResults name 2014-10-28 11:44:45 +00:00
Przemek Wirkus c0134d66fb Host test plugins: run() function will just print result from test() function directly, not check boolean state from test 2014-10-28 11:40:41 +00:00
Przemek Wirkus b9cee9709e Host test plugins: Default host test aligned and refactored so it can be invoked via run() function 2014-10-28 11:36:46 +00:00
Przemek Wirkus 4f76a567f6 Host test plugins: Added extra line for error printing in mbed copy plugin. For readability reasons 2014-10-28 11:29:56 +00:00
bcostm 1005539f17 [NUCLEO_F302R8] Add IAR exporter 2014-10-28 10:17:38 +01:00
Przemek Wirkus 4d8dfed27f Host test copy functionality migration: copy functionality partially moved to host_test (tested with basic set of tests, not with e.g. NET tests.
Host test copy functionality: TODO: modify rest of host tests to use self.mbed.reset() and self.mbed.copy_image() according to curent test scipt API
2014-10-27 16:38:19 +00:00
GustavWi ed8196566f IAR export STM32F407 2014-10-27 17:23:06 +01:00
Przemek Wirkus 16dbfa3f72 Host test copy functionality migration: removed all extra port and disk functionality. It will be added when it is really needed 2014-10-27 15:51:26 +00:00
Przemek Wirkus a25f5ceaaa Host test copy functionality migration: removed all extra port and disk functionality. It will be added when it is really needed 2014-10-27 15:50:33 +00:00
Przemek Wirkus ae4be96c86 Host test copy functionality migration: added required parameters for host_test.py command line: path to image, copy method 2014-10-27 15:46:15 +00:00
Martin Kojtal 01d4b853e9 Merge pull request #608 from bcostm/master
Tools: NUCLEO_L152RE - IAR exporter
2014-10-27 06:16:42 -07:00
Przemek Wirkus 97c220d56e Host test plugins: rearranged singletest.py script parameters list so now for option -c and -r (copy method and reset method respectively) we will see plugin related options also - changed dynamicaly with plugin loads 2014-10-27 12:42:48 +00:00
bcostm ff5f397e79 [NUCLEO_L152RE] Add IAR exporter 2014-10-27 13:21:44 +01:00
Przemek Wirkus 48490022ed Host test plugins: Removed unused / not stable plugins static registration 2014-10-27 11:53:28 +00:00
Przemek Wirkus 9700aff0a6 Host test plugins: Bug-fix, notification about already loaded plugin was printed always in plugin registration 2014-10-27 11:48:30 +00:00
bcostm e363e54776 [NUCLEO_F401RE] Add IAR exporter 2014-10-27 11:20:08 +01:00
0xc0170 7abbd9c5a8 Merge branch 'host-test-plugin-improvements' of github.com:PrzemekWirkus/mbed into PrzemekWirkus-host-test-plugin-improvements
Conflicts:
	workspace_tools/host_tests/host_test.py
2014-10-27 08:08:52 +00:00
dinau b4bea06cc3 [GCC_CR] fixed issue 590
Refer to:
https://github.com/mbedmicro/mbed/issues/590
2014-10-26 00:51:59 +09:00
Martin Kojtal 3dfb033226 Merge pull request #593 from en129/forLPC824
Toolchain: LPC824 - new Toolchain support by GCC_ARM for LPC824
2014-10-24 09:12:56 +01:00
Martin Kojtal 8b967a2023 Merge pull request #592 from ohagendorf/master
Tools: build release - some missing toolchain entries for ARM GCC toolchain
2014-10-24 09:07:48 +01:00
Takayuki Kurosawa 2804d85a11 [RZ/A1H] adds A9 related MACROS 2014-10-24 13:02:26 +09:00
Takayuki Kurosawa b1cb82c520 [RZ/A1H] commit for build system changes
- add CA9 category to build.py
- add library for RTX-CA9
- add target definition for RZ/A1H
- change some test related settings for RZ/A1H
- add gcc options for CA9
2014-10-24 11:45:44 +09:00
ohagendorf 5ba726949d [BUILD_RELEASE.py] removed Discovery boards for later testing 2014-10-23 19:37:52 +02:00
Przemek Wirkus 69cc2fb86a Host test plugins: removed unused pass statement 2014-10-23 17:24:51 +01:00
Mihail Stoyanov 8949f8b036 Throw a warning when multiple scatter files are found and show their location 2014-10-23 19:21:11 +03:00
Przemek Wirkus 2f03b85bfc Host test plugins: Added generic error printing to host test plugin base class 2014-10-23 17:14:18 +01:00
Przemek Wirkus 17f42519f0 Host test plugins: Added MPS2 and Firfox copy methods (both not stable and require further development)
Host test plugins: Added 'stable' attribute to each plugin, by default all plugins are not stable

Moved all MPS2 related functions to MPS2 plugins in host test directory
2014-10-23 16:56:05 +01:00
Przemek Wirkus 6a1bdb588e Host test plugins: added copy pligins, and removed Selenium and eACommander dependency from Test API 2014-10-23 16:30:17 +01:00
Martin Kojtal 728a815b31 Merge pull request #595 from bcostm/master
Tools: NUCLEO_F411RE - Corrections in IAR icf and ewp.tmpl files
2014-10-23 14:48:12 +01:00
bcostm b6014ecfa2 [NUCLEO_F411RE] Corrections in IAR icf and ewp.tmpl files 2014-10-23 11:35:44 +02:00
Martin Kojtal 6ff7dfe464 Merge pull request #589 from molejar/dev-freescale-kl43z
Target: Freescale FRDM-KL43Z addition
2014-10-23 09:37:40 +01:00
en129 851f137f92 Add to GCC_ARM LPC824
first commit
2014-10-23 15:51:09 +09:00
ohagendorf 21ce71f724 [BUILD_RELEASE.py] some missing toolchain entries
Added some missing toolchain entries where exporters already existed.
2014-10-23 00:48:01 +02:00
Martin Olejar dcf382510c Added uvision4 and makefile templates for KL43Z. Inserted KL43Z target into travis build. 2014-10-22 19:42:07 +02:00
Przemek Wirkus efb46ca7de Host test plugins: moved serial port flashing just before plugin reset call 2014-10-22 17:49:54 +01:00
Przemek Wirkus 7591cf5caf Host test plugins: added return values to setup() and execute() interface methods 2014-10-22 16:59:07 +01:00
Przemek Wirkus 3f00c59030 Host test plugins: Added license and fxed one parsing issue 2014-10-22 15:35:36 +01:00
Przemek Wirkus 8af8250b48 Host test plugins: Cleaned preliminary code before next round of refactoring and improvements 2014-10-22 15:30:45 +01:00
Przemek Wirkus fd2142f3bf Host test plugins: First draft with working pluging for mbed (serial sendBreak command for reset) 2014-10-22 15:12:24 +01:00
Bogdan Marinescu 6577bd8e9a Merge pull request #563 from ohagendorf/cmdlineoptions4project
[PROJECT.py] some additions and minor changes to cmdline options
2014-10-22 10:24:37 +01:00
Martin Olejar ba7a631c3d Merge branch 'master' into dev-freescale-kl43z 2014-10-21 23:14:39 +02:00
GustavWi 05145251f0 added LPC1347 in export_text.py 2014-10-21 16:08:53 +01:00
GustavWi 2d0e67cf6e Added IAR Toolchain support for device LPC1347 2014-10-21 16:07:39 +01:00
GustavWi 00ca439e66 added new ewp template 2014-10-21 16:06:53 +01:00
Bogdan Marinescu 4adcf9185a Merge pull request #587 from EmBlocks/master
[export EB] GCC toolchain filter to supported target list.
2014-10-21 14:09:07 +01:00
Bogdan Marinescu a1b06cd939 Merge pull request #588 from PrzemekWirkus/host_test_OO_refactoring_part2
Host test refactoring  - part2
2014-10-21 14:05:26 +01:00
Przemek Wirkus b786c4c0f6 Minor style improvement 2014-10-21 13:53:19 +01:00
Przemek Wirkus 5bca0ab3d1 Cleaned pyFlakes issues with unused imports 2014-10-21 13:18:22 +01:00
Przemek Wirkus 3850ddc8c1 Host test refactoring: cleaned a bit functionality of host tests. Forced test() function in DefaultTest to be method returning test result 2014-10-21 13:12:32 +01:00
EmBlocks f882aceeca Added GCC toolchain filter to the target list 2014-10-21 14:11:34 +02:00
sg- 5401741e80 [mbed] Add K22F to build_release.py 2014-10-21 04:41:48 -05:00
Przemek Wirkus ad70273249 Removed opts.db_url from optional params list in singletest constructor 2014-10-20 11:38:51 +01:00
Przemek Wirkus b3c342bf7c Unlocked option -f (--filter) to filter result by first column 2014-10-20 10:51:02 +01:00
Przemek Wirkus c0ed6ba791 Disabled --db switch - reasoning: DB schema is still nto in test suite and it's not 100% ready so before I introduce MySQL DB schema officialy let's make this option dorment 2014-10-20 10:34:13 +01:00
Martin Kojtal c19ebe6e65 Merge pull request #580 from Accutechs/master
Platform: SSCI824 - New platform addition (LPC82X)
2014-10-20 08:58:38 +01:00
Martin Kojtal ea390931b7 Merge pull request #577 from PrzemekWirkus/host_test-OO-refactoring
Tools: Host test refactoring - prepare to clean up host test implementation
2014-10-20 08:50:13 +01:00
ytsuboi 9155d4204b [SSCI824] Add platform 2014-10-19 22:49:16 +09:00
Przemek Wirkus 755565d854 Host test refactoring
Host test refactoring: replaced magic values of test results returned by host test

Prints with stdout.flush() replaced with notify function

Host test refactoring: created separate enum like class for test result strings
2014-10-17 15:14:53 +01:00
Rohit Grover 0c651617eb Add v7.1.0 of the Nordic softdevice.
This is necessary in order to utilize the additional 16KB of SRAM in the updated nRF51822.
2014-10-17 10:55:12 +01:00
Martin Kojtal e142c71e57 Merge pull request #568 from ohagendorf/make_py
Tools: make.py - additional error handling when missing an option in private_setttings.py
2014-10-17 08:13:48 +02:00
Przemek Wirkus 7935e0f5ea Removed exit(-1) when checking for missing modules. Instead now it will be prompted to used when singletest starts 2014-10-16 14:34:37 +01:00
Martin Kojtal a40d0bb4ca Merge pull request #560 from dbestm/master
Targets: NUCLEO_F411RE - CMSIS files to build/export to IAR
2014-10-16 15:28:43 +02:00
Olaf Hagendorf f6117f8daf [PROJECT.py] removed the sys.exit() after cleaning 2014-10-16 12:45:46 +02:00
dbestm 0eaa7ab99a [NUCLEO_F411RE] remove iar_nucleo_f411re.ewp.tmpl.old file 2014-10-16 09:41:39 +02:00
ohagendorf 3a030d4e93 [MAKE.py] additional error handling when missing an option in private_settings.py
Adding an error handling.

make.py with the option -n PROGRAM_NAME wants to have a test_alias
variable in private_settings.py. Without this alias and with a wrong
PROGRAM_NAME an error message is generated because of a missing else
branch.
2014-10-16 09:08:19 +02:00
Martin Kojtal aec70531ad Merge pull request #562 from EmBlocks/master
Tools: Toolchain (GCC_ARM) - "-u <foo>"and "-Xlinker <foo>" intrinsic instead of two separated entities.
2014-10-16 08:05:22 +02:00
Yihui Xiong b25f2cf128 [STM32F407VG] add uARM toolchain for ARCH_MAX and DISCO_F407VG 2014-10-16 10:11:18 +08:00
ohagendorf 0791533ef2 [PROJECT.py] add option 'clean'
Adds the cmdline option clean (to clean the export folder) and some
minor things (spelling and option order).
2014-10-15 23:42:48 +02:00
ohagendorf bac84a58bd [PROJECT.py] adds cmdline option to use program_name instread of program_id 2014-10-15 23:09:30 +02:00
EmBlocks a82b29d4bd Xlinker switches as one 2014-10-15 20:50:32 +02:00
EmBlocks 5d468e002d Changing -u linker switch as one instead of multiple switches 2014-10-15 20:09:06 +02:00
Przemek Wirkus 42442233de Added new test MBED_34 to check two tickers with two detached alternately callbacks 2014-10-15 17:45:54 +01:00
Przemek Wirkus 945604e16e RTC test readline timeout increased to 10 seconds. Reason: RTC test is fail on Nucleo boards which don’t have the LSE xtal. This is because there is a timeout in the code of several seconds to wait until the LSE clock has startup. 2014-10-15 17:19:36 +01:00
Przemek Wirkus 7e5dfeef32 Refactoring of report exporter to support HTML and JUNIT. Changed HTML result report. 2014-10-15 17:02:33 +01:00
Przemek Wirkus 12a9051aba Removed few minor pyFlakes warnings 2014-10-15 16:33:30 +01:00
Przemek Wirkus 50966fdf89 Refactoring of report exporter to support HTML and JUNIT: Fixed issues with non ASCII characters read from serial port in ProcessObserver. Also changed reporting for errors and failures in TestSuite JUnit class 2014-10-15 16:05:57 +01:00
dbestm 3cc3193445 [NUCLEO_F411RE] Adapt python script + CMSIS files to build/export to IAR 2014-10-15 15:00:35 +02:00
Przemek Wirkus 2274651892 Refactoring of report exporter to support HTML and JUNIT. Added unicode encoding for strings coming from serial console 2014-10-15 13:38:20 +01:00
Przemek Wirkus 091cccaf6e Refactoring of report exporter to support HTML and JUNIT: Simple variable scope bug-fix 2014-10-15 11:36:47 +01:00
Przemek Wirkus dec97ce13e Added unicode filter to console output from MUT 2014-10-15 11:33:44 +01:00
Przemek Wirkus 7ce6287474 Refactoring of report exporter to support HTML and JUNIT. Added properties for each unique test suite. Each test suite is sorted out as different toolchain 2014-10-15 11:33:41 +01:00
Przemek Wirkus 567f4a170f Refactoring of report exporter to support HTML and JUNIT. Modified host tests to support serial and copy issues in more generic way. Copy in test suite and serial in host_test control flow. 2014-10-15 11:33:37 +01:00
Przemek Wirkus 9b0a22f1a4 Refactoring of report exporter to support HTML and JUNIT. Added failure and error tags. 2014-10-15 11:33:34 +01:00
Przemek Wirkus 51223ef6d1 Refactoring of report exporter to support HTML and JUNIT. TODO: add support for TEXT output.
Added JUtnit exporter
2014-10-15 11:33:30 +01:00
Przemek Wirkus 0100aa5732 Removed usused imports 2014-10-15 11:33:26 +01:00
Przemek Wirkus ccac8f8339 Midified way singletest script is checking for installed modules required by test suite 2014-10-15 11:33:22 +01:00
Martin Olejar 4151ca0e98 Added LPUART support and fixed a many errors in KL43Z target 2014-10-15 01:02:32 +02:00
Olaf Hagendorf 718366ba10 [PROJECT.py] sorts targets and toolchains for help option
Sorts targets and toolchains for help option and adds new option -L to
generate the list with possible projects to generate.
2014-10-14 18:04:32 +02:00
Martin Kojtal 77c1102c0f Merge pull request #556 from ohagendorf/Nucleo_F334R8
Exporters: NUCLEO_F334R8 - export to gcc_arm and coide (templates, travis addition)
2014-10-13 15:28:06 +02:00
Olaf Hagendorf 0e970af4a9 [EXPORT][NUCLEO_F334R8] Add no rtti flag to gcc_arm exporter 2014-10-13 11:59:46 +02:00
Martin Kojtal bc5397a4ce Merge pull request #555 from sg-/lpc11u24_export
Exporters: Add no rtti flag to exporters
2014-10-13 08:06:45 +02:00
Martin Olejar 1f9586daac Added spi_api.c and gcc_arm_kl43z.tmpl files. Fixed some issues in KL43Z target 2014-10-13 00:49:48 +02:00
ohagendorf 3b9fd11ee3 Merge branch 'gcc4nucleo_f334' into Nucleo_F334R8
Conflicts:
	workspace_tools/export/gccarm.py
	workspace_tools/export_test.py
2014-10-12 19:09:31 +02:00
sg- 8e5fb67c30 [export] Add no rtti flag to exporters 2014-10-10 18:01:31 -05:00
0xc0170 3b87e28eb6 Export: IAR - sources in the project file, 3 targets ewp templates 2014-10-10 10:49:42 +02:00
0xc0170 c22a653bba Export: IAR ewp template - add suffix lpc1768
- ewp file does define target, and it's set to lpc1768
2014-10-10 10:05:29 +02:00
Yihui Xiong 8383cf97d6 [DISC_F407VG & ARCH_MAX] change default toolchain 2014-10-08 10:48:27 +08:00
Marcomissyou ab92decf23 Marco add for new target DFCM_NNN40 2014-10-07 17:59:57 +08:00
Martin Kojtal 46e37048a8 Merge pull request #535 from bcostm/dev_F091RC
Platform: New platform addition - NUCLEO_F091RC
2014-10-07 09:23:49 +01:00
ohagendorf cb23f2f47d [EXPORT][NUCLEO_F334R8] removed accidentally 2 macros
The commit 'export to gcc_arm and coide' removed accidentally 2 macros
from NRF51822 and NRF51 targets.
2014-10-06 22:11:08 +02:00
bcostm 8b6ee09232 [NUCLEO_F091RC] Update python files for this target, add uVision exporter 2014-10-06 16:31:48 +02:00
Bogdan Marinescu a156b0f4f2 Merge branch 'DISCO_F429' of git://github.com/ohagendorf/mbed into ohagendorf-DISCO_F429
Conflicts:
	workspace_tools/export/gccarm.py
2014-10-06 14:33:21 +01:00
Bogdan Marinescu 43bee35a52 Keeping git happy about line endings
Not exactly sure why, but git shows diffs right after cloning
a fresh copy of the mbed repo. Definitely has something to do
with line endings, but not 100% sure why. Hopefully this will
fix things.
2014-10-06 14:28:55 +01:00
Bogdan Marinescu 101c6308b0 Merge pull request #521 from EmBlocks/master
[EXPORT] EmBlocks EIX plugin support
2014-10-06 03:16:24 -07:00
Bogdan Marinescu 9028a2a577 Merge pull request #533 from Cheong2K/master
Added RedBearLab BLE Nano board.
2014-10-06 02:58:56 -07:00
Martin Kojtal b30176a071 Merge pull request #531 from toyowata/master
Platform: LPC824 - new platform addition
2014-10-06 09:53:12 +01:00
Cheong e48d309f18 Added RedBearLab BLE Nano board. 2014-10-06 11:29:01 +08:00
ohagendorf 70eef62d9f [DISCO_F429ZI] new target with [EXPORT] to gcc_arm and CoIDE
- build and export to toolchains gcc_arm and CoIDE is OK
- compiling is OK
- mbed/blinky is OK
2014-10-05 23:05:16 +02:00
Toyomasa Watarai 685f97da37 Add LPC824 platform
LPCXpresso824-MAX support
uARM target support
RTOS support
2014-10-05 16:18:48 +09:00
Yihui Xiong 84467d593a [ARCH_MAX] add gcc project template 2014-10-04 22:01:50 +08:00
Yihui Xiong 65a41937e3 [ARCH_MAX] add uvision project template 2014-10-04 21:54:08 +08:00
ohagendorf a7a3de3f3a [EXPORT][NUCLEO_F334R8] a missing line in export/coide.py 2014-10-04 01:55:52 +02:00
ohagendorf 71f473c464 [EXPORT][NUCLEO_F334R8] export to gcc_arm and coide
- rtos library is not working because of double defined SysTick_Handler
in system_stm32f3xx.c and in rtos
- please see pullrequest #526 for a correct export
- tests are working fine:
Test summary:

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
| Result | Target        | Toolchain | Test ID   | Test Description
| Elapsed Time (sec) | Timeout (sec) | Loops |

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
| OK     | NUCLEO_F334R8 | GCC_ARM   | DTCT_1    | Simple detect test
|        0.44        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | EXAMPLE_1 | /dev/null
|        3.37        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_10   | Hello World
|        0.37        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_11   | Ticker Int
|       11.31        |       20      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_12   | C++
|        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_16   | RTC
|        4.7         |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_2    | stdio
|        0.76        |       20      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_23   | Ticker Int us
|       11.37        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_24   | Timeout Int us
|       11.41        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_25   | Time us
|       11.31        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_26   | Integer constant
division             |        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A1   | Basic
|        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A21  | Call function before
main (mbed_main) |        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A5   | DigitalIn DigitalOut
|        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A6   | DigitalInOut
|        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A7   | InterruptIn
|        9.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A9   | Serial Echo at 115200
|        5.97        |       10      |  1/1  |

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
Result: 17 OK

Completed in 125.02 sec
2014-10-04 01:45:38 +02:00
EmBlocks e57f488b53 EmBlocks EIX plugin support 2014-09-30 16:27:09 +02:00
Mihail Stoyanov dadf009f87 Add TARGET_OTA_ENABLED for targets that support OTA DFU 2014-09-30 01:40:53 +03:00
Martin Kojtal 83f9d0487a Merge pull request #517 from bcostm/tests
[Tests] Add Nucleo targets in MBED_A8 test (those having a DAC)
2014-09-29 10:02:12 -07:00
bcostm eab929a023 Remove duplicated entry 2014-09-29 10:56:06 +02:00
bcostm 98b0981fe4 Add Nucleo targets in MBED_A8 test (those having a DAC) 2014-09-29 10:41:06 +02:00
ohagendorf f11facdc63 [EXPORT][CoIDE] [DISCO_407] and [NUCLEO_F4x1] memory areas
The templates now contains the memory areas preconfigured as they are
used in linker scripts. When the CoIDE linker option 'Use memory layout
from memory window' is manually switch on the correct memory layout is
already there.
2014-09-28 14:49:57 +02:00
ohagendorf b3b70c6c0a [EXPORT][CoIDE] problem with missing linker script
- a missing linker script configures the scatter file option (linker
script path in CoIDE) to 'None' not to ''
2014-09-28 14:40:50 +02:00
Martin Kojtal 54101fc93d Merge pull request #508 from ohagendorf/develop_coide
[Export] CoIDE -  include files are in the project
2014-09-27 12:25:26 +01:00
ohagendorf ee8d3461c4 [EXPORT][CoIDE] changed virtual directory names
changed the names of virtual directories to 'sources' and 'headers'
2014-09-27 01:10:42 +02:00
Przemek Wirkus 9fe239dcad Added HTML reporting feature, switch --report-html FILENAME to singletest.py so now users can export test results to external HTML file. This feature can be used to display HTML reports on CI dashboards 2014-09-25 17:42:08 +01:00
Przemek Wirkus 95519c1334 Minor modifications to test api scripts 2014-09-25 17:42:04 +01:00
ohagendorf 83331883cc [EXPORT][CoIDE] links to include files are added to project file 2014-09-24 21:11:36 +02:00
Przemek Wirkus 0a0491cf0f Added new Unit Tests - General pool to cover common functionality and check if UT framework is working. This test pool can be extended with new tests 2014-09-24 16:22:19 +01:00
Przemek Wirkus 2ab8ad9b47 Feature: Device detection via serial - part 4
Interrupt In test pinology for NUCLEO changed
2014-09-24 14:58:14 +01:00
Przemek Wirkus da412da174 Feature: Device detection via serial - part 3 2014-09-24 14:58:10 +01:00
Przemek Wirkus 6690db1444 Feature: Device detection via serial - part 2 2014-09-24 14:58:07 +01:00
Przemek Wirkus 2e58f7922c Feature: Device detection via serial - part 1 2014-09-24 14:58:03 +01:00
Przemek Wirkus 7fb674d3e2 Added mbed_main test to automated pool 2014-09-24 14:57:59 +01:00
Przemek Wirkus e3e49cb67d Small improvements to ETH test cases - handle not open socket on host test side 2014-09-24 14:57:52 +01:00
Martin Kojtal 201bc4a190 Merge pull request #499 from ohagendorf/develop_coide
[EXPORT] NUCLEO_F4x1RE, DISCO_F407VG -  export to CoIDE
2014-09-23 08:19:14 +01:00
Przemek Wirkus 466c3b4d75 Added stdio receive time in host test prints 2014-09-22 10:43:21 +01:00
Przemek Wirkus ea59d77d85 Small improvements to RTC test to check time elapsed and if timestamp is not zero 2014-09-22 10:06:39 +01:00
sg- c4c90fe780 [mbed][exporters][k22f][gcc] Added exporters for uvision, gcc_arm, kds. Known issues are: uvision5 as K22F doesnt seem to be supported with uvision4. gcc_arm and kds - build but blinky led color doesnt behave correctly. Haven't debugged much. python project.py -m K22F -p 25 -i kds [uvision] [gcc_arm] to pick back up. 2014-09-19 18:46:22 -05:00
ohagendorf 703f8f9331 [EXPORT] [NUCLEO_F4x1RE] and [DISCO_F407VG] export to CoIDE
- export project with export_test.py
- projects can be compiled, downloaded and debugged with CoIDE 1.7.7
- STM32F411xx is not yet supported directly by CoIDE
- STM32F401RE it not supported but STM32F401RB is (differences in flash
size)
- but the generated project files for the Nucleo boards contain correct
FLASH and RAM sizes and that seems to be enough
2014-09-19 21:24:08 +02:00
Przemek Wirkus eb2153ec49 Modiffied compilation prompting to alling with linker's way of printing - now each issue will be printed in separate line with simple prefix like [DEBUG] Output: 2014-09-19 13:27:40 +01:00
Przemek Wirkus 27fa463fcf Replaced variable names as overloads like stdout, stderr to _stdout, _stderr to avoid unnecesary bugs in the future
Added linking error prints - reported by STMicro David BELLEGARDE <david.bellegarde@st.com>

Modiffied compilation prompting to alling with linker's way of printing - now each issue will be printed in separate line with simple prefix like [DEBUG] Output:
2014-09-19 11:30:55 +01:00
Bogdan Marinescu a73f28e6fb Merge pull request #494 from 0xc0170/Sissors-master
Extended #476, which does not break ethernet for K64F
2014-09-18 13:46:50 +01:00