Laurent Meunier
39197e6ad3
[NUCLEO_F446ZE] Add HAL target
...
Inspired from NUCLEO_F446RE, only PinNames.h updated according to NUCLEO_F446ZE schematics.
2016-07-04 11:42:43 +02:00
Laurent Meunier
d6e7df9591
[NUCLEO_F446ZE] Add CMSIS target
...
Adding new nucleo target, actually exactly the same as NUCLEO_F446RE
2016-07-04 11:42:43 +02:00
Martin Kojtal
ebfe44c1bf
Merge pull request #2038 from infinnovation/parityeven-fix
...
[K64F] serial_api.c: Fix #1979 assertion error for ParityEven
2016-07-04 10:40:06 +01:00
Martin Kojtal
a3a4c78ea0
Merge pull request #2070 from akselsm/efm32-update
...
[EFM32] Update HAL implementation
2016-07-04 10:35:58 +01:00
Martin Kojtal
1216d8088d
Merge pull request #2092 from akselsm/spi-init-fix
...
SPI: Properly aquire peripheral in constructor
2016-07-04 10:10:11 +01:00
0xc0170
b29e9d093f
Merge branch 'bridadan-fix-lpc1768-test-compile'
2016-07-04 09:11:09 +01:00
Brian Daniels
529da7c43e
Tests - use MBED_ALIGN instead of specific compiler attributes
...
This fixes the build of vector realloc test for all compilers
2016-07-04 09:10:19 +01:00
Aksel Skauge Mellbye
a81fdc461d
[EFM32] Backport changes from mbed OS 3.
2016-07-04 10:08:20 +02:00
Aksel Skauge Mellbye
da2a4ccbae
[EFM32] Add SPI test. Refactor SPI HAL, fix misc test failures.
...
Properly support the bit_width parameter for the async API.
Fix issues with long DMA transfers (exceeding 1023 frames).
2016-07-04 10:08:09 +02:00
Steven Cooreman
746c485b43
[EFM32] Swap out INT_* functions with mbed critical sections
2016-07-04 10:06:32 +02:00
Aksel Skauge Mellbye
641087ce65
[EFM32] Add delay after reset for greentea test runs.
...
The host-test resets the target by sending a UART break. After this, it takes some
time for the target to come back up. Without this timeout, the __sync packet
sent by greentea would not be retransmitted by the interface chip (i.e. it would never
reach the target). Testing on different devices indicates that 2 seconds delay
is sufficient for the device to reset and the __sync packet to reach the target.
2016-07-04 10:03:02 +02:00
Aksel Skauge Mellbye
b09a87ffb8
SPI: Properly aquire peripheral in constructor
...
Prevent mismatch between _owner and peripheral configuration. In the previous
implementation, the following code would leave the peripheral in an inconsistent
state:
```
SPI spi1(...); // _owner is NULL, peripheral config is 1
spi1.transfer(...); // _owner is 1, config is 1
SPI spi2(...); // _owner is 1, config is 2
spi1.transfer(...) // 1 thinks it still owns peripheral, doesn't reconfigure
```
2016-07-04 09:52:57 +02:00
Martin Kojtal
ce830296d0
Merge pull request #1909 from ohagendorf/stm32f7cube_2
...
[STM32F7xx] update cube hal to v1.4, adding NUCLEO_F767
2016-07-01 17:10:41 +02:00
Martin Kojtal
6e103c3e13
Merge pull request #1883 from adbridge/master
...
Update function get_interrupts_disabled() to return a bool value rather
2016-07-01 17:10:22 +02:00
Olaf Hagendorf
4211f7581e
[NUCLEO_F7xx] adding F767 to build_release and adding default_build to target.json
2016-07-01 16:27:20 +02:00
Anna Bridge
329f8a10dc
Add core_util_ prefix to are_interrupts_enabled() function.
...
For consistency with other exposed functions from this file, core_util_
prefix should be added.
2016-07-01 15:08:31 +01:00
Anna Bridge
2292794385
Reverse the logic to get_interrupts_disabled() to are_interrupts_enabled()
...
and update the using functions accordingly.
Usage:
bool interrupts_enabled = are_interrupts_enabled()
Remove superfluos shift in are_interrupts_enabled().
2016-07-01 14:55:53 +01:00
Anna Bridge
9f052bc500
Update function get_interrupts_disabled() to return a bool value rather
...
than an integer. This removes the need for all users to mask the returned
value with 0x1 to determine interrupt status.
Expose this function externally to allow other users to check interrupt
status in a manner which will work for both cortex-A and cortex-M .
Usage:
bool disabled = get_interrupts_disabled();
2016-07-01 14:53:53 +01:00
ohagendorf
fdda915a8a
[NUCLEO_F767ZI] adding target to rtos lib
2016-07-01 15:19:30 +02:00
ohagendorf
6b6371420c
[NUCLEO_F767ZI] adding IAR toolchain
2016-07-01 15:17:29 +02:00
ohagendorf
23f4152759
[NUCLEO_F767] removing not longer necessary uvision5 options
2016-07-01 15:17:28 +02:00
ohagendorf
956b733d0f
[STM32F676] correcting memory sizes for gcc_arm
2016-07-01 15:17:27 +02:00
ohagendorf
40506d899b
rebase failure
2016-07-01 15:17:27 +02:00
ohagendorf
8292dd2fd2
Add call to SystemCoreClockUpdate() and Reset peripheral before init …
...
…phase.
patch from bcostm
2016-07-01 15:17:26 +02:00
ohagendorf
9ddbb1f831
[NUCLEO_F767] move gcc template to new path
2016-07-01 15:17:25 +02:00
ohagendorf
db7ca8086d
update Cube driver to v1.4.0
2016-07-01 15:17:24 +02:00
ohagendorf
4261a225f4
update target specific files
2016-07-01 15:17:23 +02:00
ohagendorf
4a998ab402
adding new target
...
test results:
Test summary:
+--------+---------------+-----------+-------------+---------------------------------------+--------------------+---------------+-------+
| Result | Target | Toolchain | Test ID | Test Description | Elapsed Time (sec) | Timeout (sec) | Loops |
+--------+---------------+-----------+-------------+---------------------------------------+--------------------+---------------+-------+
| OK | NUCLEO_F767ZI | GCC_ARM | DTCT_1 | Simple detect test | 0.53 | 10 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | EXAMPLE_1 | /dev/null | 5.78 | 20 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_10 | Hello World | 0.37 | 5 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_11 | Ticker Int | 11.39 | 15 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_12 | C++ | 1.41 | 10 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_16 | RTC | 4.57 | 20 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_2 | stdio | 0.79 | 20 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_23 | Ticker Int us | 11.37 | 15 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_24 | Timeout Int us | 11.41 | 15 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_25 | Time us | 11.4 | 15 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_26 | Integer constant division | 1.41 | 20 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_34 | Ticker Two callbacks | 11.41 | 15 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_37 | Serial NC RX | 10.9 | 20 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_38 | Serial NC TX | 15.38 | 20 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_A1 | Basic | 1.34 | 20 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_A21 | Call function before main (mbed_main) | 1.45 | 20 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_A9 | Serial Echo at 115200 | 6.5 | 20 | 1/1 |
| OK | NUCLEO_F767ZI | GCC_ARM | MBED_BUSOUT | BusOut | 2.28 | 15 | 1/1 |
+--------+---------------+-----------+-------------+---------------------------------------+--------------------+---------------+-------+
Result: 18 OK
Completed in 174.85 sec
2016-07-01 15:17:22 +02:00
Olaf Hagendorf
3ac68aae06
typo in target names for travis build
2016-07-01 15:17:21 +02:00
ohagendorf
cc537f7449
adding gccarm and uvision5 exporter
2016-07-01 15:17:21 +02:00
Olaf Hagendorf
e6599ba1a0
rebase and adding ARM_STD config, all F7 use ARM as default toolchain
...
- changing device.h -> targets.json after rebase
- adding startup and config files for ARM_STD toolchain
- changing all STM32F7xx targets to ARM as default toolchain (instead of uARM before)
2016-07-01 15:17:20 +02:00
ohagendorf
de48f58499
rename feature to device_has in new target
...
PR #1881 renamed option in targets.json - this commit is doing the same with the new target
2016-07-01 15:17:19 +02:00
Martin Kojtal
9197f94f14
Merge pull request #1977 from jamike/STM32F3_Hal_update
...
[TARGET_STM32F3]: Update Hal 1.5.0
2016-07-01 15:03:25 +02:00
Martin Kojtal
36afe74d16
Merge pull request #2084 from AlessandroA/fix_vmpu_k64f_release_mode
...
uVisor: Fix K64F vMPU bug in release mode
2016-07-01 14:56:21 +02:00
Martin Kojtal
62604b45b2
Merge pull request #1880 from zgoda/generic_bluepill
...
Support for Blue Pill
2016-07-01 14:52:04 +02:00
Martin Kojtal
ef1557d8b4
Merge pull request #2082 from pan-/backport_nrf51_fixes
...
Backport fixes from nordic branches:
2016-07-01 14:26:52 +02:00
Alessandro Angelino
0392b7dea8
uVisor: Fix K64F vMPU bug in release mode
...
This commit updates the uVisor libraries following the following fix:
* ARMmbed/uvisor@767e794 "K64F vMPU: Use the MPU fault address"
The bug made some release builds of the uVisor example halt because of
an imprecise bus fault not correctly handled by uVisor internally.
The change only affects targets where `FEATURE_UVISOR` and
`UVISOR_SUPPORTED` are defined.
2016-07-01 13:16:38 +01:00
Martin Kojtal
6350b2d904
Merge pull request #2046 from sarahmarshy/patch-2
...
Changed reference to old rtos location
2016-07-01 13:33:40 +02:00
Martin Kojtal
d3f95d2f60
Merge pull request #2055 from geky/rtos-deprecate-threads
...
Marked thread-spawning constructors as deprecated
2016-07-01 13:31:33 +02:00
Vincent Coubard
b041c75ed2
Backport fixes from nordic branches:
...
- nrf headers synchronized with the one in BLE implementation. This is a
short term fix. The nordic branches use a single nrf SDK and does not
have duplicate headers. Once this branch will be integrated, there will
be no more issues around duplicate headers.
- enable feature BLE in the targets.json. This fix was done a long time
ago in the nordic branch. Without it, it is not possible to compile BLE
examples.
2016-07-01 12:04:05 +01:00
Martin Kojtal
3051436788
Merge pull request #2071 from LMESTM/nucleo_f746zg_ff_arduino
...
[NUCLEO_F746ZG] Add Arduino Form Factor property
2016-07-01 12:33:04 +02:00
Martin Kojtal
1963e0e1a1
Merge pull request #2078 from LMESTM/fix_l0_lpuart_baudrate
...
[STM32L0] Fix baudrate initialisation
2016-07-01 12:31:20 +02:00
Sam Grove
26e9aa4b4e
Merge pull request #2075 from 0xc0170/fix_#2059
...
RTOS - fix for main thread id might not be 0x02
2016-06-30 14:29:21 -05:00
Sam Grove
185676300d
Merge pull request #2060 from theotherjimmy/cleanup-make-export
...
[Exporters-gcc_arm] Clean up the source directory
2016-06-30 13:01:54 -05:00
Mihail Stoyanov
b70d901ef9
Merge pull request #1984 from mbedmicro/config_system_docs
...
Added documentation for the configuration system
2016-06-30 18:00:22 +01:00
Jimmy Brisson
3850c2628b
Force all to be the default target
2016-06-30 11:43:01 -05:00
Jimmy Brisson
6c1c7a5955
Check for OSTYPE instead of OS
...
It better detects sh vs. batch
2016-06-30 11:28:32 -05:00
Sam Grove
197c4b516b
Merge pull request #2076 from bridadan/relative-paths-test-spec
...
Relative paths in test spec file
2016-06-30 11:01:07 -05:00
Jimmy Brisson
d6d0202236
Move binaries from bin to .build
2016-06-30 10:55:34 -05:00
Jimmy Brisson
5d014661c2
Redo window mkdir; add cross-platform rmdir
2016-06-30 10:55:10 -05:00