Sam Grove
fbce4e18b2
Merge pull request #2853 from bridadan/examples-toolchain-filtering
...
[Tests] Example build toolchain filtering
2016-09-28 15:30:55 -07:00
Sam Grove
48ac4aec25
Merge pull request #2830 from jeromecoutant/PR_L073RZ
...
[STM32L073RZ] update OS5 RTOS tests
2016-09-28 15:00:27 -07:00
Sam Grove
9e1b53f6d3
Merge pull request #2851 from geky/callback-function-objects
...
callback - Add size-limited function-object overloads to Callback
2016-09-28 15:00:09 -07:00
Sam Grove
6856a892ef
Merge pull request #2841 from javier-moreno-tridonic-com/fix-border-router-shudown-reconections
...
Fixed assert failure on reconections
2016-09-28 14:59:52 -07:00
Sam Grove
ab3e77f50a
Merge pull request #2826 from jeromecoutant/PR_F410RB_THREAD
...
[STM32F410RB] update OS5 RTOS thread test
2016-09-28 14:59:29 -07:00
Sam Grove
7608401f2b
Merge pull request #2810 from toyowata/master
...
[LPC1347] Fix PwmOut prescaler for 16-bit timer
2016-09-28 14:58:55 -07:00
Sam Grove
28a4b3e03a
Merge pull request #2781 from jeromecoutant/PR_RTOS_Tests_clean
...
Clean RTOS tests after PR #2648
2016-09-28 14:58:43 -07:00
Sam Grove
3d1531fcb1
Merge pull request #2767 from mikaleppanen/lwip_2_0
...
Replace lwIP 1.4.1 with lwIP 2.0
2016-09-28 14:58:22 -07:00
Sam Grove
3f9a04ceca
Merge pull request #2760 from svastm/lp_timer_f4
...
STM32F4 - Add low power timer
2016-09-28 14:57:31 -07:00
Brian Daniels
1448aa5770
Limiting uvisor example to just GCC_ARM toolchain
2016-09-28 13:09:11 -05:00
Brian Daniels
53ecfdb856
Adding the ability to filter examples by toolchains
...
This change was driven by the fact that certain
examples only support a subset of the toolchains.
2016-09-28 13:04:14 -05:00
Christopher Haster
161a2ec259
callback - Added size-limited function-object overloads to Callback
...
The callback class can now accept generalized function-objects:
class Thing {
public:
int value;
void operator()() {
printf("hi! %d\n", value);
}
};
Callback<void()> cb(Thing(2));
However, with the intention of avoiding implicit dynamic-memory
allocations, the Callback class is limited to a single word of storage.
Exceeding this size will eliminate the function-object type from the
overload set and fail to compile.
Effort was invested to make this situation very clear to the user. Here
is an example error message with noise removed:
[ERROR] ./main.cpp: In function 'int main()':
./mbed-os/hal/api/Ticker.h:101:10: note:
no known conversion for argument 1 from 'BigFunc' to 'mbed::Callback<void()>'
The real benefit of this change is the ability for users to hook into
the attributes of the Callback class. This mostly allows lifetime
management of the function-objects from third-party libraries (such as
the Event class from mbed-events).
Note: The convenient `callback` function may become ambiguous if
provided with a type that defines multiple incompatible `operator()`
member functions.
2016-09-28 12:23:29 -05:00
Christopher Haster
804a621231
callback - Moved internal dispatch mechanism to generated op-table
...
This allows additional attributes to be attached to the internally
generated type such as move and destructor operations with no increase
in RAM footprint.
The current overloads can't take advantage of this, but it does open
the possibility for more powerful overloads that can provide these
additional attributes.
Changes to mbed-os memory consumption:
.text .data .bss
before 57887 2292 7692
after 57842 2292 7691
2016-09-28 12:23:24 -05:00
Sam Grove
b481da44e9
Merge pull request #2843 from andresag01/update_mbedtls
...
Update feature/mbedtls with mbedtls' development HEAD
2016-09-28 06:48:24 -07:00
Andres AG
11ee1de620
Update feature/mbedtls with mbedtls' development HEAD
2016-09-28 09:26:02 +01:00
javier-moreno-tridonic-com
51fd80bb63
Fixed assert failure on reconections
...
When the border router is switched off, the several retries will end up triggering the asserts in NanostackSocket::open. This is caused because socket_tbl elements, are never set to NULL.
2016-09-28 09:59:12 +02:00
svastm
0766d39746
STM32F4 - Enable the low power timer
...
Enable the low power timer for the following targets:
- NUCLEO_F411RE
- NUCLEO_F401RE
- DISCO_F429ZI
- NUCLEO_F446RE
- NUCLEO_F410RB
- DISCO_F469NI
- NUCLEO_F446ZE
- B86B_F446VE
2016-09-28 09:36:37 +02:00
svastm
21b11a26ec
STM32F4 - Add low power timer
2016-09-28 09:31:03 +02:00
Mika Leppänen
e5c291d347
Added version to nsapi get host by name
2016-09-28 08:48:45 +03:00
Mika Leppänen
1f98cc3d54
Corrected tcp socket send
2016-09-28 08:48:45 +03:00
Mika Leppänen
95383dde32
Added ipv6 support to lwip dns adaptation and updated dchp functionality
2016-09-28 08:48:45 +03:00
Mika Leppänen
283ee52228
Added lwip status parameter
2016-09-28 08:48:45 +03:00
Mika Leppänen
0a88251b6c
Declare heap ourselves to specify section
2016-09-28 08:48:45 +03:00
Mika Leppänen
1d2130f032
Updated STM mac for lwip 2.0 and IPv6.
2016-09-28 08:48:44 +03:00
Mika Leppänen
a349c1123c
Updated VK_RZ_A1H mac for lwip 2.0 and IPv6.
2016-09-28 08:48:44 +03:00
Mika Leppänen
c61973c954
Updated RZ_A1H mac for lwip 2.0 and IPv6
2016-09-28 08:48:44 +03:00
Mika Leppänen
f270fcbd12
Updated LPC17 mac for lwip 2.0 and IPv6
2016-09-28 08:48:44 +03:00
Mika Leppänen
f4e76bb704
Updated NUC472 mac for lwip 2.0 and IPv6
2016-09-28 08:48:44 +03:00
Mika Leppänen
2bad43d7ca
Corrected K66F and K64F drivers to make "or" operation instead of "and" when multicast
...
group address is added to filter.
2016-09-28 08:48:43 +03:00
Mika Leppänen
bb50717dc3
Updated lwip API and configuration files to lwip 2.0
2016-09-28 08:48:43 +03:00
Mika Leppänen
5f7a953325
K64F: Use older multicast filtering API
2016-09-28 08:48:43 +03:00
Mika Leppänen
2f9c5e92ef
Updated K64F mac for lwip 2.0 and IPv6
2016-09-28 08:48:43 +03:00
Mika Leppänen
98c452dafb
Added json configuration file and mbed ignore file to lwip stack.
2016-09-28 08:48:43 +03:00
Mika Leppänen
052d994f10
lwip 2.0 https://github.com/ARMmbed/lwip
2016-09-28 08:48:10 +03:00
Mika Leppänen
ded3211e0b
Squashed 'features/net/FEATURE_IPV4/lwip-interface/lwip/' content from commit d7a6c6d
...
git-subtree-dir: features/net/FEATURE_IPV4/lwip-interface/lwip
git-subtree-split: d7a6c6d768a300917c489e7b48d3708260926f20
2016-09-28 08:48:10 +03:00
Mika Leppänen
66f9ecd758
Delete previous lwIP
...
Leave an empty space for fresh subtree
2016-09-28 08:44:01 +03:00
Sam Grove
58c12f19b2
Merge pull request #2824 from jeromecoutant/PR_F429ZI_SP
...
[STM32F429ZI] INITIAL_SP correction
2016-09-27 21:56:24 -07:00
Sam Grove
24f76f1f68
Merge pull request #2821 from jeromecoutant/PR_STM32F091RC
...
[STM32F091RC] patch for tests-mbedmicro-rtos-mbed-threads
2016-09-27 21:55:20 -07:00
Sam Grove
75cf25056c
Merge pull request #2818 from pan-/fix_test_tools_warnings
...
TESTS TOOLS - fix warnings
2016-09-27 21:54:53 -07:00
Sam Grove
4a6558083e
Merge pull request #2814 from bcostm/adcintch_F3
...
STM32F3xx - Add support of ADC internal channels
2016-09-27 21:54:27 -07:00
Sam Grove
f22d5a7415
Merge pull request #2811 from bcostm/fix_sw4stm32_exporter_fpu
...
Fix sw4stm32 exporter fpu
2016-09-27 21:54:10 -07:00
Sam Grove
f6ba3faced
Merge pull request #2793 from akselsm/efm32-baudrate-fix
...
[EFM32] Set default baud rate to 115200.
2016-09-27 21:53:48 -07:00
Sam Grove
681cff8010
Merge pull request #2785 from pan-/remove_warnings_from_nordic_target
...
TARGET_NRF - Remove warnings from nordic target.
2016-09-27 21:53:28 -07:00
Sam Grove
816f028c5a
Merge pull request #2756 from theotherjimmy/export-bld-dir
...
exporters - Add .bld directories to exported project
2016-09-27 21:52:57 -07:00
Sam Grove
d204d69003
Merge pull request #2749 from bcostm/serialFC_disco-f746ng
...
DISCO_F746NG - Add Serial Flow Control pins
2016-09-27 21:52:37 -07:00
Sam Grove
50c30d384d
Merge pull request #2741 from pan-/conf_flush_at_exit
...
Add configuration for IO flushing during exit.
2016-09-27 21:52:13 -07:00
Sam Grove
5ef720246b
Merge pull request #2726 from jeromecoutant/PR_NUCLEO_F207ZG_D11
...
[NUCLEO_F207ZG] Conflict with Arduino D11 and Ethernet port
2016-09-27 21:51:48 -07:00
Sam Grove
d6b422bd50
Merge pull request #1696 from zolkko/master
...
STM32: Clear epComplete flag if a packet has been handled in the callback
2016-09-27 21:51:17 -07:00
Sam Grove
66329c4e71
Merge pull request #2827 from MultiTechSystems/xdot-add-release
...
include MultiTech xDot in mbed 5 releases
2016-09-27 18:42:58 -07:00
Mike Fiore
7b2942157a
[XDOT_L151] add IAR support
2016-09-27 16:09:15 -05:00