Commit Graph

7639 Commits (9803b62b4d135048b228bb48b6a3f8faf621f693)

Author SHA1 Message Date
Vincent Coubard 9803b62b4d Makes flush of IOs at exit configurable.
This change allows program which doesn't use the IO subsystem to
completelly get rid of it in the binary generated.

IO's are still flushed by default but it can be overriden in
configuration.
2016-09-19 10:33:48 +01:00
Bogdan Marinescu 7669d7f8f5 Merge pull request #2691 from ARMmbed/no_custom_targets
Removed custom targets from config system
2016-09-14 14:41:31 +03:00
Martin Kojtal 21a2123aad Merge pull request #2669 from andreaslarssonublox/updated_master
Target - Add u-blox C029 target
2016-09-14 10:35:22 +01:00
Martin Kojtal e014b0f502 Merge pull request #2522 from svastm/cthunk_cm7
Add CThunk for CM7
2016-09-14 08:19:08 +01:00
svastm af0f7e3376 Change cthunk implementation + cm7 support
- Add support of cortex-M7 for cthunk.
- Change the cthunk trampoline implementation to safer and quicker
solutions:
 * thumb2, the behaviour was undefined. new implementation use now 2
instructions
 * thumb, The new implementation use 3 instructions instead of 6.
2016-09-13 15:45:58 +02:00
Bogdan Marinescu 8852b2edec Removed hidden argument to set_targets_json_location
The previous code used a variable that was internal to the Target class.
This commit removes the argument to `set_targets_json_location`
completely, which forces Target to use the default locatio internally.
2016-09-13 16:45:32 +03:00
Martin Kojtal 24e1218da7 Merge pull request #2648 from jeromecoutant/PR_8K_RAM
Disable RTOS tests for STM32 8K targets
2016-09-13 14:21:49 +01:00
Bogdan Marinescu d7899b4b2b Removed custom targets from config system
Custom targets were the origin of a number of issues with the mbed
tools, so it was decided that they need to be removed. This PR does just
that (and moves the "custom_targets" part of the config system tests
into a separate, per-test "targets.json" file to preserve the test
functionality).
2016-09-13 15:54:44 +03:00
Sam Grove dd5649d92b Merge pull request #2678 from bridadan/fix-ncs36510-linux-compile
Fixing NCS36510 compile on Linux
2016-09-13 01:03:22 -05:00
Brian Daniels a929bbb161 Fixing NCS36510 compile on Linux
There was a case sensitivity issue when compiling the NCS36510 on Linux.
This commit changes the include directive to the proper case.
2016-09-12 23:10:13 -05:00
andreas.larsson dba6278dfe Aligned with STM32F429 2016-09-12 16:09:09 +02:00
andreas.larsson c3022ff456 Fixed wrong RAM start and added NVIC start. 2016-09-12 15:55:38 +02:00
andreas.larsson ca99c3325f Fixed wrong flash size. Fixed duplicate RW_IRAM1 region. 2016-09-12 15:54:19 +02:00
andreas.larsson 173486fac0 Added u-blox C029 target 2016-09-12 13:41:38 +02:00
jeromecoutant c3b9a74463 travis: revove rtos support for NUCLEO_L053R8 2016-09-12 12:54:00 +02:00
jeromecoutant 2d2a4bcf4b 8K RAM target is too small for RTOS support 2016-09-12 11:49:43 +02:00
jeromecoutant 787a21fbd0 Disable RTOS tests for STM32 8K targets
8K RAM target is too small for
"NUCLEO_L031K6"
"NUCLEO_L053R8"
"DISCO_L053C8"
"NUCLEO_F030R8"
2016-09-12 11:48:02 +02:00
Sam Grove e9d0fbd178 Merge pull request #2604 from tung7970/fix-tools
Tools - Fix fill section size variation
2016-09-10 16:22:00 -05:00
Sam Grove c3737b4f7a Merge pull request #2593 from ConorPKeegan/devel_app_config_switch
Add app config command line switch for test and make
2016-09-10 14:30:38 -05:00
Sam Grove 582da03312 Merge pull request #2589 from OpenNuvoton/ccli8
[NUC472] Fix heap configuration error with armcc
2016-09-10 13:08:47 -05:00
Sam Grove 5c30c0f166 Merge pull request #2594 from svastm/fix_tcp_server_constructor
Fix TCPServer constructor
2016-09-10 13:04:55 -05:00
Sam Grove b2ce50a8d3 Merge pull request #2596 from neilt6/neilt6-memory-tracer-patch
[HAL] Improve memory tracer
2016-09-10 11:42:04 -05:00
Sam Grove fe8bd7df2e Merge pull request #2597 from neilt6/neilt6-critical-patch
[HAL] Fixed "intrinsic is deprecated" warnings
2016-09-10 11:35:51 -05:00
Sam Grove 8d5424347e Merge pull request #2615 from bcc6/master
[MTM_MTCONNECT04S] Added support for MTM_MTCONNECT04S
2016-09-10 11:34:44 -05:00
Sam Grove f6d7ee8d20 Merge pull request #2617 from bcostm/serialfc_F2
STM32F2xx - Enable Serial Flow Control
2016-09-10 11:22:56 -05:00
Sam Grove 9ac62947d8 Merge pull request #2623 from bcostm/serialfc_L4
DISCO_L476VG - Add Serial Flow Control pins + add SERIAL_FC macro
2016-09-10 11:14:09 -05:00
Conor Keegan ac51eb6638 Add unit tests for app_config 2016-09-10 15:29:19 +01:00
Conor Keegan aafcf55407 Add app config switch to options.py and make.py 2016-09-10 15:29:19 +01:00
Conor Keegan 7c72a22508 Add test command switch for app config file 2016-09-10 15:29:19 +01:00
Sam Grove 5b90bf7b1d Merge pull request #2624 from simonqhughes/master
CFSTORE Bugfix for realloc() moving KV area and cfstore_file_t data structures not being updated correctly
2016-09-10 07:26:41 -05:00
Sam Grove da5a19f149 Merge pull request #2630 from sarahmarshy/patch-4
Test names not dependent on disk location of root
2016-09-10 07:25:04 -05:00
Sam Grove bf363195e3 Merge pull request #2633 from neilt6/usbdevice-callback-patch
Updated USBDevice to use Callback
2016-09-10 07:24:36 -05:00
Sam Grove bb8ad21c67 Merge pull request #2634 from neilt6/usbdevice-os-patch
Updated USBHost for library changes
2016-09-10 07:24:08 -05:00
Sam Grove 18ef4280bc Merge pull request #2645 from bcostm/mbed5_nucleo-f446ze
NUCLEO_F446ZE - Enable mbed5 release version
2016-09-10 07:22:45 -05:00
Sam Grove f1dd45954a Merge pull request #2654 from TsungtaWu/master
DELTA_DFBM_NQ620 platform porting
2016-09-10 07:21:02 -05:00
Sam Grove 3cbfbbf3fd Merge pull request #2657 from jeremybrodt/serial_mod
[MAX326xx] Removed echoing of characters and carriage return.
2016-09-10 07:18:18 -05:00
Sam Grove 3806c8713b Merge pull request #2559 from pan-/utest_globals_optimizations
[utest]: Allow the linker to remove any part of utest if not used
2016-09-10 07:16:34 -05:00
Sam Grove c1ee7fb494 Merge pull request #2504 from ohagendorf/disco_f769_ii
[Disco_F769NI] adding new target
2016-09-10 07:16:21 -05:00
Sam Grove 7198385e43 Merge pull request #2514 from NXPmicro/Updated_Drivers
Updated FlexCan and SAI SDK drivers
2016-09-10 07:14:57 -05:00
Sam Grove a35cd7f81f Merge pull request #2579 from geky/nsapi-max-socket-accept
lwip - Fix handling of max sockets in socket_accept
2016-09-10 07:11:20 -05:00
Sam Grove fb7ffcb5a3 Merge pull request #2580 from geky/nsapi-bind-again
lwip - Add check for previously-bound socket
2016-09-10 07:10:45 -05:00
Sam Grove c518a61be6 Merge pull request #2582 from toyowata/master
[GCC_CR] fix runtime hang for baremetal build
2016-09-10 07:10:08 -05:00
Sam Grove e39932c4b6 Merge pull request #2584 from c1728p9/array_size_count
Set size of callback irq array to IrqCnt
2016-09-10 07:08:07 -05:00
OzzySan b5b6fdc6dc [MTM_MTCONNECT04S] Added gcc_arm template for export. 2016-09-10 15:54:44 +08:00
Tony Wu c50b5c6651 Tools - Fix fill section size variation
The linking order of object files affects the actual code placement,
which in turn affects the size of fill section due to the number of
zeros required to maintain appropriate data/code alignment may change.
This is observed when building on Mac and Linux host.

