Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[miniclient] align external repository for miniclient with feature branch #5726

Closed
wants to merge 30 commits into from
Closed

[miniclient] align external repository for miniclient with feature branch #5726

wants to merge 30 commits into from

Commits on Dec 18, 2017

  1. Inital addition of UART1

    sarahmarshy authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    a1b9ffc View commit details
    Browse the repository at this point in the history
  2. Correct UART1 IRQ naming

    sarahmarshy authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    d4e623e View commit details
    Browse the repository at this point in the history
  3. Use serial_t objects of serial_api instead of globals

    sarahmarshy authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    8f578dd View commit details
    Browse the repository at this point in the history
  4. Add UART1 IRQ support

    sarahmarshy authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    8b83b19 View commit details
    Browse the repository at this point in the history
  5. Keep track of open UART. Fix free of stdio

    sarahmarshy authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    f533e31 View commit details
    Browse the repository at this point in the history
  6. Support nrf52832

    sarahmarshy authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    9438640 View commit details
    Browse the repository at this point in the history
  7. Moved STDIO from peripheral to pin header for print

    functions in all projects to work properly.
    dlfryar-zz authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    f9eb569 View commit details
    Browse the repository at this point in the history
  8. Added app_start symbol support to GCC for NRF52840 target.

    dlfryar-zz authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    2e0d0e4 View commit details
    Browse the repository at this point in the history
  9. Added a macro to allow conditional vector table relocation

    dlfryar-zz authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    840ca51 View commit details
    Browse the repository at this point in the history
  10. Added named LED pins for cloud client example

    dlfryar-zz authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    371bcf1 View commit details
    Browse the repository at this point in the history
  11. Fixed typo in linker script

    Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    d8732e6 View commit details
    Browse the repository at this point in the history
  12. NRF52840: Enable Tickless mode

    pan- authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    13280fd View commit details
    Browse the repository at this point in the history
  13. Add TRNG for SDK11

    sarahmarshy authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    be06abb View commit details
    Browse the repository at this point in the history
  14. Disable hardware flow control by default on NRF52832/40

    Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    ff45648 View commit details
    Browse the repository at this point in the history
  15. Instrumentation Trace Macrocell (ITM) Single Wite Output (SWO)

    mbed HAL API and NRF52 prototype implementation. Stdout can be
    send to SWO using platform.swo-enable and serial can be disabled
    using platform.stdio-enable.
    Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    da8cbcc View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f203a4a View commit details
    Browse the repository at this point in the history
  17. Remove unnecessary include from itm_api.c

    Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    d851e6d View commit details
    Browse the repository at this point in the history
  18. Add DEVICE_FLASH to NRF52832 and move MCU flags to MCU

    Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    eb1acc3 View commit details
    Browse the repository at this point in the history
  19. Remove SoftDevice check in flash_init call on NRF52

    Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    045c87d View commit details
    Browse the repository at this point in the history
  20. Fix swo trace breaking when device is reset.

    - move swo init to SystemInit (in system_nrf52.c)
    - add swo init code that resumes tracing after device reset
    - change swo enable to use already existing macro name
    Jammu Kekkonen authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    4c23ee1 View commit details
    Browse the repository at this point in the history
  21. NRF5: serial: unbreak compilation on IAR

    The serial serial_free() tried to compare address of a member
    of a struct, instead of the struct itself. This gives a warning
    on GCC&ARMCC, but a error on IAR.
    
    The fix here is not beautiful, a proper one would likely
    avoid the memcpy() on serial_init() and have a proper way of
    identifying the stdio-uart.
    
    ---8<---8<---8<---
    Compile [100.0%]: serial_api.c
    [Error] serial_api.c@382,0: [Pe042]: operand types are
    incompatible ("serial_t *" and "struct serial_s *")
    [ERROR]
              if(&stdio_uart == &(obj->serial))
    TeroJaasko authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    927fb59 View commit details
    Browse the repository at this point in the history
  22. nanostack-hal: add alternative critical section implementation

    The nanostack hal's critical section uses a mutex for mutual exclusion,
    which is nice for many use cases. But when one needs to use the critical
    section from interrupts, the RTX will have a assertion failure and panic.
    
    Add a configurable for mbed_lib, which can be used to enable a alternative
    version of critical section, which uses the underlying OS primitives, which
    disables the interrupts.
    
    Note: the default behavior is not changed, one needs to override the
    "nanostack-hal.critical-section-usable-from-interrupt" to have "true".
    
    Reason for this change is that there is a need for sending events using
    nanostack event queue from interrupt context, eg. from a socket callback.
    TeroJaasko authored and Marcus Chang committed Dec 18, 2017
    Configuration menu
    Copy the full SHA
    bf2f9f6 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    7460a25 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2018

  1. nanostack-hal: add alternative critical section implementation

    The nanostack hal's critical section uses a mutex for mutual exclusion,
    which is nice for many use cases. But when one needs to use the critical
    section from interrupts, the RTX will have a assertion failure and panic.
    
    Add a configurable for mbed_lib, which can be used to enable a alternative
    version of critical section, which uses the underlying OS primitives, which
    disables the interrupts.
    
    Note: the default behavior is not changed, one needs to override the
    "nanostack-hal.critical-section-usable-from-interrupt" to have "true".
    
    Reason for this change is that there is a need for sending events using
    nanostack event queue from interrupt context, eg. from a socket callback.
    TeroJaasko authored and SenRamakri committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    84052bc View commit details
    Browse the repository at this point in the history
  2. nanostack-hal: modify eventloop to allow running it in a main thread

    The separate eventloop thread may not be necessary on all uses, as one
    can use the existing main thread for event dispatching. Add a
    conditional nanostack-hal.event-loop-dispatch-from-application, which
    disables the thread creation.
    
    Note: the ns_hal_init must be ran from the same thread which will be
    used to execute the event loop later.
    TeroJaasko authored and SenRamakri committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    c16632c View commit details
    Browse the repository at this point in the history
  3. nanostack-hal: remove connection from event loop init and dispatch th…

    …read
    
    The thread flag signaling mechanism is problematic if a separate event
    loop thread is not used. The problem is, that one needs to know the
    thread id of the loop dispathcer, and that knowledge can be derived
    only from the caller thread of the initialization function.
    
    Remove the magic connection from caller thread to dispatcher thread
    by using event flags instead of thread flags on signaling. As the
    event flags require the massive amount 20 bytes of RAM whereas
    thread flags requires none, keep the code behind flag.
    TeroJaasko authored and SenRamakri committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    6c855e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Merge remote-tracking branch 'staging/feature-miniclient-align' into …

    …fix-diverge
    Marcus Chang committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    fba2c1e View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2018

  1. Disable TRNG for NRF52_DK

    Fix problem with mbedtls selftest
    Marcus Chang committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    b1fa9e9 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2018

  1. Configuration menu
    Copy the full SHA
    d2e20e6 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2018

  1. Increase heap allocation for NRF52832 when compiling with IAR

    Fix legacy size from NRF51.
    Marcus Chang committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    cdb5594 View commit details
    Browse the repository at this point in the history