Commit Graph

998 Commits (e36c20ffda59a965b29d40037bb02026c7f43db9)

Author SHA1 Message Date
Rob Meades f7c516a177 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-14 15:13:31 +01:00
Christopher Haster b92b4232da 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-07-14 15:13:31 +01:00
Brian Daniels f659681478 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-07-14 15:13:30 +01:00
Deepika 1c3469bfaa Resolved format warnings: format '%d' expects argument of type 'int', but argument 3 has type 'u32_t[-Wformat=] 2017-07-14 15:13:30 +01:00
Deepika 6a8abecde5 Typecasting to int to resolve warning:#68-D: integer conversion resulted in a change of sign 2017-07-14 15:13:30 +01:00
adustm af8c6bd6a2 Move definitions in aes_alt.c + Factorize code 2017-07-14 15:13:29 +01:00
adustm b7b9444f76 STM32L486RG/mbedtls: add aes hw acceleration 2017-07-14 15:13:29 +01:00
Martin Kojtal 805b20b4d2 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-07-14 15:13:29 +01:00
Hasnain Virk c19ebcb33b Customer port verification tests for cellular
Basic TCP/UDP tests for PPP based onboard cellular modems.
Tests basic public APIs defined in CellularBase.h
A customer port must pass this test set, hence verifying their
particular implementation.
2017-07-14 15:13:29 +01:00
adbridge 7b33104d11 Re-add #define previously removed 2017-07-03 12:24:22 +01:00
adustm 431218e9d1 Check HASH is not busy before save/resteore context 2017-07-03 12:13:36 +01:00
adustm 09a50efd19 Handle context swapping + rename macro ST_SHA256_BLOCK_SIZE
Handle 64 bytes accumulation
2017-07-03 12:12:36 +01:00
adustm 600742b136 Remove trailing whitespace 2017-07-03 12:12:06 +01:00
adustm a8ab0e4290 SHA256: get ready to return error codes 2017-07-03 12:11:41 +01:00
adustm 6d0903b6bb Replace 64 by MBEDTLS_SHA256_BLOCK_SIZE 2017-07-03 12:10:45 +01:00
adustm 8dc7851916 Align SHA256 with MD5 and SHA1 implementation
This will solve Size <4 issues
2017-07-03 12:10:15 +01:00
adustm 2300386b84 NUCLEO_F429ZI/mbedtls: add SHA256 hw_acceleration 2017-07-03 12:09:14 +01:00
Christopher Haster 17601c0e17 fatfs: Removed unused fat_filesystem_set_errno function
At some point this was replaced by fat_error_remap
2017-07-03 11:47:03 +01:00
Christopher Haster 747fdec04e bd: Add asserts on initialization in HeapBlockDevice 2017-07-03 11:47:00 +01:00
Christopher Haster 556f4161a5 bd: Fix missing init in MBRBlockDevice 2017-07-03 11:46:59 +01:00
adustm 451eb33ec7 Check that the HASH is not busy before save and restore iHW registers 2017-07-03 11:46:56 +01:00
adustm 7e864de0cc handle context swap + change macro name 2017-07-03 11:46:55 +01:00
adustm 9a8f5a7ef3 replace 64 by define 2017-07-03 11:46:55 +01:00
adustm 1bea47d976 Remove tabs, fix doxygen comments 2017-07-03 11:46:54 +01:00
adustm 95beb43bda Rework SHA1 update for buffer <4 bytes management 2017-07-03 11:46:54 +01:00
adustm f4287fd7db Handle 64 bytes buffers 2017-07-03 11:46:54 +01:00
adustm 3d3affadd2 Move MBEDTLS_SHA1_C from mbedtls_device.h to targets.json 2017-07-03 11:46:53 +01:00
adustm 284b230cc6 Improve memory management 2017-07-03 11:46:53 +01:00
adustm 726c313d56 Remove unneeded function declarations + include file Move include platform from sha1_alt.h to sha1_alt.c 2017-07-03 11:46:53 +01:00
adustm 57996887da Better explanation of the use of mbedtls_sha1_context fields 2017-07-03 11:46:53 +01:00
adustm bc3bf9f3f4 use mbedtls_zeroize instead of memset(xxx,0,xxx) 2017-07-03 11:46:52 +01:00
adustm fbab24db6b NUCLEO_F429ZI/mbedtls: add SHA1 hw_acceleration 2017-07-03 11:46:52 +01:00
bcostm 74361df787 DISCO_L072CZ_LRWAN1: Remove unused code 2017-07-03 11:46:52 +01:00
bcostm 196b975f93 DISCO_L072CZ_LRWAN1: Add USB device configuration files 2017-07-03 11:46:51 +01:00
bcostm 5ec1268438 DISCO_F413ZH: Add this board in mbedOS2 CAN tests 2017-07-03 11:46:40 +01:00
arostm 720e20b5fa DISCO_F413ZH: Modification needed to build 2017-07-03 11:46:38 +01:00
bcostm 05c682e83e DISCO_L475VG_IOT01A: Move USB device config files 2017-06-20 17:13:46 +01:00
bcostm 1aba27a2cf DISCO_L475VG_IOT01A: add this target in i2c master/slave tests 2017-06-20 17:13:45 +01:00
bcostm 15f20cb7ab Add "01A" suffix in target name 2017-06-20 17:13:42 +01:00
bcostm bba148ba2f Add target in unsupported main.cpp test files 2017-06-20 17:13:42 +01:00
Hasnain Virk 253ceee0f2 Check Ethernet before including lwipopts_conf.h
lwipopts_conf.h is used by target dependent Ethernet drivers for
configuring various parameters.
By default, Ethernet is enabled and in this case lwipopts_conf.h
will be included.
In case of PPP  being enabled, it is desirable to not pull in any Ethernet
related code.
2017-06-20 17:13:40 +01:00
Yuguo Zou 334c0aafc6 A better approach to flip "netif_inited" 2017-06-20 17:13:40 +01:00
Yuguo Zou a9b1b1c9d4 replace tab with space 2017-06-20 17:13:40 +01:00
Yuguo Zou 8d21488b42 resolve lwip init twice issue
resolve wifi example test fail before lwip is init
2017-06-20 17:13:39 +01:00
Azim Khan 101cf5e6a3 Remove multiple definition of GREENTEA_SETUP added due to rebase 2017-06-20 17:13:38 +01:00
Azim Khan 0ffbf756d5 Merge greentea-client/test_env_c.h into greentea-client/test_env.h 2017-06-20 17:13:38 +01:00
Azim Khan 9c11240b48 Revert greentea_getc() to return 'int' 2017-06-20 17:13:38 +01:00
Azim Khan c682fb5b74 Use existing functions for Greentea client C API 2017-06-20 17:13:37 +01:00
Azim Khan b0329aea59 Add getc in C API 2017-06-20 17:13:37 +01:00
Mohammad Azim Khan 739d5ecdff C API for greentea client 2017-06-20 17:13:37 +01:00