example: mbed compile -m K64F -t GCC_ARM (build 1)
+---------------------+-------+-------+-------+
| Module              | .text | .data |  .bss |
+---------------------+-------+-------+-------+
| Fill                |   120 |     4 |  2381 |
| Misc                | 28755 |  2216 |    84 |
| features/frameworks |  4236 |    52 |   744 |
| hal/common          |  2745 |     4 |   325 |
| hal/targets         | 12116 |    12 |   200 |
| rtos/rtos           |   119 |     4 |     0 |
| rtos/rtx            |  5721 |    20 |  6786 |
| Subtotals           | 53812 |  2312 | 10520 |
+---------------------+-------+-------+-------+

example: mbed compile -m K64F -t GCC_ARM (build 2)
+---------------------+-------+-------+-------+
| Module              | .text | .data |  .bss |
+---------------------+-------+-------+-------+
| Fill                |   128 |     4 |  2381 |
| Misc                | 28755 |  2216 |    84 |
| features/frameworks |  4236 |    52 |   744 |
| hal/common          |  2745 |     4 |   325 |
| hal/targets         | 12116 |    12 |   200 |
| rtos/rtos           |   119 |     4 |     0 |
| rtos/rtx            |  5721 |    20 |  6786 |
| Subtotals           | 53820 |  2312 | 10520 |
+---------------------+-------+-------+-------+

This patch fixes fill section size variation by sorting object
files before passing to linker.

Signed-off-by: Tony Wu <tung7970@gmail.com>
2016-09-10 08:30:01 +08:00
Sam Grove 7dd1b04c2e Merge pull request #2651 from svastm/fix_lp_timer_test
Use lp_timer to count time in the deepsleep tests
2016-09-09 18:02:10 -05:00
Sam Grove 14f5647d62 Merge pull request #2643 from c1728p9/fix_thread_self_termination
Fix thread self termination
2016-09-09 18:01:38 -05:00
Sam Grove 5ba3ab70c9 Merge pull request #2613 from bridadan/find-tests-directory-fix
Correctly providing directories to build_apis
2016-09-09 18:01:22 -05:00
Sam Grove ae35faec24 Merge pull request #2601 from radhika-raghavendran/master
Adding ON Semiconductor copyright notice to source and header files.
2016-09-09 18:00:53 -05:00
Sam Grove 9514f1ddc9 Merge pull request #2587 from maclobdell/master
add PTEx pins as option for SPI on Hexiwear - for SD Card Interface
2016-09-09 18:00:39 -05:00