Commit Graph

9877 Commits (f527ff95ab57a5399a3e138c934536deda3056d5)

Author SHA1 Message Date
bcostm f527ff95ab Add support to L4 targets. 2017-02-20 11:19:53 +01:00
bcostm caef97c5e6 Add support to F7 targets. 2017-02-20 11:19:53 +01:00
bcostm 0c4688e7e8 Add support to F4 targets. 2017-02-20 11:19:53 +01:00
bcostm b6b21672e8 Add F3 differences. 2017-02-20 11:19:53 +01:00
bcostm 0fd596e0ab Add can_device.h for F2 targets 2017-02-20 11:19:53 +01:00
bcostm 1f47619e82 Add F2 differences. Mainly add support for CAN2 instance. 2017-02-20 11:19:53 +01:00
bcostm 5fa0c4e172 Remove can_api.c file for F1 targets 2017-02-20 11:19:53 +01:00
bcostm 311648ab6c Add F1 differences.
Create can_device.h files to define specific code for the STM32 family
2017-02-20 11:19:53 +01:00
bcostm 45c7e0dca9 Initial commit: copy can_api.c from F0 target 2017-02-20 11:19:53 +01:00
Sam Grove 7fc73e42f2 Merge pull request #3781 from geky/lwip-dtls-speed
lwip: Added delay to dtls handshake test to compensate for local network
2017-02-17 09:20:58 -06:00
Sam Grove 2a331143c8 Merge pull request #3772 from Ingramz/master
Improve readability of USBHID related descriptors
2017-02-17 09:20:42 -06:00
Sam Grove 9ea5702634 Merge pull request #3765 from theotherjimmy/remove-zip-dupes
Remove duplicate files in zipped exports
2017-02-17 09:19:12 -06:00
Sam Grove a7c2e1ec5f Merge pull request #3761 from AnotherButler/patch-2
Delete exporters.md
2017-02-17 09:17:57 -06:00
Sam Grove cfa27dfcb0 Merge pull request #3757 from 0xc0170/fix_ncs36510_lpticker
ncs36510: lp ticker - remove unused header file inclusion (sleep)
2017-02-17 09:17:35 -06:00
Sam Grove 02f6cd0f5c Merge pull request #3754 from mikaleppanen/lwip_send_filter
Added filter to send minus events to lwip adaptation
2017-02-17 09:16:39 -06:00
Sam Grove a0b2984280 Merge pull request #3752 from YarivCol/patch-1
fix in mbed_error_vfprintf
2017-02-17 09:13:58 -06:00
Sam Grove 825f9a4bc9 Merge pull request #3749 from c1728p9/linker_script_updates
Linker script updates
2017-02-17 09:13:16 -06:00
Sam Grove 75560f3121 Merge pull request #3745 from theotherjimmy/ld-flags-once-make
Pass linker flags to the linker only once
2017-02-17 09:12:40 -06:00
Sam Grove 99dda9a60b Merge pull request #3740 from jeromecoutant/PR_L4_RTC
STM32L4 HAL update for RTC Wake Up Timer
2017-02-17 09:12:01 -06:00
Sam Grove 69de788f94 Merge pull request #3712 from JojoS62/enable-GCC_CR-in-memmap
add GCC_CR as toolchain for memmap
2017-02-17 09:11:22 -06:00
Sam Grove ff043cb811 Merge pull request #3561 from ilg-ul/master
Add GNU ARM Eclipse exporter
2017-02-17 09:10:13 -06:00
Sam Grove 769712f2f3 Merge pull request #3517 from hasnainvirk/ONME_2927
[ONME-2927] Socket adaptation layer for nanostack
2017-02-17 09:09:13 -06:00
Christopher Haster 64ccff3fe1 lwip: Added delay to dtls handshake test to compensate for local network
The speed of packets on the local network exceeds even the speed of
the ethernet hardware on some of the less powerful devices. Adding
a small delay which can be expected from a real DTLS handshake prevents
this condition from occuring.
2017-02-15 12:38:05 -06:00
Indrek Ardel 29d5ebbb61 Improve readability of USBHID related descriptors 2017-02-14 14:56:51 +02:00
Liviu Ionescu 14ffc2511e Merge remote-tracking branch 'ARMmbed/master' 2017-02-14 14:05:37 +02:00
Jimmy Brisson 467bac1997 Remove duplicate files in zipped exports
The zipping function of the exporters would unconditionally add all
files scanned by scan resources to a zip, including all of the files
associated with each feature. This would conflict with
`build_api.scan_resources` adding all of the files to the resources
object that correspond to the enabled features. To resolve this
difference in behavior, I made the zipping function oblivious to
features and had the upper level function, which has access to the
target configuration, do the proper merging.
2017-02-13 15:12:58 -06:00
Amanda Butler 67bf9b27d1 Delete exporters.md
Delete page because duplicate exists in Handbook - https://docs.mbed.com/docs/mbed-os-handbook/en/latest/advanced/exporters/
2017-02-13 11:09:07 -06:00
Sam Grove 21b91c794e Merge pull request #3753 from AnotherButler/patch-2
Delete build_profiles.md
2017-02-13 10:14:39 -06:00
Sam Grove e22f26ffa4 Merge pull request #3663 from helmut64/STM32L4_deepsleep_fix
Fixed a problem that the STOP2 was falling back to STOP1
2017-02-13 10:12:30 -06:00
Sam Grove d8151d7991 Merge pull request #3590 from OpenNuvoton/nuvoton
[NUC472/M453] Export IAR project and other bugfixes
2017-02-13 10:12:02 -06:00
Hasnain Virk 1ac5700eb6 [ONME-2953 ]Minor glitch in error handling
In sendto(), memory allocation failures were mistakenly being treated as
would blocks (assumption was that the device might be able to recover).
However, that put the blocking socket into deep sleep and there was no mechanism to wake it up
ever again. Somehow that got slipped through testing. Fixed in this amenment
2017-02-13 16:37:12 +02:00
0xc0170 2898199ccd ncs36510: lp ticker - remove unused header file inclusion (sleep) 2017-02-13 13:17:05 +00:00
Hasnain Virk 1f24533847 Minor amendments
NanostackLockGuard usage is now consistent throughout.
Missing Lock assertion added at a few locations in the code
2017-02-13 11:13:56 +02:00
Mika Leppänen 46396da1cf Added filter to send minus events to lwip adaptation 2017-02-13 09:50:38 +02:00
Amanda Butler a02e5eecc8 Delete build_profiles.md
Delete page because duplicate exists in Handbook
2017-02-12 19:58:31 -06:00
YarivCol 2c6eba35c2 fix in mbed_error_vfprintf
MBED_CONF_PLATFORM_STDIO_CONVERT_NEWLINES was not used in mbed_error_vfprintf causing wrong behavior when the option was selected (no new line is some terminals like putty).
2017-02-13 00:54:51 +02:00
Seppo Takalo 7dc2dc8c66 Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from a1982c1..e125164
e125164 Check secure session pointer in timer callback (#61)
f49e596 Update unit tests (#59)
6a5634a Support for multiple virtual services (#58)
7fe6b98 Remove yotta files (#57)
5c5c8fe Fix socket send return value overflow (#56)
0870d05 Update unit test stubs to match latest socket api (#55)
e687be8 Merge pull request #54 from ARMmbed/warn_fixes
b8fe613 updated unittests
8640d05 Compilation warnings fixed
eea83e5 Flag out entropy source addition (#53)
7d72eb4 Fix unittests (#52)
4a6991e Avoid referencing ns_msghdr_t::flags

git-subtree-dir: features/nanostack/FEATURE_NANOSTACK/coap-service
git-subtree-split: e1251645d38d5b1b90350957f0e8b66e0fb59235
2017-02-12 22:06:41 +02:00
Seppo Takalo 667006e1ba Nanostack 6.0.1 2017-02-12 22:05:33 +02:00
Hasnain Virk e4f91cd0dc [ONME-2927] Socket adaptation layer for nanostack
As a result of major overhaul in Nanostack generally for socket API and especially
for TCP, the adaptation layer for mbed-OS is being upgraded.

Previously, as nanostack was not able to provide receive queue, adaptation layer had been
faking it. Now with Stream Socket by default Nanostack provides 2K receive queue and 2K send queue.
Receive queue size can be changed using setsockopt(). Batre metal nanostack would not provide with any
receive queues with Datagram Socket, however in this adaptation layer we introduce a 2K receive queue size
for the Datagram Socket as well.

Layer state machine handling is polished to ensure robustness.

::socket_connect() will can return 2 new error codes now. NSAPI_ERROR_ALREADY (like posix EALREADY) in case
if the connection is in progress or NSAPI_ERROR_IS_CONNECTED (like posix EISCONN) if already connected.
NSAPI_ERROR_WOULDBLOCK is now mapped directly to nanostack NS_WOULDBLOCK.

NanostackLockGaurd class is introduced which enables us to claim and release mutex using RAII style.
2017-02-12 22:05:26 +02:00
Russ Butler bcab66c26d Update Odin linker scripts for bootloader
Add MBED_APP_START and MBED_APP_SIZE to the Odin's linker script
so the start and size of an image can be specified. This allows the
ROM to be split into a bootloader region and an application region.
2017-02-10 18:29:01 -06:00
Russ Butler ca8873b160 Update stm32f429 linker scripts for bootloader
Add MBED_APP_START and MBED_APP_SIZE to the stm32f429's linker script
so the start and size of an image can be specified. This allows the
ROM to be split into a bootloader region and an application region.
2017-02-10 18:28:59 -06:00
Russ Butler 579b2fbe40 Update K64F linker scripts for bootloader support
Add MBED_APP_START and MBED_APP_SIZE to the K64F's linker script
so the start and size of an image can be specified. This allows the
ROM to be split into a bootloader region and an application region.
2017-02-10 18:28:58 -06:00
Sam Grove aa6d673d70 Merge pull request #3734 from ARMmbed/revert-3684-TARGET_STM_USB_CONFIG
Revert "Target stm usb config"
2017-02-10 11:48:44 -06:00
Jimmy Brisson 7d75e277e7 Pass linker flags to the linker only once
Before, `make_gcc_arm` would export a makefile with both linker flags in
the `$(LD)` make variable and the `$(LD_FLAGS)` make variable. This only
affected GCC based makefiles, as the `$(LD)` make variable would only
contain the linker for both ARMC5 and IAR. This patch enforces the
`$(LD)` behavior of ARMC5 and IAR on all of the compilers by truncating
`$(LD)` to just the command
2017-02-10 11:28:02 -06:00
jeromecoutant 2433b1ad95 STM32L4 HAL update for RTC Wake Up Timer 2017-02-10 16:26:10 +01:00
Sam Grove ec329be6f2 Revert "Target stm usb config" 2017-02-09 15:37:19 -06:00
Liviu Ionescu 47b164b00b Merge remote-tracking branch 'ARMmbed/master' 2017-02-09 19:11:44 +02:00
Liviu Ionescu 9101ea4da5 add --launcher.suppressErrors for headless Eclipse 2017-02-09 19:11:28 +02:00
Sam Grove 29cfee4ae7 Merge pull request #3708 from OpenNuvoton/nuvoton_usb
[NUC472/M453] Fix USB EP setting error in USBAudio
2017-02-09 10:05:54 -06:00
Sam Grove 9ae6f7aa49 Merge pull request #3730 from c1728p9/redirect_support
Add redirect support to toolchains
2017-02-09 09:51:32 -06:00