Commit Graph

7257 Commits (0e330ef1fa7a82ea708004592b26b792a54e7292)

Author SHA1 Message Date
Jeremy Brodt 0e330ef1fa [MAX326xx] Fixed I2C bug. 2016-08-16 09:27:27 -05:00
Martin Kojtal 8d368775e3 Merge pull request #2401 from svastm/serial_asynch_f4
[STM32F4] Add asynchronous serial
2016-08-16 14:24:06 +01:00
Martin Kojtal 2776dd7dd3 Merge pull request #2447 from ytsuboi/master
[TY51822r3] Add support for mbed OS 5
2016-08-16 10:05:26 +01:00
Sam Grove b396436432 Merge pull request #2451 from 0xc0170/test
Fixes from mbed-os-5.1.1
2016-08-15 12:54:24 -05:00
Martin Kojtal dd8060b798 Merge pull request #2433 from theotherjimmy/better-config-errors
[tools] Improve error for missing name from mbed_lib.json
2016-08-15 15:15:06 +01:00
0xc0170 f38ee3c049 K64F serial - fix device macro for serial flow 2016-08-15 14:55:22 +01:00
0xc0170 f51d8cfa3e MTS Gambit - remove serial flow control
Plus protect serial flow in the common k64f code, as not all targets provide its
support.
2016-08-15 14:55:20 +01:00
0xc0170 29d36f0e7d K64F - HAL common part prefixed with MCU_K64F 2016-08-15 14:55:18 +01:00
0xc0170 4c499780dd Target hexiwear - add mcu_k64f label 2016-08-15 14:55:16 +01:00
0xc0170 b52a2fe9f4 Rename cmsis K64F to MCU_K64F
This is common for any K64F not only for frdm-k64f that is named K64F. This
is causing conflicts with inheritance. This might be fixed better (long term
solution).
2016-08-15 14:55:14 +01:00
0xc0170 ae4a4938ab mbed lib revision - 123 2016-08-15 14:55:12 +01:00
Martin Kojtal 6c2ef92dfa Merge pull request #2427 from fvincenzo/master
[BEETLE] Add support for IAR compiler
2016-08-15 11:44:06 +01:00
Yoshihiro TSUBOI 38f626cc61 [TY51822r3] Add support for mbed OS 5
- Changed inherit to "MCU_NRF51_32K_UNIFIED".
- Added 32MHz XTAL support to "system_nrf.c".
- Added TY51822r3 support to "MCU_NRF51_32K_UNIFIED".
2016-08-15 19:18:56 +09:00
Vincenzo Frascino 5145ab73f7 [BEETLE] Change release_version to 5
mbedci-test CI server is complian only with mbed-os release version 5.x.
This patch updates the Beetle section of the target.json file in order
to comply with the requirement.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-08-12 17:02:48 +01:00
Vincenzo Frascino 55c446a1e0 [BEETLE] Add support for IAR compiler
IAR compiler support is a mandatory requirement for mbed-os 5.1.

This patch adds support to IAR on Beetle mbed-os platform.
It contains:
* Linker script
* Startup code
* Target enablement
* Cordio libraries for BLE

Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-08-12 17:02:27 +01:00
Jimmy Brisson 71113a8820 Improve error for missing name from mbed_lib.json 2016-08-12 09:54:03 -05:00
Martin Kojtal 685096eb11 Merge pull request #2351 from peeyushpashine/patch-1
Update analogin_api.c
2016-08-12 12:47:16 +02:00
Martin Kojtal 3d61535652 Merge pull request #2149 from jeromecoutant/PR_MBED_A27
Add MBED_A27 test in the common list
2016-08-12 10:57:06 +02:00
svastm e725eb52e5 [STM32F4] Add tests for asynchronous serial 2016-08-12 10:39:02 +02:00
svastm 22874be402 [STM32F4] Enable asynchronous serial 2016-08-12 10:39:02 +02:00
svastm f112c26c14 [STM32F4] Add asynchronous serial
- Move struct serial_s to common_objects.h
 - Add event field to struct serial_s
 - Remove ASYNCH_DMA
 - Clean yotta defines
