Commit Graph

3612 Commits (9ffb355546cf8975b5c99327d8aba16d75a34bc3)

Author SHA1 Message Date
Martin Kojtal 9ffb355546 Merge pull request #949 from GustavWi/iar_mbed
IAR support LPC824
2015-03-05 14:05:06 +01:00
Martin Kojtal d6156f425b Merge pull request #946 from star297/master
Update system_MKL05Z4.c
2015-03-05 10:35:02 +01:00
GustavWi 451dc53fa5 IAR support LPC824 2015-03-04 13:49:44 +01:00
Paul Staron 94c6bdb6c7 Update system_MKL05Z4.c
Added MCU internal oscillator 12pF loading capacitors, found not to be fitted to the FRDM board.
2015-03-04 10:24:41 +00:00
Martin Kojtal 428d7e001c Merge pull request #941 from GustavWi/iar_mbed
IAR support nrf51 based boards
2015-03-04 10:48:42 +01:00
0xc0170 83f6c17514 mbed header file - mbed lib revision - 95 2015-03-03 16:29:41 +01:00
Martin Kojtal 9d2fd3e097 Merge pull request #945 from 0xc0170/fix_issue#940
Fix #940 - k64f a4/5 pinnames swap
2015-03-03 08:53:09 +01:00
0xc0170 2a1d12bcd4 Fix #940 - k64f a4/5 pinnames swap 2015-03-03 08:16:09 +01:00
Martin Kojtal 38514db08e Merge pull request #936 from jeremybrodt/issue934
Fix issue #934: Handled condition when head is NULL.
2015-03-03 08:09:58 +01:00
GustavWi 6cf9a111e3 IAR support arch_ble, delta_defcm, hrm1017, nrf51_dk, nrf51_dongle, seed_tiny_ble. 2015-03-02 10:38:46 +01:00
Martin Kojtal 088b5c41a7 Merge pull request #937 from GustavWi/iar_mbed
IAR support: Fixed stack and heap sizes for MTS DRAGONFLY and MTS MDOT F...
2015-02-28 08:06:03 +01:00
Jeremy Brodt 6bc00fda8a Improved handling of NULL condition. 2015-02-27 10:01:30 -06:00
GustavWi d8df2f25d3 Set most of the targets to a fixed heap and stack ratio relative to ram. 1/4 of ram to heap and 1/8 of ram to stack. There are some exception where the ram is small and the target support an rtos, then the heap requires more than 1/4 of RAM 2015-02-27 12:57:45 +01:00
Martin Kojtal 43d7f387ec Merge pull request #933 from masaohamanaka/master
RZ/A1H - Modify to support GCC and Fix some bugs of driver.
2015-02-27 10:55:20 +01:00
GustavWi 35258ff16b IAR support: Fixed stack and heap sizes for MTS DRAGONFLY and MTS MDOT F411RE 2015-02-26 16:46:42 +01:00
Jeremy Brodt b53b67ecad Issue #934: Handled condition when head is NULL. 2015-02-26 08:50:09 -06:00
Masao Hamanaka 74220c7896 Correct the formatting of #if. 2015-02-26 19:46:02 +09:00
Martin Kojtal 252d06bc83 Merge pull request #931 from jeremybrodt/nexttimestamp
Us ticker - add function to get the timestamp of the next us_ticker event.
2015-02-26 09:24:26 +00:00
Martin Kojtal 8895e91be3 Merge pull request #929 from PrzemekWirkus/mbed_assert_3
Test suite - mbed assert detection
2015-02-26 08:53:35 +00:00
Masao Hamanaka 6fc2d2ab43 Correct the formatting. 2015-02-26 17:02:24 +09:00
Masao Hamanaka d7bc024a6a Fix a bug that Ticker driver has the potential to loop infinitely.
Ticker driver has the potential to loop infinitely.
Because, running "us_ticker_irq_handler()" from "us_ticker_set_interrupt()" before "obj->next = p;" of "us_ticker_insert_event()" is executed.
2015-02-26 16:36:30 +09:00
Masao Hamanaka 2047acae11 Fix a bug that Serial driver would read 1Byte garbage data(0xFE).
Serial driver would read 1Byte garbage data(0xFE) at first after reset and start.
2015-02-26 16:36:04 +09:00
Masao Hamanaka 0365977217 Modify and add a file to support GCC. (mbed common codes) 2015-02-26 16:35:45 +09:00
Masao Hamanaka f6f45026f6 Modify to support GCC. (mbed CMSIS HAL) 2015-02-26 16:35:12 +09:00
Masao Hamanaka ed293575cf Modify to support GCC. (mbed HAL driver) 2015-02-26 16:33:01 +09:00
Masao Hamanaka c46f5b894b Modify to support GCC. (CMSIS-RTOS RTX for Cortex-A9) 2015-02-26 16:31:58 +09:00
Masao Hamanaka aba8a90630 Modify to support GCC. (USB) 2015-02-26 16:30:17 +09:00
Masao Hamanaka 901b06f05b Modify to support GCC. (tools files) 2015-02-26 16:28:58 +09:00
Jeremy Brodt 7020c50c56 Added function to get the timestamp of the next us_ticker event. 2015-02-24 14:25:43 -06:00
Przemek Wirkus dfa9599ded Added mbed assertion detection
Test suite will detect mbed assertion print and end test execution with MBED_ASSERT error
2015-02-24 13:46:45 +00:00
Martin Kojtal 1b2a62100a Merge pull request #905 from Willem23/master
LPC81x - Update us_ticker.c, using MRT
2015-02-24 13:36:38 +00:00
Martin Kojtal 7ae7dafa66 Merge pull request #906 from Willem23/patch-1
LPC812 - pwmout HAL implementation
2015-02-24 13:36:01 +00:00
Martin Kojtal 4e403f8715 Merge pull request #924 from GustavWi/iar_mbed
Fix #910 - debug file with predefined hardware debug settings
2015-02-24 11:18:55 +00:00
Martin Kojtal a28b361be7 Merge pull request #921 from screamerbg/master
Tools - Output extension handling and echo test improvement
2015-02-24 11:05:37 +00:00
Martin Kojtal d39e42d4cb Merge pull request #922 from masaohamanaka/master
RZ/A1H - Increase private thread num.
2015-02-23 18:20:38 +00:00
Martin Kojtal 8648ff57ea Merge pull request #925 from mbedmicro/sg--patch-1
RAM fix for nRF51822.sct, 32K version
2015-02-21 14:56:23 +00:00
Sam Grove 2de26e779e Update nRF51822.sct
FIx copy paste error in RAM size when softdevice isn't used
2015-02-20 23:41:20 -06:00
Martin Kojtal 86041dd398 Merge pull request #923 from mazgch/master
enable the additional uart 7&8 of the STM32F439 in the mbed sdk/api
2015-02-20 17:54:15 +00:00
GustavWi 5c5bf71e1d Issue #910. Added debug file with predefined hardware debug settings. When user exports to IAR the project has all the necessary settings so the user can immediately flash the program 2015-02-20 15:59:16 +01:00
mazgch 1641dd7e8d enable the additional uart 7&8 of the STM32F439 2015-02-20 13:38:11 +01:00
Masao Hamanaka 02cba63476 Increase private thread num. 2015-02-20 17:36:11 +09:00
Mihail Stoyanov 0d4c158505 A minor routine to take care of parasite symbols that may be left over in the serial read buffer. This happens when a program output wasn't terminated with new line. This also does not affect the test results. 2015-02-20 02:30:01 +02:00
Mihail Stoyanov f130a80755 When linking program define the output name based on the OUTPUT_EXT before processing linking the file. This let's any hooks to use the final output file/name.
Omit the dot before the extension for OUTPUT_EXT (all Nordic and Teensy boards);
2015-02-19 18:08:02 +02:00
Mihail Stoyanov ca4aaa2dde Removed colorama dependency. This breaks the online build system, the live exported and prevents deployment of new platforms. Rewrite the code so colors are optional and no additional modules are required for toolchains and platforms 2015-02-19 17:09:07 +02:00
Mihail Stoyanov 014b0f1ca6 Change the output extension/format for Teensy 3.1 to HEX 2015-02-19 16:46:52 +02:00
Wim 9241e5eaba Update us_ticker.c
Used precomputed variables to replace runtime mult and div in us_ticker_read().
2015-02-19 15:09:18 +01:00
Przemek Wirkus 78cc959f50 In response to: IOTSFW-325
1. Removed globaly initialized data inside class test() function
2. Removed global variables initialization dependency. Any cause some Python
   implementations and configurations to fail in runtime
