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
Jimmy Brisson
abc7669eb7
Move find_tests to where it's has arguments
2016-08-11 10:03:23 -05: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
Brian Daniels
114efcf753
Adding retries to the NIST test.
...
A UDP request to the NIST servers can fail to return data due to UDP
packet loss. Since packets are not guaranteed with UDP, this is a valid
failure and should not be treated as a test failure. The test should retry
the request in this case. This commit adds those retries.
2016-08-10 09:25:04 -05: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
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
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