Commit Graph

7584 Commits (cb54c488d66ced1bd32355db2de6373370f68299)

Author SHA1 Message Date
Brian Daniels a03e8a88b1 Fixing missing import for os.path.exists 2016-09-28 13:48:40 +01:00
Mahadevan Mahesh 29808b8d56 KSDK serial_api.c: Fix assertion error for ParityEven
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-09-28 13:48:39 +01:00
Jimmy Brisson b88600105e Add documentation about profiles to the toolcahins 2016-09-28 13:48:37 +01:00
Rob Meades 3218ef9cc4 Remove "lib" and "lib64" from the mbed-OS .gitignore file: they do not seem to be required and lib is used as a directory name in a recent (u-blox) mbedOS target submission, so ignoring the files under that directory becomes a problem. 2016-09-28 13:48:36 +01:00
jeromecoutant 12336f0175 DISCO_L476VG: add SPI nicknames 2016-09-28 13:48:35 +01:00
Głąbek, Andrzej 9831226700 Made the constant array in serial_baud() static. 2016-09-28 13:48:34 +01:00
Głąbek, Andrzej ece21c91a7 Changed 'serial_baud' implementation to make it possible to use baud rates like 56000 or 31250. 2016-09-28 13:48:32 +01:00
Jimmy Brisson 719cbd997a Add a inc_repos option to the exporters 2016-09-28 13:48:31 +01:00
Russ Butler c6f6253395 Add device_has to all nrf51 devices
Move common device_has attributes into MCU_NRF51 and
MCU_NRF51_UNIFIED. This ensures all nrf51 devices have the correct
features enabled. Any devices that want to explicitly disable features
should use device_has_remove.
2016-09-28 13:48:29 +01:00
Andrzej Puzdrowski 021fc3c6eb Add .fs_data symbol in data section for gcc. It is neede for folowing nRF5 SDk component: fstorage, fds, Peer manager. 2016-09-28 13:48:28 +01:00
bcostm 9e1f5d1af8 STM32F0xx - Fix problem with channel 18 not present on all F0 devices 2016-09-28 13:48:27 +01:00
bcostm 33472f4a61 STM32F0xx - Add support of ADC internal channels 2016-09-28 13:48:26 +01:00
Sarah Marsh ee8ed6d7b0 Abstract check_executable added 2016-09-28 13:48:24 +01:00
Sarah Marsh d5941774ce Toolchain check generic in mbedToolchain 2016-09-28 13:48:23 +01:00
Sarah Marsh b1820d836e Docstrings. Empty executable search path handling. 2016-09-28 13:48:22 +01:00
Sarah Marsh fc7c05df17 Revise checking toolchain path 2016-09-28 13:48:21 +01:00
Jimmy Brisson 8c303bad16 Correct adding repo_files 2016-09-28 13:48:19 +01:00
Steven Cooreman 28647182f4 Fix exporter to pull root path
Simplicity Studio exporter doesnt really support header files in the root directory (looking at you, mbed_config.h), so this is a workaround for that issue.
2016-09-28 13:48:18 +01:00
Jimmy Brisson 3b91ea6588 Add a gettingstarted.html to all exporters 2016-09-28 13:48:17 +01:00
Steven Cooreman 817f7c347d Microsecond ticker optimization
Cleaned up the EFM32 us_ticker implementation since it was taking way too long to execute, leading to very unpredictable results. Relevant forum thread: https://developer.mbed.org/forum/platform-66-EFM32-Zero-Gecko-community/topic/26198/
2016-09-28 13:48:16 +01:00
Christopher Haster c509ab6142 nsapi - Added equality operators to SocketAddress class 2016-09-28 13:48:14 +01:00
sarahmarshy a6c4af3072 Fix uvision group naming
The previous way of finding group names found the encompassing directory of each file. If the project is exported from the online compiler, this resulted in temporary folder names like tmpyKKWv_ showing up as group names.