3. Added info about Echo port #7 rationale.
4. Testsed with K64F and network tests:

Test summary:
+--------+--------+---------+----------------------------+--------------------+
| Result | Target | Test ID | Test Description           | Elapsed Time (sec) |
+--------+--------+---------+----------------------------+--------------------+
| OK     | K64F   | NET_1   | TCP client hello world     |        3.26        |
| OK     | K64F   | NET_13  | TCP client echo loop       |        2.05        |
| OK     | K64F   | NET_2   | NIST Internet Time Service |        3.43        |
| OK     | K64F   | NET_3   | TCP echo server            |        1.54        |
| OK     | K64F   | NET_4   | TCP echo client            |        1.54        |
| OK     | K64F   | NET_5   | UDP echo server            |        1.46        |
| OK     | K64F   | NET_6   | UDP echo client            |        1.6         |
| OK     | K64F   | NET_7   | HTTP client hello world    |        3.4         |
| OK     | K64F   | NET_8   | NTP client                 |        2.39        |
+--------+--------+---------+----------------------------+--------------------+
Result: 9 OK

Completed in 122.18 sec
2015-02-19 11:36:44 +00:00
Przemek Wirkus 4d5b8776d4 Bugfix for IOTSFW-345:
Adde missing check for optional auto_detect parameter in CLI options.

