Commit Graph

9573 Commits (mbed_lib_rev136)

Author SHA1 Message Date
Martin Kojtal bcf7085d85 Merge pull request #3755 from ARMmbed/release-candidate
Release candidate for mbed-os-5.3.5
2017-02-14 10:54:15 +01:00
Martin Kojtal bd70614c07 Update MBED_LIBRARY_VERSION to v136 2017-02-13 13:27:22 +00:00
ccli8 c9bce8fdc8 Fix USB EP setting error in USBAudio
NUC472/M453 USB doesn't support configuration of the same EP number for IN/OUT simultaneously.
2017-02-13 13:27:18 +00:00
Jimmy Brisson 907e7db562 Fix access before variable defined bug in test_api
The worker_result variable was not guaranteed to have a `'result'` or
`'reason'` key and accessing them before testing for them could result
in an error when they are not provided. This patch changes the checks to
prevent check for their existence before accessing them.
2017-02-13 13:27:15 +00:00
pradeep-gr 5f726b957d NCS36510: spi_format function bug fix 2017-02-13 13:27:10 +00:00
Sarah Marsh cdbd0ff31c Add IAR export support for NUCLEO_F207ZG 2017-02-13 13:27:06 +00:00
Russ Butler ecbafafffc Enforce device_name is valid in targets.json
Add a CI test ensure that device_name exists inside the pack index.
2017-02-13 13:27:02 +00:00
Russ Butler fcb2f21483 Fix or remove invalid device names
The field device_name is intended to match that of a target in a
device family pack. Remove this field for devices which do not have
a pack. Fix the name for devices that have the name incorrect. Update
IAR definitions for device which no longer have a device_name but
still need to have support for the IAR exporter.
2017-02-13 13:26:57 +00:00
Russ Butler 45fa0f28b1 exporters: allow target name to be used for IAR
Allow the IAR exporter to fall back to a target's name if the
device_name entry is missing.
2017-02-13 13:26:55 +00:00
Brian Daniels 62b61505ae Adding case insensitive 'error' detection
GCC Assembler errors were being missed because it prints 'error'
with a captial 'E'. This change allows the 'e' to be either lower
case or upper case.
2017-02-13 13:26:51 +00:00
adustm a7a3ae2c55 Modify forder structure so that targets with the same device can share files 2017-02-13 13:26:47 +00:00
JojoS 2cbc35d58d Fix for #2884, LPC824: export to LPCXpresso, target running with wrong clock speed
SystemInit() was called condititionally, but necessary defines were not
set in mbed. Calling SystemInit() unconditional now.
Removed also conditiional calls to legacy CodeRed lib.
2017-02-13 13:26:42 +00:00
Jaeden Amero 0bd09b0189 uVisor: Standardize available legacy heap and stack
With the RTOS, the STACK_SIZE specified here is unrelated to the stack
size available for the main thread (that runs pre_main). Save memory by
reducing the stack size to a more reasonable amount.

On uVisor, HEAP_SIZE is both a minimum available and maximum available
heap size. The heap can't grow beyond the end of the heap into the
neighboring stack. On all uVisor-supported platforms, guarantee at least
0x6000 bytes of heap space. This increases the portability of uVisor
applications as the memory available for legacy heap allocations is
guaranteed. This helps to avoid out of memory errors on platforms that
were previously guaranteeing less memory.
2017-02-13 13:26:38 +00:00
Brian Daniels de47c55a19 Fixing uvisor defines to fix build issues 2017-02-13 13:26:35 +00:00
Anna Bridge 0bb8e2bc10 Updated to allow for new directory structure for mbed-dev source.
Fixed issue where some deleted files/folders where not being removed from
 the repo.
 Removed code no longer used/needed.
