Commit Graph

8395 Commits (7e99a75f1d30fa2cb1714942cc65e3328c181ac1)

Author SHA1 Message Date
Martin Kojtal cca026dc6d WiFiInterface - revert removal of connect method 2016-09-30 19:07:43 +01:00
Martin Kojtal 56a223e3f4 emac interface - typedef should be available for non-emac targets
As it's required by lwip_bringup function
2016-09-30 19:06:02 +01:00
Jimmy Brisson 7348b0131b Add Debug or Release to labels depending on flags
This is a policy decision and it should /really/ be in the config system
ATM it's here for backward compatibility
2016-09-30 13:01:16 -05:00
Martin Kojtal 63f0ff1b49 NetworkInterface: remove dhcp and static ip methods
These use cases are already supported by NetworkInterface class via
set_dhcp, and set_network.
2016-09-30 18:47:18 +01:00
Martin Kojtal 0fe1246bf4 WiFiInterface - remove data arguments
Callback class provides API to support class callbacks.
2016-09-30 18:47:07 +01:00
Sarah Marsh 3cf4d02293 [Eclipse] pyocd settings renamed 2016-09-30 10:15:26 -05:00
Bogdan Marinescu 53218f9be8 Include events library headers in mbed.h
The inclusion is conditioned by the presence of the events library
(`MBED_CONF_EVENTS_PRESENT`). This ensures backward compatibility with
SDK builds.
2016-09-30 17:12:00 +03:00
Bogdan Marinescu f16342f321 Removed allocate_failure_test1 from equeue tests
This tests doesn't run on some MCUs with low RAM. According to @geky:

"We may want to omit this test (allocate_failure_test1) for now. It has
had other problems such as overflowing stacks, and allocation failure is
also tested by allocate_failure_test2."
2016-09-30 17:01:23 +03:00
Seppo Takalo bdfa22a6e6 Update CONTRIBUTING.md 2016-09-30 16:20:25 +03:00
Seppo Takalo 6ba8068c62 Allow mesh-api to configure routing. 2016-09-30 15:53:46 +03:00
Martin Kojtal e7b7fecc47 NetworkInterface: fix start_dhcp argument type 2016-09-30 11:33:35 +01:00
Andres AG d6f40b6e89 Port mbedTLS entropy and sha selftest to mbedOS 2016-09-30 11:24:49 +01:00
Martin Kojtal ebe02274ff NetworkInterface- fix comments for dhcp and ip methods 2016-09-30 11:10:59 +01:00
Martin Kojtal e31f198810 lwip_stack: remove emac int enable/disable functions
Already done in emac interface.
2016-09-30 10:59:27 +01:00
Martin Kojtal ad8b52fe85 EthernetInterface: revert unrelated changes 2016-09-30 10:48:22 +01:00
Martin Kojtal 372f8e4a8c lwip stack: dhcp in bringup not done for emac targets 2016-09-30 09:59:48 +01:00
Martin Kojtal bad51a56a1 targets: remove emac for k64f, not supported yet 2016-09-30 09:42:14 +01:00
Martin Kojtal 961cde39af WiFiInterface: change variables to protected
A wifi instance should be able to set those data.
2016-09-30 08:51:21 +01:00
Martin Kojtal 7c8afa91fb IPStackInterface: removal of this layer
Use NetworkInterface that defines the same API (extended to cover some additional
requirements that comes from wifi).
2016-09-30 08:48:09 +01:00
Javier Gomez Moreno 99ac966825 Merge branch 'feature-detailed-memap' of https://github.com/javier-moreno-tridonic-com/mbed-os into feature-detailed-memap
# Conflicts:
#	tools/memap.py
2016-09-30 08:47:47 +02:00
Javier Gomez Moreno e0e25c1bed The parameter is now stored in an object variable instead of a global variable 2016-09-30 08:45:20 +02:00
Christopher Haster c18e1786cd callback - Updated tests based on argument order 2016-09-29 16:55:49 -05:00
Christopher Haster f8917e1cd9 callback - Removed problematic callback overloads
Unfortunately, it is very difficult to infer the parameters of
function-objects generically in C++03 without any additional type
information. The current implementation fails to do so, and the compiler
simply bails with "unable to deduce template parameter".