Test procedure:

* Check with mbed-ls installed:

$ singletest.py --auto -j 8
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected K64F, port: COM61, mounted: E:
Building library CMSIS (K64F, ARM)
Copy: startup_MK64F12.o
Copy: sys.o
Copy: cmsis_nvic.o
Copy: system_MK64F12.o

* Uninstall mbed-ls iools:

$ pip uninstall mbed-ls
Uninstalling mbed-ls:
  c:\python27\lib\site-packages\mbed_ls-0.1.4-py2.7.egg
  c:\python27\scripts\mbedls-script.py
  c:\python27\scripts\mbedls.exe
  c:\python27\scripts\mbedls.exe.manifest
Proceed (y/n)? y
  Successfully uninstalled mbed-ls

$ mbedls
'mbedls' is not recognized as an internal or external command,
operable program or batch file.

$ python
Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import mbed_lstools
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named mbed_lstools

* Check singletest.py work flow without mbed-ls:

$ singletest.py -i test_spec.json -M muts_all.json
Building library CMSIS (K64F, ARM)
Building library MBED (K64F, ARM)
Building project DETECT (K64F, ARM)
TargetTest::K64F::ARM::DTCT_1::Simple detect test [OK] in 0.50 of 10 sec
Building project DEV_NULL (K64F, ARM)
TargetTest::K64F::ARM::EXAMPLE_1::/dev/null [OK] in 3.49 of 20 sec
Building project HELLO (K64F, ARM)
TargetTest::K64F::ARM::MBED_10::Hello World [OK] in 0.38 of 5 sec
Building project TICKER (K64F, ARM)
TargetTest::K64F::ARM::MBED_11::Ticker Int [OK] in 11.35 of 15 sec
2015-02-19 11:16:45 +00:00
Martin Kojtal 697101564d Merge pull request #912 from Timmmm/patch-1
Fix export_test.py extra_symbols issue.
2015-02-19 10:02:30 +00:00
Przemek Wirkus 7596acd726 Fixed RTC host test (0 sec scenario):
Boolean value used to calclate single RTC test PASS / FAIL was not used to
calculate overall result.

==== ISSUE ====
The test suite treats the RTC test as successful, but test itself reports
failures. Which one is correct – does it fail or does it pass? See below:

HOST: Run test...
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 4.02 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.03 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL

{{success}}
{{end}}
Test::Output::Finish
TargetTest::ARM_MPS2_M4::ARM::MBED_16::RTC [OK] in 30.37 of 40 sec

==== FIX ====

HOST: Run test...
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 0.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL

{{failure}}
{{end}}
2015-02-18 10:19:58 +00:00