2017-02-13 13:26:32 +00:00
Laurent MEUNIER 32137fa275 STM32: I2C: reset state machine
this I2C IP is meant for automatic STOP, based on programmed number
of bytes to be sent or receivede, not a user triggered STOP.
So the state machiine needs to be reset in case we use this I2C mbed
unitary API (start / byte_write / byte_read / stop).
2017-02-13 13:26:28 +00:00
adustm d085d33dbe STM32F302x8 folder struct 2017-02-13 13:26:25 +00:00
adustm 5cf85171fe STM32F334x8 folder struct 2017-02-13 13:26:20 +00:00
adustm 4159c70507 STM32F303xC folder struct 2017-02-13 13:26:16 +00:00
adustm d98aef9e49 STM32F303x8 folder struct 2017-02-13 13:26:13 +00:00
adustm 351f7d65f4 STM32F303xE folder structure modification 2017-02-13 13:26:09 +00:00
adustm 1b972d53a4 STM32L432xC folder structure rework 2017-02-13 13:26:04 +00:00
adustm 022ba3d507 STM32L476xG STM32L486xG folder structure modification 2017-02-13 13:26:00 +00:00
adustm ecec5f0750 STM32F410xB folder structure update 2017-02-13 13:25:56 +00:00
adustm 3e117c125e STM32F401xE folder structure update 2017-02-13 13:25:52 +00:00
adustm f06c46bca4 STM32F469xI folder structure update 2017-02-13 13:25:48 +00:00
adustm bdf504f7c1 STM32F412xG folder structure update 2017-02-13 13:25:45 +00:00
adustm 5ef202c977 STM32F407xG folder structure update 2017-02-13 13:25:41 +00:00
adustm dc8a83ab1e STM32F401xC folder structure update 2017-02-13 13:25:38 +00:00
adustm c2ca2fdb95 STM32F429 / F439 folder rework 2017-02-13 13:25:34 +00:00
adustm ec8fccc40f STM32F411xE folder structure update 2017-02-13 13:25:30 +00:00
adustm 788fcd7663 STM32F446xE folder structure update 2017-02-13 13:25:26 +00:00
Jimmy Brisson 810d502c7c Add core to uvision exporter template
Strip trailing F's and D's off of the Cputype in uvision
2017-02-13 12:02:40 +00:00
Brian Daniels d2a86635ea Adding fatal error detection to toolchians.
Before the toolchains would ignore error messages that contained the
string "Fatal error". This would lead to a silent failure unless the
compile command was ran with verbose options. This is now fixed.
2017-02-13 12:02:35 +00:00
mbedNoobNinja a81d9329bc missing IRQ pin fix 2017-02-13 12:02:30 +00:00
mbedNoobNinja 2006082dbc Export IDE support added 2017-02-13 12:02:24 +00:00
Laurent MEUNIER d2cb07126e STM32: L0 LL layer
Introduce the L0 LL Layer from STM32 cube.
2017-02-13 12:02:19 +00:00
Laurent MEUNIER c8fd470522 Fix alignements 2017-02-13 12:02:13 +00:00
Laurent MEUNIER 7538f8dcde STM32: I2C: remove warning
Remove unused variables to avoid warnings.
2017-02-13 12:02:07 +00:00
Laurent MEUNIER 9042682542 STM32: remove F3 spi_api.c warning
Solve below warning:

"...\targets\TARGET_STM\TARGET_STM32F3\spi_api.c", line 73:
Warning:  #111-D: statement is unreachable
2017-02-13 12:02:02 +00:00
bcostm d8ee52820e Enable USB tests in Travis build 2017-02-13 12:01:58 +00:00
bcostm 2104dad908 Enable USB Host 2017-02-13 12:01:53 +00:00
bcostm 3e1a487c67 Add F412ZG in USBHAL files 2017-02-13 12:01:48 +00:00
bcostm 485a9d7509 Add USB macros in targets.json for F412ZG 2017-02-13 12:01:42 +00:00
TomoYamanaka ee87e5cf57 Fix Stack stats by running the test command with "-DMBED_HEAP_STATS_ENABLED=1"
In CI, I receive an mbed assert of stack stats by running the following commands. Its assert is TIMEOUT.
mbed test -m RZ_A1H -t GCC_ARM -DMBED_STACK_STATS_ENABLED=1 --clean --compile
mbed test -m RZ_A1H -t GCC_ARM --run -n tests-mbed_drivers-stl_features -v

So, I fixed the process of related to stack stats (osThreadInfoStackMax).The Detail contents is here.
https://github.com/ARMmbed/mbed-os/issues/3273#issuecomment-268407191
2017-02-13 12:01:37 +00:00
Olaf Hagendorf b8fccedbc8 NUCLEO_F207ZG extending PeripheralPins.c: all available alternate functions can be used now
Through some minor extensions it is now possible to use all available alternate functions of a specific gpio pin. These alternatives exist up to now only as commented lines in PeripheralPins.c.
An API change is not necessary for this new functionality, only several pin definitions.

The new definitions now looks like:

    {PA_0,            ADC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 0, 0)},  // ADC1_IN0
    {PA_0_ALT0,  ADC_2, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 0, 0)},  // ADC2_IN0 // choice: PA_0 with ADC_1
    {PA_0_ALT1,  ADC_3, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 0, 0)},  // ADC3_IN0 // choice: PA_0 with ADC_1

PA_0, PA_0_ALT0 or PA_0_ALT1 has to be used as pin names for the usage of the three possible ADC blocks (ADC1, ADC2, ADC3) connected to the pin (PA_0).
2017-02-13 12:01:33 +00:00
Michel Jaouen 34dcdde58b USBHOST STM : add more board NUCLEO : F411RE, L476VG, F746ZG DISCO : L476VG 2017-02-13 12:01:26 +00:00
Michel Jaouen e3950204dd update build_travis.py 2017-02-13 12:01:20 +00:00
Michel Jaouen 3c093a8aab USBHOST : add mouse test 2017-02-13 12:01:16 +00:00
Michel Jaouen 0b0520deef USBHOST : test mass storage 2017-02-13 12:01:11 +00:00