Commit Graph

1023 Commits (2fdc494f4171108e71b7560c009925fa9675658b)

Author SHA1 Message Date
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
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