Jimmy Brisson
040ae6cba1
Remove argument from tool/project.py -b
...
resolves #2309
2016-08-18 13:47:31 +01:00
Bogdan Marinescu
70abaccd93
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-18 13:47:29 +01:00
jeromecoutant
ffcfc882d3
CAN loopback test: correct some NUCLEO pin
2016-08-18 13:47:28 +01:00
Bogdan Marinescu
ed574957cd
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-18 13:47:26 +01:00
bcostm
3b9b2ec3c2
Add missing serial flow control elements in serial structure
2016-08-18 13:47:24 +01:00
bcostm
418e9f0aeb
Activate SERIAL_FC in targets.json
2016-08-18 13:47:22 +01:00
bcostm
2c1a790556
Add Serial Flow Control pins
2016-08-18 13:47:21 +01:00
bcostm
8091386ad0
Add Serial Flow Control pins
2016-08-18 13:47:19 +01:00
bcostm
1e8e71e8ad
Add Serial Flow Control pins
2016-08-18 13:47:17 +01:00
bcostm
6c872f37bb
Add Serial Flow Control pins
2016-08-18 13:47:16 +01:00
bcostm
396f563702
Add Serial Flow Control pins
2016-08-18 13:47:14 +01:00
bcostm
7de28b5feb
Add Serial Flow Control pins
2016-08-18 13:47:12 +01:00
jeromecoutant
cf09dced9f
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-18 13:47:11 +01:00
Vincent Coubard
fb70f79bdb
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-18 13:47:09 +01:00
Russ Butler
1a465d62c6
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-18 13:47:07 +01:00
Russ Butler
5046c2eaf0
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-18 13:47:06 +01:00
Russ Butler
5dd5df2736
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-18 13:47:04 +01:00
Russ Butler
59e4e8154a
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-18 13:47:02 +01:00
Russ Butler
0bd25733de
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-18 13:47:01 +01:00
Russ Butler
863eddb070
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-18 13:46:59 +01:00
Russ Butler
4ce977ee88
Override new and delete operators to trap errors
...
When new or new[] fails to allocate space trigger an error.
2016-08-18 13:46:57 +01:00
Russ Butler
91a48a8cfc
Adjust stack size for the nrf51
...
Decrease the main stack size for the nrf51 so there is more heap
space available.
2016-08-18 13:46:56 +01:00
Russ Butler
e913f49350
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-18 13:46:54 +01:00
Mahadevan Mahesh
21903917c4
KL27Z: Fix duplicate define error
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-18 13:46:52 +01:00
Russ Butler
ecd2945903
Add Cortex-M7 Nanostack binaries
...
Add binaries for the Cortex-M7 architecture. These binaries are identical
the the Cortex-M3 versions.
2016-08-18 13:46:51 +01:00
svastm
0c12ad579f
Clean pwm and analog definition
...
To be more consistant with ST targets, this commit change analog and pwm
channel definitions to PeripheralPins.c
2016-08-18 13:46:49 +01:00
svastm
490d5e78f7
Clean pwm and analog definition
...
To be more consistant with ST targets, this commit change analog and pwm
channel definitions to PeripheralPins.c
2016-08-18 13:46:47 +01:00
Peeyush pashine
3622e3adbe
Update analogin_api.c
...
Software trigger for ST NUCLEO F1x series boards:
Issue:
https://github.com/ARMmbed/mbed-os/issues/1672#issuecomment-236565445
2016-08-18 13:46:45 +01:00
Helmut Tschemernjak
c88f282c0e
Added the missing on-board SPI LSM303C sensor SPI pin definition to allow programming the sensor via mbed APIs See issue( #1746 )
2016-08-18 13:46:44 +01:00
Russ Butler
8d740d5a09
Add a test for thread-safe malloc
...
Add a test to repeatedly malloc and free from different threads to
test if these functions are thread safe.
2016-08-18 13:46:42 +01:00
Sam Grove
0993ae540c
Merge pull request #2436 from ARMmbed/release
...
Release v123
2016-08-12 23:25:32 +01:00
Martin Kojtal
f1fb66c469
Merge pull request #2428 from 0xc0170/fix_k64f_mcu
...
Fix k64f mcu - common code to be shared for k64f derivates
2016-08-12 04:46:10 +01:00
0xc0170
133d7b3e3c
K64F serial - fix device macro for serial flow
2016-08-11 17:43:39 +01:00
0xc0170
cd9b1781a3
MTS Gambit - remove serial flow control
...
Plus protect serial flow in the common k64f code, as not all targets provide its
support.
2016-08-11 15:17:26 +01:00
0xc0170
1310bd15ff
K64F - HAL common part prefixed with MCU_K64F
2016-08-11 15:04:39 +01:00
0xc0170
0b361745b8
Target hexiwear - add mcu_k64f label
2016-08-11 15:02:07 +01:00
0xc0170
fbbb64a885
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-11 14:58:45 +01:00
0xc0170
f4aabc4edd
mbed lib revision - 123
2016-08-11 09:18:39 +01:00
Sam Grove
c9a7f73eb6
Merge pull request #2413 from 0xc0170/fix_5.1.1
...
Fixes from master
2016-08-11 09:08:56 +01:00
Russ Butler
e32b258229
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-10 15:41:44 +01:00
Alessandro Angelino
80b1ff1371
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-10 15:41:21 +01:00
Alessandro Angelino
88f412f601
uVisor: Update README
...
Note: The README is auto-generated by the importer script, which copies
the QUICKSTART.md guide from ARMmbed/uvisor.
2016-08-10 15:41:08 +01:00
kclin
9625fde66e
Fix docs/BUILDING.md error command issue
2016-08-10 15:41:00 +01:00
Russ Butler
cde0575d82
Add ARDUINO to supported form factors of F429ZI
...
Add support for the arduino form factor in targets.json for the
NUCLEO_F429ZI.
2016-08-10 15:40:51 +01:00
Evangelos Arkalis
4aaec8df02
Alignment fixed
2016-08-10 15:40:41 +01:00
EvArk
a6895df7b4
STM32F1 serial_api initialize failure message
2016-08-10 15:40:25 +01: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