2016-08-12 10:35:06 +02:00
Martin Kojtal 58d9926c0c Merge pull request #2220 from svastm/update_cube_l1
[STM32L1XX] Update STM32CUBE_L1 to v1.6
2016-08-12 09:50:25 +02:00
Martin Kojtal d49a4e6da9 Merge pull request #2414 from bcostm/stm32f4_serial_fc
[STM32F4] Add serial flow control
2016-08-12 09:29:55 +02:00
Martin Kojtal 0b74dc1fc4 Merge pull request #2400 from NXPmicro/Fix_Duplicate_Define_KL27Z
KL27Z: Fix duplicate define error
2016-08-12 09:06:17 +02:00
Martin Kojtal b03411c89f Merge pull request #2322 from c1728p9/malloc_test
Add a test for thread-safe malloc
2016-08-12 09:03:30 +02:00
Jimmy Brisson 215f4259ce Remove argument from tool/project.py -b
resolves #2309
2016-08-12 08:37:52 +02:00
Bogdan Marinescu f6f5c531cb Merge pull request #2423 from ARMmbed/config_for_build_lib
Add config data to build_lib in build_api.py
2016-08-11 14:15:20 +01:00
Martin Kojtal 56865a2076 Merge pull request #2328 from helmut64/STM32L4_DISCO_SPIPINS
Added the missing on-board SPI LSM303C sensor SPI pin definitions
2016-08-11 13:43:23 +01:00
Martin Kojtal a79afc2ce5 Merge pull request #2352 from svastm/clean_pwm_analog
[STM32F[0-1]] Clean pwm and analog channel definition
2016-08-11 13:32:15 +01:00
Bogdan Marinescu d471a4f019 Add config data to build_lib in build_api.py
`build_lib` wasn't aware of configuration data, so some of the source
files that depends on configuration data fail to compile. This commit
fixes that by making `build_lib` aware of configuration data.
2016-08-11 13:54:41 +03:00
Martin Kojtal 002865f3d0 Merge pull request #2417 from ARMmbed/config_for_build_mbed_libs
build_mbed_libs is now aware of the configuration
2016-08-11 09:38:50 +01:00
Martin Kojtal fca16f80e7 Merge pull request #2410 from pan-/fix_nrf51_os_tick
Fix possible overflow of NRF51 os tick.
2016-08-11 09:03:23 +01:00
jeromecoutant 9525a5a469 CAN loopback test: correct some NUCLEO pin 2016-08-11 09:41:16 +02:00
Sam Grove 7007c4694b Merge pull request #2381 from c1728p9/nanostack_m7_support
Add Cortex-M7 Nanostack binaries
2016-08-11 01:21:27 +01:00
Sam Grove 4382db1a6e Merge pull request #2402 from c1728p9/main_thread_stack_checking_alt_impl
Main thread stack checking alt impl
2016-08-11 01:16:12 +01:00
Bogdan Marinescu 4f6eaaa8ec build_mbed_libs is now aware of the configuration
Previously, build_mbed_libs didn't take into account the configuration.
This is a problem when doing a binary release, since mbed_lib.json
contains configuration data relevant to the binary release.
2016-08-10 19:03:13 +03:00
bcostm 5a4e90d96d [NUCLEO_F446ZE] Add missing serial flow control elements in serial structure 2016-08-10 16:48:45 +02:00
bcostm aa772e9b86 [STM32F4] Activate SERIAL_FC in targets.json 2016-08-10 16:32:31 +02:00
bcostm 9bb710d38a [NUCLEO_F429ZI] Add Serial Flow Control pins 2016-08-10 16:24:26 +02:00
bcostm 7953526b3e [NUCLEO_F446RE] Add Serial Flow Control pins 2016-08-10 16:07:26 +02:00
bcostm d22054612b [NUCLEO_F411RE] Add Serial Flow Control pins 2016-08-10 15:58:42 +02:00
bcostm a905d36d13 [NUCLEO_F410RB] Add Serial Flow Control pins 2016-08-10 15:52:02 +02:00
bcostm 4e77da774f [DISCO_F469NI] Add Serial Flow Control pins 2016-08-10 15:40:33 +02:00
bcostm 7f2647d3ae [DISCO_F429ZI] Add Serial Flow Control pins 2016-08-10 15:30:45 +02:00
jeromecoutant 463c7d20f0 Create MBED_A28 test in the common list
MBED_A28 test is the same as MBED_A27 test.
This is a CAN loopback test without any peripheral or wire.
It can then be added in the common list.
2016-08-10 15:09:00 +02:00
Vincent Coubard c17be7efe4 Fix possible overflow of NRF51 os tick.
The RTC1 counter can increase while the new value for the CC register
used by the os tick is computed. As a result, when interrupts are enabled
again RTC1 counter and CC register value are equal. If these two values are
equal then the interrupt for the CC channel used by the OS tick will be
generated the next time the RTC counter reach that value.
In other words, the next OS tick will occur 131 seconds latter.

This issue possibly concern all NRF51 targets with 32K of RAM but is
only visible on NRF51_DK target when their is heavy BLE load.
2016-08-10 09:50:04 +01:00
Russ Butler d9ac33d0c3 Increase interrupt stack size for K64F
The config store tests use more than 2K of the interrupt stack, causing
an overflow.  This patch bumps the K64F interrupt stack size to 4K
for ARMCC and GCC. The IAR interrupt stack is left untouched since
it is 32K.
2016-08-09 14:55:05 -05:00
Russ Butler 3587a08f8e Fix nrf52 initial stack pointer in ARMCC
Set the initial stack pointer to the end of ram so it matches
INITIAL_SP defined in RTX_CM_lib.h.
2016-08-09 14:54:58 -05:00
Russ Butler 69bf173e22 Decrease NUC472 interrupt stack size
Decrease the interrupt stack of the NUC472 from 12KB to 8KB. This
frees up enough space to allow the core tests to run.
2016-08-09 14:54:51 -05:00
Russ Butler 1615dca6bd Add a test for heap and stack layout
Test the following components of the heap and stacks:
-Heap and interrupt stack are at the expected locations
-Entire heap can be used
-Heap limit is properly enforced and returns NULL when out of
  of memory
2016-08-09 14:54:17 -05:00