⌨️

SW Testing

💡
All code is hosted on GitHub and automated by GitHub actions but requires testing on local hardware to response to testing at given moment of CI/CD testing or any other testing.
→ CI/CD integrated with Arduino pipeline
name: Sony on: [push, pull_request] jobs: test-matrix: strategy: matrix: arduino-platform: ["SPRESENSE:spresense"] include: - arduino-platform: "SPRESENSE:spresense" fqbn: "SPRESENSE:spresense:spresense" runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Arduino CLI uses: arduino/setup-arduino-cli@v1 - name: Install platform run: | arduino-cli config init --additional-urls https://github.com/sonydevworld/spresense-arduino-compatible/releases/download/generic/package_spresense_index.json arduino-cli core update-index arduino-cli core search spresense arduino-cli core install SPRESENSE:spresense arduino-cli lib install [email protected] - name: Compile Sketch run: arduino-cli compile --fqbn SPRESENSE:spresense:spresense ./firmware/testing/wifi/spresense

→ Compiling Firmware SPK

Tested on Linux
Install the necessary packages and GCC ARM toolchain for cross-compilation and kconfig-frontends  package.
sudo apt-get update sudo apt-get install git gperf libncurses5-dev flex bison gcc-arm-none-eabi sudo apt-get install kconfig-frontends
 
Building and compiling SPK
Clone Sony Spresense repo
Setup SDK configuration
git clone --recursive https://github.com/sonydevworld/spresense.git cd spresense/sdk tools/config.py examples/hello make
nuttx.spk file appears in the sdk folder when this step has successfully finished. This file is the final result and can be flashed into the your board.
 
notion image