Commit Graph

10778 Commits (52d38a1be076c6fd5abdacfe3805dd0e7795d102)

Author SHA1 Message Date
adbridge 9ea605bb98 Update.py: Tidy up Fn headers, make logger work globally
The function headers have been updated to follow the standard format
that should be being used for tools in mbed. This is a one line summary
followed by a descriptive block with more detail.
Updated the handling of the main function so that the logger becomes
global and thus works across all the functions. This has been tested
with both the fork and branch options, and for levels INFO and DEBUG.
2017-04-21 11:08:58 +01:00
Jimmy Brisson 8048ec3b66 Add a config test to check for failing bootloader images 2017-04-20 14:32:17 -05:00
Jimmy Brisson cf87e7d182 Merge pull request #3915 from janjongboom/feature-vscode
Feature vscode
2017-04-20 12:39:44 -05:00
Jimmy Brisson 2a84ddd6e4 Error when bootloader is specified but does not exist
The changes to build_api.py make the error happen when running things
like get_config.py
2017-04-20 11:23:42 -05:00
Jimmy Brisson c4c6e139b6 Add UUID to all builds 2017-04-20 11:03:15 -05:00
Jimmy Brisson 05dce1206e Change date key to UTC ISO 8601 format 2017-04-20 11:03:15 -05:00
Jimmy Brisson 6ef384b7fe Add type to build_data.json 2017-04-20 11:03:15 -05:00
Jimmy Brisson 808279911c Add --build-data flag to mbed test 2017-04-20 11:03:15 -05:00
Jimmy Brisson aeb6109717 Rename switch to --build-data 2017-04-20 11:03:15 -05:00
Jimmy Brisson 035ddfb057 Add an option to make.py to dump build metadata 2017-04-20 11:03:15 -05:00
Jimmy Brisson da9c10be48 Expand build reports in the tools 2017-04-20 11:03:15 -05:00
Anna Bridge bc58c1ba2d Merge pull request #4180 from u-blox/c030-dev
[UBLOX_C030] create target hierarchy for the specific versions of the C030 board
2017-04-20 16:54:18 +01:00
Anna Bridge 7a3aa7a094 Merge pull request #4174 from nvlsianpu/nRF52840_rtc_ovf_bugfix
[NRF52840]:  fix rtc overflow-while-set-timestamp issue
2017-04-20 16:51:28 +01:00
Anna Bridge e3f457b4d5 Merge pull request #4154 from jeromecoutant/PR_F7_LEVEL0
STM32F7 Internal ADC channels rework
2017-04-20 16:50:34 +01:00
Anna Bridge f1576bf255 Merge pull request #4192 from fmanno/improve-mbed_error_vprintf
Fix gcc [-Wsign-compare] warning
2017-04-20 16:46:28 +01:00
Anna Bridge 2ae34c45d0 Merge pull request #4184 from geky/events-strict-alias-warning
events: Remove strict-aliasing warning
2017-04-20 16:43:13 +01:00
Anna Bridge 743ab7eb59 Merge pull request #4176 from jeromecoutant/PR_L4_LEVEL0
STM32L4 Internal ADC channels rework
2017-04-20 16:39:38 +01:00
Anna Bridge 8344adf48a Merge pull request #4172 from theotherjimmy/iar-no-linker-scirpt
Fail IAR exports without linker scirpts with NotSupportedException
2017-04-20 16:27:58 +01:00
Anna Bridge da4fb75256 Merge pull request #4171 from theotherjimmy/lpc-template-execption
Fix typo in LPCExpresso exporter template
2017-04-20 16:26:28 +01:00
Anna Bridge 41ff084f0c Merge pull request #4150 from theotherjimmy/refactor-config-header
Move config system into it's own folder and refactor header generation
2017-04-20 16:14:38 +01:00
Anna Bridge 5b86a108d9 Merge pull request #4137 from NXPmicro/Kinetis_Fix_ARM_Linker_Scripts
MCUXpresso: Update ARM linker files to eliminate reserving RAM for stack & heap
2017-04-20 16:10:30 +01:00
Anna Bridge 29d59edd55 Merge pull request #4129 from bridadan/remove_old_fs_test
Removing old filesystem test
2017-04-20 15:57:12 +01:00
Anna Bridge 6a6455dfc2 Merge pull request #4031 from jeromecoutant/PR_IAR_BIG_HEAP
STM32 increase IAR heap size for big RAM targets
2017-04-20 15:50:21 +01:00
Anna Bridge 78c48504c1 Merge pull request #4016 from nvlsianpu/nrf5_rtc_ovf_bugfix
[NRF5]: fix rtc overflow-while-set-timestamp issue
2017-04-20 15:48:03 +01:00
Anna Bridge a1d1a6037c Merge pull request #3888 from 0xc0170/fix_add_examples
tools: add new examples
2017-04-20 15:38:02 +01:00
Sam Grove 32401318a6 Merge pull request #4048 from tung7970/feature-lwipopt
Make LWIP options configurable
2017-04-20 09:05:31 -05:00
Rob Meades 4c5e89a5df [UBLOX_C030] make the UBLOX_C030 target private and introduce UBLOX_C030_U201 and UBLOX_C030_N211 for the two versions of the board (for the Sara U201 module and Sara N211 module respectively). These targets then inherit the UBLOX_C030 "base" target. The two targets are the same right now but will diverge when the cellular API is introduced. 2017-04-20 14:03:47 +01:00
Martin Kojtal 84eddd01c1 tests: race test - add not supported for single threaded env
Fixes #4196. As someone might not be aware that settting default_lib to small has
some implications regarding thread safety, therefore we print an error.
2017-04-20 10:53:01 +01:00
ccli8 32a7e6ba5e [NUC472/M453] Fix pwmout power-down condition 2017-04-20 16:13:37 +08:00
ccli8 e55553e749 [NUC472/M453] Fix DMA channel over-allocate 2017-04-20 14:57:09 +08:00
Francisco J. Manno 4398b1f3c1 Fix gcc [-Wsign-compare] warning
[Warning] mbed_board.c@99,36: comparison between signed and unsigned
integer expressions [-Wsign-compare] is seen during compilation.
Fix the warning and small improvements.

