Commit Graph

12750 Commits (mbed-os-5.6)

Author SHA1 Message Date
adbridge cda6250e36 Updated MBED versionning block for patch release 2017-09-24 21:34:30 +01:00
Jaakko Heikkilä 431fac4445 export: Add missing flags to Sw4STM32
Some of the optimization and warning flags, which were supported by the
gnuarmeclipse exporter, were missing from the sw4stm32.
2017-09-24 21:34:29 +01:00
Jaakko Heikkilä 60b0eccf93 export: Corrections to Sw4STM32 after review
Add double quotes to linker command unconditionally.
2017-09-24 21:34:29 +01:00
Jaakko Heikkilä b45a5636f2 export: Fix invalid id's in Sw4STM32 project files 2017-09-24 21:34:29 +01:00
Jaakko Heikkilä d4a9de15c3 export: Remove build directories from excluded paths
Directories Debug and Release must not be excluded. Otherwise, Eclipse is
not able to find binaries, which are stored to build directories.
2017-09-24 21:34:29 +01:00
Jaakko Heikkilä d916081b94 export: Add debug configuration to Sw4STM32 2017-09-24 21:34:29 +01:00
Jaakko Heikkilä 6e6919c3cd export: Fix Windows problems with Sw4STM32
Quoting linker preprocessor command, if path contains parentheses. Using
relative path to shorten list of included directories. Using Eclipse
variables to get path to preprocessor.
2017-09-24 21:34:29 +01:00
Jaakko Heikkilä 53f7dcc4f6 export: Remove preprocessed ld files after build
Sometimes Sw4STM32 exporter receives wrong linker script file. Because build
directories cannot be excluded from scanned resources, ld files are removed.
2017-09-24 21:34:29 +01:00
Jaakko Heikkilä f92955a3bf export: Fix after testing Sw4STM32
Quotation marks in defines had to be replaced with html codes.
2017-09-24 21:34:29 +01:00
Jaakko Heikkilä d9b978f3f5 export: Invalid linker script path in Sw4STM32
Fixed invalid linker script path in project file.
Using 'defines' instead of 'symbols' in compiler options.
2017-09-24 21:34:29 +01:00
Jaakko Heikkilä deb9c1b3ea export: Remove dublicate methods in Sw4STM32
Removed unused methods and methods with dublicate functionality.
Removed unused imports. Generating list of defines for assembler.
2017-09-24 21:34:29 +01:00
Jaakko Heikkilä 7d2328564b export: Sw4STM32 inherits GNUARMEclipse
Sw4STM32 is using methods from GNUARMEclipse class to handle flags.
Flags are also passed to cproject file.
2017-09-24 21:34:29 +01:00
Jaakko Heikkilä db376bf083 export: Change linker script name
SW4STM32 linker script name now contains target name.
Print formatting is using new Python style.
2017-09-24 21:34:29 +01:00
Jaakko Heikkilä 65c4a2204d export: Fix sw4stm32 linker script problem
Added makefile.target, and rule for linker script pre-compilation.
2017-09-24 21:34:29 +01:00
Jarno Komula 3408e25714 Review changes + including config header from toolchain.get_config_header() instead of hardcoding it to project file. 2017-09-24 21:34:29 +01:00
Jarno Komula c2eafc9d38 Better readability. 2017-09-24 21:34:29 +01:00
Jarno Komula 224ada2a51 Review corrections. 2017-09-24 21:34:29 +01:00
Jarno Komula f870269075 Fixed sw4stm32 exporter 2017-09-24 21:34:29 +01:00
Deepika ba0e6d6a4c IAR heap stats added 2017-09-24 21:34:29 +01:00
Dexter Fryar 80e8351bcb Add bootloader support for NXP FRDM-KW24D 2017-09-24 21:34:29 +01:00
gorazd ad183b19cb arduino connector namings added 2017-09-24 21:34:29 +01:00
gorazd 110c3d6de9 extra label deleted 2017-09-24 21:34:29 +01:00
gorazd b46e7d9b2f new target added L-TEK FF1705 based on XDOT 2017-09-24 21:34:29 +01:00
Deepika 6323d18c87 Threads test require more time to finish 2017-09-24 21:34:29 +01:00
Deepika 567d64e649 Added thread terminate hook
Hook was added in RTX4 code to assist test framework to log thread info on
thread terminate, which was not working with RTX5.
2017-09-24 21:34:29 +01:00
Chris 56777ab64a Code tidy 2017-09-24 21:34:29 +01:00
Chris 1e454c4b92 Code tidy. 2017-09-24 21:34:29 +01:00
Chris 0711bb14e6 Tidy if else code aligment. 2017-09-24 21:34:28 +01:00
Chris d3b1f69c2d Resolve warning 2017-09-24 21:34:28 +01:00
Chris 606f205e5b Remove SET_VALID_CODE 2017-09-24 21:34:28 +01:00
Chris 3c9f8ce716 Code tidy. 2017-09-24 21:34:28 +01:00
Chris 51b7e1a26e Disable bootloader's for now 2017-09-24 21:34:28 +01:00
Chris 6d97b8961b Fix flash_mapping_alignment_test so that invalid addresses are reported correctly. Tidy up 2017-09-24 21:34:28 +01:00
Chris 272b9cc2ca Ensure IAP uses word boundary aligned data. 2017-09-24 21:34:28 +01:00
Chris 1382e61f4f missing CR 2017-09-24 21:34:28 +01:00
Chris 26dc3c60df remove CMSIS algorithm and enable bootloader 2017-09-24 21:34:28 +01:00
Chris e5bc908b46 initial IAP routine 2017-09-24 21:34:28 +01:00
Martin Kojtal a658230956 flash: add note about program size
Program size - the writable page size that flash controller supports.
Plus fix program page description - multiple pages program
2017-09-24 21:34:28 +01:00
Christopher Haster e4f368d89e fatfs: Adopted the trim function in the FAT filesystem 2017-09-24 21:34:28 +01:00
Christopher Haster 55b992f130 bd: Added trim function to let filesystems give erase hints to FTLs 2017-09-24 21:34:28 +01:00
Christopher Haster 8c10a627f6 bd: Changed BlockDevice erase to default as no-op
This should help with confusion around devices that don't have
a physical erase operation, such as SD cards and spinny disks.
2017-09-24 21:34:28 +01:00
Russ Butler 614bbe7ae5 Remove direct use of us and lp ticker from tests
Remove the direct use of the microsecond and low power ticker from
the tests. This enforces that sleep mode is properly locked when
using timers. Furthermore, this prepares the codebase for new ticker
changes which allow differing clock frequencies and timer bit widths.
2017-09-24 21:34:28 +01:00
Andres Amaya Garcia 843da7b8cb mbedtls: Disable MD5, SHA1, SHA256 HW ACC for STM32F439xI
STM32F439xI-family MD5, SHA1 and SHA256 hardware acceleration
occasionally produces incorrect output (#5079).

Don't enable MD5, SHA1 and SHA256 HW acceleration on STM32F439xI-family
targets by default until issue #5079 is fixed.
2017-09-24 21:34:28 +01:00
adustm 4f423ed50f Change after code review : standardize calls among ST families Check return values in alignment with MBEDTLS error codes 2017-09-24 21:34:28 +01:00
adustm 56f5d7f70d Use new interface of mbedtls instead of deprecated functions 2017-09-24 21:34:28 +01:00
adustm 8888e3911b Fix multi context for AES CBC and ECB mode Fix mbed-os-example-tls-client use case 2017-09-24 21:34:28 +01:00
adustm 0673e24851 Enable AES_ALT mode again (remove workaround) 2017-09-24 21:34:28 +01:00
Christopher Haster f9ac4d676d Fix travis requirements install
pip requires --user flag when installing executables outside of sudo context
2017-09-24 21:34:28 +01:00
Laurent MEUNIER 7a7ccd7743 STM32: F2: put can_s struct under DEVICE_CAN option
In case of F2 devices without CAN support.
2017-09-24 21:34:28 +01:00
Laurent MEUNIER ca3a1aa66c STM32: CAN: store the mode in object context
In order to apply the same mode in case of reset, we store the current
requested mode in the HAL structure.

To make storage in a single place, we also change can_monitor to call
can_mode function as they actually acting on same registers.
2017-09-24 21:34:27 +01:00