Commit Graph

9590 Commits (mbed-os-5.3)

Author SHA1 Message Date
Sarah Marsh d60a8f56a5 Fix issue with unrecognized uvision file types 2016-12-19 14:32:00 +00:00
Michel Jaouen 3bb437debc build_travis.py : update for STM support 2016-12-19 14:31:57 +00:00
Michel Jaouen 2dae65a886 USBHAL.h : fix indentation 2016-12-19 14:31:55 +00:00
Michel Jaouen 2f3a3da00b USBAudio , USBSerial :fix call back 2016-12-19 14:31:54 +00:00
Michel Jaouen 408e92139c TARGET_STM32F4: USB with STM HAL for NUCLEO_F401RE, NUCLEO_F429ZI, NUCLEO_F446ZE, DISCO_F407VG, NUCLEO_F411RE 2016-12-19 14:31:52 +00:00
Michel Jaouen ea02d38b9f TARGET_STM : USB FS device support on ST HAL 2016-12-19 14:31:51 +00:00
Michel Jaouen 5fafb73a29 TARGET_STM : USB FS STM HAL changes 2016-12-19 14:31:49 +00:00
Michel Jaouen 98d8acb6c8 DISCO_L476VG : align memory mapping with ARM 2016-12-19 14:31:47 +00:00
Michel Jaouen e566f711a6 DISCO_L476VG: modify clock for USB support 2016-12-19 14:31:46 +00:00
Anna Bridge c3b9436e12 Update README.md to link to the set of release notes
Instead of referencing a specific release version here, thus negating the need to update this readme for every minor release.
2016-12-15 18:20:15 +00:00
Anna Bridge 532da7133f Merge pull request #3433 from ARMmbed/release-candidate
Update MBED_LIBRARY_VERSION to 131 and mbed version macros for mbed-os-5.3.0
2016-12-13 12:10:04 +00:00
Anna Bridge 6ba2f959e7 Update MBED_LIBRARY_VERSION to 131 and mbed version macros for the
mbed-os 5.3.0 release.
2016-12-13 10:43:34 +00:00
Martin Kojtal 7b974cac65 Merge pull request #3394 from ARMmbed/release-candidate
Release candidate for mbed-os-5.3.0-rc3
2016-12-08 13:35:38 +01:00
Bogdan Marinescu acc5f68b9f Don't send events on close()
It's currently possible to generate a socket event when a non-blocking socket is closed:

1. _pending is set to 0 in https://github.com/ARMmbed/mbed-os/blob/master/features/netsocket/TCPSocket.cpp#L22
   when the socket is created.
2. close() calls event() in https://github.com/ARMmbed/mbed-os/blob/master/features/netsocket/Socket.cpp#L66
3. event() increments _pending, and since _pending is 1 it will call _callback() in https://github.com/ARMmbed/mbed-os/blob/master/features/netsocket/TCPSocket.cpp#L167

However, if send() (for example) is called, this can happen:

- send() is called and sets _pending to 0.
- when the data is sent, event() is called, which sets _pending to 1 and calls _callback().
- if close() is called at this point, there won't be an event generated for close() anymore,
  since _pending will be set to 2.

Same thing for recv. Also, same thing for TCPServer and UDPSocket.

