Mika Leppänen
41c647b1c9
Added hex dump tracing to ipv6, ipv4 and ppp modules
2017-08-22 10:17:21 +03:00
Mika Leppänen
23f8ac903e
Removed random and tcp_isn modules header dependencies to lwip conf
2017-08-22 10:17:20 +03:00
Mika Leppänen
5fdd7239d9
Corrections to lwip ipv6 neighbor discovery
...
Merged lwip 2.0.2 stable path 1 from https://github.com/ARMmbed/lwip
Patch allows lwip to do autonomous address configuration for prefixes
that are not on-link.
ad7cf16 Add David's IPv6 improvements to CHANGELOG
af9d783 Fix (bogus) MSVC 2010 warning about uninitialized variable usage in ip6.c It's wrong because the variables are initialized during first loop iteration due to best_addr == NULL
68358d7 nd6: cull destination cache on router removal
7323fa1 nd6: some work on basic RFC 4861 compliance
10eb2ca ip6: improve source address selection
6c06ecd ip6/nd6: route using on-link prefixes, not addresses
9f1714d nd6: improve router selection
2486b41 netif: more ip6 state changes invoke status callback
519d809 nd6: fix Duplicate Address Detection
9f3c6dd nd6: check link status before sending packets
8c761a2 nd6: improve address autoconfiguration support
2017-08-22 10:17:20 +03:00
ccli8
d22d086a87
[M487] Add SPI pins for test code
2017-08-22 11:00:29 +08:00
ccli8
478a1b62ea
[NUC472/M453] Support USB device/host for chip series
...
With this fix, USB support is not limited to one target.
2017-08-22 09:30:23 +08:00
ccli8
cacc444b73
[M487] Support USB device/host
2017-08-22 09:27:31 +08:00
Jimmy Brisson
a457fe3bdd
Merge pull request #4908 from geky/fs-reformat
...
fs: Add FileSystem::reformat
2017-08-21 10:38:00 -05:00
Jimmy Brisson
4c13b6606c
Merge pull request #4844 from geky/bd-profiling-bd
...
bd: Add ProfilingBlockDevice for measuring higher-level applications
2017-08-21 10:36:01 -05:00
Antti Yli-Tokola
83f7301800
Updating mbed-coap to version 4.0.9
...
Fixes error reported in Github.
- https://github.com/ARMmbed/mbed-coap/issues/24
- https://github.com/ARMmbed/mbed-os/issues/4374
2017-08-21 11:21:40 +03:00
Jaeden Amero
bea62d6b8c
mbedtls: STM32F439xI: Don't enable AES acceleration by default
...
STM32F439xI-family AES hardware acceleration occasionally produces
incorrect output (https://github.com/ARMmbed/mbed-os/issues/4928 ).
Don't enable AES HW acceleration on STM32F439xI-family targets by
default until issue #4928 is fixed.
2017-08-18 10:12:14 +01:00
Jaeden Amero
46f9d46341
uVisor: Import v0.30.0
2017-08-16 14:57:04 +01:00
Jaeden Amero
0e63cd56de
uVisor: importer: Add Nuvoton M480 targets
2017-08-16 14:57:03 +01:00
Christopher Haster
f927996275
fatfs: Added lower bound to block sizes
...
Some block devices (for example I2C EEPROM) can be erased at the byte
level. These aren't really block devices, but fall under the block
device API. For these devices, the fat filesystem needs to use a lower
bound on the block size. In this case we used 512 bytes is used since
it is already a standard.
2017-08-15 12:59:52 -05:00
Christopher Haster
0f8dffb7a4
fs: Added FileSystem::reformat
...
This function provides a shortcut to reformatting a mounted filesystem.
Also, since this function is a virtual member of the FileSystem class,
the user does not need to know the underlying filesystem to reformat
the underlying storage.
2017-08-14 17:05:40 -05:00
Jimmy Brisson
95f635fc70
Merge pull request #4895 from c1728p9/device_has_doxygen
...
Turn on doxygen for DEVICE_* features
2017-08-14 11:43:26 -05:00
Jimmy Brisson
5321a75fd3
Merge pull request #4849 from ARMmbed/nanomesh_memory
...
Allow using of malloc() for reserving the Nanostack's heap.
2017-08-14 11:39:09 -05:00
Jimmy Brisson
0f0a461209
Merge pull request #4832 from OpenNuvoton/nuvoton
...
NUC472/M453: Fix several startup and hal bugs
2017-08-14 11:38:18 -05:00
Jimmy Brisson
0150f58e12
Merge pull request #4608 from OpenNuvoton/nuvoton_m487
...
Support Nuvoton's new target NUMAKER_PFM_M487
2017-08-14 11:35:33 -05:00
Russ Butler
026df0b7cd
Turn on doxygen for DEVICE_* features
...
Enable doxygen for all device features. Also fix the warnings that
showed up once this was enabled.
2017-08-11 15:47:44 -05:00
Jimmy Brisson
59f313b028
Merge pull request #4859 from geky/tests-copyrights
...
Add copyright header to all tests
2017-08-10 09:39:34 -05:00
Jimmy Brisson
59f127596d
Merge pull request #4857 from bcostm/usbhost_disco_l475vg_iot
...
DISCO_L475VG_IOT01A: Add support of USBHost
2017-08-10 09:39:12 -05:00
Jimmy Brisson
61d486a10e
Merge pull request #4833 from yogpan01/master
...
Updating mbed-coap to version 4.0.8
2017-08-10 09:36:34 -05:00
Jimmy Brisson
4e30b96b98
Merge pull request #4814 from mikaleppanen/lwip_2_0_2_stable
...
Merge lwip 2.0.2 stable
2017-08-10 09:35:56 -05:00
Martin Kojtal
744c364683
STM mbedtls: clear algo value for md5/sha1 and sha256
...
The hw block for mbedtls is shared, thus HASH algo value should be cleared
in the init.
2017-08-09 07:45:20 +01:00
Martin Kojtal
d92e4b5fcd
STM32F4: remove md5 from the mbedtls config file
2017-08-09 07:45:20 +01:00
adustm
85c8bf87a1
Add a check 'non busy' status of the HW before save restore procedures
2017-08-09 07:45:20 +01:00
adustm
f033c87640
Handle context swap + Modify macro name ST_MD5_BLOCK_SIZE
2017-08-09 07:45:20 +01:00
adustm
de2899279e
Move MBEDTLS_MD5_C from mbetdls_device.h to targets.json
2017-08-09 07:45:20 +01:00
adustm
766e451c88
Replace 64 by a define
2017-08-09 07:45:19 +01:00
adustm
53a8b75e4e
Improve md5 buffer storing concept
2017-08-09 07:45:19 +01:00
adustm
d39d52b042
Fix use case with size = 0 (md5_selftest #1 )
2017-08-09 07:45:19 +01:00
adustm
b2092f072f
Handle 64bytes per 64 bytes
...
+ remove unused includes files
2017-08-09 07:45:19 +01:00
adustm
29114f1a56
Remove unused variables in mbedtls_md5_context + remove unnecessary ifdef
...
__cplusplus
2017-08-09 07:45:19 +01:00
adustm
e126975d91
Remove unnecessary functions in md5_alt.h file
2017-08-09 07:45:19 +01:00
adustm
c174191eb9
Move MBEDTLS_MD5_C define from mbedtls_device.h to targets.json
2017-08-09 07:45:19 +01:00
adustm
bd1c4f5c62
NUCLEO_F756ZG/mbedtls : MD5 hw activation
2017-08-09 07:45:18 +01:00
Yogesh Pande
02ec6530f4
Updating mbed-coap to version 4.0.8
...
Fixes errors reported in Github
- #4798
- Fixed Lwm2m blockwise data transfer (using Block1 option) with Leshan
- ARMmbed/mbed-client#512
- Fixed an ongoing blocktransfer (Block 1 option) interruption by out of order Block to return error 4.08 Request Entity Incomplete as specified in the coap specification.
- ARMmbed/mbed-client#511
- Fixed detected duplicate message duplications will not stop mbed-client
2017-08-08 05:04:56 -07:00
Seppo Takalo
a2c4426965
Allow using of malloc() for reserving the Nanostack's heap.
...
Some devices have RAM memory split into two sections.
This becames a problem for GCC based toolchains as they don't
support splitting .bss or .data sections into two memory parts.
When we run out of memory from .bss sections, allocating the stack
by malloc() allows it to be moved to .data section which might already
be in the second memory section. For example KW24D platform.
2017-08-08 11:20:22 +03:00
Christopher Haster
4cad764162
Added copyright header to all tests
2017-08-07 12:02:33 -05:00
bcostm
6b721d345a
DISCO_L475VG_IOT01A: Add support of USBHost
2017-08-04 13:19:13 +02:00
Mika Leppänen
02069f1a09
Added contributing document.
2017-08-03 11:49:44 +03:00
ccli8
afb5aba8d9
[M487] Fix compile warnings with IAR toolchain
2017-08-03 13:33:17 +08:00
ccli8
99d12b1eb8
[M487] Fix compile warnings with GCC_ARM toolchain
2017-08-03 11:10:15 +08:00
adustm
9432227c68
NUCLEO_F756ZG/mbedTLS: sha256 hw acceleration
2017-08-01 16:14:53 +02:00
ccli8
46cb684a32
[NUC472] Conform to mbed TLS H/W acceleration support
2017-08-01 14:40:08 +08:00
cyliangtw
aa47503435
[M487] Revise CAN & AES to fulfill real-chip
2017-08-01 10:31:36 +08:00
cyliangtw
8f67774fd9
[M487] Revise EMAC to fulfill real-chip
2017-08-01 10:31:26 +08:00
ccli8
12536436f8
[M487] Conform to mbed TLS H/W acceleration support released with mbed OS 5.3
2017-08-01 10:23:48 +08:00
cyliangtw
dae0a4c30c
[M487] support unique locally administered MAC address
2017-08-01 10:19:53 +08:00
cyliangtw
1b0b82a142
[M487] Support ethernet after enlarge PHY RXD driving
2017-08-01 10:19:28 +08:00
cyliangtw
b91f064be7
[M487] Add CAN, AES and Eth
2017-08-01 10:18:54 +08:00
Jimmy Brisson
50c616ec74
Merge pull request #4750 from andreaslarssonublox/ublox_enable_hw_acc_odin_w2
...
Enable crypto HW acceleration for UBLOX_EVK_ODIN_W2
2017-07-31 15:24:47 +00:00
Jimmy Brisson
b72a1f6224
Merge pull request #4158 from adustm/STM_sha1_f756zg
...
NUCLEO_F756ZG / mbedTLS_SHA1 hw acceleration
2017-07-31 15:24:29 +00:00
Jimmy Brisson
66c3385727
Merge pull request #4398 from maximmbed/max326xx_ble_update
...
MAX326xx: BLE updates, fixed sleep, open-drain LEDs
2017-07-31 15:23:47 +00:00
Christopher Haster
d61073783c
bd: Added ProfilingBlockDevice for measuring higher-level applications
2017-07-31 10:19:39 -05:00
Jimmy Brisson
17d5356dbb
Merge pull request #4800 from Nodraak/fix/4799_ble_infinite_calling_loop
...
Fix infinite calling loop
2017-07-27 09:46:57 -05:00
Jimmy Brisson
3f52924821
Merge pull request #4738 from SeppoTakalo/compile_warnings
...
ONME-3113: Fix GCC_ARM and ARM compiler warnings from mbed-mesh-api
2017-07-27 09:42:18 -05:00
Jimmy Brisson
a0c9c8840c
Merge pull request #4715 from kjbracey-arm/libservice_update
...
Nanostack+mbed-client libservice update
2017-07-27 09:42:03 -05:00
adustm
45dcf598c8
Remove MBEDTLS_SHA1_C
2017-07-25 11:22:55 +02:00
adustm
a08eec05c0
NUCLEO_F756ZG/mbedTLS : add hw acceleration for SHA1
2017-07-25 11:21:45 +02:00
Jimmy Brisson
579bb3e994
Merge pull request #4778 from c1728p9/rebase_4161
...
Add AES HW encryption for NUCLEO_F756ZG in mbedtls
2017-07-24 10:58:32 -05:00
Jimmy Brisson
b917dbaa1e
Merge pull request #4774 from c1728p9/runtime_test_specification
...
Add support for runtime test specification
2017-07-24 10:57:49 -05:00
Jimmy Brisson
6b6456ffa4
Merge pull request #4741 from jeromecoutant/PR_USB_ST
...
ST USB config files
2017-07-24 10:54:24 -05:00
Jimmy Brisson
4b19e14f8e
Merge pull request #4706 from yogpan01/master
...
Fix inconsistent mbed-trace dummy defines and original function declarations
2017-07-24 10:51:26 -05:00
Jimmy Brisson
766b240a3b
Merge pull request #4662 from Nodraak/fix/4661
...
[BLE/HRM] Fix #4661
2017-07-24 10:44:48 -05:00
Adrien Chardon
2a39019766
Fix infinite calling loop
2017-07-24 14:18:21 +02:00
Mika Leppänen
844e400aa2
Merged lwip 2.0.2 stable
...
* commit '7bbc850309fed8bf63017821f18aff03bca9233b':
Squashed 'features/FEATURE_LWIP/lwip-interface/lwip/' changes from 10f93f4..7648b58
2017-07-24 13:17:40 +03:00
adustm
a89860c81d
fix typo in directory name
2017-07-18 17:09:56 -05:00
adustm
1ae5f8cdaa
Add AES HW encryption for NUCLEO_F756ZG in mbedtls
2017-07-18 17:09:54 -05:00
Russ Butler
e46bb0ed15
Add support for runtime test specification
...
Add a constructor which explicitly takes the number of test cases.
This allows a test case array created at runtime to be used.
2017-07-18 12:03:06 -05:00
Jesse Marroquin
3a4138369d
Update BLE, fix sleep and open-drain LEDs in MAX326xx
...
MAX32630FTHR gets BLE, uses timer peripheral 5 for HCI timing
libexactLE update for 610,620
Fixup hal_sleep and hal_deepsleep for 620
LEDn outputs now forced to open-drain
2017-07-14 17:36:56 -05:00
Jaeden Amero
6f1bb67b55
uVisor: Import v0.29.0
2017-07-13 16:47:47 +01:00
Jaeden Amero
f080a0ea6c
uVisor: importer: Copy uvisor-tests pointer
...
This enables mbed-os and uvisor-tests to stay synchronized.
2017-07-13 16:47:43 +01:00
Martin Kojtal
b685fe89b1
Merge pull request #4592 from KariHaapalehto/connect_timeout
...
[ONME-3089] - Adjust lowpan ND interface connect timeout
2017-07-13 16:50:19 +02:00
Martin Kojtal
1849370100
Merge pull request #4652 from geky/fat-fix-unaligned-ioctl
...
fatfs: Fix unaligned access in disk_ioctl
2017-07-13 16:49:01 +02:00
Martin Kojtal
7d1e87a5b3
Merge pull request #4677 from u-blox/ppp_stack_increase
...
Increase default PPP stack size from 512 bytes to 768 bytes.
2017-07-13 16:44:30 +02:00
Yogesh Pande
fbb12adbc4
Fix inconsistent mbed-trace dummy defines and original function declarations.
2017-07-12 06:39:09 -07:00
andreas.larsson
ef232dbae5
Renamed so that we have one configuration for all STM32F439 targets.
2017-07-12 12:13:09 +02:00
jeromecoutant
bdd4f18acb
ST USB config files
2017-07-11 16:29:44 +02:00
Kari Haapalehto
f3c7e0dbc0
ONME-3113: Fix GCC_ARM and ARM compiler warnings from mbed-mesh-api
...
Warning #1300-D: inherits implicit virtual
- Adding the virtual keyword in the derived class prevents the warning
Warning #1-D: last line of file ends without a newline
- New line added at the end of file
Warning #997-D:
function "MeshInterfaceNanostack::initialize(NanostackPhy *)" is hidden
by "ThreadInterface::initialize" -- virtual function override intended?
- virtual keyword removed from "MeshInterfaceNanostack::initialize"
Warning #1300-D: inherits implicit virtual
- Adding the virtual keyword in the derived class prevents the warning
2017-07-11 15:56:08 +03:00
Jimmy Brisson
a052fa3d45
Merge pull request #4561 from geky/fat-fs-volume-prefixes
...
fatfs: Add full support for multiple fs volume prefixes
2017-07-10 12:05:43 -05:00
Jimmy Brisson
868adafe57
Merge pull request #4518 from mazimkhan/mbed-tls-test-deploy
...
Add new target in mbedtls importer Makefile for mbedtls tests
2017-07-10 12:03:47 -05:00
Anna Bridge
744b2a2579
Merge pull request #4546 from bridadan/fix_test_prints
...
Fix bad test print and move locks for printf into macro.
2017-07-07 12:44:50 +01:00
Anna Bridge
4890261c98
Merge pull request #4548 from deepikabhavnani/os_warn
...
Resolve Warnings for mbed-os-examples
2017-07-07 12:43:27 +01:00
Jimmy Brisson
dea489ef29
Merge pull request #4163 from adustm/STM_aes_l486rg
...
STM32L486RG/mbedtls: add aes hw acceleration
2017-07-06 10:17:15 -05:00
Kevin Bracey
17f1111817
Merge commit '0613e29fde32daa609eb6ae4ad785112b8fd9729'
...
* commit '0613e29fde32daa609eb6ae4ad785112b8fd9729':
Squashed 'features/FEATURE_COMMON_PAL/nanostack-libservice/' changes from 6444c8a..854505d
2017-07-06 12:03:42 +03:00
Azim Khan
5067db07ae
Add deploy-tests to the .PHONY target
2017-07-04 19:26:31 +01:00
Adrien Chardon
27901f24b9
BLE/GattCharacteristic: Add explanatory note for a parameter
2017-07-04 15:10:48 +02:00
Adrien Chardon
05c3ddf691
BLE/HRS: Fix #4661
2017-07-04 15:10:20 +02:00
Rob Meades
921d1fa6fa
Increase PPP stack size from 512 bytes to 768 bytes.
...
PPP is running close to the edge of its default thread stack size of 512 bytes. When it experiences an FCS error on the incoming data (for example. caused by character loss when the incoming serial rate is too high for it to process in time) it performs some additional work which overruns the thread's stack, hitting the OS "stack underflow" check. Increasing the PPP stack size to 768 bytes resolves this problem.
2017-07-03 09:46:23 +01:00
Martin Kojtal
334c02f7d4
Cellular: not-supported error if MODEM_ON_BOARD not defined
...
If a test is empty, it leads to undef. Therefore if a test requires additional
details, it should print an error [NOT SUPPORTED].
2017-06-30 10:01:46 +01:00
Christopher Haster
1775e1f782
fatfs: Added full support for multiple fs volume prefixes
...
This is only an issue when multiple fatfss are used simultaneously.
Repeated use of a single fatfs instance (even with different storages)
do not show this issue.
Full support requires path prefixes being applied for every function
that takes a path. Note: this is only required filesystems after the
first mounted filesystem. The first filesystem has no penalty.
2017-06-29 16:56:14 -05:00
Jimmy Brisson
9f829ffe26
Merge pull request #4559 from geky/fat-remove-fat_filesystem_set_errno
...
fatfs: Remove unused fat_filesystem_set_errno function
2017-06-29 11:06:22 -05:00
Jimmy Brisson
8f42c87ab7
Merge pull request #4446 from hasnainvirk/add_cellular_unit_tests
...
Customer port verification tests for cellular
2017-06-29 11:04:56 -05:00
adustm
e2c96e9b7a
Move definitions in aes_alt.c + Factorize code
2017-06-29 16:09:34 +02:00
adustm
2da3128a2a
STM32L486RG/mbedtls: add aes hw acceleration
2017-06-29 16:05:45 +02:00
Kari
3c44a20dd0
[ONME-3089] - Adjust lowpan ND interface connect timeout
...
Device needs to wait for connectivity:
-routers will create new network and get local connectivity
-end device will get connectivity once attached to existing network
-devices without network settings gets connectivity once
commissioned and attached to network
Signed-off-by: Kari <kari.haapalehto@arm.com>
2017-06-29 11:02:04 +03:00
Jimmy Brisson
a39ac60305
Merge pull request #4159 from adustm/STM_sha256_F439ZI
...
NUCLEO_F439ZI/mbedtls: add SHA256 hw_acceleration
2017-06-28 09:31:25 -05:00
Christopher Haster
a9f5d886fb
fatfs: Fix unaligned access in disk_ioctl
...
Unlike the other disk_ioctl options, GET_SECTOR_SIZE is interpreted
as a 16-bit WORD, instead of a 32-bit DWORD. This caused an unaligned
access error on M0 platforms.
2017-06-27 15:44:04 -05:00
Mihail Stoyanov
717150cdf2
Reorganize vendor specific code into targets folders, following the mbed-os/targets/ design pattern
2017-06-27 14:20:36 -05:00
Martin Kojtal
f530714bca
Merge pull request #4639 from theotherjimmy/fix-lrwan1-usbhal
...
Deduplicate USBHAL_STM_TARGET.h
2017-06-27 14:46:27 +02:00
Armelle DUBOC
ec72ac0a28
Merge branch 'master' into STM_sha256_F439ZI
2017-06-27 08:25:42 +02:00
Jimmy Brisson
e3e54e5fd3
Merge pull request #4607 from geky/fix-mbr-init
...
bd: Fix missing init in MBRBlockDevice
2017-06-26 15:28:16 -05:00
Jimmy Brisson
453d9ee96c
Deduplicate USBHAL_STM_TARGET.h
2017-06-26 14:55:29 -05:00
Jimmy Brisson
0a2a48c957
Merge pull request #4157 from adustm/STM_sha1_F439ZI
...
NUCLEO_F439ZI/mbedtls: add SHA1 hw_acceleration
2017-06-26 10:28:49 -05:00
Jimmy Brisson
d103979e92
Merge pull request #4572 from bcostm/add_usb_disco_l072cz
...
DISCO_L072CZ_LRWAN1: Add support of USB Device
2017-06-26 10:28:31 -05:00
Jimmy Brisson
1dfc2296a7
Merge pull request #4400 from jeromecoutant/PR_USB_REORG
...
STM32 USBDevice files
2017-06-26 10:21:19 -05:00
bcostm
43646330e9
DISCO_F413ZH: Add this board in mbedOS2 CAN tests
2017-06-22 09:23:06 +02:00
arostm
5e3350ce38
DISCO_F413ZH: Modification needed to build
2017-06-22 09:07:00 +02:00
Christopher Haster
f2c93c7724
bd: Add asserts on initialization in HeapBlockDevice
2017-06-21 13:51:57 -05:00
Christopher Haster
adc3d75936
bd: Fix missing init in MBRBlockDevice
2017-06-21 13:33:40 -05:00
bcostm
cc47104059
DISCO_L072CZ_LRWAN1: Remove unused code
2017-06-20 16:12:32 +02:00
bcostm
24d94c8425
DISCO_L072CZ_LRWAN1: Add USB device configuration files
2017-06-20 16:07:07 +02:00
Anna Bridge
c5e1fa70d9
Merge pull request #4242 from bcostm/dev_disco-l475-iot
...
DISCO_L475VG_IOT01A : Add new target
2017-06-20 11:41:42 +01:00
Anna Bridge
b30481d266
Merge pull request #4523 from hasnainvirk/eth_flag_lwip
...
Check Ethernet before including lwipopts_conf.h
2017-06-20 11:40:23 +01:00
Jimmy Brisson
c08864b588
Merge pull request #4444 from Archcady/lwip_issue
...
resolve lwip init twice issue
2017-06-19 18:28:49 -05:00
Jimmy Brisson
1ffbdfc048
Merge pull request #4364 from mazimkhan/mbed-tls-test
...
Add C API for Greentea client
2017-06-19 11:58:47 -05:00
Jimmy Brisson
a6695ae5a8
Merge pull request #4504 from geky/gt-add-reserved-memory-reporting
...
greentea: Add reporting of reserved heap
2017-06-19 11:03:30 -05:00
Jimmy Brisson
e4bdedc7c2
Merge pull request #4562 from geky/fat-init-bd
...
fatfs: Fixed initialization of block device in mount/unmount functions
2017-06-19 11:02:52 -05:00
adustm
e63912ff44
Check that the HASH is not busy before save and restore iHW registers
2017-06-16 11:03:50 +02:00
adustm
842791bef7
handle context swap + change macro name
2017-06-16 11:03:46 +02:00
adustm
85d68e32f7
replace 64 by define
2017-06-16 11:03:41 +02:00
adustm
b38eea2caf
Remove tabs, fix doxygen comments
2017-06-16 11:03:32 +02:00
adustm
c2a85fb12a
Rework SHA1 update for buffer <4 bytes management
2017-06-16 11:03:27 +02:00
adustm
ca65e01ffa
Handle 64 bytes buffers
2017-06-16 11:03:23 +02:00
adustm
dac9004684
Move MBEDTLS_SHA1_C from mbedtls_device.h to targets.json
2017-06-16 11:02:42 +02:00
adustm
85d549c902
Improve memory management
2017-06-16 11:02:38 +02:00
adustm
f26ae03e48
Remove unneeded function declarations + include file
...
Move include platform from sha1_alt.h to sha1_alt.c
2017-06-16 11:02:33 +02:00
adustm
996e093b77
Better explanation of the use of mbedtls_sha1_context fields
2017-06-16 11:02:29 +02:00
adustm
1695e9a7bb
use mbedtls_zeroize instead of memset(xxx,0,xxx)
2017-06-16 11:02:24 +02:00
adustm
ddd186cc61
NUCLEO_F429ZI/mbedtls: add SHA1 hw_acceleration
2017-06-16 11:01:43 +02:00
adustm
a27498c44a
Check HASH is not busy before save/resteore context
2017-06-16 10:48:41 +02:00
adustm
021b84a140
Handle context swapping + rename macro ST_SHA256_BLOCK_SIZE
...
Handle 64 bytes accumulation
2017-06-16 10:47:31 +02:00
adustm
f1704733af
Remove trailing whitespace
2017-06-16 10:47:18 +02:00
adustm
80b58614a2
SHA256: get ready to return error codes
2017-06-16 10:47:07 +02:00
adustm
b929b54b7c
Replace 64 by MBEDTLS_SHA256_BLOCK_SIZE
2017-06-16 10:46:56 +02:00
adustm
4976e2f3c7
Align SHA256 with MD5 and SHA1 implementation
...
This will solve Size <4 issues
2017-06-16 10:43:54 +02:00
adustm
0805876e0b
NUCLEO_F429ZI/mbedtls: add SHA256 hw_acceleration
2017-06-16 10:43:43 +02:00
Deepika
7e9ea9c665
Resolved format warnings: format '%d' expects argument of type 'int', but argument 3 has type 'u32_t[-Wformat=]
2017-06-15 15:20:26 -05:00
Deepika
818f82c5bd
Typecasting to int to resolve warning:#68-D: integer conversion resulted in a change of sign
2017-06-15 11:50:52 -05:00
Sam Grove
109269da9c
Merge pull request #4414 from tkaman/master
...
Enable CM3DS_MPS2 target
2017-06-15 11:20:09 -05:00
Christopher Haster
d7fe4ff599
fatfs: Fixed initialization of block device in mount/unmount functions
...
At some point the "mount" parameter for "f_mount" was name "force". This
led to a bit of confusion that ended with the default mount function
never calling block device init.
This is fine, since the block device can be manually initialized, but
a better user experience is where the filesystem initializes the block
device for the user.
This is backwards compatible due to the repeatability of the block
device init functions.
2017-06-14 16:35:15 -05:00
Christopher Haster
f158d81aab
fatfs: Removed unused fat_filesystem_set_errno function
...
At some point this was replaced by fat_error_remap
2017-06-14 15:29:30 -05:00
Brian Daniels
0eb174912e
Fix bad test print and move locks for printf into macro.
...
A message of "Failed to close socket" was always being printed, not
just when the socket failed to close. This patch fixes this in
addition to a simplifying the call to a thread safe printf.
2017-06-13 16:28:16 -05:00
Yuguo Zou
b1ca77b6b8
A better approach to flip "netif_inited"
2017-06-13 18:04:00 +08:00
Azim Khan
0b929199e4
Remove multiple definition of GREENTEA_SETUP added due to rebase
2017-06-13 10:02:55 +01:00
Russ Butler
9620b0fc7f
STM32 - fix bug were sockets stop receiving data
...
The function _eth_arch_low_level_input() is meant to pass data into
LWIP and to prepare the ethernet buffers to receive more data.
If the LWIP heap is empty and the call to pbuf_alloc() in
_eth_arch_low_level_input returns null, the ethernet receive buffers
are not updated to receive data. Because of this the ethernet RX
interrupt will not fire. Since the RX interrupt is the only thing that
triggers a call to _eth_arch_low_level_input(), the receive buffers
will never get cleared, and the device stops receiving data.
To prevent this from happening, this patch ensures that the function
_eth_arch_low_level_input() clears the receive buffers even if a new
pbuf for the data couldn't be allocated.
This issue can be reproduce by running the test
"features-feature_lwip-tests-mbedmicro-net-udp_echo_parallel"
and on the same machine running the below python script to flood the
device with UDP broadcast packets:
MY_IP = #ADD your local IP here
from socket import *
s = socket(AF_INET, SOCK_DGRAM)
s.bind((MY_IP, 1234))
s.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
s.setsockopt(SOL_SOCKET, SO_BROADCAST, 1)
for _ in range(1000):
s.sendto("test data", ('255.255.255.255', 1234))
print("Message sent")
2017-06-12 22:18:04 -05:00
bcostm
f6a48838ad
DISCO_L475VG_IOT01A: Move USB device config files
2017-06-12 17:03:12 +02:00
bcostm
6c585e6e05
DISCO_L475VG_IOT01A: add this target in i2c master/slave tests
2017-06-12 17:03:12 +02:00
bcostm
8c7000cce4
Add "01A" suffix in target name
2017-06-12 17:03:12 +02:00