Rather than leaving the user with a small novel of error messages, this
patch removes the problematic callback overloads, leaving only callback
overloads for the original pointer types.
2016-09-29 16:30:49 -05:00
Brian Daniels 69448d7d8d Copying main config json file for mbed lib builds 2016-09-29 16:08:16 -05:00
Bogdan Marinescu 0abd141bf9 A few improvements to the events documentation 2016-09-29 20:48:21 +03:00
Bogdan Marinescu 8545bf1212 Added initial documentation for the event loop 2016-09-29 19:47:32 +03:00
Martin Kojtal 780ec1ebe4 eth arch: duplication of declarations removal 2016-09-29 17:36:15 +01:00
Bogdan Marinescu e7abc11f59 Added mbed-events library
Added mbed-events from https://github.com/ARMMbed/mbed-events. Changes
from upstream:

- the whole code is licensed under the Apache license. Sources and
  headers were updates with this information.
- removed the porting layers for Windows and FreeRTOS and the references
  to these porting layers in equeue_platform.h.
- moved the TESTS directory in mbed-events to the TESTS directory of
  mbed-os.
2016-09-29 18:44:09 +03:00
Jimmy Brisson 73e811a9a0 Fix style of implementation of toolchain profiles 2016-09-29 10:20:05 -05:00
Jimmy Brisson c86ad6646d Add documentation of the Toolchain Profile system 2016-09-29 10:20:05 -05:00
Jimmy Brisson fd04ea2125 Added property based regression test to travis 2016-09-29 10:20:05 -05:00
Jimmy Brisson d88852d150 Replace -o with profiles 2016-09-29 10:20:05 -05:00
Jimmy Brisson df32effd8a Add profiles for default, nanolib, and debug 2016-09-29 10:20:03 -05:00
Martin Kojtal ac8f5d1b8c eth arch: missing endif fix 2016-09-29 14:44:53 +01:00
Martin Kojtal d40c19bc73 lwipstack: add start dhcp and static ip functions 2016-09-29 14:44:03 +01:00
Martin Kojtal 1b797bbd16 EthernetInterface: ctor uses connect() method 2016-09-29 14:38:45 +01:00
Seppo Takalo bf8d8211fa Update Nanostack binaries to 5.0.6 2016-09-29 14:31:19 +03:00
Seppo Takalo cbce88d422 [ONME-2736] Macro Def. of 6LP-ND Security Mode
* Application has been using MBED_MESH_API_6LOWPAN_ND_SECURITY_MODE as the macro to define Secuity mode.
* The fall back mechanism, in case of absence of neo or yotta macro definition, was setting the macro to
  be yotta format which was not used at all in the application.
* The bug was fixed by changing YOTTA_CFG_MBED_MESH_API_6LOWPAN_ND_SECURITY_MODE to
  MBED_MESH_API_6LOWPAN_ND_SECURITY_MODE in the fall back mechanism.
2016-09-29 14:11:02 +03:00
Seppo Takalo 822567bfa1 Initialize mac_api only once. 2016-09-29 14:06:49 +03:00
andreas.larsson f8ad018e14 Added 2016-09-29 12:01:35 +01:00
andreas.larsson 31a1a7fe9b Fixed bug in packetIndication for packetInfo->rxData + use mutexes + cleanup 2016-09-29 11:57:15 +01:00
andreas.larsson 841c9b5809 Fixed missing timeout argument for lwip_start_dhcp 2016-09-29 11:57:14 +01:00
andreas.larsson 6040561841 Added start_dhcp and start_static_ip 2016-09-29 11:54:50 +01:00
andreas.larsson 8af75511ca Removed check since the interface is not fully up yet so we can't block DHCP/ARP 2016-09-29 11:54:12 +01:00
Bartek Szatkowski f122695fd3 WiFi: Decuple IP stack bringup and IP address provisioning 2016-09-29 11:54:10 +01:00
Bartek Szatkowski c80641fe11 EMAC: Fix "#if DEVICE_EMAC " usage 2016-09-29 11:52:43 +01:00
Seppo Takalo f91d8eb4c3 Add Nanostack configurations 2016-09-29 13:52:15 +03:00
andreas.larsson 2ce9039a1a Added wifi_emac_api.cpp 2016-09-29 11:51:44 +01:00
andreas.larsson b07d60259a Added missing ; 2016-09-29 11:51:37 +01:00
andreas.larsson 40cd23c4f7 Added pointer for wifi_ap_t in wifi_connect_cb_t to be able to use NULL 2016-09-29 11:51:35 +01:00