I propose defaulting to the project name if the file is in the project root.
2016-09-28 13:48:13 +01:00
bcostm 2e37551a64 NUCLEO_F429ZI - Add SERIAL_FC macro 2016-09-28 13:48:12 +01:00
bcostm 2432a58046 STM32L1xx - Fix build error 2016-09-28 13:48:11 +01:00
bcostm 02b7823e15 NUCLEO_L152RE - Add SERIAL_FC macro 2016-09-28 13:48:10 +01:00
bcostm 8dba26a091 STM32L1xx - Add Serial Flow Control pins 2016-09-28 13:48:08 +01:00
bcostm c3c7beb055 STM32F3xx - Fix build errors 2016-09-28 13:48:07 +01:00
bcostm 98993cbfa1 STM32F3xx - Enable SERIAL_FC in targets.json 2016-09-28 13:48:06 +01:00
bcostm f90adf174b STM32F3xx - Add Serial RTS/CTS pins 2016-09-28 13:48:05 +01:00
Marcelo Salazar 879bb85da8 Fixed bug on memap (non-default output path)
Removed code that checks if the path to the map file
matches with the selected toolchain.
2016-09-28 13:48:03 +01:00
svastm d3e5b5c9b7 STM32F7 - Add tests for asynchronous serial 2016-09-28 13:48:02 +01:00
svastm dafd1cc8a7 STM32F7 - Enable asynchronous serial 2016-09-28 13:48:01 +01:00
svastm f2681b6955 STM32F7 - Add asynchronous serial 2016-09-28 13:48:00 +01:00
Christopher Haster f44040a023 lwip - Added checks for invalid state of network
- Check if disconnected in socket open
- Check if connected in interface connect
- Check if disconnected in interface disconnect
2016-09-28 13:47:59 +01:00
Arto Kinnunen b2eb1855d1 Avoid type collision by renaming callback variable
Build jobs are failing due build error "arm_hal_timer.cpp:50:5:
error: reference to 'callback' is ambiguous".

Fix the build error by renaming callback to arm_hal_callback to
avoid collision with callback defined in ./mbed-os/hal/api/Callback.h
2016-09-28 13:47:57 +01:00
andreas.larsson 1d0342f488 Replaced usage of vendor specific register with basic registers when checking link status 2016-09-28 13:47:56 +01:00
Vincenzo Frascino 3132cd7eb0 Add platform to uvisor importer
This patch adds Beetle platform to uvisor importer.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-09-28 13:47:55 +01:00
Vincenzo Frascino 7fa26183e6 Disable fcache stats if uvisor is defined
This patch disables the fcache stats into mbed_sdk_init if uvisor is
defined in order to prevent MEMMANAGEMENT faults during boot.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-09-28 13:47:54 +01:00
Vincenzo Frascino cbefe7905e Add CMSIS 5 virtual NVIC compliancy
This patch adds CMSIS 5 virtual NVIC compliancy in order to support
uvisor.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-09-28 13:47:52 +01:00
Vincenzo Frascino 0278b5e6a4 Backport virtual NVIC mechanism from CMSIS 5 on CM3
This patch backports the virtual NVIC mechanish from CMSIS 5 for the
Cortex M3 architecture in order to support uvisor in this MCU class.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-09-28 13:47:51 +01:00
Vincenzo Frascino fa559d06d6 Enable uvisor
This patch modifies:
* the Beetle GCC ARM linker script
* the Beetle startup code
in order to define the memory regions that enable uvisor.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-09-28 13:47:50 +01:00
Olaf Hagendorf bf1b1ca977 classic mbed: bugfix can loop test
bugfixing the can loop test which failed after PR #2504
2016-09-28 13:47:49 +01:00
andreas.larsson cefd2fbf9c Aligned with STM32F429 2016-09-28 13:47:47 +01:00
andreas.larsson 0f00e124b1 Fixed wrong RAM start and added NVIC start. 2016-09-28 13:47:46 +01:00
andreas.larsson 47736dbcf1 Fixed wrong flash size. Fixed duplicate RW_IRAM1 region. 2016-09-28 13:47:45 +01:00
andreas.larsson d7f7880a19 Added u-blox C029 target 2016-09-28 13:47:44 +01:00
svastm 60eb4dd5f5 Change cthunk implementation + cm7 support
- Add support of cortex-M7 for cthunk.
- Change the cthunk trampoline implementation to safer and quicker
solutions:
 * thumb2, the behaviour was undefined. new implementation use now 2
instructions
 * thumb, The new implementation use 3 instructions instead of 6.
2016-09-28 13:46:30 +01:00
jeromecoutant a4f46e747b travis: revove rtos support for NUCLEO_L053R8 2016-09-28 13:46:28 +01:00
jeromecoutant 6fe0a26bc4 8K RAM target is too small for RTOS support 2016-09-28 13:46:27 +01:00
jeromecoutant fa2f0f0f34 Disable RTOS tests for STM32 8K targets
8K RAM target is too small for
"NUCLEO_L031K6"
"NUCLEO_L053R8"
"DISCO_L053C8"
"NUCLEO_F030R8"
2016-09-28 13:46:26 +01:00