Kevin Bracey
4a1032f85a
Correct LWIP_DEBUG definition
...
Commit f602c936
incorrectly started defining LWIP_DEBUG as either 0 or
1.
lwipopts.h locally was changed to use #if, but all existing users
continued to use #ifdef. Therefore defining it to 0 was accidentally
enabling it for quite a few users.
This would have pulled in some unwanted lwIP code, and affected some
drivers, eg k64f_emac.c allocating an extra 2K of stack.
Correct lwipopts.h to either define it as 1 or leave it undefined, and
change the #if tests back to #ifdef, so all are consistent.
2017-09-13 15:55:35 +01:00
Kevin Bracey
7d7e70a218
Reduce K64F Ethernet driver to 1 thread
...
Save 1K of RAM by using only 1 thread for RX and TX, and
running the PHY check in lwIP's context.
2017-09-13 15:55:35 +01:00
Akos Kiss
341eee0d59
Fix BLE API docs
...
Some misguidances, some typos, some stylistics, some doxygen misuses.
2017-09-13 15:55:35 +01:00
Antti Yli-Tokola
420f85dbe4
Update mbed-coap to version 4.0.10
...
Fixes following error: IOTMAC-615 Node mDS registration failure during OTA transfer
2017-09-13 15:55:35 +01:00
Jaeden Amero
aa3666dcf6
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-09-13 15:55:35 +01:00
ccli8
789bcb8d7c
Add SPI pins for test code
2017-09-13 15:55:34 +01:00
ccli8
4d1ddd4391
Support USB device/host for chip series
...
With this fix, USB support is not limited to one target.
2017-09-13 15:55:34 +01:00
ccli8
2634becd0b
Support USB device/host
2017-09-13 15:55:33 +01:00
Antti Yli-Tokola
e8b4ce3be5
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-25 11:53:05 +01:00
Christopher Haster
509379302d
bd: Added ProfilingBlockDevice for measuring higher-level applications
2017-08-25 11:53:04 +01:00
Russ Butler
7de5920597
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-25 11:53:04 +01:00
Seppo Takalo
79ca5bdc6d
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-25 11:53:03 +01:00
ccli8
2b36413cfb
Conform to mbed TLS H/W acceleration support
2017-08-25 11:53:03 +01:00
ccli8
a72c7166ee
Fix compile warnings with IAR toolchain
2017-08-25 11:53:02 +01:00
ccli8
ba0f0336d9
Fix compile warnings with GCC_ARM toolchain
2017-08-25 11:53:02 +01:00
cyliangtw
3fae7a0e9d
Revise CAN & AES to fulfill real-chip
2017-08-25 11:53:01 +01:00
cyliangtw
19506f8e0b
Revise EMAC to fulfill real-chip
2017-08-25 11:53:01 +01:00
ccli8
45de390823
Conform to mbed TLS H/W acceleration support released with mbed OS 5.3
2017-08-25 11:53:00 +01:00
cyliangtw
55c96ded62
support unique locally administered MAC address
2017-08-25 11:52:59 +01:00
cyliangtw
c25872454a
Support ethernet after enlarge PHY RXD driving
2017-08-25 11:52:59 +01:00
cyliangtw
1d647ef826
Add CAN, AES and Eth
2017-08-25 11:52:59 +01:00
Christopher Haster
5f768c3eff
Added copyright header to all tests
2017-08-11 14:16:33 +01:00
bcostm
f0e5e8c21a
DISCO_L475VG_IOT01A: Add support of USBHost
2017-08-11 14:16:33 +01:00
Yogesh Pande
5bc33afed2
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-11 14:16:33 +01:00
Martin Kojtal
10c5138849
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-11 14:16:33 +01:00
Martin Kojtal
b77d90573d
STM32F4: remove md5 from the mbedtls config file
2017-08-11 14:16:33 +01:00
adustm
9e8c8d695d
Add a check 'non busy' status of the HW before save restore procedures
2017-08-11 14:16:33 +01:00
adustm
9b59f00958
Handle context swap + Modify macro name ST_MD5_BLOCK_SIZE
2017-08-11 14:16:33 +01:00
adustm
d4d7dad045
Move MBEDTLS_MD5_C from mbetdls_device.h to targets.json
2017-08-11 14:16:33 +01:00
adustm
11c7906546
Replace 64 by a define
2017-08-11 14:16:33 +01:00
adustm
5d6f132d2d
Improve md5 buffer storing concept
2017-08-11 14:16:33 +01:00
adustm
77ac355864
Fix use case with size = 0 (md5_selftest #1 )
2017-08-11 14:16:33 +01:00
adustm
2d83ea6136
Handle 64bytes per 64 bytes + remove unused includes files
2017-08-11 14:16:33 +01:00
adustm
166a130e5d
Remove unused variables in mbedtls_md5_context + remove unnecessary ifdef __cplusplus
2017-08-11 14:16:32 +01:00
adustm
0060d8bbd0
Remove unnecessary functions in md5_alt.h file
2017-08-11 14:16:32 +01:00
adustm
58a1c69600
Move MBEDTLS_MD5_C define from mbedtls_device.h to targets.json
2017-08-11 14:16:32 +01:00
adustm
b84f5d1d7d
NUCLEO_F756ZG/mbedtls : MD5 hw activation
2017-08-11 14:16:32 +01:00
adustm
5d7e2902d2
NUCLEO_F756ZG/mbedTLS: sha256 hw acceleration
2017-08-11 14:16:32 +01:00
andreas.larsson
428fce0283
Renamed so that we have one configuration for all STM32F439 targets.
2017-08-11 14:16:32 +01:00
adustm
b371bf463e
Remove MBEDTLS_SHA1_C
2017-08-11 14:16:32 +01:00
adustm
ab8819f4eb
NUCLEO_F756ZG/mbedTLS : add hw acceleration for SHA1
2017-08-11 14:16:32 +01:00
Jesse Marroquin
5e686d7f8c
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-08-11 14:16:32 +01:00
Jaeden Amero
3e55bdc2c2
uVisor: Import v0.29.0
2017-07-31 13:37:31 +01:00
Jaeden Amero
8ff0c3953b
uVisor: importer: Copy uvisor-tests pointer
...
This enables mbed-os and uvisor-tests to stay synchronized.
2017-07-31 13:37:18 +01:00
Adrien Chardon
a5148ec31e
Fix infinite calling loop
2017-07-28 14:46:26 +01:00
Kari Haapalehto
d7f3820908
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-28 14:46:26 +01:00
Kevin Bracey
2813d8d153
Squashed 'features/FEATURE_COMMON_PAL/nanostack-libservice/' changes from 6444c8a..854505d
...
854505d Introduce object oriented dynmemLIB
27bae6b Merge pull request #59 from ARMmbed/fix_yotta_deps
ff45891 Add dependency on mbed-trace
git-subtree-dir: features/FEATURE_COMMON_PAL/nanostack-libservice
git-subtree-split: 854505d0191e428c07eb25fc9630dc05b21d5a47
2017-07-28 14:46:24 +01:00
adustm
2d259e0a6d
fix typo in directory name
2017-07-28 14:46:20 +01:00
adustm
a1810d4aec
Add AES HW encryption for NUCLEO_F756ZG in mbedtls
2017-07-28 14:46:20 +01:00
Russ Butler
be1d14c897
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-28 14:46:20 +01:00