Skip to content
Snippets Groups Projects
  1. Sep 18, 2020
  2. Sep 08, 2020
    • Damian Królik's avatar
      [nRF Connect] Port shell example (#2426) · f95aab9d
      Damian Królik authored
      
      * [nRF Connect] Port shell example
      
      * Add streamer implementation for zephyr
      * Create nrfconnect project for the shell example
      * Fix some compilation issues
      
      * [shell] Replace ARRAY_SIZE with ArraySize macro
      
      ArraySize was already defined in CodeUtils.h and ARRAY_SIZE
      was interfering with Zephyr-provided macros. By the way,
      initialize streamer earlier to avoid uninitialized memory
      access.
      
      * [shell] Fix base64 decode
      
      * [nRF Connect] Build shell example in CI, add README
      
      * [nRF Connect] Enable CHIP shell lib via Kconfig
      
      Make build of the CHIP shell library optional by introducing
      a Kconfig setting.
      
      * [nrF Connect] Add streamer backend compatible with Zephyr shell
      
      * Restyled by prettier-markdown
      
      * Change examples workflow
      
      * [shell] Fix assert usage
      
      * [shell] Fix otcli commands for embedded and adjust nRF Connect port
      
      Co-authored-by: default avatarRestyled.io <commits@restyled.io>
      f95aab9d
  3. Aug 19, 2020
  4. Jul 30, 2020
  5. Jul 09, 2020
    • Michael Spang's avatar
      Support building CHIP with GN (#1456) · efa630b5
      Michael Spang authored
      
      * Add nlunit-test to GN build
      
      * Add nlassert to GN build
      
      * Add nlfaultinjection to GN build
      
      * Add nlio to GN build
      
      * Add GN files to gitignore
      
      * Add GN build support using pw_toolchain & pw_build
      
      This uses build infrastructure from pigweed to enable building CHIP with
      GN.
      
      * Add lwIP to GN build
      
      * Add Mbed TLS to GN build
      
      * Add SystemConfig to GN build
      
      * Add CHIPConfig to GN build
      
      * Add src/lib/support to GN build
      
      * Add src/system to GN build
      
      * Add src/inet to GN build
      
      * Add BLE to GN build
      
      * Add src/lib/core to GN build
      
      * Add src/controller to GN build
      
      * Add libCHIP.a to GN build
      
      * Add src/system/tests to GN build
      
      * Add CHIPVersion.h generation to GN build
      
      * Add src/lib/support/tests to GN build
      
      * Add src/inet/tests to GN build
      
      * Add src/ble/tests to GN build
      
      * Add src/lib/core/tests to GN build
      
      * Add src/crypto to GN build
      
      * Add src/app to GN build
      
      * Add src/crypto/tests to GN build
      
      * Add support for building nRF5 lock app
      
      * Run unit tests with some help from pigweed
      
      This enables running tests during the build. Just run
      
        gn gen out/debug
        ninja -C out/debug check
      
      * Add qrcodetool to GN build
      
      * Add transport to GN build
      
      * Add src/setup_payout/tests to GN build
      
      * Add src/setup_payload to GN build
      
      * Add ARM toolchain support
      
      * Make the build relocatable
      
      * Add nRF5 lock example superproject build
      
      * Add support for combined build via target_os="all"
      
      This configures host_clang, host_gcc, and nRF5 lock app.
      
      To run a maximal build:
      
        gn gen out/debug --args='target_os="all"'
        ninja -C out/debug check
      
      * Make bootstrap display cleaner
      
      * Add GN build wrapper script
      
      This script does an end to end bootstrap & build with GN from a fresh
      clone.
      
      Usage: ./gn_build.sh
      
      * Add examples/chip-tool to GN build
      
      * Remove shared imports
      
      Importing everything from chip.gni will require some dependencies to be
      present even if they are not used. Import overrides separately.
      
      Also add args to disable various builds at the top level.
      
      * Add transport tests to GN build
      
      * Add examples/shell to GN build
      
      * Add tips to gn_build.sh
      
      To run a GN build of chip:
        ./gn_build.sh
      
      * Enable building with homebrew openssl on Mac via pkg-config
      
      * Add mbedtls build to top level build
      
      * Add nRF5 lock app back to example build
      
      But only if NRF5_SDK_ROOT is set in the environment.
      
      * Harmonize library outputs with automake
      
      This changes most libraries to match the names used by automake.
      
      * Restyled by shfmt
      
      * Move the GN build files to //gn
      
      And use the secondary_source feature to still allow loading them via
      //build. This breaks using ${chip_root} in superproject builds, but that
      was unnecessary anyway.
      
      We should try to unwind this later as it causes some confusion about
      what path to specify.
      
      * Fix lint warning "Except block directly handles BaseException"
      
      * Move activate above bootstrap
      
      The usual case is to source activate.sh, not bootstrap.sh, so move that
      first. bootstrap.sh is only needed after an update.
      
      * Add github actions for GN
      
      * Move project specific build logic to gn/chip
      
      * Add comments to GN build GitHub workflow helpers
      
      * Fix the nRF5 lock app CI build
      
      Remove a broken link that was left behind after moving build files to //gn.
      
      * Updating Build Version
      
      * Re-merge repos.conf with .gitmodules
      
      This was unmerged by a recent commit.
      
      * Move bootstrap.sh & activate.sh to scripts
      
      * Fixup activate.sh & bootstrap.sh after moving
      
      Co-authored-by: default avatarKeir Mierle <keir@google.com>
      Co-authored-by: default avatarRestyled.io <commits@restyled.io>
      Co-authored-by: default avatarJustin Wood <woody@apple.com>
      efa630b5
  6. Jun 30, 2020
  7. Jun 29, 2020
  8. Jun 25, 2020
    • Michael Spang's avatar
      Add submodules (#1262) · 4d762b6d
      Michael Spang authored
      As we start to add other build systems, we should have a way to sync the
      project without depending on make. Use git submodules for this.
      
      This also avoids an issue with branch based subrepository management
      where it's not possible to recreate historical states of the project,
      which necessarily includes the state of dependencies. Tracking and
      recreating prior versions is the main purpose of source control.
      4d762b6d
  9. Jun 02, 2020
  10. May 29, 2020
  11. May 28, 2020
  12. May 14, 2020
    • Justin Wood's avatar
      Move to CircleCI for Builds and Tests (#631) · a923ce7d
      Justin Wood authored
      
      * Initial CircleCI
      
      * Restyled by shellharden
      
      * Restyled by shfmt
      
      * Appeasing our restyle.io overlord
      
      * testing
      
      * Trying to figure out this run_if.sh problem
      
      * Feedback from Rob W
      
      * Restyled by shfmt
      
      * Typo
      
      * Updating restyled to match editorconfig tab spacing
      
      * Updating devcontainer
      
      * Restyled by shfmt
      
      * Adding simple restyle merge
      
      * Restyled by shellharden
      
      Co-authored-by: default avatarRestyled.io <commits@restyled.io>
      a923ce7d
  13. May 05, 2020
  14. May 01, 2020
  15. Apr 28, 2020
  16. Apr 23, 2020
  17. Apr 22, 2020
    • Bhaskar Sarma's avatar
      Need implementation of an openSSL based ECDSA signing using NIST P256v1 (#421) · 6235e2ed
      Bhaskar Sarma authored
      
      * Need implementation of an openSSL based ECDSA signing using NIST P256v1 #255
      
      * Restyled by clang-format
      
      * Fix crypto test in Travis CI
      
      * PR Feedback. Add a new test to test signing using SHA256
      
      * PR Feedback - use SHA256. Limit to P56v1 curve. change API to let caller pass in the signature buffer
      
      * Update min signature buffer size
      
      * Update msg signature buffer length.
      
      * Update msg signature buffer length.
      
      * Delete unused method
      
      * Update comments
      
      * Rename kMinimum_ECDSA_Signature_Buffer_Length to kMax_ECDSA_Signature_Length
      
      * Update API comments
      
      Co-authored-by: default avatarBhaskar Sarma <bhaskars@apple.com>
      Co-authored-by: default avatarRestyled.io <commits@restyled.io>
      6235e2ed
  18. Apr 20, 2020
  19. Apr 18, 2020
  20. Apr 14, 2020
    • Sagar Dhawan's avatar
      Add an example app for the EFR32 (#321) · 3085be9b
      Sagar Dhawan authored
      * Add an example app for the efr32
      
      * Fix clang format for some source files
      
      * Remove unused header file
      
      * Remove commented code
      
      * Remove more commented out code
      
      * Remove unnecessary LED init in main
      
      * Address review comment
      
      * Make sure all available LEDs are flashed during a reset
      
      * EFR32 does not support more than 2 LEDs
      
      * Fix formatting in FreeRTOSConfig.h
      
      * Add a new line at the end of env.sh
      
      * Fix double space in Readme
      
      * Fix hyperlink
      
      * Remove env.sh and migrate it into the Makefile
      
      * Remove unnecessary variable checks in the Makefile
      
      * Cleanup context after requesting a software update
      
      * Cleanup Makefile and add a link to CHIP's root
      
      * Add fatal error if timers fail
      3085be9b
  21. Apr 10, 2020
  22. Apr 09, 2020
    • shana-apple's avatar
      Implementation of the ManualSetupPayloadGenerator/Parser (#231) · 603c6fe3
      shana-apple authored
      
      * Implementation of the ManualSetupPayloadGenerator and ManualSetupPayloadParser along with unit tests
      
      * Made changes based on review feedback and updated all relevant tests
      
      * Only setup pin code should be nonzero, others in manual payload are valid
      
      * Adding new lines manually to EOFs since pretty command did not do it for me
      
      * Adding new manual setup files to library
      
      * Change charLengths methods to constants and add a test to check validity
      
      * Fixing code style
      
      * Passing shellcheck
      
      * Rename vscode tasks + fix build warnings
      
      Co-authored-by: default avatarJustin Wood <woody@apple.com>
      603c6fe3
    • Sagar Dhawan's avatar
      Fix CHIP DeviceLayer Build and Link for EFR32 (#278) · e6c95b00
      Sagar Dhawan authored
      * Add efr32-freertos.mk to build libfreertos
      
      * Add SystemEventSupport and SystemTimerSupport
      
      * Add globals
      
      * Update helper Makefiles
      
      * Update .gitignore
      
      * Update DeviceLayer library and fix logging support
      
      * Remove "with-openssl=no" from efr32-chip.mk
      
      * Remove functionality from InitChipStack
      
      * Fix RTT Logs by using a more recent version
      
      * Remove commented out code and leave TODOs instead
      
      * Remove commented code
      e6c95b00
  23. Apr 06, 2020
  24. Apr 01, 2020
  25. Mar 31, 2020
  26. Mar 30, 2020
  27. Mar 23, 2020
  28. Mar 20, 2020
  29. Mar 19, 2020
  30. Mar 18, 2020
  31. Mar 06, 2020
  32. Mar 03, 2020
Loading