1. Change type of loop variable "i" to the same type as "size".
   Size is > 0 checked by the if statement and i stops at == size
   so none can be negative. However size still needs to be signed
   to detect error codes from vsnprintf.
2. Reduced scope of stdio_out_prev and make sure it's initialized.
3. Define a name for the error buffer size and use vsnprintf instead
   of vsprintf to avoid writing outside of the array.
   NOTE: the if(size > 0) statement doesn't need to change. If
   the message to write is larger than the buffer size vsnprintf
   truncates it automatically but still returns a positive value.
2017-04-19 18:37:37 +01:00
Anna Bridge 2e2fe377b3 bus reset for KL25Z fix, USBSerial update
1. added call to busReset() to KL25Z HAL; now the USB stack survives if you disconnect the cable, similar to LPC40 2. busReset callback to update terminal_connected in USBCDC 3. new bool USBSerial::connected() to read protected terminal_connected property, useful when you want to check if the terminal is ready from main app
2017-04-19 15:38:51 +01:00
Sam Grove 247238d993 Merge pull request #4167 from 0x6d61726b/patch-2
Replace deprecated import and correct typo in c_blob_mbed.tmpl
2017-04-19 02:28:34 -05:00
Sam Grove 01767268cd Merge pull request #4142 from productize/master
EFM32: Fixed `pwmout_all_inactive` being inversed
2017-04-19 02:27:19 -05:00
Sam Grove c710f46993 Merge pull request #4179 from AlessandroA/uvisor_makefile_fix_cp_cmd
uVisor: Fix copy of quick-start doc in exporter script
2017-04-19 02:22:14 -05:00
Sam Grove 8a2ae245d0 Merge pull request #4175 from nvlsianpu/nRF52840_rm_apptimer
[NRF52840]: Remove unwanted nRF5 SDK's app_timer libarary.
2017-04-19 02:21:16 -05:00
Sam Grove a67eca5e72 Merge pull request #4173 from theotherjimmy/fix-cmsis-traceback
Fix Traceback in CMSIS export.
2017-04-19 02:20:21 -05:00
Sam Grove 0cfa96cf55 Merge pull request #4170 from theotherjimmy/fix-include-paths
Fix include paths for Windows builds
2017-04-19 02:19:23 -05:00
Sam Grove de6cce77be Merge pull request #4168 from theotherjimmy/gnuarmeclipse-more-templates
Generate GNU ARM Eclipse .mbedignore file with jinja2
2017-04-19 02:18:17 -05:00
Sam Grove af63b57f89 Merge pull request #4141 from tung7970/fix-mbedos
Fix mbed_board.c compiler warning
2017-04-19 02:17:08 -05:00
Sam Grove 7bd8c32f2d Merge pull request #4133 from u-blox/c030-debug-8mhz-xtal
U-BLOX_C030: Default XTAL is now 12MHz onboard. Option to use Debug 8MHz
2017-04-19 02:14:51 -05:00
Sam Grove 0beb95f1a6 Merge pull request #4074 from stevew817/siliconlabs/update_tbsense_2_pinout
[Silicon Labs] Update pinout
2017-04-19 02:06:54 -05:00
Sam Grove e532e0f446 Merge pull request #3991 from geky/fix-events-non-rtos-wait
events: Fix zero wait condition in non-rtos semaphore
2017-04-19 02:04:52 -05:00
Sam Grove 87610e700b Merge pull request #4152 from jeromecoutant/PR_ADC_F4_NEW
STM32F4 Internal ADC channels rework
2017-04-19 00:38:16 -05:00
Jimmy Brisson fb8fda3cee Merge pull request #4097 from bulislaw/build_debug_macro
Debug build flag + change to sleep behavior in debug mode
2017-04-18 15:05:02 -05:00
Sam Grove 5f9f8c5337 doxygen_options update
All fields are strings, not arrays. Update the PREDEFINED and
EXCLUDE_PATTERNS fields.
2017-04-17 21:13:59 -05:00
Daniel Zimmermann 7c33ba8691 LPC4088: Enable LWIP feature
This patch enable the LWIP feature for the LPC4088 and LPC4088_DM boards.
The lwIP stack support already this hardware.
See: ./features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c
2017-04-16 11:16:51 +02:00
Mahadevan Mahesh 5b866b79d1 MCUXpresso: Update ARM linker files to reduce RAM reserved for stack & heap
Heap and stack size is determined via the RTOS.

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-04-14 11:21:28 -05:00
maclobdell 77f4e23c0f [NCS36510] Reduce default heap size allocated by IAR to 1/4 of total RAM.
Allows mesh minimal example to compile with IAR.
2017-04-13 22:48:34 -05:00
Christopher Haster fd80dcc51b Filesystem: Include '.' and '..' in directory iteration
The standard is intentionally vague on if filesystems must
have '.' and '..' entries, allowing filesystems to omit this
concept completely:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/readdir.html

However, the '.' and '..' entries are common on FAT filesystems
and in most other filesystems.

This enables '.' and '..' entries in the FAT filesystem.
2017-04-13 14:30:57 -05:00