Skip to content
Permalink
Branch: master
Commits on Jul 18, 2019
  1. doc: add custom logger frontend description

    masz-nordic authored and carlescufi committed Jun 24, 2019
    Describe how custom logger is enabled and what it does.
    
    Signed-off-by: Marcin Szymczyk <marcin.szymczyk@nordicsemi.no>
  2. logging: add frontend calls in log_core

    masz-nordic authored and carlescufi committed Jun 13, 2019
    Call frontend instead of processing if CONFIG_LOG_FRONTEND is enabled.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
  3. logging: add frontend API

    masz-nordic authored and carlescufi committed Jun 13, 2019
    Custom frontend API added.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on May 21, 2019
  1. usb: cdc_acm: reset to default after disconnect

    masz-nordic authored and nashif committed Apr 23, 2019
    Return to default values after USB is reset or disconnected.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
  2. usb: cdc_acm: fix typo in CDC_ACM_DEFAULT_BAUDRATE

    masz-nordic authored and nashif committed Apr 23, 2019
    From CDC_ACM_DEFAUL_BAUDRATE to CDC_ACM_DEFAULT_BAUDRATE.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on May 12, 2019
  1. usb: add zero-length packet after MPS-sized IN transaction

    masz-nordic authored and nashif committed Apr 25, 2019
    Send ZLP when host asks for a bigger length and the last chunk
    is wMaxPacketSize long, to indicate the last packet.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on May 9, 2019
  1. usb: cdc: add option to force IAD

    masz-nordic authored and nashif committed Mar 6, 2019
    Interface Association descriptor has to be used with Windows 7.
    Add CONFIG_CDC_ACM_IAD option to force its usage, disabled by default.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
  2. usb: cdc: add .inf file

    masz-nordic authored and nashif committed Mar 6, 2019
    Added .inf driver file for Windows.
    CDC examples will now work on Windows.
    
    Note:
    This .inf is not signed and may cause problems during installation.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
  3. usb: cdc: Add unique PIDs for each sample

    masz-nordic authored and nashif committed Mar 6, 2019
    Unique PID is required for each sample in order
    to be recognized by host.
    
    When creating a new sample:
    - Add USB_PID_<SAMPLE_NAME>_SAMPLE
      in samples/subsys/usb/usb_pid.Kconfig
    - Create Kconfig file in your sample's subdirectory, containing:
      config USB_DEVICE_PID
    	default USB_PID_<SAMPLE_NAME>_SAMPLE
    
      source "Kconfig.zephyr"
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on May 6, 2019
  1. usb: samples: mass: add configuration and fs for FLASH

    masz-nordic authored and carlescufi committed Mar 28, 2019
    Adds required Kconfig options for flash driver.
    Adds FatFS filesystem for flash disk.
    Fixes #14459.
    
    Note: As USB MSC does not support multiple disks (see #14937),
    only one (flash by default, modify CONFIG_MASS_STORAGE_DISK_NAME
    to "RAM" for RAM disk) will appear to host.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Apr 19, 2019
  1. usb: cdc_acm: SerialState notification full support

    masz-nordic authored and galak committed Mar 27, 2019
    Added bBreak, bRingSignal, bFraming, bParity and bOverRun
    handling in cdc_acm_line_ctrl_set.
    Reference: Chapter 6.5.4 of Universal Serial Bus Communications Class
    Subclass Specification for PSTN Devices rev 1.2
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Apr 18, 2019
  1. ztest: make priority of testing thread configurable

    masz-nordic authored and nashif committed Apr 5, 2019
    CONFIG_ZTEST_THREAD_PRIORITY can be now used to modify
    the ztest thread priority.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Apr 17, 2019
  1. cmake: fix support for out of tree shields

    masz-nordic authored and galak committed Apr 3, 2019
    After the rework in #12403, specifying a shield which has overlay
    out of the tree causes unnecessary inclusions of overlays.
    For every board root, overlays that have same index as
    expected overlay are being included.
    Fix this by removing already included overlays from SHIELD list.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Mar 13, 2019
  1. usb: samples: mass: add warning for no conf and nrf52840 conf

    masz-nordic authored and galak committed Mar 12, 2019
    Added a warning that will abort build without disks.
    Added a default configuration for nrf52840_pca10056.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Mar 5, 2019
  1. usb: add hid-cdc example

    masz-nordic authored and carlescufi committed Feb 12, 2019
    This example combines 2 HID classes and 2 CDC ACM classes to create
    a composite, multi-instance device.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
  2. usb: hid: add keyboard report macro and enums

    masz-nordic authored and carlescufi committed Feb 12, 2019
    Added macro that generates simple report descriptor for keyboard.
    Added enums for standard button codes, keyboard modifiers
    and keyboard LEDs.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Jan 10, 2019
  1. usb: hid: macro for report descriptor

    masz-nordic authored and nashif committed Dec 17, 2018
    Added macro that generates simple report descriptor for mouse.
    This improves the readability of hid-mouse sample.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Dec 19, 2018
  1. usb: hid: boot protocol

    masz-nordic authored and MaureenHelm committed Dec 12, 2018
    Set_Protocol and Get_Protocol requests are handled now.
    Tested with USB3CV.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Dec 17, 2018
  1. samples: usb: hid-mouse: remove get_report_cb

    masz-nordic authored and carlescufi committed Dec 14, 2018
    Removed get_report_cb as it was an incorrect implementation
    of Get_Report request. Correct response would be returning
    current report value, not report descriptor.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Dec 14, 2018
  1. usb: hid: allow hid_ops to be null

    masz-nordic authored and carlescufi committed Dec 5, 2018
    Allows for hid_ops argument in usb_hid_register_device() to be NULL.
    In that case, application does not implement any custom callbacks.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
  2. samples: usb: hid-mouse: multiple buttons

    masz-nordic authored and carlescufi committed Dec 11, 2018
    Added right button, X and Y axis movement to HID mouse example.
    Enabled only if board has enough buttons.
    Added LED toggling notification when report is sent.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
  3. samples: usb: hid-mouse: type change

    masz-nordic authored and carlescufi committed Dec 11, 2018
    Change def_val, cur_val and status type from int to u32_t, u32_t
    and u8_t.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Dec 4, 2018
  1. usb: hid: implement idle rate

    masz-nordic authored and nashif committed Nov 30, 2018
    Idle rate functionality has been implemented for HID USB class.
    Bassed on Device Class Definition for Human Interface Devices 1.11.
    Tested with USB3CV and host with idle rate.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
  2. usb: hid: default request handlers

    masz-nordic authored and nashif committed Nov 29, 2018
    HID class now defaults to universal request callbacks in case they
    are not provided by the application. This applies to following,
    class-specific requests: Get_Report, Set_Report, Get_Idle, Set_Idle,
    Get_Protocol and Set_Protocol.
    Tested with USB3CV.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
Commits on Nov 23, 2018
  1. usb: add SoF event

    masz-nordic authored and nashif committed Nov 22, 2018
    Start of Frame events can now be accessed from USB classes.
    This will be useful when implementing idle rate functionality.
    
    Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
You can’t perform that action at this time.