Sam Grove
b3ce99676b
Updates doxygen errors in documentation for code in the drivers/ directory.
2017-04-04 12:40:09 -05:00
Rob Meades
7387c09872
Introducing UBLOX_C030 platform.
2017-04-04 16:22:50 +01:00
jeromecoutant
0c2720bc19
NUCLEO_L476RG : minor serial pin update
...
SERIAL_TX and SERIAL_RX pins used for debug printf cannot be set as available
2017-04-04 14:38:17 +02:00
Jimmy Brisson
d5ecd7adf8
Fix a scoping typo in toolchains
2017-04-03 15:43:22 -05:00
Jimmy Brisson
74998d649a
Change target hooks to use correct input format
...
The input format is now determined by the OUTPUT_EXT key in
targets.json, and defaults to "bin" when not specified. This changes the
Teensy3_1 and the NRF51x targets' post bulid hooks.
Teensy3_1 just converted to intelhex, so we do nothing instead.
NRF51x assumed that it was taking in a bin format file. I made it detect
file type by extension.
2017-04-03 14:54:38 -05:00
Jimmy Brisson
20edbe3525
Fix a small bug in subtract_basepath
...
It was causing tracebacks on the website
2017-04-03 11:44:25 -05:00
Andrzej Puzdrowski
4f99aa5eb5
[NRF5] us_ticker:
...
- extarct for check rtc overflow
- make common_rtc_32bit_ticks_get safe against preemption.
2017-04-03 16:10:21 +02:00
Adam Green
408cff4f8d
Modify semihost_disabledebug() to support more interface FW revs
...
The current implementation of semihost_disabledebug() hangs when used
with mbed interface firwmare revision 21164, the first version which
added support for this semihost call. I encountered this hang when
running a Release build on my mbed-LPC1768 board as the RTOS attempted
to disable the debugger before the idle thread put the CPU to sleep.
The 21164 interface firmware expects that R1 points to a valid argument
block but the current implementation passes in NULL. The fix was to
pass in a dummy block which is ignored by the newer 141212 revision of
the firmware and allows the 21164 version to proceeed without halting
the CPU until a manual reset.
Before this fix semihost_disabledebug() did work with the latest
mbed interface firmware revision 141212 but I rarely use this revision
of the interface firmware due to the instability issues I have
encountered in the past with its CDC and LocalFileSystem functionality.
With this proposed fix, the code now works with both the 21164 and
141212 revisions of the mbed interface firmware on the mbed-LPC1768.
2017-03-31 13:33:55 -07:00
Willie Walker
ad074b5a22
Add SCL and SDA defs for I2C[0-2]; redefine I2C_[SCL,SDA] to I2C2
2017-03-31 16:32:45 -04:00
Jimmy Brisson
1faf44e82b
Raise error when mbed_app.json is bad
2017-03-31 15:09:17 -05:00
Michael Bartling
91ed457ce0
resolved import conflict
2017-03-31 09:56:58 -05:00
Michael Bartling
aebd9810f9
make.py -S toolchains now just prints the toolchains, no more mbed OS x
2017-03-31 09:55:08 -05:00
Michael Bartling
111a65b53d
Added ability to list ides
2017-03-31 09:55:08 -05:00
Michael Bartling
f142939937
Added ability to list targets and toolchains in a non matrix form.
...
This is super helpful for the tab completion generation script as we no
longer have to parse the matrix output.
2017-03-31 09:54:03 -05:00
Willie Walker
13247426f9
Fix mbed-cli issue #468 . Add LPCTargetCode.lpc_patch to POST_BINARY_WHITELIST.
2017-03-30 15:22:57 -04:00
bcostm
3302a372ef
DISCO_L053C8: Typo corrections
2017-03-30 14:55:18 +02:00
bcostm
2212b34bd0
DISCO_L053C8: add USBHAL_STM files
2017-03-30 14:50:13 +02:00
bcostm
1321dc8e71
DISCO_L053C8: enable HSI48 clock for USB
2017-03-30 14:50:13 +02:00
bcostm
bca2617662
STM32L0: add family in USBEndpoints.h
2017-03-30 14:50:13 +02:00
Seppe Stas
886713d290
Removed superfluous space
...
The extra space between "--no_wrap_diagnostics" and "-e" is inconsistent with the development and release targets.
It bugs people (like me) that have little OCD tics 😉 .
2017-03-30 10:19:36 +02:00
cyliangtw
b55708ec65
[NUC472] remove stray tabs to avoid formatting slips
2017-03-30 09:17:35 +08:00
Steven Cooreman
632586e940
[Silicon Labs] Update TB Sense 2
...
* Update i2c driver to tackle multiple I2C object instances on different pins
* Update pinmap to enable the extra peripherals of EFx32xG12 over EFx32xG1
2017-03-30 02:57:20 +02:00
Sam Grove
067fe9b0e5
Merge pull request #3848 from jamike/USBAUDIO_JITTER
...
USBAudio: writesync with 1 sample jitter capability.
2017-03-30 00:01:07 +01:00
Sam Grove
b9bc2c0e4c
Merge pull request #4065 from NXPmicro/K66_Move_bss_to_RAM2
...
K66F: Move bss section to m_data_2 Section
2017-03-29 23:08:51 +01:00
Sam Grove
d7d45683bb
Merge pull request #4059 from stevew817/rename-thunderboard
...
[Silicon Labs] Rename targets
2017-03-29 23:07:22 +01:00
Sam Grove
782395dfa7
Merge pull request #4049 from tung7970/fix-tools
...
tools - turn off page alignment of sections
2017-03-29 23:05:47 +01:00
Sam Grove
acaf5fbb42
Merge pull request #4046 from jamike/USBHOST_HUB_FIX
...
USBHOST : fix device disconnection from hub during hub port reset
2017-03-29 23:02:39 +01:00
Sam Grove
e3c0ac6c17
Merge pull request #4020 from jeromecoutant/PR_L011
...
NUCLEO_L011K4 remove unsupported tool chain files
2017-03-29 22:50:35 +01:00
Sam Grove
d467f7d4bc
Merge pull request #4012 from monkiineko/master
...
STM32: Correct I2C master error handling
2017-03-29 22:49:15 +01:00
Jimmy Brisson
09afe23762
Upgrade OUTPUT_EXT and use it to pick binary type
...
targets.json contained a key for some targets, `OUTPUT_EXT`, which I
moved to `Target`, the root of all targets. Following on that, the tools
now use this extension provided by `OUTPUT_EXT` to determine the file
type of the output executable.
2017-03-29 16:46:21 -05:00
Sam Grove
91ecc52da0
Merge pull request #4003 from productize/master
...
Fixed OBOE in async serial tx for NRF52 target, fixes #4002
2017-03-29 22:43:24 +01:00
Sam Grove
405ab0c005
Merge pull request #4000 from theotherjimmy/config-typechecking
...
Add some type checking of configs
2017-03-29 22:39:57 +01:00
Sam Grove
c958eb45bb
Merge pull request #3998 from theotherjimmy/remove-dead-code
...
Remove dead code in tools
2017-03-29 22:28:29 +01:00
Sam Grove
432162f9e3
Merge pull request #3997 from theotherjimmy/remove-project-api
...
Move contents of project_api to export/__init__.py
2017-03-29 22:26:59 +01:00
Sam Grove
8784913052
Merge pull request #3995 from theotherjimmy/targets-refactor
...
Move target related code into it's own directory
2017-03-29 22:25:46 +01:00
Sam Grove
9875c29e60
Merge pull request #3990 from u-blox/c027_boot_fix
...
UBLOX_C027: construct a ticker-based wait, rather than calling wait_ms(), in the …
2017-03-29 22:23:06 +01:00
Sam Grove
b25eaf5d85
Merge pull request #3979 from NXPmicro/KW24D_Pindefines
...
KW24D: Add missing SPI defines and Arduino connector definitions
2017-03-29 22:19:23 +01:00
Jimmy Brisson
8b3f08ed49
Elide adding regions to profile when empty
2017-03-29 15:49:16 -05:00
Jimmy Brisson
6a3c71c002
Update gnuarmeclipse to preprocess linker scripts
2017-03-29 14:52:11 -05:00
0xc0170
137e47f5e8
tools: add new examples
...
Bootloader, bootloader blinky and fat filesystem examples added.
2017-03-29 17:27:11 +01:00
Martin Kojtal
16bf07efae
Merge pull request #4021 from bridadan/fix_nrf52840_dk
...
Fixing a macro to detect when RTOS was in use for the NRF52840_DK
2017-03-29 16:27:19 +01:00
Tony Wu
72589dfef3
tools - turn off page alignment of sections
...
By default, ld sets page alignment of sections to 0x8000, which bloats
up elf file size. This behavior is unnecessary for MCU.
Example:
1. page alignment on
mbed.elf file size 144936
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x008000 0x00000000 0x00000000 0x00400 0x00400 R 0x8000
LOAD 0x008400 0x00000400 0x00000400 0x00010 0x00010 R 0x8000
LOAD 0x008410 0x00000410 0x00000410 0x0ab3c 0x0ab3c RWE 0x8000
LOAD 0x018000 0x20000000 0x0000af4c 0x008d0 0x008d0 RW 0x8000
LOAD 0x01b81c 0x0000b81c 0x0000b81c 0x00000 0x00004 RW 0x8000
LOAD 0x020000 0x1fff0000 0x1fff0000 0x00000 0x00400 RW 0x8000
LOAD 0x0188d0 0x200008d0 0x200008d0 0x00000 0x08860 RW 0x8000
2. page alignment off
mbed.elf file size 91792
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000114 0x00000000 0x00000000 0x00400 0x00400 R 0x4
LOAD 0x000514 0x00000400 0x00000400 0x00010 0x00010 R 0x1
LOAD 0x000528 0x00000410 0x00000410 0x0ab3c 0x0ab3c RWE 0x8
LOAD 0x00b068 0x20000000 0x0000af4c 0x008d0 0x008d0 RW 0x8
LOAD 0x00b938 0x0000b81c 0x0000b81c 0x00000 0x00004 RW 0x1
LOAD 0x00b938 0x1fff0000 0x1fff0000 0x00000 0x00400 RW 0x1
LOAD 0x00b938 0x200008d0 0x200008d0 0x00000 0x08860 RW 0x8
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-03-29 05:48:30 +08:00
Christopher Haster
2918270222
lpc1768: Removed invalid use of IP_SOF_BROADCAST_RECV option
...
From opt.h:
IP_SOF_BROADCAST_RECV (requires IP_SOF_BROADCAST=1) enable the broadcast
filter on recv operations.
The IP_SOF_BROADCAST_RECV option does not enable or disable recieving
broadcast packets, it only enables a software filter.
2017-03-28 13:37:36 -05:00
Steven Cooreman
0c20f33d2b
[Silicon Labs] Rename targets
...
Due to limitation in the mbed website backend (board names need to be <= 19 characters), we are shortening the CLI target names from THUNDERBOARD to TB.
@screamerbg
2017-03-28 20:14:16 +02:00
Mahadevan Mahesh
5d45b5a0ca
K66F: Move bss section to m_data_2 Section
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-03-28 08:58:42 -05:00
Michel Jaouen
f6f73938eb
USBHOST : fix device disconnection from hub during hub port reset
2017-03-28 11:32:43 +02:00
Kari Severinkangas
8862edefad
-useless static_config.h removed
2017-03-28 11:46:40 +03:00
Michel Jaouen
5913cf309e
USBAudio: writesync with 1 sample jitter capability.
2017-03-28 10:22:20 +02:00
Kari Severinkangas
b2b106c431
config update to the previous commit
2017-03-28 11:16:05 +03:00
Kari Severinkangas
156cd00d66
- some refactoring and cleaning
2017-03-28 11:14:03 +03:00