This PR changes the initial value of _pending to 1 instead of 0, so that
events are never generated for close().
2016-12-08 10:48:54 +00:00
Martin Kojtal a359a56655 Fix DEBUG target keyword for GCC_ARM
Fixes mbed-cli#402 bug. -g flag was changed to g3, thus this caused
a regression in producing TARGET_DEBUG for GCC_ARM.
2016-12-08 10:48:53 +00:00
Martin Kojtal 503262c91b Merge pull request #3361 from ARMmbed/release-candidate
Release candidate for mbed-os-5.3.0-rc2
2016-12-05 12:54:11 +01:00
Mohammad Azim Khan 9d8155641e Removing target EFM32GG_STK3700 from uvisor examples 2016-12-02 16:09:32 +00:00
Mohammad Azim Khan 994f628a4d Removing target EFM32GG_STK3700 from uvisor examples 2016-12-02 16:09:30 +00:00
Mohammad Azim Khan 0972811f76 Added examples uvisor-thread and uvisor-number-store 2016-12-02 16:09:28 +00:00
Mika Leppänen 9290b531ff Added clearing of ipv6 addresses to lwip bringdown function 2016-12-02 16:09:27 +00:00
Seppo Takalo 4f23ce5aab Rename timeout.c to not collide with Timeout.cpp
IAR builds put all object files in same directory, so same
prefix is not allowed.
2016-12-02 16:09:25 +00:00
Simon Hughes f894040082 CFSTORE issue 3327: fix to build CFSTORE SRAM mode (disabling flash storage). 2016-12-02 16:09:24 +00:00
Anna Bridge fc1f439161 Merge pull request #3323 from andreaslarssonublox/ublox_odin_w2_drivers_update
u-blox ODIN-W2 drivers update
2016-11-25 13:27:26 +00:00
Martin Kojtal 464f04c6ba Merge pull request #3147 from bulislaw/wifi_test
Add new WiFi tests
2016-11-24 17:45:37 +00:00
Anna Bridge fd7d5eca14 Merge pull request #3270 from AlessandroA/update_uvisor
uVisor: Update to v0.26.1
2016-11-24 13:22:14 +00:00
Martin Kojtal 082159ff18 Merge pull request #3300 from geky/events-fix-unchain
events - Fix unchaining of event queues
2016-11-23 18:20:28 +00:00
andreas.larsson 9abb7c3777 Updated ARM binary 2016-11-23 17:39:28 +01:00
andreas.larsson 4648ec606b Added updated drivers for GCC, IAR 2016-11-23 15:18:17 +01:00
andreas.larsson c2d09bd6a2 Fixed wrong start params to cbMAIN_startWlan 2016-11-23 11:38:35 +01:00
Martin Kojtal d60f424a7e Merge pull request #3256 from NXPmicro/Include_stddef
Kinetis SDK: Include stddef.h to fix build errors seen when including…
2016-11-22 22:20:29 +00:00
Martin Kojtal 905a173a7a Merge pull request #3268 from NXPmicro/Coding_Convention_Changes
Coding convention changes
2016-11-22 22:18:41 +00:00
Martin Kojtal 9fdf7f775f Merge pull request #3295 from geky/gcc-g3
Add '-g3' flag to gcc debug flags
2016-11-22 22:14:20 +00:00
Martin Kojtal d215e4fa63 Merge pull request #3307 from theotherjimmy/import-sys-in-config
Add sys import to config
2016-11-22 22:13:43 +00:00
Russ Butler f843d49247 Merge pull request #3267 from SeppoTakalo/mesh_refactor
ONME-2857: Ethernet interface for Nanostack
2016-11-22 12:59:50 -05:00
Alessandro Angelino 1321e12eca uVisor: Update to v0.26.1 2016-11-22 17:24:05 +00:00
Martin Kojtal f4007e296d Merge pull request #3284 from geky/move-emac-api
Move emac_api.h to the appropriate folder
2016-11-21 23:24:08 +00:00
Martin Kojtal 7f44dee6d1 Merge pull request #3278 from bcostm/nucleo-f103rb_ctsrts_pins
NUCLEO_F103RB - Add RTS/CTS pins for Serial Flow Control
2016-11-21 23:22:41 +00:00
Martin Kojtal f7068eb57a Merge pull request #3279 from yanesca/mbedtls-hardware-acceleration-configuration
Move crypto hardware acceleration configuration.
2016-11-21 23:22:16 +00:00
Martin Kojtal f6022e7b8f Merge pull request #3282 from c1728p9/fix_nvic
Ensure isr cannot occur after NVIC_DisableIRQ
2016-11-21 23:21:06 +00:00
Martin Kojtal e07fcda4d0 Merge pull request #3287 from sg-/make-build
Unify output directory for mbed-cli and exporters
2016-11-21 23:19:42 +00:00
Martin Kojtal a987cc0bee Merge pull request #3271 from ARMmbed/odin_wifi_default_on
WiFi: Make WiFi default networking interface on Odin board
2016-11-21 23:19:02 +00:00
Martin Kojtal 4638cea1b2 Merge pull request #3297 from Mizuho32/master-greentea_client-mutex
added static specifer in green_metrics.cpp
2016-11-21 23:17:47 +00:00
Christopher Haster 87a1cfee42 Added equeue tests to travis CI 2016-11-21 12:48:16 -06:00
Christopher Haster d513587806 events - Fixed unchaining of event queues
The equeue_chain function is supposed to unchain the event queue
from whatever queue it is chained to when passed a null target.
Internally, this is accomplished by just calling equeue_background
with null and letting the previously registered update function
clean up the chaining.

However, equeue_chain did not appropriately check for null, causing
it to unnecessarily allocate memory and leaving the update function
in a bad state. Fixed with a simple null check.
2016-11-21 12:25:48 -06:00
Jimmy Brisson 27f7aeef47 Add sys import to config 2016-11-21 11:26:21 -06:00
Mizuho 56d71a429e added static specifer in green_metrics.cpp 2016-11-19 08:17:05 +09:00
Christopher Haster 83e5f272f6 Added '-g3' flag to gcc debug flags
Includes extra information, such as all the macro definitions present
in the program
2016-11-18 14:45:59 -06:00
Janos Follath e9144ad771 Apply new naming convention to mbed TLS macros 2016-11-18 15:01:01 +00:00
Janos Follath 9137574e4d Move mbed TLS configuration symbol to macro section
The configuration option for the mbed TLS specific hardware acceleration
has to be in the macro section and not in the device capabilities
section in targets.json.

The option has also been renamed to better reflect its function.
2016-11-18 09:55:16 +00:00
Sam Grove f0e3ff4909 [exporters] update makefile build output directory to match mbed-cli and use the special reserved folder BUILD 2016-11-18 00:25:01 -06:00