Commit Graph

8623 Commits (53cd23e285c0c8ca58f5079968ccc367dea98c8c)

Author SHA1 Message Date
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
Russ Butler 81382ebdb2 Turn on main thread stack checking
Since the heap and stack are no longer shared, stack checking on the
main thread can be turned back on. This allows stack overflows on the
main thread to be caught quickly.
2016-08-09 14:50:17 -05:00
Russ Butler 1d3d01f000 Correctly set INITIAL_SP for K64F
With the latest K64F linker file the initial stack is out of sync
with INITIAL_SP when uVisor is not present. This patch removes
the incorrect declaration.
2016-08-09 14:49:47 -05:00
Russ Butler 16329fd2d9 Override new and delete operators to trap errors
When new or new[] fails to allocate space trigger an error.
2016-08-09 14:42:23 -05:00
Russ Butler da4787f036 Adjust stack size for the nrf51
Decrease the main stack size for the nrf51 so there is more heap
space available.
2016-08-09 14:42:09 -05:00
Russ Butler 7cf1dc1155 Fix heap limit checking and make memory explicit
Set well defined limits for the heap and configure GCC and ARMCC to
correctly check these. IAR already correctly checked its heap.

This also statically declares the main thread stack so the
linker is responsible for its placement.
2016-08-09 13:44:33 -05:00
Mika Karjalainen 81b4af102f Update Jenkinsfile 2016-08-09 16:49:49 +03:00
Martin Kojtal 52658e5131 Merge pull request #2380 from c1728p9/nucleo_f429
Add ARDUINO to supported form factors of F429ZI
2016-08-09 14:28:21 +01:00
Martin Kojtal 900fcfe516 Merge pull request #2355 from evark/stm32f1-serial
STM32F1 serial_api initialize failure message
2016-08-09 14:27:59 +01:00
Mahadevan Mahesh a7a6521b31 KL27Z: Fix duplicate define error
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-09 08:13:39 -05:00
Martin Kojtal f52111dc62 Merge pull request #2382 from kclin/master
Fix docs/BUILDING.md error
2016-08-09 14:10:01 +01:00
Martin Kojtal 46e2a1ee57 Merge pull request #2387 from AlessandroA/update_uvisor
Update the uVisor README and RPC header
2016-08-09 14:08:45 +01:00
Martin Kojtal 91ff73d545 Merge pull request #2392 from c1728p9/fix_terminate_join
Fix joining a terminated thread
2016-08-09 14:03:54 +01:00
Bogdan Marinescu 2f127cbd2b Merge pull request #2274 from ARMmbed/unified_wait
Unification of wait functions
2016-08-09 09:41:16 +01:00
Russ Butler e44ab35c42 Fix joining a terminated thread
When a thread is terminated signal the join semaphore so any threads
joining the terminated thread wake up as expected.
2016-08-08 16:42:20 -05:00
Bogdan Marinescu 49606cd5de Improved accuracy for microsecond delays 2016-08-08 19:04:38 +03:00
Alessandro Angelino 69101b84d4 uVisor: Update the RPC header files
This follows:

ARMmbed/uvisor#02ecf05 - "Remove unused TFN_RPC_Callback"
ARMmbed/uvisor#483ddda - "rpc: Add `rpc_fncall_wait`"
ARMmbed/uvisor#fdb7dce - "rpc: Add missing UVISOR_EXTERN to
                          rpc_fncall_waitfor declaration"
2016-08-08 12:43:23 +01:00
Alessandro Angelino 2f2fbc49a5 uVisor: Update README
Note: The README is auto-generated by the importer script, which copies
the QUICKSTART.md guide from ARMmbed/uvisor.
2016-08-08 12:39:47 +01:00
Mika Karjalainen 4e8bc3a449 Update Jenkinsfile 2016-08-08 10:17:27 +03:00
Mika Karjalainen 0da2ada5cd Update Jenkinsfile 2016-08-08 10:04:06 +03:00
Mika Karjalainen 8de9f71242 Create Jenkinsfile 2016-08-08 09:49:57 +03:00
kclin 4081f506ac Fix docs/BUILDING.md error command issue 2016-08-07 00:01:19 +08:00
Russ Butler 8b40b38e11 Add Cortex-M7 Nanostack binaries
Add binaries for the Cortex-M7 architecture. These binaries are identical
the the Cortex-M3 versions.
2016-08-05 16:08:18 -05:00
Russ Butler ea4c65defa Add ARDUINO to supported form factors of F429ZI
Add support for the arduino form factor in targets.json for the
NUCLEO_F429ZI.
2016-08-05 16:01:45 -05:00
Sam Grove 0712b8adf6 Merge pull request #2378 from sg-/master
Update readme and ignore .mbed files
2016-08-04 23:11:51 -05:00
Sam Grove 69a27649ba update readme for mbed OS 5 2016-08-04 22:29:54 -05:00
Sam Grove a6c7fbe857 dont track .mbed files created by mbed-cli 2016-08-04 22:22:32 -05:00
Sam Grove 9f652060a6 Merge pull request #2373 from iriark01/patch-3
Very minimal text
2016-08-04 22:11:18 -05:00
Sam Grove 9d1fbda9fe Merge pull request #2377 from sarahmarshy/flag_revision
Pass only relevant defines at each stage of compilation
2016-08-04 22:10:58 -05:00
Sam Grove 150fd079ef Merge pull request #2375 from geky/expose-nsapi
Expose the network-socket API through mbed.h
2016-08-04 20:25:41 -05:00
Sam Grove 8e24d683c0 Merge pull request #2361 from geky/add-ipv4-vk_rz_a1h
Enable FEATURE_IPV4 for the VK_RZ_A1H
2016-08-04 19:24:34 -05:00
Christopher Haster a7d6aa5953 Fixed indirect-dependency of mbed-client-classic through Socket.h
Before:
m2mconnectionhandlerpimpl.cpp -> Socket.h -> mbed.h

Now:
m2mconnectionhandlerpimpl.cpp -> mbed.h
2016-08-04 17:47:30 -05:00
Sam Grove 0131aa657c Merge pull request #2365 from bridadan/increase-heap-kl46z
Increasing the heap for KL46Z for IAR.
2016-08-04 17:36:44 -05:00
Sam Grove f8da50fec1 Merge pull request #2364 from bridadan/add-testing-docs
Adding docs for the testing process for mbed OS 5
2016-08-04 17:36:02 -05:00
Sarah Marsh 70890620f7 Uvision and IAR working cc and asm specific defines 2016-08-04 17:05:12 -05:00
Sam Grove fb92f3fd98 Merge pull request #2376 from NXPmicro/HEXIWEAR_Clock_Fix
Fix the clock setup for the K64 HEXIWEAR board
2016-08-04 17:02:20 -05:00
Christopher Haster 413ea26c00 [VK_RZ_A1H] Renamed __vector -> __vector_core_a9 as expected by IAR RTX 2016-08-04 16:36:50 -05:00
Christopher Haster 2c4a03f118 [VK_RZ_A1H] Maked __iar_program_start as weak 2016-08-04 16:36:38 -05:00
Sam Grove e9cebde193 Merge pull request #2372 from anangl/gpio_irq_fix
Fixed irq handling in gpio_api.
2016-08-04 14:54:50 -05:00
sarahmarshy 4cef2c917f Merge pull request #1 from screamerbg/split_symbols
Differentiate ASM and CXX symbols
2016-08-04 19:17:27 +01:00