Commit Graph

10710 Commits (4d985eae3ad738ab698849079a176031ab731eb9)

Author SHA1 Message Date
Sam Grove f5d598fb61 [platform] update incorrect doxygen tag for return documentation 2017-04-26 18:06:53 -05:00
Sam Grove 4e417eb3dc [platform] fix doxygen preprocessor constant expresison warnings 2017-04-26 17:51:24 -05:00
Sam Grove 75e5b6500d [platform] Fix doxygen errors in mbed_mem_trace.h 2017-04-26 17:49:45 -05:00
Jimmy Brisson 12ca90e71f Merge pull request #4225 from chrissnow/xDot_fix-target
fixed missing device_name for xDot and removed progen
2017-04-26 16:38:08 -05:00
Jimmy Brisson 43bd303db3 Add `mbed new .` output to export 2017-04-26 09:52:07 -05:00
Bradley Scott 7f12ad2a8c STM32F3: Correct handling of USB ISTR and endpoint registers
The USB ISTR register consists of a mix of bits that are
write-zero-to-clear and read only bits.  As such, to clear a bit in
the ISTR, you should simply write the bitwise-NOT of the bit to clear.
Previously, the __HAL_PCD_CLEAR_FLAG() macro would do a bitwise-AND
with the ISTR register contents to clear a bit, but this could result
in another bit being inadvertently cleared if it is set by hardware
between the read and the write of the ISTR register.

Similarly, the USB endpoint registers have two bits that are
write-zero-to-clear, USB_EP_CTR_RX and USB_EP_CTR_TX, but the
PCD_CLEAR_RX_EP_CTR() and PCD_CLEAR_TX_EP_CTR() macros wrote back the
last read value for one of these bits when clearing the other bit.
This could result in inadvertent clearing of one of these bits if it
were set by the hardware between the read and the write.  These macros
have now both been adjusted to always write one to the bit not being
cleared to prevent inadvertent clears.
2017-04-26 10:23:02 -04:00
Sam Grove dcbb6f6ab8 [platform] fix doxygen group close 2017-04-26 09:14:36 -05:00
Sam Grove 6062ca7404 [platform] Update doxygen errors with example code comments 2017-04-26 09:13:34 -05:00
Andrzej Puzdrowski 2ff5726827 [NRF5]
HAL driver: Add changes from needad for nrf52840 support
us_ticker, spi, sleep, serial, pwmout, pinmap, object, i2c, gpio, analogin

Add compatibility patches for:
- SoftDevice headers renamed (redirec by a few h files)
- sdk configuration (redirect by sdk_config.h files)
- renaming of func in softdevice handler module
2017-04-26 15:19:38 +02:00
Andrzej Puzdrowski c62a33e5c1 NORDIC: moving nRF52840 files to NRF5 "common" port.
TARGET_NRF5_SDK13/sdk -> TARGET_NRF5/TARGET_SDK13
TARGET_NRF5/sdk -> TARGET_NRF5/TARGET_SDK11
TARGET_NRF5_SDK13/TARGET_MCU_NRF52840 -> TARGET_NRF5/TARGET_MCU_NRF52840
2017-04-26 11:38:17 +02:00
justinkim 4fa76dc4f9 Modifying the code to support mbed OS 5 -> add mbed_rtx.h
Modifying the code for mbed ci shield test -> analogin_api.c, W7500x_adc.c, gpio_irq_api.c, W7500x_gpio.c
Modifying the code for fix bug -> W7500x_uart.c(register control driver problem), W7500x_uart.h, pinmap.c(pullup, pulldown problem)
2017-04-26 08:52:04 +09:00
Sam Grove 93b8bb8e52 [platform] Fix doxygen error @Return to @return 2017-04-25 14:50:29 -05:00
Sam Grove 5e7ce5fa23 [platform] Update doxygen errors from @Note to @note 2017-04-25 14:37:08 -05:00
Chris fe4d375466 fixed missing device_name for xDot and removed progen 2017-04-25 20:23:42 +01:00
Jimmy Brisson 0b5b6cba71 Merge pull request #4093 from adbridge/update
Update.py: New feature - update a branch instead of a fork, plus general improvements.
2017-04-24 11:01:20 -05:00
Jimmy Brisson 7b13217226 Merge pull request #4145 from 0xc0170/dev_examples_add_nanostackrouter
test - add nanostack to examples.json file
2017-04-24 11:00:32 -05:00
Jimmy Brisson 39061b0264 Merge pull request #4187 from maclobdell/ncs36510_heap_fix
[NCS36510] Reduce default heap size allocated by IAR to 1/4 of RAM
2017-04-24 10:59:28 -05:00
Jimmy Brisson 79bf717491 Merge pull request #4205 from 0xc0170/fix_issue4196
tests: race test - add not supported for single threaded env
2017-04-24 10:57:53 -05:00
Jimmy Brisson 143e3462a3 Merge pull request #4210 from adbridge/usb_logo
USB: Added support for the logo key to the keyboard
2017-04-24 10:56:29 -05:00
Jimmy Brisson 42675bb710 Merge pull request #4212 from adbridge/usb_maxim
Maxim USB library update
2017-04-24 10:55:39 -05:00
Jimmy Brisson b9455f2633 Merge pull request #3988 from Ingramz/nucleo_f446re_usb
Enable USB capabilities on NUCLEO_F446RE
2017-04-24 10:45:45 -05:00
Christopher Haster cfc223cc3f Removed debug links to printf/exit in NDEBUG builds
Allows development of small applications where stdio is avoided
2017-04-24 10:40:24 -05:00
Indrek Ardel 16a1693534 Move target files 2017-04-22 20:49:20 +03:00
Indrek Ardel 189083eeb0 Add USB capabilities to NUCLEO-F446RE board 2017-04-22 20:47:55 +03:00
Indrek Ardel bbd0574b86 Fix formatting in targets/targets.json 2017-04-22 20:47:55 +03:00
Indrek Ardel c2ba96b7c2 Fix formatting in tools/build_travis.py 2017-04-22 20:47:55 +03:00
adbridge d23520ebb2 Maxim USB library update
Adding support for new platforms into official USB library
2017-04-21 17:06:46 +01:00
adbridge 906286f446 Added support for the logo key to the keyboard
Minor change - List of key modifiers updated to include the
logo/GUI/windows key. Also added the options to specify the right hand
versions of the keys rather than just the left if for some reason
someone wants to do this.

Changes are limited to the keyboard header file and are backwards
compatible.

The new modifier values are in line with the table given on page 56 of
this document http://www.usb.org/developers/hidpage/HID1_11.pdf
2017-04-21 16:56:56 +01:00
Anna Bridge 49802765a9 Merge pull request #4199 from adbridge/usb_prs
USB: bus reset for KL25Z fix, USBSerial update
2017-04-21 14:15:04 +01:00
Anna Bridge 1c77628149 Merge pull request #4153 from jeromecoutant/PR_AF2_LEVEL0
STM32F2: Internal ADC channels rework
2017-04-21 14:11:44 +01:00
Anna Bridge 47b1a9eeec Merge pull request #4111 from sg-/fix-the-docs
[drivers] Update doxygen errors
2017-04-21 14:10:17 +01:00
Martin Kojtal ea53150d35 test - add nanostack to examples.json file 2017-04-21 13:10:45 +01:00
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