Skip to content
  1. Sep 25, 2024
  2. Aug 27, 2024
    • Chuyue Luo's avatar
      build: Change default build toolchain to GNU (#83) · 60d21a49
      Chuyue Luo authored
      
      
      Currently, the default build toolchain is ARMClang. However, with VS
      Code devcontainers, only Arm GNU Toolchain is provided. Therefore, the
      default toolchain is changed to GNU. The associated documentation is
      also updated. In order to use the Arm Compiler for Embedded (ArmClang),
      the toolchain needs to be installed in the devcontainer and an
      additional argument `-TARMCLANG` must be passed while building the
      example.
      
      Signed-off-by: default avatarChuyue Luo <Chuyue.Luo@arm.com>
      60d21a49
  3. Aug 22, 2024
    • Reuben Cartwright's avatar
      tools: Port, debug, and document createIoTThings.py · d20b8f48
      Reuben Cartwright authored and Devaraj Ranganna's avatar Devaraj Ranganna committed
      
      
      The script contains tools used to create, destroy, and manage AWS IoT
      Things, Policies, Buckets, Roles, and Jobs. It is intended to
      automate the process of creating an OTA update.
      The script was previously in a deprecated project.
      
      Documentation for the script was also ported to
      `/docs/components/aws_iot/aws_tool.md``.
      Modified the aws_tool.md file with the following:
      1. Fix paths from total-solutions.
      2. Remove deprecated references (e.g. ats.sh)
      3. Clarifications added (e.g. where to get AWS API keys).
      4. Remove duplicate sections that have been ported already.
      
      This commit links to this documentation in the top-level `README.md`,
      under a section called 'Tools'.
      
      Modified createIoTThings.py with the following:
      1. comment all functions with Python Docstrings.
      2. debug and refactor createIoTThings.py as detailed below.
      3. Fix filenames and directories from deprecated total-solutions.
      
      Total-solutions saved all credentials to the same .h file, but build.sh
      in this project takes credentials from separate files.
      This commit stores generated credentials for new objects in
      the `credentials` directory by default, with unique file names per
      Thing.
      The user can optionally specify the credentials directory.
      
      This commit makes it possible to do any operation except for an OTA
      image update if update-signature.txt is not in the correct directory.
      A warning is generated if update-signature.txt is not present.
      
      This commit improves --help messages for the script.
      
      This commit places additional user input checks e.g.
      permissions_boundary must be of a certain format. Previous error
      messages were confusing.
      
      fix: does not forget to pass role name during role creation.
      fix: _does_role_exist handles None and "" cases.
      fix: cleanup after command failure. Do not delete a role if it already
      existed before the script ran.
      fix: create-update-only now gets role ARNs correctly.
      fix: create-policy-only now passes thing name and policy name correctly.
      fix: create-policy-only does not allow empty policy name or thing name.
      fix: correct help messages e.g. for create-update-only.
      Some other minor fixes also exist.
      
      This script updates
      `/applications/<target_application>/configs/aws_config/
      aws_clientcredentials.h` once a Thing is created, where
      `<target_application>` is specified on the CLI. If the file has been
      previously modified, the script asks before overwriting.
      This saves the user modifying the file.
      
      Signed-off-by: default avatarReuben Cartwright <Reuben.Cartwright@arm.com>
      d20b8f48
  4. May 07, 2024
  5. Mar 24, 2024
  6. Mar 14, 2024
  7. Feb 28, 2024
    • Ahmed Ismail's avatar
      aws-iot-example: Remove example · d246198d
      Ahmed Ismail authored and Devaraj Ranganna's avatar Devaraj Ranganna committed
      
      
      `aws-iot-example` is deprecated as `keyword-detection`
      and `speech-recognition` applications do all the functionalities
      that `aws-iot-example` does. Hence, there is no need to maintain
      it anymore.
      
      GitHub CI is modified to build `keyword-detection`
      and `speech-recognition` applications instead of `aws-iot-example`.
      
      Building the Ml Embedded Evaluation Kit requires Python 3.10
      and the `libsndfile1-dev` library.
      
      Signed-off-by: default avatarAhmed Ismail <Ahmed.Ismail@arm.com>
      d246198d
  8. Feb 27, 2024
    • Devaraj Ranganna's avatar
      docs: Documentation improvements · e8b3c534
      Devaraj Ranganna authored
      
      
      * Move supported toolchain information from application docs to
      README.md to avoid duplicatiing it on all supported examples.
      * Move supported platforms description from docs/prerequisites.md to
      README.md to list and describe the supported platforms in one place.
      * Add supported versions information to supported targets.
      
      Signed-off-by: Devaraj Ranganna's avatarDevaraj Ranganna <devaraj.ranganna@arm.com>
      e8b3c534
  9. Jan 16, 2024
  10. Dec 14, 2023
    • Hugues Kamba-Mpiana's avatar
      Restructure repository (#26) · 17c5cee8
      Hugues Kamba-Mpiana authored
      
      
      * middleware: Restructure external projects integration
      
      * External projects are referred to as `components`
      * The components are grouped per category within the `components`
        subdirectory.
      * Each component contain a `library` subdir (containing the external
        project)
        and an `integration` subdir (containing additional code to integrate
        the external project).
      * The external project used for the BSP is now also located in a
        `library` subdir within the `Bsp` subdir.
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * cmake: Provide components and BSP as part of the FRI
      
      Rather having applications include individual parts of the FRI,
      include all of its parts (BSP and components) in the root level
      CMakeLists.txt
      
      To build application, point CMake to each application's main
      CMakeLists.txt as application should be treated as the root level
      CMakeLists.txt. This approach also shows how users who may want to
      include the FRI as a dependency to their project can build
      applications by treating their applications as the root
      level project.
      
      Additionally:
      * Raise an error if the minimum CMake version requirement is not met.
      * Rename FRI CMake project to match FRI project name.
      * Expose Tools/cmake subdir to CMake to find additional modules
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * apps: Do not share configuration files
      
      This allows each application to apply configurations it needs
      without changing the behaviour of other applications as was
      previously the case since they share configuration files.
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * blinky: Improve CMake support
      
      * Define all CMake variables to be used by the project prior to
        creating the project
      * Sort list items alphabetically so they are easier to find
      * Add fatal error if minimum CMake version is not used
      * Remove unnecessary comments to declutter
      * Handle compiler specific configurations in one location
      * Move BSP configuration to BSP subdir
      * Include only the libraries used by the application
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * apps: Improve Provisioning Python script
      
      * Add type notation
      * Wrap long lines
      * Clarify variables and function names
      * Process CLI arguments with click
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * aws-iot-example: Improve CMake support and organisation
      
      * Define all CMake variables to be used by the project prior to
        creating the project
      * Sort list items alphabetically so they are easier to find
      * Add fatal error if minimum CMake version is not used
      * Remove unnecessary comments to declutter
      * Handle compiler specific configurations in one location
      * Move BSP configuration to BSP subdir
      * Include only the libraries used by the application
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * aws-iot-example: Add FreeRTOS libs integration test app
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * run-script: Fix root path and wrap long string
      
      Improve readability of the string by wrapping it.
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * provisioning: Make provisioning available to all apps that need it
      
      Move the provisioning source code and script to the helpers subdir
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * bsp: Rename `Bsp` subdir to `bsp`
      
      The project is adopting snake case for files
      and subdirectories names
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * bsp: Rename CMake script
      
      CMake modules follow the typical naming convention of
      VerbWithCamelCase.
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * docs: Rename `Docs` subdir following snake_case
      
      The project is adopting snake case for files and subdirectories names
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * apps: Rename `Projects` subdir to `applications`
      
      Improves the description of the content of the subdir.
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * tools: Rename `Tools` subdir following snake_case
      
      The project is adopting snake case for files and subdirectories names
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * provisioning: Rename CMake script
      
      CMake modules follow the typical naming convention of
      VerbWithCamelCase.
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * aws-iot-example: Rename files and subdirs following snake_case
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * blinky: Rename files and subdirs following snake_case
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * docs: Add subdirectory description to README
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * ci: Move tools to `tools` subdir
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * tests: Move conftest.py to `tools/tests/`
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * docs: Add project organisation document
      
      The document describes the various subdirectories
      and conventions used througout this project.
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      * ci: Add known words to spellchecker
      
      The added words are valid and therefore added
      to the spellchecker dictionary.
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      
      ---------
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      17c5cee8
  11. Oct 25, 2023
  12. Oct 13, 2023
  13. Jul 27, 2023
  14. Jul 06, 2023
Loading