diff --git a/.clusterfuzzlite/build.sh b/.clusterfuzzlite/build.sh index 10a2db0bd..86ab775f9 100644 --- a/.clusterfuzzlite/build.sh +++ b/.clusterfuzzlite/build.sh @@ -51,7 +51,7 @@ for f in .clusterfuzzlite/*_fuzzer.cpp; do fuzzer=$(basename "$f" .cpp) cp -f "$f" src/fuzzer.cpp pio run -vvv --environment "$PIO_ENV" - program="$PLATFORMIO_WORKSPACE_DIR/build/$PIO_ENV/program" + program="$PLATFORMIO_WORKSPACE_DIR/build/$PIO_ENV/meshtasticd" cp "$program" "$OUT/$fuzzer" # Copy shared libraries used by the fuzzer. diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 30af24bd2..f546d4cfd 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,7 @@ # trunk-ignore-all(terrascan/AC_DOCKER_0002): Known terrascan issue # trunk-ignore-all(hadolint/DL3008): Do not pin apt package versions # trunk-ignore-all(hadolint/DL3013): Do not pin pip package versions -FROM mcr.microsoft.com/devcontainers/cpp:1-debian-12 +FROM mcr.microsoft.com/devcontainers/cpp:2-debian-13 USER root diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index bf1c50982..e3f076ce0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,7 +8,7 @@ "features": { "ghcr.io/devcontainers/features/python:1": { "installTools": true, - "version": "latest" + "version": "3.14" } }, "customizations": { diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index f7bf95f83..f79e4fdb5 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -2,4 +2,5 @@ self-hosted-runner: # Labels of self-hosted runner in array of strings. labels: + - arctastic - test-runner diff --git a/.github/actions/build-variant/action.yml b/.github/actions/build-variant/action.yml index f611908ee..c048b7ac2 100644 --- a/.github/actions/build-variant/action.yml +++ b/.github/actions/build-variant/action.yml @@ -76,7 +76,7 @@ runs: done - name: PlatformIO ${{ inputs.arch }} download cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.platformio/.cache key: pio-cache-${{ inputs.arch }}-${{ hashFiles('.github/actions/**', '**.ini') }} @@ -100,9 +100,9 @@ runs: id: version - name: Store binaries as an artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: - name: firmware-${{ inputs.arch }}-${{ inputs.board }}-${{ steps.version.outputs.long }}.zip + name: firmware-${{ inputs.arch }}-${{ inputs.board }}-${{ steps.version.outputs.long }} overwrite: true path: | ${{ inputs.artifact-paths }} diff --git a/.github/actions/setup-base/action.yml b/.github/actions/setup-base/action.yml index f6c1fd80c..80f5c6855 100644 --- a/.github/actions/setup-base/action.yml +++ b/.github/actions/setup-base/action.yml @@ -5,7 +5,7 @@ runs: using: composite steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: recursive ref: ${{github.event.pull_request.head.ref}} diff --git a/.github/workflows/build_debian_src.yml b/.github/workflows/build_debian_src.yml index 7f3f8b672..de114be1c 100644 --- a/.github/workflows/build_debian_src.yml +++ b/.github/workflows/build_debian_src.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: recursive path: meshtasticd @@ -64,7 +64,7 @@ jobs: PKG_VERSION: ${{ steps.version.outputs.deb }} - name: Store binaries as an artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: firmware-debian-${{ steps.version.outputs.deb }}~${{ inputs.series }}-src overwrite: true diff --git a/.github/workflows/build_firmware.yml b/.github/workflows/build_firmware.yml index b62729332..d384540a4 100644 --- a/.github/workflows/build_firmware.yml +++ b/.github/workflows/build_firmware.yml @@ -18,11 +18,12 @@ permissions: read-all jobs: pio-build: name: build-${{ inputs.platform }} - runs-on: ubuntu-24.04 + # Use 'arctastic' self-hosted runner pool when building in the main repo + runs-on: ${{ github.repository_owner == 'meshtastic' && 'arctastic' || 'ubuntu-latest' }} outputs: artifact-id: ${{ steps.upload.outputs.artifact-id }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: submodules: recursive ref: ${{github.event.pull_request.head.ref}} @@ -55,15 +56,31 @@ jobs: ota_firmware_source: ${{ steps.ota_dir.outputs.src || '' }} ota_firmware_target: ${{ steps.ota_dir.outputs.tgt || '' }} + - name: Job summary + env: + PIO_ENV: ${{ inputs.pio_env }} + run: | + echo "## $PIO_ENV" >> $GITHUB_STEP_SUMMARY + echo "
Manifest" >> $GITHUB_STEP_SUMMARY + echo '' >> $GITHUB_STEP_SUMMARY + echo '```json' >> $GITHUB_STEP_SUMMARY + cat release/firmware-*.mt.json >> $GITHUB_STEP_SUMMARY + echo '' >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + echo "
" >> $GITHUB_STEP_SUMMARY + - name: Store binaries as an artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 id: upload with: - name: firmware-${{ inputs.platform }}-${{ inputs.pio_env }}-${{ inputs.version }}.zip + name: firmware-${{ inputs.platform }}-${{ inputs.pio_env }}-${{ inputs.version }} overwrite: true path: | + release/*.mt.json release/*.bin release/*.elf release/*.uf2 release/*.hex - release/*-ota.zip + release/*.zip + release/device-*.sh + release/device-*.bat diff --git a/.github/workflows/build_one_arch.yml b/.github/workflows/build_one_arch.yml deleted file mode 100644 index 9c57f8b7d..000000000 --- a/.github/workflows/build_one_arch.yml +++ /dev/null @@ -1,176 +0,0 @@ -name: Build One Arch - -on: - workflow_dispatch: - inputs: - # trunk-ignore(checkov/CKV_GHA_7) - arch: - type: choice - options: - - esp32 - - esp32s3 - - esp32c3 - - esp32c6 - - nrf52840 - - rp2040 - - rp2350 - - stm32 - - native - -permissions: read-all - -env: - INPUT_ARCH: ${{ github.event.inputs.arch }} - -jobs: - setup: - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v6 - with: - python-version: 3.x - cache: pip - - run: pip install -U platformio - - name: Generate matrix - id: jsonStep - run: | - TARGETS=$(./bin/generate_ci_matrix.py $INPUT_ARCH --level extra) - echo "Name: $GITHUB_REF_NAME Base: $GITHUB_BASE_REF Ref: $GITHUB_REF" - echo "selected_arch=$TARGETS" >> $GITHUB_OUTPUT - outputs: - selected_arch: ${{ steps.jsonStep.outputs.selected_arch }} - - version: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - name: Get release version string - run: | - echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT - echo "deb=$(./bin/buildinfo.py deb)" >> $GITHUB_OUTPUT - id: version - env: - BUILD_LOCATION: local - outputs: - long: ${{ steps.version.outputs.long }} - deb: ${{ steps.version.outputs.deb }} - - build: - if: ${{ github.event_name != 'workflow_dispatch' }} - needs: [setup, version] - strategy: - fail-fast: false - matrix: - build: ${{ fromJson(needs.setup.outputs.selected_arch) }} - uses: ./.github/workflows/build_firmware.yml - with: - version: ${{ needs.version.outputs.long }} - pio_env: ${{ matrix.build.board }} - platform: ${{ matrix.build.arch }} - - build-debian-src: - if: ${{ github.repository == 'meshtastic/firmware' && github.event_name != 'workflow_dispatch' || inputs.arch == 'native' }} - uses: ./.github/workflows/build_debian_src.yml - with: - series: UNRELEASED - build_location: local - secrets: inherit - - package-pio-deps-native-tft: - if: ${{ inputs.arch == 'native' }} - uses: ./.github/workflows/package_pio_deps.yml - with: - pio_env: native-tft - secrets: inherit - - test-native: - if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'workflow_dispatch' || !contains(github.ref_name, 'event/') && inputs.arch == 'native' }} - uses: ./.github/workflows/test_native.yml - - gather-artifacts: - permissions: - contents: write - pull-requests: write - strategy: - fail-fast: false - matrix: - arch: - - esp32 - - esp32s3 - - esp32c3 - - esp32c6 - - nrf52840 - - rp2040 - - rp2350 - - stm32 - runs-on: ubuntu-latest - needs: [version, build] - steps: - - name: Checkout code - uses: actions/checkout@v5 - with: - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} - - - uses: actions/download-artifact@v5 - with: - path: ./ - pattern: firmware-${{inputs.arch}}-* - merge-multiple: true - - - name: Display structure of downloaded files - run: ls -R - - - name: Move files up - run: mv -b -t ./ ./bin/device-*.sh ./bin/device-*.bat - - - name: Repackage in single firmware zip - uses: actions/upload-artifact@v4 - with: - name: firmware-${{inputs.arch}}-${{ needs.version.outputs.long }} - overwrite: true - path: | - ./firmware-*.bin - ./firmware-*.uf2 - ./firmware-*.hex - ./firmware-*-ota.zip - ./device-*.sh - ./device-*.bat - ./littlefs-*.bin - ./bleota*bin - ./Meshtastic_nRF52_factory_erase*.uf2 - retention-days: 30 - - - uses: actions/download-artifact@v5 - with: - name: firmware-${{inputs.arch}}-${{ needs.version.outputs.long }} - merge-multiple: true - path: ./output - - # For diagnostics - - name: Show artifacts - run: ls -lR - - - name: Device scripts permissions - run: | - chmod +x ./output/device-install.sh - chmod +x ./output/device-update.sh - - - name: Zip firmware - run: zip -j -9 -r ./firmware-${{inputs.arch}}-${{ needs.version.outputs.long }}.zip ./output - - - name: Repackage in single elfs zip - uses: actions/upload-artifact@v4 - with: - name: debug-elfs-${{inputs.arch}}-${{ needs.version.outputs.long }}.zip - overwrite: true - path: ./*.elf - retention-days: 30 - - - uses: scruplelesswizard/comment-artifact@main - if: ${{ github.event_name == 'pull_request' }} - with: - name: firmware-${{inputs.arch}}-${{ needs.version.outputs.long }} - description: "Download firmware-${{inputs.arch}}-${{ needs.version.outputs.long }}.zip. This artifact will be available for 90 days from creation" - github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build_one_target.yml b/.github/workflows/build_one_target.yml index 15b3fdba9..9cc0bac78 100644 --- a/.github/workflows/build_one_target.yml +++ b/.github/workflows/build_one_target.yml @@ -15,7 +15,6 @@ on: - rp2040 - rp2350 - stm32 - - native target: type: string required: false @@ -42,10 +41,9 @@ jobs: - rp2040 - rp2350 - stm32 - runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: python-version: 3.x @@ -60,13 +58,13 @@ jobs: echo "Arch: ${{matrix.arch}}" >> $GITHUB_STEP_SUMMARY echo "Ref: $GITHUB_REF" >> $GITHUB_STEP_SUMMARY echo "Targets:" >> $GITHUB_STEP_SUMMARY - echo $TARGETS >> $GITHUB_STEP_SUMMARY + echo $TARGETS | jq -r 'sort_by(.board) |.[] | "- " + .board' >> $GITHUB_STEP_SUMMARY version: if: ${{ inputs.target != '' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Get release version string run: | echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT @@ -87,25 +85,6 @@ jobs: pio_env: ${{ inputs.target }} platform: ${{ inputs.arch }} - build-debian-src: - if: ${{ github.repository == 'meshtastic/firmware' && inputs.arch == 'native' }} - uses: ./.github/workflows/build_debian_src.yml - with: - series: UNRELEASED - build_location: local - secrets: inherit - - package-pio-deps-native-tft: - if: ${{ inputs.arch == 'native' }} - uses: ./.github/workflows/package_pio_deps.yml - with: - pio_env: native-tft - secrets: inherit - - test-native: - if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'workflow_dispatch' || !contains(github.ref_name, 'event/') && inputs.arch == 'native' && inputs.target != '' }} - uses: ./.github/workflows/test_native.yml - gather-artifacts: permissions: contents: write @@ -114,12 +93,12 @@ jobs: needs: [version, build] steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: path: ./ pattern: firmware-*-* @@ -132,7 +111,7 @@ jobs: run: mv -b -t ./ ./bin/device-*.sh ./bin/device-*.bat - name: Repackage in single firmware zip - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: firmware-${{inputs.target}}-${{ needs.version.outputs.long }} overwrite: true @@ -140,7 +119,7 @@ jobs: ./firmware-*.bin ./firmware-*.uf2 ./firmware-*.hex - ./firmware-*-ota.zip + ./firmware-*.zip ./device-*.sh ./device-*.bat ./littlefs-*.bin @@ -148,7 +127,7 @@ jobs: ./Meshtastic_nRF52_factory_erase*.uf2 retention-days: 30 - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: pattern: firmware-*-${{ needs.version.outputs.long }} merge-multiple: true @@ -160,14 +139,14 @@ jobs: - name: Device scripts permissions run: | - chmod +x ./output/device-install.sh - chmod +x ./output/device-update.sh + chmod +x ./output/device-install.sh || true + chmod +x ./output/device-update.sh || true - name: Zip firmware run: zip -j -9 -r ./firmware-${{inputs.target}}-${{ needs.version.outputs.long }}.zip ./output - name: Repackage in single elfs zip - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: debug-elfs-${{inputs.target}}-${{ needs.version.outputs.long }}.zip overwrite: true diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 26a9cff18..8d19af894 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -47,7 +47,7 @@ jobs: runs-on: ${{ inputs.runs-on }} steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: recursive ref: ${{github.event.pull_request.head.ref}} diff --git a/.github/workflows/docker_manifest.yml b/.github/workflows/docker_manifest.yml index 20b9ceee6..396ddb68e 100644 --- a/.github/workflows/docker_manifest.yml +++ b/.github/workflows/docker_manifest.yml @@ -83,7 +83,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: recursive ref: ${{github.event.pull_request.head.ref}} diff --git a/.github/workflows/hook_copr.yml b/.github/workflows/hook_copr.yml index 2204cc02c..eb4ebc57b 100644 --- a/.github/workflows/hook_copr.yml +++ b/.github/workflows/hook_copr.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: recursive ref: ${{ github.ref }} diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index 02a4c23b8..d7bde7bc5 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -35,7 +35,7 @@ jobs: - check runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: python-version: 3.x @@ -59,7 +59,7 @@ jobs: version: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Get release version string run: | echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT @@ -77,16 +77,21 @@ jobs: fail-fast: false matrix: check: ${{ fromJson(needs.setup.outputs.check) }} - - runs-on: ubuntu-latest + # Use 'arctastic' self-hosted runner pool when checking in the main repo + runs-on: ${{ github.repository_owner == 'meshtastic' && 'arctastic' || 'ubuntu-latest' }} if: ${{ github.event_name != 'workflow_dispatch' && github.repository == 'meshtastic/firmware' }} steps: - - uses: actions/checkout@v5 - - name: Build base - id: base - uses: ./.github/actions/setup-base + - uses: actions/checkout@v6 + with: + submodules: recursive + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} - name: Check ${{ matrix.check.board }} - run: bin/check-all.sh ${{ matrix.check.board }} + uses: meshtastic/gh-action-firmware@main + with: + pio_platform: ${{ matrix.check.platform }} + pio_env: ${{ matrix.check.board }} + pio_target: check build: needs: [setup, version] @@ -163,12 +168,12 @@ jobs: needs: [version, build] steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: path: ./ pattern: firmware-${{matrix.arch}}-* @@ -177,19 +182,17 @@ jobs: - name: Display structure of downloaded files run: ls -R - - name: Move files up - run: mv -b -t ./ ./bin/device-*.sh ./bin/device-*.bat - - name: Repackage in single firmware zip - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: firmware-${{matrix.arch}}-${{ needs.version.outputs.long }} overwrite: true path: | + ./firmware-*.mt.json ./firmware-*.bin ./firmware-*.uf2 ./firmware-*.hex - ./firmware-*-ota.zip + ./firmware-*.zip ./device-*.sh ./device-*.bat ./littlefs-*.bin @@ -197,7 +200,7 @@ jobs: ./Meshtastic_nRF52_factory_erase*.uf2 retention-days: 30 - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: name: firmware-${{matrix.arch}}-${{ needs.version.outputs.long }} merge-multiple: true @@ -209,16 +212,16 @@ jobs: - name: Device scripts permissions run: | - chmod +x ./output/device-install.sh - chmod +x ./output/device-update.sh + chmod +x ./output/device-install.sh || true + chmod +x ./output/device-update.sh || true - name: Zip firmware run: zip -j -9 -r ./firmware-${{matrix.arch}}-${{ needs.version.outputs.long }}.zip ./output - name: Repackage in single elfs zip - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: - name: debug-elfs-${{matrix.arch}}-${{ needs.version.outputs.long }}.zip + name: debug-elfs-${{matrix.arch}}-${{ needs.version.outputs.long }} overwrite: true path: ./*.elf retention-days: 30 @@ -236,18 +239,14 @@ jobs: outputs: upload_url: ${{ steps.create_release.outputs.upload_url }} needs: + - setup - version - gather-artifacts - build-debian-src - package-pio-deps-native-tft steps: - name: Checkout - uses: actions/checkout@v5 - - - name: Setup Python - uses: actions/setup-python@v6 - with: - python-version: 3.x + uses: actions/checkout@v6 - name: Create release uses: softprops/action-gh-release@v2 @@ -261,14 +260,14 @@ jobs: Autogenerated by github action, developer should edit as required before publishing... - name: Download source deb - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v7 with: pattern: firmware-debian-${{ needs.version.outputs.deb }}~UNRELEASED-src merge-multiple: true path: ./output/debian-src - name: Download `native-tft` pio deps - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v7 with: pattern: platformio-deps-native-tft-${{ needs.version.outputs.long }} merge-multiple: true @@ -284,10 +283,25 @@ jobs: - name: Display structure of downloaded files run: ls -lR - - name: Add Linux sources to GtiHub Release + - name: Generate Release manifest + run: | + jq -n --arg ver "${{ needs.version.outputs.long }}" --argjson targets ${{ toJson(needs.setup.outputs.all) }} '{ + "version": $ver, + "targets": $targets + }' > firmware-${{ needs.version.outputs.long }}.json + + - name: Save Release manifest artifact + uses: actions/upload-artifact@v6 + with: + name: manifest-${{ needs.version.outputs.long }} + overwrite: true + path: firmware-${{ needs.version.outputs.long }}.json + + - name: Add sources to GitHub Release # Only run when targeting master branch with workflow_dispatch if: ${{ github.ref_name == 'master' }} run: | + gh release upload v${{ needs.version.outputs.long }} ./firmware-${{ needs.version.outputs.long }}.json gh release upload v${{ needs.version.outputs.long }} ./output/meshtasticd-${{ needs.version.outputs.deb }}-src.zip gh release upload v${{ needs.version.outputs.long }} ./output/platformio-deps-native-tft-${{ needs.version.outputs.long }}.zip env: @@ -311,14 +325,14 @@ jobs: needs: [release-artifacts, version] steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup Python uses: actions/setup-python@v6 with: python-version: 3.x - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: pattern: firmware-${{matrix.arch}}-${{ needs.version.outputs.long }} merge-multiple: true @@ -329,15 +343,15 @@ jobs: - name: Device scripts permissions run: | - chmod +x ./output/device-install.sh - chmod +x ./output/device-update.sh + chmod +x ./output/device-install.sh || true + chmod +x ./output/device-update.sh || true - name: Zip firmware run: zip -j -9 -r ./firmware-${{matrix.arch}}-${{ needs.version.outputs.long }}.zip ./output - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: - name: debug-elfs-${{matrix.arch}}-${{ needs.version.outputs.long }}.zip + name: debug-elfs-${{matrix.arch}}-${{ needs.version.outputs.long }} merge-multiple: true path: ./elfs @@ -366,19 +380,26 @@ jobs: esp32,esp32s3,esp32c3,esp32c6,nrf52840,rp2040,rp2350,stm32 steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup Python uses: actions/setup-python@v6 with: python-version: 3.x - - uses: actions/download-artifact@v5 + - name: Get firmware artifacts + uses: actions/download-artifact@v7 with: pattern: firmware-{${{ env.targets }}}-${{ needs.version.outputs.long }} merge-multiple: true path: ./publish + - name: Get manifest artifact + uses: actions/download-artifact@v7 + with: + pattern: manifest-${{ needs.version.outputs.long }} + path: ./publish + - name: Publish firmware to meshtastic.github.io uses: peaceiris/actions-gh-pages@v4 env: diff --git a/.github/workflows/merge_queue.yml b/.github/workflows/merge_queue.yml index e8c3d3450..bd3f6d4eb 100644 --- a/.github/workflows/merge_queue.yml +++ b/.github/workflows/merge_queue.yml @@ -17,7 +17,7 @@ jobs: - check runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: python-version: 3.x @@ -40,7 +40,7 @@ jobs: version: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Get release version string run: | echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT @@ -62,7 +62,7 @@ jobs: runs-on: ubuntu-latest if: ${{ github.event_name != 'workflow_dispatch' }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Build base id: base uses: ./.github/actions/setup-base @@ -142,12 +142,12 @@ jobs: needs: [version, build] steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: path: ./ pattern: firmware-${{matrix.arch}}-* @@ -160,7 +160,7 @@ jobs: run: mv -b -t ./ ./bin/device-*.sh ./bin/device-*.bat - name: Repackage in single firmware zip - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: firmware-${{matrix.arch}}-${{ needs.version.outputs.long }} overwrite: true @@ -168,7 +168,7 @@ jobs: ./firmware-*.bin ./firmware-*.uf2 ./firmware-*.hex - ./firmware-*-ota.zip + ./firmware-*.zip ./device-*.sh ./device-*.bat ./littlefs-*.bin @@ -176,7 +176,7 @@ jobs: ./Meshtastic_nRF52_factory_erase*.uf2 retention-days: 30 - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: name: firmware-${{matrix.arch}}-${{ needs.version.outputs.long }} merge-multiple: true @@ -188,16 +188,16 @@ jobs: - name: Device scripts permissions run: | - chmod +x ./output/device-install.sh - chmod +x ./output/device-update.sh + chmod +x ./output/device-install.sh || true + chmod +x ./output/device-update.sh || true - name: Zip firmware run: zip -j -9 -r ./firmware-${{matrix.arch}}-${{ needs.version.outputs.long }}.zip ./output - name: Repackage in single elfs zip - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: - name: debug-elfs-${{matrix.arch}}-${{ needs.version.outputs.long }}.zip + name: debug-elfs-${{matrix.arch}}-${{ needs.version.outputs.long }} overwrite: true path: ./*.elf retention-days: 30 @@ -221,12 +221,7 @@ jobs: - package-pio-deps-native-tft steps: - name: Checkout - uses: actions/checkout@v5 - - - name: Setup Python - uses: actions/setup-python@v6 - with: - python-version: 3.x + uses: actions/checkout@v6 - name: Create release uses: softprops/action-gh-release@v2 @@ -240,14 +235,14 @@ jobs: Autogenerated by github action, developer should edit as required before publishing... - name: Download source deb - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v7 with: pattern: firmware-debian-${{ needs.version.outputs.deb }}~UNRELEASED-src merge-multiple: true path: ./output/debian-src - name: Download `native-tft` pio deps - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v7 with: pattern: platformio-deps-native-tft-${{ needs.version.outputs.long }} merge-multiple: true @@ -290,14 +285,14 @@ jobs: needs: [release-artifacts, version] steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup Python uses: actions/setup-python@v6 with: python-version: 3.x - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: pattern: firmware-${{matrix.arch}}-${{ needs.version.outputs.long }} merge-multiple: true @@ -308,15 +303,15 @@ jobs: - name: Device scripts permissions run: | - chmod +x ./output/device-install.sh - chmod +x ./output/device-update.sh + chmod +x ./output/device-install.sh || true + chmod +x ./output/device-update.sh || true - name: Zip firmware run: zip -j -9 -r ./firmware-${{matrix.arch}}-${{ needs.version.outputs.long }}.zip ./output - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: - name: debug-elfs-${{matrix.arch}}-${{ needs.version.outputs.long }}.zip + name: debug-elfs-${{matrix.arch}}-${{ needs.version.outputs.long }} merge-multiple: true path: ./elfs @@ -345,14 +340,14 @@ jobs: esp32,esp32s3,esp32c3,esp32c6,nrf52840,rp2040,rp2350,stm32 steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup Python uses: actions/setup-python@v6 with: python-version: 3.x - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: pattern: firmware-{${{ env.targets }}}-${{ needs.version.outputs.long }} merge-multiple: true diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index f26073ec4..045e94895 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Trunk Check uses: trunk-io/trunk-action@v1 @@ -31,7 +31,7 @@ jobs: pull-requests: write # For trunk to create PRs steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Trunk Upgrade uses: trunk-io/trunk-action/upgrade@v1 diff --git a/.github/workflows/package_obs.yml b/.github/workflows/package_obs.yml index 4c547eadc..63f1fe8a0 100644 --- a/.github/workflows/package_obs.yml +++ b/.github/workflows/package_obs.yml @@ -34,7 +34,7 @@ jobs: needs: build-debian-src steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: recursive path: meshtasticd @@ -58,7 +58,7 @@ jobs: id: version - name: Download artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v7 with: name: firmware-debian-${{ steps.version.outputs.deb }}~${{ inputs.series }}-src merge-multiple: true diff --git a/.github/workflows/package_pio_deps.yml b/.github/workflows/package_pio_deps.yml index d8ff6e631..82ffe66e9 100644 --- a/.github/workflows/package_pio_deps.yml +++ b/.github/workflows/package_pio_deps.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: recursive ref: ${{github.event.pull_request.head.ref}} @@ -56,7 +56,7 @@ jobs: PLATFORMIO_CORE_DIR: pio/core - name: Store binaries as an artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: platformio-deps-${{ inputs.pio_env }}-${{ steps.version.outputs.long }} overwrite: true diff --git a/.github/workflows/package_ppa.yml b/.github/workflows/package_ppa.yml index aece730a0..9a463dbea 100644 --- a/.github/workflows/package_ppa.yml +++ b/.github/workflows/package_ppa.yml @@ -32,7 +32,7 @@ jobs: needs: build-debian-src steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: recursive path: meshtasticd @@ -60,7 +60,7 @@ jobs: id: version - name: Download artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v7 with: name: firmware-debian-${{ steps.version.outputs.deb }}~${{ inputs.series }}-src merge-multiple: true diff --git a/.github/workflows/pr_enforce_labels.yml b/.github/workflows/pr_enforce_labels.yml index 543e23558..d60c9c8ca 100644 --- a/.github/workflows/pr_enforce_labels.yml +++ b/.github/workflows/pr_enforce_labels.yml @@ -17,7 +17,7 @@ jobs: with: script: | const labels = context.payload.pull_request.labels.map(label => label.name); - const requiredLabels = ['bugfix', 'enhancement', 'hardware-support', 'dependencies', 'submodules', 'github_actions', 'trunk']; + const requiredLabels = ['bugfix', 'enhancement', 'hardware-support', 'dependencies', 'submodules', 'github_actions', 'trunk', 'cleanup']; const hasRequiredLabel = labels.some(label => requiredLabels.includes(label)); if (!hasRequiredLabel) { core.setFailed(`PR must have at least one of the following labels before it can be merged: ${requiredLabels.join(', ')}.`); diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index 4e285852d..6306d777f 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -40,7 +40,7 @@ jobs: checks: write pull-requests: write steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: submodules: recursive @@ -50,9 +50,9 @@ jobs: - name: Download test artifacts if: needs.native-tests.result != 'skipped' - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v7 with: - name: platformio-test-report-${{ steps.version.outputs.long }}.zip + name: platformio-test-report-${{ steps.version.outputs.long }} merge-multiple: true - name: Parse test results and create detailed summary diff --git a/.github/workflows/release_channels.yml b/.github/workflows/release_channels.yml index d5d642db4..badbb31d4 100644 --- a/.github/workflows/release_channels.yml +++ b/.github/workflows/release_channels.yml @@ -60,7 +60,10 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 + with: + # Always use master branch for version bumps + ref: master - name: Setup Python uses: actions/setup-python@v6 @@ -99,7 +102,7 @@ jobs: PIP_DISABLE_PIP_VERSION_CHECK: 1 - name: Create Bumps pull request - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v8 with: base: ${{ github.event.repository.default_branch }} branch: create-pull-request/bump-version diff --git a/.github/workflows/sec_sast_semgrep_cron.yml b/.github/workflows/sec_sast_semgrep_cron.yml index 2059fde2c..d93449d6d 100644 --- a/.github/workflows/sec_sast_semgrep_cron.yml +++ b/.github/workflows/sec_sast_semgrep_cron.yml @@ -21,7 +21,7 @@ jobs: steps: # step 1 - name: clone application source code - uses: actions/checkout@v5 + uses: actions/checkout@v6 # step 2 - name: full scan @@ -33,7 +33,7 @@ jobs: # step 3 - name: save report as pipeline artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: report.sarif overwrite: true diff --git a/.github/workflows/sec_sast_semgrep_pull.yml b/.github/workflows/sec_sast_semgrep_pull.yml index e93b2ae8b..e9b4108a1 100644 --- a/.github/workflows/sec_sast_semgrep_pull.yml +++ b/.github/workflows/sec_sast_semgrep_pull.yml @@ -13,7 +13,7 @@ jobs: steps: # step 1 - name: clone application source code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 diff --git a/.github/workflows/stale_bot.yml b/.github/workflows/stale_bot.yml index b528f80b2..fc0702bd8 100644 --- a/.github/workflows/stale_bot.yml +++ b/.github/workflows/stale_bot.yml @@ -17,10 +17,10 @@ jobs: steps: - name: Stale PR+Issues - uses: actions/stale@v10.1.0 + uses: actions/stale@v10.1.1 with: days-before-stale: 45 stale-issue-message: This issue has not had any comment or update in the last month. If it is still relevant, please post update comments. If no comments are made, this issue will be closed automagically in 7 days. close-issue-message: This issue has not had any comment since the last notice. It has been closed automatically. If this is incorrect, or the issue becomes relevant again, please request that it is reopened. - exempt-issue-labels: pinned,3.0 - exempt-pr-labels: pinned,3.0 + exempt-issue-labels: pinned,3.0,triaged,backlog + exempt-pr-labels: pinned,3.0,triaged,backlog diff --git a/.github/workflows/test_native.yml b/.github/workflows/test_native.yml index 9cf1c9e53..cabe0dd97 100644 --- a/.github/workflows/test_native.yml +++ b/.github/workflows/test_native.yml @@ -14,7 +14,7 @@ jobs: name: Native Simulator Tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} @@ -40,7 +40,7 @@ jobs: - name: Integration test run: | - .pio/build/coverage/program -s & + .pio/build/coverage/meshtasticd -s & PID=$! timeout 20 bash -c "until ls -al /proc/$PID/fd | grep socket; do sleep 1; done" echo "Simulator started, launching python test..." @@ -59,10 +59,10 @@ jobs: id: version - name: Save coverage information - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 if: always() # run this step even if previous step failed with: - name: lcov-coverage-info-native-simulator-test-${{ steps.version.outputs.long }}.zip + name: lcov-coverage-info-native-simulator-test-${{ steps.version.outputs.long }} overwrite: true path: ./coverage_*.info @@ -70,7 +70,7 @@ jobs: name: Native PlatformIO Tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} @@ -94,9 +94,9 @@ jobs: - name: Save test results if: always() # run this step even if previous step failed - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: - name: platformio-test-report-${{ steps.version.outputs.long }}.zip + name: platformio-test-report-${{ steps.version.outputs.long }} overwrite: true path: ./testreport.xml @@ -108,10 +108,10 @@ jobs: sed -i -e "s#${PWD}#.#" coverage_tests.info # Make paths relative. - name: Save coverage information - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 if: always() # run this step even if previous step failed with: - name: lcov-coverage-info-native-platformio-tests-${{ steps.version.outputs.long }}.zip + name: lcov-coverage-info-native-platformio-tests-${{ steps.version.outputs.long }} overwrite: true path: ./coverage_*.info @@ -127,7 +127,7 @@ jobs: - platformio-tests if: always() steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} @@ -137,22 +137,22 @@ jobs: id: version - name: Download test artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v7 with: - name: platformio-test-report-${{ steps.version.outputs.long }}.zip + name: platformio-test-report-${{ steps.version.outputs.long }} merge-multiple: true - name: Test Report - uses: dorny/test-reporter@v2.1.1 + uses: dorny/test-reporter@v2.3.0 with: name: PlatformIO Tests path: testreport.xml reporter: java-junit - name: Download coverage artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v7 with: - pattern: lcov-coverage-info-native-*-${{ steps.version.outputs.long }}.zip + pattern: lcov-coverage-info-native-*-${{ steps.version.outputs.long }} path: code-coverage-report merge-multiple: true @@ -163,7 +163,7 @@ jobs: genhtml --quiet --legend --prefix "${PWD}" code-coverage-report/coverage_src.info --output-directory code-coverage-report - name: Save Code Coverage Report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: - name: code-coverage-report-${{ steps.version.outputs.long }}.zip + name: code-coverage-report-${{ steps.version.outputs.long }} path: code-coverage-report diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 942659348..241f2cd10 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,9 +20,9 @@ jobs: runs-on: test-runner steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 - # - uses: actions/setup-python@v5 + # - uses: actions/setup-python@v6 # with: # python-version: '3.10' @@ -47,9 +47,9 @@ jobs: pio upgrade - name: Setup Node - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - name: Setup pnpm uses: pnpm/action-setup@v4 diff --git a/.github/workflows/trunk_annotate_pr.yml b/.github/workflows/trunk_annotate_pr.yml index 23dcf8d09..59ab25c28 100644 --- a/.github/workflows/trunk_annotate_pr.yml +++ b/.github/workflows/trunk_annotate_pr.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Trunk Check uses: trunk-io/trunk-action@v1 diff --git a/.github/workflows/trunk_check.yml b/.github/workflows/trunk_check.yml index 41731d491..874374fe0 100644 --- a/.github/workflows/trunk_check.yml +++ b/.github/workflows/trunk_check.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Trunk Check uses: trunk-io/trunk-action@v1 diff --git a/.github/workflows/trunk_format_pr.yml b/.github/workflows/trunk_format_pr.yml index 51082fc5f..8fa0cc1eb 100644 --- a/.github/workflows/trunk_format_pr.yml +++ b/.github/workflows/trunk_format_pr.yml @@ -15,7 +15,7 @@ jobs: pull-requests: write steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} diff --git a/.github/workflows/update_protobufs.yml b/.github/workflows/update_protobufs.yml index c06e06b0a..d9ef98194 100644 --- a/.github/workflows/update_protobufs.yml +++ b/.github/workflows/update_protobufs.yml @@ -11,7 +11,7 @@ jobs: pull-requests: write steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: true @@ -31,7 +31,7 @@ jobs: ./bin/regen-protos.sh - name: Create pull request - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v8 with: branch: create-pull-request/update-protobufs labels: submodules diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 8c981850d..20ba0d944 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -4,31 +4,31 @@ cli: plugins: sources: - id: trunk - ref: v1.7.2 + ref: v1.7.4 uri: https://github.com/trunk-io/plugins lint: enabled: - - checkov@3.2.473 - - renovate@41.132.5 - - prettier@3.6.2 - - trufflehog@3.90.8 + - checkov@3.2.495 + - renovate@42.57.1 + - prettier@3.7.4 + - trufflehog@3.92.3 - yamllint@1.37.1 - - bandit@1.8.6 - - trivy@0.67.0 + - bandit@1.9.2 + - trivy@0.68.1 - taplo@0.10.0 - - ruff@0.13.3 - - isort@6.1.0 - - markdownlint@0.45.0 - - oxipng@9.1.5 + - ruff@0.14.9 + - isort@7.0.0 + - markdownlint@0.47.0 + - oxipng@10.0.0 - svgo@4.0.0 - - actionlint@1.7.7 + - actionlint@1.7.9 - flake8@7.3.0 - hadolint@2.14.0 - shfmt@3.6.0 - shellcheck@0.11.0 - - black@25.9.0 + - black@25.12.0 - git-diff-check - - gitleaks@8.28.0 + - gitleaks@8.30.0 - clang-format@16.0.3 ignore: - linters: [ALL] diff --git a/README.md b/README.md index a53fe9646..f34bf1839 100644 --- a/README.md +++ b/README.md @@ -37,4 +37,3 @@ Join our community and help improve Meshtastic! 🚀 ## Stats ![Alt](https://repobeats.axiom.co/api/embed/8025e56c482ec63541593cc5bd322c19d5c0bdcf.svg "Repobeats analytics image") - diff --git a/alpine.Dockerfile b/alpine.Dockerfile index 0469874e4..b3b384101 100644 --- a/alpine.Dockerfile +++ b/alpine.Dockerfile @@ -8,7 +8,8 @@ ARG PIO_ENV=native ENV PIP_ROOT_USER_ACTION=ignore RUN apk --no-cache add \ - bash g++ libstdc++-dev linux-headers zip git ca-certificates libgpiod-dev yaml-cpp-dev bluez-dev \ + bash g++ libstdc++-dev linux-headers zip git ca-certificates libbsd-dev \ + libgpiod-dev yaml-cpp-dev bluez-dev \ libusb-dev i2c-tools-dev libuv-dev openssl-dev pkgconf argp-standalone \ libx11-dev libinput-dev libxkbcommon-dev \ && rm -rf /var/cache/apk/* \ @@ -27,7 +28,7 @@ RUN bash ./bin/build-native.sh "$PIO_ENV" && \ # ##### PRODUCTION BUILD ############# -FROM alpine:3.22 +FROM alpine:3.23 LABEL org.opencontainers.image.title="Meshtastic" \ org.opencontainers.image.description="Alpine Meshtastic daemon" \ org.opencontainers.image.url="https://meshtastic.org" \ @@ -40,8 +41,8 @@ LABEL org.opencontainers.image.title="Meshtastic" \ USER root RUN apk --no-cache add \ - shadow libstdc++ libgpiod yaml-cpp libusb i2c-tools libuv \ - libx11 libinput libxkbcommon \ + shadow libstdc++ libbsd libgpiod yaml-cpp libusb \ + i2c-tools libuv libx11 libinput libxkbcommon \ && rm -rf /var/cache/apk/* \ && mkdir -p /var/lib/meshtasticd \ && mkdir -p /etc/meshtasticd/config.d \ diff --git a/arch/nrf52/nrf52832.ini b/arch/nrf52/nrf52832.ini deleted file mode 100644 index ce94283b1..000000000 --- a/arch/nrf52/nrf52832.ini +++ /dev/null @@ -1,7 +0,0 @@ -[nrf52832_base] -extends = nrf52_base - -build_flags = ${nrf52_base.build_flags} - -lib_deps = - ${nrf52_base.lib_deps} diff --git a/bin/analyze_map.py b/bin/analyze_map.py new file mode 100644 index 000000000..99997c703 --- /dev/null +++ b/bin/analyze_map.py @@ -0,0 +1,165 @@ +#!/usr/bin/env python3 +"""Summarise linker map output to highlight heavy object files and libraries. + +Usage: + python bin/analyze_map.py --map .pio/build/rak4631/output.map --top 20 + +The script parses GNU ld map files and aggregates section sizes per object file +and per archive/library, then prints sortable tables that make it easy to spot +modules worth trimming or hiding behind feature flags. +""" +from __future__ import annotations + +import argparse +import collections +import os +import re +import sys +from typing import DefaultDict, Dict, Tuple + + +SECTION_LINE_RE = re.compile(r"^\s+(?P
\S+)\s+0x[0-9A-Fa-f]+\s+0x(?P[0-9A-Fa-f]+)\s+(?P.+)$") +ARCHIVE_MEMBER_RE = re.compile(r"^(?P.+)\((?P[^)]+)\)$") + + +def human_size(num_bytes: int) -> str: + """Return a friendly size string with one decimal place.""" + if num_bytes < 1024: + return f"{num_bytes:,} B" + num = float(num_bytes) + for unit in ("KB", "MB", "GB"): + num /= 1024.0 + if num < 1024.0: + return f"{num:.1f} {unit}" + return f"{num:.1f} TB" + + +def shorten_path(path: str, root: str) -> str: + """Prefer repository-relative paths for readability.""" + path = path.strip() + if not path: + return path + + # Normalise Windows archives (backslashes) to POSIX style for consistency. + path = path.replace("\\", "/") + + # Attempt to strip the root when an absolute path lives inside the repo. + if os.path.isabs(path): + try: + rel = os.path.relpath(path, root) + if not rel.startswith(".."): + return rel + except ValueError: + # relpath can fail on mixed drives on Windows; fall back to basename. + pass + return path + + +def describe_object(raw_object: str, root: str) -> Tuple[str, str]: + """Return a human friendly object label and the library it belongs to.""" + raw_object = raw_object.strip() + lib_label = "[app]" + match = ARCHIVE_MEMBER_RE.match(raw_object) + if match: + archive = shorten_path(match.group("archive"), root) + obj = match.group("object") + lib_label = os.path.basename(archive) or archive + label = f"{archive}:{obj}" + else: + label = shorten_path(raw_object, root) + # If the object lives under libs, hint at the containing directory. + parent = os.path.basename(os.path.dirname(label)) + if parent: + lib_label = parent + return label, lib_label + + +def parse_map(map_path: str, repo_root: str) -> Tuple[Dict[str, int], Dict[str, int], Dict[str, Dict[str, int]]]: + per_object: DefaultDict[str, int] = collections.defaultdict(int) + per_library: DefaultDict[str, int] = collections.defaultdict(int) + per_object_sections: DefaultDict[str, DefaultDict[str, int]] = collections.defaultdict(lambda: collections.defaultdict(int)) + + try: + with open(map_path, "r", encoding="utf-8", errors="ignore") as handle: + for line in handle: + match = SECTION_LINE_RE.match(line) + if not match: + continue + + section = match.group("section") + if section.startswith("*") or section in {"LOAD", "ORIGIN"}: + continue + + size = int(match.group("size"), 16) + if size == 0: + continue + + obj_token = match.group("object").strip() + if not obj_token or obj_token.startswith("*") or "load address" in obj_token: + continue + + label, lib_label = describe_object(obj_token, repo_root) + per_object[label] += size + per_library[lib_label] += size + per_object_sections[label][section] += size + except FileNotFoundError: + raise SystemExit(f"error: map file '{map_path}' not found. Run a build first.") + + return per_object, per_library, per_object_sections + + +def format_section_breakdown(section_sizes: Dict[str, int], total: int, limit: int = 3) -> str: + items = sorted(section_sizes.items(), key=lambda kv: kv[1], reverse=True) + parts = [] + for section, size in items[:limit]: + pct = (size / total) * 100 if total else 0 + parts.append(f"{section} {pct:.1f}%") + if len(items) > limit: + remainder = total - sum(size for _, size in items[:limit]) + pct = (remainder / total) * 100 if total else 0 + parts.append(f"other {pct:.1f}%") + return ", ".join(parts) + + +def print_report(map_path: str, top_n: int, per_object: Dict[str, int], per_library: Dict[str, int], per_object_sections: Dict[str, Dict[str, int]]): + total_bytes = sum(per_object.values()) + if total_bytes == 0: + print("No section data found in map file.") + return + + print(f"Map file: {map_path}") + print(f"Accounted size: {human_size(total_bytes)} across {len(per_object)} object files\n") + + sorted_objects = sorted(per_object.items(), key=lambda kv: kv[1], reverse=True) + print(f"Top {min(top_n, len(sorted_objects))} object files by linked size:") + for idx, (obj, size) in enumerate(sorted_objects[:top_n], 1): + pct = (size / total_bytes) * 100 + breakdown = format_section_breakdown(per_object_sections[obj], size) + print(f"{idx:2}. {human_size(size):>9} ({size:,} B, {pct:5.2f}% of linked size)") + print(f" {obj}") + if breakdown: + print(f" sections: {breakdown}") + print() + + sorted_libs = sorted(per_library.items(), key=lambda kv: kv[1], reverse=True) + print(f"Top {min(top_n, len(sorted_libs))} libraries or source roots:") + for idx, (lib, size) in enumerate(sorted_libs[:top_n], 1): + pct = (size / total_bytes) * 100 + print(f"{idx:2}. {human_size(size):>9} ({size:,} B, {pct:5.2f}% of linked size) {lib}") + + +def main() -> None: + parser = argparse.ArgumentParser(description="Highlight heavy object files from a GNU ld map file.") + parser.add_argument("--map", default=".pio/build/rak4631/output.map", help="Path to the map file (default: %(default)s)") + parser.add_argument("--top", type=int, default=20, help="Number of entries to display per table (default: %(default)s)") + args = parser.parse_args() + + map_path = os.path.abspath(args.map) + repo_root = os.path.abspath(os.getcwd()) + + per_object, per_library, per_object_sections = parse_map(map_path, repo_root) + print_report(os.path.relpath(map_path, repo_root), args.top, per_object, per_library, per_object_sections) + + +if __name__ == "__main__": + main() diff --git a/bin/build-esp32.sh b/bin/build-esp32.sh index 92836db23..4e799b30a 100755 --- a/bin/build-esp32.sh +++ b/bin/build-esp32.sh @@ -5,7 +5,8 @@ set -e VERSION=`bin/buildinfo.py long` SHORT_VERSION=`bin/buildinfo.py short` -OUTDIR=release/ +BUILDDIR=.pio/build/$1 +OUTDIR=release rm -f $OUTDIR/firmware* rm -r $OUTDIR/* || true @@ -14,33 +15,27 @@ rm -r $OUTDIR/* || true platformio pkg install -e $1 echo "Building for $1 with $PLATFORMIO_BUILD_FLAGS" -rm -f .pio/build/$1/firmware.* +rm -f $BUILDDIR/firmware* # The shell vars the build tool expects to find export APP_VERSION=$VERSION basename=firmware-$1-$VERSION -pio run --environment $1 # -v -SRCELF=.pio/build/$1/firmware.elf -cp $SRCELF $OUTDIR/$basename.elf +pio run --environment $1 -t mtjson # -v + +cp $BUILDDIR/$basename.elf $OUTDIR/$basename.elf echo "Copying ESP32 bin file" -SRCBIN=.pio/build/$1/firmware.factory.bin -cp $SRCBIN $OUTDIR/$basename.bin +cp $BUILDDIR/$basename.factory.bin $OUTDIR/$basename.factory.bin echo "Copying ESP32 update bin file" -SRCBIN=.pio/build/$1/firmware.bin -cp $SRCBIN $OUTDIR/$basename-update.bin +cp $BUILDDIR/$basename.bin $OUTDIR/$basename.bin -echo "Building Filesystem for ESP32 targets" -# If you want to build the webui, uncomment the following lines -# pio run --environment $1 -t buildfs -# cp .pio/build/$1/littlefs.bin $OUTDIR/littlefswebui-$1-$VERSION.bin -# # Remove webserver files from the filesystem and rebuild -# ls -l data/static # Diagnostic list of files -# rm -rf data/static -pio run --environment $1 -t buildfs -cp .pio/build/$1/littlefs.bin $OUTDIR/littlefs-$1-$VERSION.bin -cp bin/device-install.* $OUTDIR -cp bin/device-update.* $OUTDIR \ No newline at end of file +echo "Copying Filesystem for ESP32 targets" +cp $BUILDDIR/littlefs-$1-$VERSION.bin $OUTDIR/littlefs-$1-$VERSION.bin +cp bin/device-install.* $OUTDIR/ +cp bin/device-update.* $OUTDIR/ + +echo "Copying manifest" +cp $BUILDDIR/$basename.mt.json $OUTDIR/$basename.mt.json diff --git a/bin/build-native.sh b/bin/build-native.sh index fff86e87e..f35e46a87 100755 --- a/bin/build-native.sh +++ b/bin/build-native.sh @@ -17,15 +17,19 @@ VERSION=$(bin/buildinfo.py long) SHORT_VERSION=$(bin/buildinfo.py short) PIO_ENV=${1:-native} -OUTDIR=release/ +BUILDDIR=.pio/build/$PIO_ENV +OUTDIR=release -rm -f $OUTDIR/firmware* +rm -f $OUTDIR/meshtasticd* mkdir -p $OUTDIR/ rm -r $OUTDIR/* || true +basename=meshtasticd-$1-$VERSION + # Important to pull latest version of libs into all device flavors, otherwise some devices might be stale pio pkg install --environment "$PIO_ENV" || platformioFailed pio run --environment "$PIO_ENV" || platformioFailed -cp ".pio/build/$PIO_ENV/program" "$OUTDIR/meshtasticd_linux_$(uname -m)" -cp bin/native-install.* $OUTDIR + +cp "$BUILDDIR/meshtasticd" "$OUTDIR/meshtasticd_linux_$(uname -m)" +cp bin/native-install.* $OUTDIR/ diff --git a/bin/build-nrf52.sh b/bin/build-nrf52.sh index deca209d2..e3a421865 100755 --- a/bin/build-nrf52.sh +++ b/bin/build-nrf52.sh @@ -5,7 +5,8 @@ set -e VERSION=$(bin/buildinfo.py long) SHORT_VERSION=$(bin/buildinfo.py short) -OUTDIR=release/ +BUILDDIR=.pio/build/$1 +OUTDIR=release rm -f $OUTDIR/firmware* rm -r $OUTDIR/* || true @@ -14,40 +15,37 @@ rm -r $OUTDIR/* || true platformio pkg install -e $1 echo "Building for $1 with $PLATFORMIO_BUILD_FLAGS" -rm -f .pio/build/$1/firmware.* +rm -f $BUILDDIR/firmware* # The shell vars the build tool expects to find export APP_VERSION=$VERSION basename=firmware-$1-$VERSION -pio run --environment $1 # -v -SRCELF=.pio/build/$1/firmware.elf -cp $SRCELF $OUTDIR/$basename.elf +pio run --environment $1 -t mtjson # -v -echo "Generating NRF52 dfu file" -DFUPKG=.pio/build/$1/firmware.zip -cp $DFUPKG $OUTDIR/$basename-ota.zip +cp $BUILDDIR/$basename.elf $OUTDIR/$basename.elf -echo "Generating NRF52 uf2 file" -SRCHEX=.pio/build/$1/firmware.hex +echo "Copying NRF52 dfu (OTA) file" +cp $BUILDDIR/$basename.zip $OUTDIR/$basename.zip -# if WM1110 target, merge hex with softdevice 7.3.0 +echo "Copying NRF52 UF2 file" +cp $BUILDDIR/$basename.uf2 $OUTDIR/$basename.uf2 +cp bin/*.uf2 $OUTDIR/ + +SRCHEX=$BUILDDIR/$basename.hex + +# if WM1110 target, copy the merged.hex if (echo $1 | grep -q "wio-sdk-wm1110"); then - echo "Merging with softdevice" - bin/mergehex -m bin/s140_nrf52_7.3.0_softdevice.hex $SRCHEX -o .pio/build/$1/$basename.hex - SRCHEX=.pio/build/$1/$basename.hex - bin/uf2conv.py $SRCHEX -c -o $OUTDIR/$basename.uf2 -f 0xADA52840 - cp $SRCHEX $OUTDIR - cp bin/*.uf2 $OUTDIR -else - bin/uf2conv.py $SRCHEX -c -o $OUTDIR/$basename.uf2 -f 0xADA52840 - cp bin/device-install.* $OUTDIR - cp bin/device-update.* $OUTDIR - cp bin/*.uf2 $OUTDIR + echo "Copying .merged.hex file" + SRCHEX=$BUILDDIR/$basename.merged.hex + cp $SRCHEX $OUTDIR/ fi if (echo $1 | grep -q "rak4631"); then - echo "Copying hex file" - cp .pio/build/$1/firmware.hex $OUTDIR/$basename.hex -fi \ No newline at end of file + echo "Copying .hex file" + cp $SRCHEX $OUTDIR/ +fi + +echo "Copying manifest" +cp $BUILDDIR/$basename.mt.json $OUTDIR/$basename.mt.json diff --git a/bin/build-rp2xx0.sh b/bin/build-rp2xx0.sh index cb4865914..3ef1c1e34 100755 --- a/bin/build-rp2xx0.sh +++ b/bin/build-rp2xx0.sh @@ -5,7 +5,8 @@ set -e VERSION=`bin/buildinfo.py long` SHORT_VERSION=`bin/buildinfo.py short` -OUTDIR=release/ +BUILDDIR=.pio/build/$1 +OUTDIR=release rm -f $OUTDIR/firmware* rm -r $OUTDIR/* || true @@ -14,20 +15,19 @@ rm -r $OUTDIR/* || true platformio pkg install -e $1 echo "Building for $1 with $PLATFORMIO_BUILD_FLAGS" -rm -f .pio/build/$1/firmware.* +rm -f $BUILDDIR/firmware* # The shell vars the build tool expects to find export APP_VERSION=$VERSION basename=firmware-$1-$VERSION -pio run --environment $1 # -v -SRCELF=.pio/build/$1/firmware.elf -cp $SRCELF $OUTDIR/$basename.elf +pio run --environment $1 -t mtjson # -v + +cp $BUILDDIR/$basename.elf $OUTDIR/$basename.elf echo "Copying uf2 file" -SRCBIN=.pio/build/$1/firmware.uf2 -cp $SRCBIN $OUTDIR/$basename.uf2 +cp $BUILDDIR/$basename.uf2 $OUTDIR/$basename.uf2 -cp bin/device-install.* $OUTDIR -cp bin/device-update.* $OUTDIR +echo "Copying manifest" +cp $BUILDDIR/$basename.mt.json $OUTDIR/$basename.mt.json diff --git a/bin/build-stm32wl.sh b/bin/build-stm32wl.sh index f62df4842..023f3603c 100755 --- a/bin/build-stm32wl.sh +++ b/bin/build-stm32wl.sh @@ -5,7 +5,8 @@ set -e VERSION=$(bin/buildinfo.py long) SHORT_VERSION=$(bin/buildinfo.py short) -OUTDIR=release/ +BUILDDIR=.pio/build/$1 +OUTDIR=release rm -f $OUTDIR/firmware* rm -r $OUTDIR/* || true @@ -14,16 +15,19 @@ rm -r $OUTDIR/* || true platformio pkg install -e $1 echo "Building for $1 with $PLATFORMIO_BUILD_FLAGS" -rm -f .pio/build/$1/firmware.* +rm -f $BUILDDIR/firmware* # The shell vars the build tool expects to find export APP_VERSION=$VERSION basename=firmware-$1-$VERSION -pio run --environment $1 # -v -SRCELF=.pio/build/$1/firmware.elf -cp $SRCELF $OUTDIR/$basename.elf +pio run --environment $1 -t mtjson # -v -SRCBIN=.pio/build/$1/firmware.bin -cp $SRCBIN $OUTDIR/$basename.bin +cp $BUILDDIR/$basename.elf $OUTDIR/$basename.elf + +echo "Copying STM32 bin file" +cp $BUILDDIR/$basename.bin $OUTDIR/$basename.bin + +echo "Copying manifest" +cp $BUILDDIR/$basename.mt.json $OUTDIR/$basename.mt.json diff --git a/bin/config-dist.yaml b/bin/config-dist.yaml index b4cc81792..adf804ba9 100644 --- a/bin/config-dist.yaml +++ b/bin/config-dist.yaml @@ -184,6 +184,8 @@ Input: Logging: LogLevel: info # debug, info, warn, error # TraceFile: /var/log/meshtasticd.json +# JSONFile: /packets.json # File location for JSON output of decoded packets +# JSONFilter: position # filter for packets to save to JSON file # AsciiLogs: true # default if not specified is !isatty() on stdout Webserver: diff --git a/bin/device-install.bat b/bin/device-install.bat index 9c206d718..c200a3201 100755 --- a/bin/device-install.bat +++ b/bin/device-install.bat @@ -5,22 +5,14 @@ TITLE Meshtastic device-install SET "SCRIPT_NAME=%~nx0" SET "DEBUG=0" SET "PYTHON=" -SET "TFT_BUILD=0" -SET "BIGDB8=0" -SET "MUIDB8=0" -SET "BIGDB16=0" SET "ESPTOOL_BAUD=115200" SET "ESPTOOL_CMD=" SET "LOGCOUNTER=0" SET "BPS_RESET=0" - -@REM FIXME: Determine mcu from PlatformIO variant, this is unmaintainable. -SET "S3=s3 v3 t-deck wireless-paper wireless-tracker station-g2 unphone t-eth-elite tlora-pager mesh-tab dreamcatcher ESP32-S3-Pico seeed-sensecap-indicator heltec_capsule_sensor_v3 vision-master icarus tracksenger elecrow-adv" -SET "C3=esp32c3" -@REM FIXME: Determine flash size from PlatformIO variant, this is unmaintainable. -SET "BIGDB_8MB=crowpanel-esp32s3 heltec_capsule_sensor_v3 heltec-v3 heltec-vision-master-e213 heltec-vision-master-e290 heltec-vision-master-t190 heltec-wireless-paper heltec-wireless-tracker heltec-wsl-v3 icarus seeed-xiao-s3 tbeam-s3-core tracksenger" -SET "MUIDB_8MB=picomputer-s3 unphone seeed-sensecap-indicator" -SET "BIGDB_16MB=t-deck mesh-tab t-energy-s3 dreamcatcher ESP32-S3-Pico m5stack-cores3 station-g2 t-eth-elite tlora-pager t-watch-s3 elecrow-adv" +@REM Default offsets. +@REM https://github.com/meshtastic/web-flasher/blob/main/stores/firmwareStore.ts#L202 +SET "OTA_OFFSET=0x260000" +SET "SPIFFS_OFFSET=0x300000" GOTO getopts :help @@ -29,7 +21,7 @@ ECHO. ECHO Usage: %SCRIPT_NAME% -f filename [-p PORT] [-P python] [--1200bps-reset] ECHO. ECHO Options: -ECHO -f filename The firmware .bin file to flash. Custom to your device type and region. (required) +ECHO -f filename The firmware .factory.bin file to flash. Custom to your device type and region. (required) ECHO The file must be located in this current directory. ECHO -p PORT Set the environment variable for ESPTOOL_PORT. ECHO If not set, ESPTOOL iterates all ports (Dangerous). @@ -40,12 +32,12 @@ ECHO --1200bps-reset Attempt to place the device in correct mode. (1200bps ECHO Some hardware requires this twice. ECHO. ECHO Example: %SCRIPT_NAME% -p COM17 --1200bps-reset -ECHO Example: %SCRIPT_NAME% -f firmware-t-deck-tft-2.6.0.0b106d4.bin -p COM11 -ECHO Example: %SCRIPT_NAME% -f firmware-unphone-2.6.0.0b106d4.bin -p COM11 +ECHO Example: %SCRIPT_NAME% -f firmware-t-deck-tft-2.6.0.0b106d4.factory.bin -p COM11 +ECHO Example: %SCRIPT_NAME% -f firmware-unphone-2.6.0.0b106d4.factory.bin -p COM11 GOTO eof :version -ECHO %SCRIPT_NAME% [Version 2.6.2] +ECHO %SCRIPT_NAME% [Version 2.7.0] ECHO Meshtastic GOTO eof @@ -78,8 +70,8 @@ IF "__!FILENAME!__"=="____" ( CALL :LOG_MESSAGE ERROR "Filename containing spaces are not supported." GOTO help ) - IF "__!FILENAME:firmware-=!__"=="__!FILENAME!__" ( - CALL :LOG_MESSAGE ERROR "Filename must be a firmware-* file." + IF NOT "__!FILENAME:.factory.bin=!__"=="__!FILENAME!__" ( + CALL :LOG_MESSAGE ERROR "Filename must be a firmware-*.factory.bin file." GOTO help ) @REM Remove ".\" or "./" file prefix if present. @@ -93,12 +85,26 @@ IF NOT EXIST !FILENAME! ( GOTO eof ) -IF NOT "!FILENAME:update=!"=="!FILENAME!" ( - CALL :LOG_MESSAGE DEBUG "We are working with a *update* file. !FILENAME!" - CALL :LOG_MESSAGE INFO "Use script device-update.bat to flash update !FILENAME!." - GOTO eof +CALL :LOG_MESSAGE DEBUG "Checking for metadata..." +@REM Derive metadata filename from firmware filename. +SET "METAFILE=!FILENAME:.factory.bin=!.mt.json" +IF EXIST !METAFILE! ( + @REM Print parsed json with powershell + CALL :LOG_MESSAGE INFO "Firmware metadata: !METAFILE!" + powershell -NoProfile -Command "(Get-Content '!METAFILE!' | ConvertFrom-Json | Out-String).Trim()" + + @REM Save metadata values to variables for later use. + FOR /f "usebackq" %%A IN (`powershell -NoProfile -Command ^ + "(Get-Content '!METAFILE!' | ConvertFrom-Json).mcu"`) DO SET "MCU=%%A" + FOR /f "usebackq" %%A IN (`powershell -NoProfile -Command ^ + "(Get-Content '!METAFILE!' | ConvertFrom-Json).part | Where-Object { $_.subtype -eq 'ota_1' } | Select-Object -ExpandProperty offset"` + ) DO SET "OTA_OFFSET=%%A" + FOR /f "usebackq" %%A IN (`powershell -NoProfile -Command ^ + "(Get-Content '!METAFILE!' | ConvertFrom-Json).part | Where-Object { $_.subtype -eq 'spiffs' } | Select-Object -ExpandProperty offset"` + ) DO SET "SPIFFS_OFFSET=%%A" ) ELSE ( - CALL :LOG_MESSAGE DEBUG "We are NOT working with a *update* file. !FILENAME!" + CALL :LOG_MESSAGE ERROR "No metadata file found: !METAFILE!" + GOTO eof ) :skip-filename @@ -108,7 +114,7 @@ IF NOT "__%PYTHON%__"=="____" ( SET "ESPTOOL_CMD=!PYTHON! -m esptool" CALL :LOG_MESSAGE DEBUG "Python interpreter supplied." ) ELSE ( - CALL :LOG_MESSAGE DEBUG "Python interpreter NOT supplied. Looking for esptool... + CALL :LOG_MESSAGE DEBUG "Python interpreter NOT supplied. Looking for esptool..." WHERE esptool >nul 2>&1 IF %ERRORLEVEL% EQU 0 ( @REM WHERE exits with code 0 if esptool is found. @@ -146,100 +152,26 @@ IF %BPS_RESET% EQU 1 ( GOTO eof ) -@REM Check if FILENAME contains "-tft-" and set target partitionScheme accordingly. -@REM https://github.com/meshtastic/web-flasher/blob/main/types/resources.ts#L3 -IF NOT "!FILENAME:-tft-=!"=="!FILENAME!" ( - CALL :LOG_MESSAGE DEBUG "We are working with a *-tft-* file. !FILENAME!" - SET "TFT_BUILD=1" +@REM Extract PROGNAME from %FILENAME% for later use. +SET "PROGNAME=!FILENAME:.factory.bin=!" +CALL :LOG_MESSAGE DEBUG "Computed PROGNAME: !PROGNAME!" + +IF "__!MCU!__" == "__esp32s3__" ( + @REM We are working with ESP32-S3 + SET "OTA_FILENAME=bleota-s3.bin" +) ELSE IF "__!MCU!__" == "__esp32c3__" ( + @REM We are working with ESP32-C3 + SET "OTA_FILENAME=bleota-c3.bin" ) ELSE ( - CALL :LOG_MESSAGE DEBUG "We are NOT working with a *-tft-* file. !FILENAME!" + @REM Everything else + SET "OTA_FILENAME=bleota.bin" ) - -FOR %%a IN (%BIGDB_8MB%) DO ( - IF NOT "!FILENAME:%%a=!"=="!FILENAME!" ( - @REM We are working with any of %BIGDB_8MB%. - SET "BIGDB8=1" - GOTO end_loop_bigdb_8mb - ) -) -:end_loop_bigdb_8mb - -FOR %%a IN (%MUIDB_8MB%) DO ( - IF NOT "!FILENAME:%%a=!"=="!FILENAME!" ( - @REM We are working with any of %MUIDB_8MB%. - SET "MUIDB8=1" - GOTO end_loop_muidb_8mb - ) -) -:end_loop_muidb_8mb - -FOR %%a IN (%BIGDB_16MB%) DO ( - IF NOT "!FILENAME:%%a=!"=="!FILENAME!" ( - @REM We are working with any of %BIGDB_16MB%. - SET "BIGDB16=1" - GOTO end_loop_bigdb_16mb - ) -) -:end_loop_bigdb_16mb - -IF %BIGDB8% EQU 1 CALL :LOG_MESSAGE INFO "BigDB 8mb partition selected." -IF %MUIDB8% EQU 1 CALL :LOG_MESSAGE INFO "MUIDB 8mb partition selected." -IF %BIGDB16% EQU 1 CALL :LOG_MESSAGE INFO "BigDB 16mb partition selected." - -@REM Extract BASENAME from %FILENAME% for later use. -SET "BASENAME=!FILENAME:firmware-=!" -CALL :LOG_MESSAGE DEBUG "Computed firmware basename: !BASENAME!" - -@REM Account for S3 and C3 board's different OTA partition. -FOR %%a IN (%S3%) DO ( - IF NOT "!FILENAME:%%a=!"=="!FILENAME!" ( - @REM We are working with any of %S3%. - SET "OTA_FILENAME=bleota-s3.bin" - GOTO :end_loop_s3 - ) -) - -FOR %%a IN (%C3%) DO ( - IF NOT "!FILENAME:%%a=!"=="!FILENAME!" ( - @REM We are working with any of %C3%. - SET "OTA_FILENAME=bleota-c3.bin" - GOTO :end_loop_c3 - ) -) - -@REM Everything else -SET "OTA_FILENAME=bleota.bin" -:end_loop_s3 -:end_loop_c3 CALL :LOG_MESSAGE DEBUG "Set OTA_FILENAME to: !OTA_FILENAME!" @REM Set SPIFFS filename with "littlefs-" prefix. -SET "SPIFFS_FILENAME=littlefs-%BASENAME%" +SET "SPIFFS_FILENAME=littlefs-!PROGNAME:firmware-=!.bin" CALL :LOG_MESSAGE DEBUG "Set SPIFFS_FILENAME to: !SPIFFS_FILENAME!" -@REM Default offsets. -@REM https://github.com/meshtastic/web-flasher/blob/main/stores/firmwareStore.ts#L202 -SET "OTA_OFFSET=0x260000" -SET "SPIFFS_OFFSET=0x300000" - -@REM Offsets for BigDB 8mb. -IF %BIGDB8% EQU 1 ( - SET "OTA_OFFSET=0x340000" - SET "SPIFFS_OFFSET=0x670000" -) - -@REM Offsets for MUIDB 8mb. -IF %MUIDB8% EQU 1 ( - SET "OTA_OFFSET=0x5D0000" - SET "SPIFFS_OFFSET=0x670000" -) - -@REM Offsets for BigDB 16mb. -IF %BIGDB16% EQU 1 ( - SET "OTA_OFFSET=0x650000" - SET "SPIFFS_OFFSET=0xc90000" -) - CALL :LOG_MESSAGE DEBUG "Set OTA_OFFSET to: !OTA_OFFSET!" CALL :LOG_MESSAGE DEBUG "Set SPIFFS_OFFSET to: !SPIFFS_OFFSET!" diff --git a/bin/device-install.sh b/bin/device-install.sh index ede75bbba..1778a952d 100755 --- a/bin/device-install.sh +++ b/bin/device-install.sh @@ -2,67 +2,15 @@ PYTHON=${PYTHON:-$(which python3 python | head -n 1)} BPS_RESET=false -TFT_BUILD=false MCU="" # Constants RESET_BAUD=1200 FIRMWARE_OFFSET=0x00 - -# Variant groups -BIGDB_8MB=( - "crowpanel-esp32s3" - "heltec_capsule_sensor_v3" - "heltec-v3" - "heltec-vision-master-e213" - "heltec-vision-master-e290" - "heltec-vision-master-t190" - "heltec-wireless-paper" - "heltec-wireless-tracker" - "heltec-wsl-v3" - "icarus" - "seeed-xiao-s3" - "tbeam-s3-core" - "tracksenger" -) -MUIDB_8MB=( - "picomputer-s3" - "unphone" - "seeed-sensecap-indicator" -) -BIGDB_16MB=( - "t-deck" - "mesh-tab" - "t-energy-s3" - "dreamcatcher" - "ESP32-S3-Pico" - "m5stack-cores3" - "station-g2" - "t-eth-elite" - "tlora-pager" - "t-watch-s3" - "elecrow-adv" -) -S3_VARIANTS=( - "s3" - "-v3" - "t-deck" - "wireless-paper" - "wireless-tracker" - "station-g2" - "unphone" - "t-eth-elite" - "tlora-pager" - "mesh-tab" - "dreamcatcher" - "ESP32-S3-Pico" - "seeed-sensecap-indicator" - "heltec_capsule_sensor_v3" - "vision-master" - "icarus" - "tracksenger" - "elecrow-adv" -) +# Default littlefs* offset. +OFFSET=0x300000 +# Default OTA Offset +OTA_OFFSET=0x260000 # Determine the correct esptool command to use if "$PYTHON" -m esptool version >/dev/null 2>&1; then @@ -76,6 +24,14 @@ else exit 1 fi +# Check for jq +if ! command -v jq >/dev/null 2>&1; then + echo "Error: jq not found" >&2 + echo "Install jq with your package manager." >&2 + echo "e.g. 'apt install jq', 'dnf install jq', 'brew install jq', etc." >&2 + exit 1 +fi + set -e # Usage info @@ -87,7 +43,7 @@ Flash image file to device, but first erasing and writing system information. -h Display this help and exit. -p ESPTOOL_PORT Set the environment variable for ESPTOOL_PORT. If not set, ESPTOOL iterates all ports (Dangerous). -P PYTHON Specify alternate python interpreter to use to invoke esptool. (Default: "$PYTHON") - -f FILENAME The firmware .bin file to flash. Custom to your device type and region. + -f FILENAME The firmware *.factory.bin file to flash. Custom to your device type and region. --1200bps-reset Attempt to place the device in correct mode. Some hardware requires this twice. (1200bps Reset) EOF @@ -136,69 +92,43 @@ fi shift } -if [[ "$FILENAME" != firmware-* ]]; then - echo "Filename must be a firmware-* file." +if [[ $(basename "$FILENAME") != firmware-*.factory.bin ]]; then + echo "Filename must be a firmware-*.factory.bin file." exit 1 fi -# Check if FILENAME contains "-tft-" and set target partitionScheme accordingly. -if [[ "${FILENAME//-tft-/}" != "$FILENAME" ]]; then - TFT_BUILD=true -fi +# Extract PROGNAME from %FILENAME% for later use. +PROGNAME="${FILENAME/.factory.bin/}" +# Derive metadata filename from %PROGNAME%. +METAFILE="${PROGNAME}.mt.json" -# Extract BASENAME from %FILENAME% for later use. -BASENAME="${FILENAME/firmware-/}" - -if [ -f "${FILENAME}" ] && [ -n "${FILENAME##*"update"*}" ]; then - # Default littlefs* offset. - OFFSET=0x300000 - - # Default OTA Offset - OTA_OFFSET=0x260000 - - # littlefs* offset for BigDB 8mb and OTA OFFSET. - for variant in "${BIGDB_8MB[@]}"; do - if [ -z "${FILENAME##*"$variant"*}" ]; then - OFFSET=0x670000 - OTA_OFFSET=0x340000 - fi - done - - for variant in "${MUIDB_8MB[@]}"; do - if [ -z "${FILENAME##*"$variant"*}" ]; then - OFFSET=0x670000 - OTA_OFFSET=0x5D0000 - fi - done - - # littlefs* offset for BigDB 16mb and OTA OFFSET. - for variant in "${BIGDB_16MB[@]}"; do - if [ -z "${FILENAME##*"$variant"*}" ]; then - OFFSET=0xc90000 - OTA_OFFSET=0x650000 - fi - done - - # Account for S3 board's different OTA partition - # FIXME: Use PlatformIO info to determine MCU type, this is unmaintainable - for variant in "${S3_VARIANTS[@]}"; do - if [ -z "${FILENAME##*"$variant"*}" ]; then - MCU="esp32s3" - fi - done - - if [ "$MCU" != "esp32s3" ]; then - if [ -n "${FILENAME##*"esp32c3"*}" ]; then - OTAFILE=bleota.bin - else - OTAFILE=bleota-c3.bin +if [[ -f "$FILENAME" && "$FILENAME" == *.factory.bin ]]; then + # Display metadata if it exists + if [[ -f "$METAFILE" ]]; then + echo "Firmware metadata: ${METAFILE}" + jq . "$METAFILE" + # Extract relevant fields from metadata + if [[ $(jq -r '.part' "$METAFILE") != "null" ]]; then + OTA_OFFSET=$(jq -r '.part[] | select(.subtype == "ota_1") | .offset' "$METAFILE") + SPIFFS_OFFSET=$(jq -r '.part[] | select(.subtype == "spiffs") | .offset' "$METAFILE") fi + MCU=$(jq -r '.mcu' "$METAFILE") else + echo "ERROR: No metadata file found at ${METAFILE}" + exit 1 + fi + + # Determine OTA filename based on MCU type + if [ "$MCU" == "esp32s3" ]; then OTAFILE=bleota-s3.bin + elif [ "$MCU" == "esp32c3" ]; then + OTAFILE=bleota-c3.bin + else + OTAFILE=bleota.bin fi # Set SPIFFS filename with "littlefs-" prefix. - SPIFFSFILE=littlefs-${BASENAME} + SPIFFSFILE="littlefs-${PROGNAME/firmware-/}.bin" if [[ ! -f "$FILENAME" ]]; then echo "Error: file ${FILENAME} wasn't found. Terminating." diff --git a/bin/device-update.bat b/bin/device-update.bat index a263da992..a9f7a9e1e 100755 --- a/bin/device-update.bat +++ b/bin/device-update.bat @@ -30,11 +30,11 @@ ECHO --change-mode Attempt to place the device in correct mode. (1200bps ECHO Some hardware requires this twice. ECHO. ECHO Example: %SCRIPT_NAME% -p COM17 --change-mode -ECHO Example: %SCRIPT_NAME% -f firmware-t-deck-tft-2.6.0.0b106d4-update.bin -p COM11 +ECHO Example: %SCRIPT_NAME% -f firmware-t-deck-tft-2.6.0.0b106d4.bin -p COM11 GOTO eof :version -ECHO %SCRIPT_NAME% [Version 2.6.2] +ECHO %SCRIPT_NAME% [Version 2.7.0] ECHO Meshtastic GOTO eof @@ -78,12 +78,12 @@ IF NOT EXIST !FILENAME! ( GOTO eof ) -IF "!FILENAME:update=!"=="!FILENAME!" ( - CALL :LOG_MESSAGE DEBUG "We are NOT working with a *update* file. !FILENAME!" +IF NOT "__!FILENAME:.factory.bin=!__"=="__!FILENAME!__" ( + CALL :LOG_MESSAGE DEBUG "We are working with a *.factory.bin* file. !FILENAME!" CALL :LOG_MESSAGE INFO "Use script device-install.bat to flash !FILENAME!." GOTO eof ) ELSE ( - CALL :LOG_MESSAGE DEBUG "We are working with a *update* file. !FILENAME!" + CALL :LOG_MESSAGE DEBUG "We are not working with a *.factory.bin* file. !FILENAME!" ) :skip-filename diff --git a/bin/device-update.sh b/bin/device-update.sh index f64280a5b..1c3d6be70 100755 --- a/bin/device-update.sh +++ b/bin/device-update.sh @@ -29,7 +29,7 @@ Flash image file to device, leave existing system intact." -h Display this help and exit -p ESPTOOL_PORT Set the environment variable for ESPTOOL_PORT. If not set, ESPTOOL iterates all ports (Dangerous). -P PYTHON Specify alternate python interpreter to use to invoke esptool. (Default: "$PYTHON") - -f FILENAME The *update.bin file to flash. Custom to your device type. + -f FILENAME The *.bin file to flash. Custom to your device type. --change-mode Attempt to place the device in correct mode. Some hardware requires this twice. (1200bps Reset) EOF @@ -78,7 +78,7 @@ fi shift } -if [ -f "${FILENAME}" ] && [ -z "${FILENAME##*"update"*}" ]; then +if [[ -f "$FILENAME" && "$FILENAME" != *.factory.bin ]]; then echo "Trying to flash update ${FILENAME}" $ESPTOOL_CMD --baud $FLASH_BAUD write-flash $UPDATE_OFFSET "${FILENAME}" else diff --git a/bin/exception_decoder.py b/bin/exception_decoder.py index ec94ce20e..ffe6d3f24 100755 --- a/bin/exception_decoder.py +++ b/bin/exception_decoder.py @@ -75,7 +75,7 @@ TOOLS = { } BACKTRACE_REGEX = re.compile( - r"(?:\s+(0x40[0-2](?:\d|[a-f]|[A-F]){5}):0x(?:\d|[a-f]|[A-F]){8})\b" + r"\b(0x4[0-9a-fA-F]{7,8}):0x[0-9a-fA-F]{8}\b" ) EXCEPTION_REGEX = re.compile("^Exception \\((?P[0-9]*)\\):$") COUNTER_REGEX = re.compile( @@ -89,7 +89,7 @@ POINTER_REGEX = re.compile( STACK_BEGIN = ">>>stack>>>" STACK_END = "<<[0-9a-f]+):\W+(?P[0-9a-f]+) (?P[0-9a-f]+) (?P[0-9a-f]+) (?P[0-9a-f]+)(\W.*)?$" + r"^(?P[0-9a-f]+):\W+(?P[0-9a-f]+) (?P[0-9a-f]+) (?P[0-9a-f]+) (?P[0-9a-f]+)(\W.*)?$" ) StackLine = namedtuple("StackLine", ["offset", "content"]) @@ -223,7 +223,7 @@ class AddressResolver(object): if match is None: if last is not None and line.startswith("(inlined by)"): line = line[12:].strip() - self._address_map[last] += "\n \-> inlined by: " + line + self._address_map[last] += "\n \\-> inlined by: " + line continue if match.group("result") == "?? ??:0": diff --git a/bin/native-gdbserver.sh b/bin/native-gdbserver.sh index f779d6670..a45a2dc26 100755 --- a/bin/native-gdbserver.sh +++ b/bin/native-gdbserver.sh @@ -2,4 +2,4 @@ set -e pio run --environment native -gdbserver --once localhost:2345 .pio/build/native/program "$@" +gdbserver --once localhost:2345 .pio/build/native/meshtasticd "$@" diff --git a/bin/native-run.sh b/bin/native-run.sh index 6566fc591..a8309c2d3 100755 --- a/bin/native-run.sh +++ b/bin/native-run.sh @@ -2,4 +2,4 @@ set -e pio run --environment native -.pio/build/native/program "$@" +.pio/build/native/meshtasticd "$@" diff --git a/bin/org.meshtastic.meshtasticd.metainfo.xml b/bin/org.meshtastic.meshtasticd.metainfo.xml index 6fc5e8597..140ac3e2a 100644 --- a/bin/org.meshtastic.meshtasticd.metainfo.xml +++ b/bin/org.meshtastic.meshtasticd.metainfo.xml @@ -87,6 +87,18 @@ + + https://github.com/meshtastic/firmware/releases?q=tag%3Av2.7.17 + + + https://github.com/meshtastic/firmware/releases?q=tag%3Av2.7.16 + + + https://github.com/meshtastic/firmware/releases?q=tag%3Av2.7.15 + + + https://github.com/meshtastic/firmware/releases?q=tag%3Av2.7.14 + https://github.com/meshtastic/firmware/releases?q=tag%3Av2.7.13 diff --git a/bin/platformio-custom.py b/bin/platformio-custom.py index 4a1887d9d..3fdbffb70 100644 --- a/bin/platformio-custom.py +++ b/bin/platformio-custom.py @@ -2,98 +2,77 @@ # trunk-ignore-all(ruff/F821) # trunk-ignore-all(flake8/F821): For SConstruct imports import sys -from os.path import join +from os.path import join, basename, isfile import subprocess import json import re -import time from datetime import datetime from readprops import readProps Import("env") platform = env.PioPlatform() +progname = env.get("PROGNAME") +lfsbin = f"{progname.replace('firmware-', 'littlefs-')}.bin" - -def esp32_create_combined_bin(source, target, env): - # this sub is borrowed from ESPEasy build toolchain. It's licensed under GPL V3 - # https://github.com/letscontrolit/ESPEasy/blob/mega/tools/pio/post_esp32.py - print("Generating combined binary for serial flashing") - - app_offset = 0x10000 - - new_file_name = env.subst("$BUILD_DIR/${PROGNAME}.factory.bin") - sections = env.subst(env.get("FLASH_EXTRA_IMAGES")) - firmware_name = env.subst("$BUILD_DIR/${PROGNAME}.bin") - chip = env.get("BOARD_MCU") - flash_size = env.BoardConfig().get("upload.flash_size") - flash_freq = env.BoardConfig().get("build.f_flash", "40m") - flash_freq = flash_freq.replace("000000L", "m") - flash_mode = env.BoardConfig().get("build.flash_mode", "dio") - memory_type = env.BoardConfig().get("build.arduino.memory_type", "qio_qspi") - if flash_mode == "qio" or flash_mode == "qout": - flash_mode = "dio" - if memory_type == "opi_opi" or memory_type == "opi_qspi": - flash_mode = "dout" - cmd = [ - "--chip", - chip, - "merge_bin", - "-o", - new_file_name, - "--flash_mode", - flash_mode, - "--flash_freq", - flash_freq, - "--flash_size", - flash_size, +def manifest_gather(source, target, env): + out = [] + check_paths = [ + progname, + f"{progname}.elf", + f"{progname}.bin", + f"{progname}.factory.bin", + f"{progname}.hex", + f"{progname}.merged.hex", + f"{progname}.uf2", + f"{progname}.factory.uf2", + f"{progname}.zip", + lfsbin ] + for p in check_paths: + f = env.File(env.subst(f"$BUILD_DIR/{p}")) + if f.exists(): + d = { + "name": p, + "md5": f.get_content_hash(), # Returns MD5 hash + "bytes": f.get_size() # Returns file size in bytes + } + out.append(d) + print(d) + manifest_write(out, env) - print(" Offset | File") - for section in sections: - sect_adr, sect_file = section.split(" ", 1) - print(f" - {sect_adr} | {sect_file}") - cmd += [sect_adr, sect_file] +def manifest_write(files, env): + manifest = { + "version": verObj["long"], + "build_epoch": build_epoch, + "board": env.get("PIOENV"), + "mcu": env.get("BOARD_MCU"), + "repo": repo_owner, + "files": files, + "part": None, + "has_mui": False, + "has_inkhud": False, + } + # Get partition table (generated in esp32_pre.py) if it exists + if env.get("custom_mtjson_part"): + # custom_mtjson_part is a JSON string, convert it back to a dict + pj = json.loads(env.get("custom_mtjson_part")) + manifest["part"] = pj + # Enable has_mui for TFT builds + if ("HAS_TFT", 1) in env.get("CPPDEFINES", []): + manifest["has_mui"] = True + if "MESHTASTIC_INCLUDE_INKHUD" in env.get("CPPDEFINES", []): + manifest["has_inkhud"] = True - print(f" - {hex(app_offset)} | {firmware_name}") - cmd += [hex(app_offset), firmware_name] - - print("Using esptool.py arguments: %s" % " ".join(cmd)) - - esptool.main(cmd) - - -if platform.name == "espressif32": - sys.path.append(join(platform.get_package_dir("tool-esptoolpy"))) - import esptool - - env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", esp32_create_combined_bin) - - esp32_kind = env.GetProjectOption("custom_esp32_kind") - if esp32_kind == "esp32": - # Free up some IRAM by removing auxiliary SPI flash chip drivers. - # Wrapped stub symbols are defined in src/platform/esp32/iram-quirk.c. - env.Append( - LINKFLAGS=[ - "-Wl,--wrap=esp_flash_chip_gd", - "-Wl,--wrap=esp_flash_chip_issi", - "-Wl,--wrap=esp_flash_chip_winbond", - ] - ) - else: - # For newer ESP32 targets, using newlib nano works better. - env.Append(LINKFLAGS=["--specs=nano.specs", "-u", "_printf_float"]) - -if platform.name == "nordicnrf52": - env.AddPostAction("$BUILD_DIR/${PROGNAME}.hex", - env.VerboseAction(f"\"{sys.executable}\" ./bin/uf2conv.py \"$BUILD_DIR/firmware.hex\" -c -f 0xADA52840 -o \"$BUILD_DIR/firmware.uf2\"", - "Generating UF2 file")) + # Write the manifest to the build directory + with open(env.subst("$BUILD_DIR/${PROGNAME}.mt.json"), "w") as f: + json.dump(manifest, f, indent=2) Import("projenv") prefsLoc = projenv["PROJECT_DIR"] + "/version.properties" verObj = readProps(prefsLoc) -print("Using meshtastic platformio-custom.py, firmware version " + verObj["long"] + " on " + env.get("PIOENV")) +print(f"Using meshtastic platformio-custom.py, firmware version {verObj['long']} on {env.get('PIOENV')}") # get repository owner if git is installed try: @@ -139,10 +118,10 @@ flags = [ "-DBUILD_EPOCH=" + str(build_epoch), ] + pref_flags -print ("Using flags:") +print("Using flags:") for flag in flags: print(flag) - + projenv.Append( CCFLAGS=flags, ) @@ -180,4 +159,22 @@ def load_boot_logo(source, target, env): # Load the boot logo on TFT builds if ("HAS_TFT", 1) in env.get("CPPDEFINES", []): - env.AddPreAction('$BUILD_DIR/littlefs.bin', load_boot_logo) + env.AddPreAction(f"$BUILD_DIR/{lfsbin}", load_boot_logo) + +mtjson_deps = ["buildprog"] +if platform.name == "espressif32": + # Build littlefs image as part of mtjson target + # Equivalent to `pio run -t buildfs` + target_lfs = env.DataToBin( + join("$BUILD_DIR", "${ESP32_FS_IMAGE_NAME}"), "$PROJECT_DATA_DIR" + ) + mtjson_deps.append(target_lfs) + +env.AddCustomTarget( + name="mtjson", + dependencies=mtjson_deps, + actions=[manifest_gather], + title="Meshtastic Manifest", + description="Generating Meshtastic manifest JSON + Checksums", + always_build=False, +) diff --git a/bin/platformio-pre.py b/bin/platformio-pre.py new file mode 100644 index 000000000..16278b813 --- /dev/null +++ b/bin/platformio-pre.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 +# trunk-ignore-all(ruff/F821) +# trunk-ignore-all(flake8/F821): For SConstruct imports +Import("env") +platform = env.PioPlatform() + +if platform.name == "native": + env.Replace(PROGNAME="meshtasticd") +else: + from readprops import readProps + prefsLoc = env["PROJECT_DIR"] + "/version.properties" + verObj = readProps(prefsLoc) + env.Replace(PROGNAME=f"firmware-{env.get('PIOENV')}-{verObj['long']}") + env.Replace(ESP32_FS_IMAGE_NAME=f"littlefs-{env.get('PIOENV')}-{verObj['long']}") + +# Print the new program name for verification +print(f"PROGNAME: {env.get('PROGNAME')}") +if platform.name == "espressif32": + print(f"ESP32_FS_IMAGE_NAME: {env.get('ESP32_FS_IMAGE_NAME')}") diff --git a/bin/test-simulator.sh b/bin/test-simulator.sh index 3c5f8f811..92ed21a7a 100755 --- a/bin/test-simulator.sh +++ b/bin/test-simulator.sh @@ -3,7 +3,7 @@ set -e echo "Starting simulator" -.pio/build/native/program & +.pio/build/native/meshtasticd -s & sleep 20 # 5 seconds was not enough echo "Simulator started, launching python test..." diff --git a/bin/web.version b/bin/web.version index 952f449f1..ba5c9fca6 100644 --- a/bin/web.version +++ b/bin/web.version @@ -1 +1 @@ -2.6.6 \ No newline at end of file +2.6.7 \ No newline at end of file diff --git a/boards/ThinkNode-M3.json b/boards/ThinkNode-M3.json new file mode 100644 index 000000000..ff21e046a --- /dev/null +++ b/boards/ThinkNode-M3.json @@ -0,0 +1,53 @@ +{ + "build": { + "arduino": { + "ldscript": "nrf52840_s140_v6.ld" + }, + "core": "nRF5", + "cpu": "cortex-m4", + "extra_flags": "-DNRF52840_XXAA", + "f_cpu": "64000000L", + "hwids": [ + ["0x239A", "0x4405"], + ["0x239A", "0x0029"], + ["0x239A", "0x002A"] + ], + "usb_product": "elecrow_eink", + "mcu": "nrf52840", + "variant": "ELECROW-ThinkNode-M3", + "variants_dir": "variants", + "bsp": { + "name": "adafruit" + }, + "softdevice": { + "sd_flags": "-DS140", + "sd_name": "s140", + "sd_version": "6.1.1", + "sd_fwid": "0x00B6" + }, + "bootloader": { + "settings_addr": "0xFF000" + } + }, + "connectivity": ["bluetooth"], + "debug": { + "jlink_device": "nRF52840_xxAA", + "onboard_tools": ["jlink"], + "svd_path": "nrf52840.svd", + "openocd_target": "nrf52840-mdk-rs" + }, + "frameworks": ["arduino"], + "name": "elecrow nrf", + "upload": { + "maximum_ram_size": 248832, + "maximum_size": 815104, + "speed": 115200, + "protocol": "nrfutil", + "protocols": ["jlink", "nrfjprog", "nrfutil", "stlink"], + "use_1200bps_touch": true, + "require_upload_port": true, + "wait_for_upload_port": true + }, + "url": "", + "vendor": "ELECROW" +} diff --git a/boards/ThinkNode-M6.json b/boards/ThinkNode-M6.json new file mode 100644 index 000000000..9fe324ec2 --- /dev/null +++ b/boards/ThinkNode-M6.json @@ -0,0 +1,53 @@ +{ + "build": { + "arduino": { + "ldscript": "nrf52840_s140_v6.ld" + }, + "core": "nRF5", + "cpu": "cortex-m4", + "extra_flags": "-DARDUINO_NRF52840_ELECROW_M6 -DNRF52840_XXAA", + "f_cpu": "64000000L", + "hwids": [ + ["0x239A", "0x4405"], + ["0x239A", "0x0029"], + ["0x239A", "0x002A"] + ], + "usb_product": "elecrow_thinknode_m6", + "mcu": "nrf52840", + "variant": "ELECROW-ThinkNode-M6", + "variants_dir": "variants", + "bsp": { + "name": "adafruit" + }, + "softdevice": { + "sd_flags": "-DS140", + "sd_name": "s140", + "sd_version": "6.1.1", + "sd_fwid": "0x00B6" + }, + "bootloader": { + "settings_addr": "0xFF000" + } + }, + "connectivity": ["bluetooth"], + "debug": { + "jlink_device": "nRF52840_xxAA", + "onboard_tools": ["jlink"], + "svd_path": "nrf52840.svd", + "openocd_target": "nrf52840-mdk-rs" + }, + "frameworks": ["arduino"], + "name": "ELECROW ThinkNode M6", + "upload": { + "maximum_ram_size": 248832, + "maximum_size": 815104, + "speed": 115200, + "protocol": "nrfutil", + "protocols": ["jlink", "nrfjprog", "nrfutil", "stlink"], + "use_1200bps_touch": true, + "require_upload_port": true, + "wait_for_upload_port": true + }, + "url": "https://www.elecrow.com/thinknode-m6-outdoor-solar-power-for-lora-powered-by-nrf52840-supports-gps.html", + "vendor": "ELECROW" +} diff --git a/boards/hackaday-communicator.json b/boards/hackaday-communicator.json new file mode 100644 index 000000000..6e6c1ad2d --- /dev/null +++ b/boards/hackaday-communicator.json @@ -0,0 +1,41 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "memory_type": "qio_opi" + }, + "core": "esp32", + "extra_flags": [ + "-DBOARD_HAS_PSRAM", + "-DARDUINO_USB_CDC_ON_BOOT=1", + "-DARDUINO_USB_MODE=0", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [["0x303A", "0x1001"]], + "mcu": "esp32s3", + "variant": "hackaday-communicator" + }, + "connectivity": ["wifi", "bluetooth", "lora"], + "debug": { + "default_tool": "esp-builtin", + "onboard_tools": ["esp-builtin"], + "openocd_target": "esp32s3.cfg" + }, + "frameworks": ["arduino", "espidf"], + "name": "hackaday-communicator (16 MB FLASH, 8 MB PSRAM)", + "upload": { + "flash_size": "16MB", + "maximum_ram_size": 327680, + "maximum_size": 16777216, + "use_1200bps_touch": true, + "wait_for_upload_port": true, + "require_upload_port": true, + "speed": 1500000 + }, + "url": "hackaday.com", + "vendor": "hackaday" +} diff --git a/boards/heltec_v4.json b/boards/heltec_v4.json index 8eac3a9b2..9827be83f 100644 --- a/boards/heltec_v4.json +++ b/boards/heltec_v4.json @@ -9,7 +9,7 @@ "extra_flags": [ "-DBOARD_HAS_PSRAM", "-DARDUINO_USB_CDC_ON_BOOT=1", - "-DARDUINO_USB_MODE=0", + "-DARDUINO_USB_MODE=1", "-DARDUINO_RUNNING_CORE=1", "-DARDUINO_EVENT_RUNNING_CORE=1" ], diff --git a/boards/muzi-base.json b/boards/muzi-base.json new file mode 100644 index 000000000..5f65c0dc8 --- /dev/null +++ b/boards/muzi-base.json @@ -0,0 +1,56 @@ +{ + "build": { + "arduino": { + "ldscript": "nrf52840_s140_v6.ld" + }, + "core": "nRF5", + "cpu": "cortex-m4", + "extra_flags": "-DARDUINO_NRF52840_MUZI_BASE -DNRF52840_XXAA", + "f_cpu": "64000000L", + "hwids": [["0x239A", "0xcafe"]], + "mcu": "nrf52840", + "variant": "muzi-base", + "variants_dir": "variants", + "bsp": { + "name": "adafruit" + }, + "softdevice": { + "sd_flags": "-DS140", + "sd_name": "s140", + "sd_version": "6.1.1", + "sd_fwid": "0x00B6" + }, + "bootloader": { + "settings_addr": "0xFF000" + } + }, + "connectivity": ["bluetooth"], + "debug": { + "jlink_device": "nRF52840_xxAA", + "onboard_tools": ["jlink"], + "svd_path": "nrf52840.svd", + "openocd_target": "nrf52840-mdk-rs" + }, + "frameworks": ["arduino"], + "name": "Muzi Base", + "url": "https://muzi.works/", + "vendor": "MuziWorks", + "upload": { + "maximum_ram_size": 248832, + "maximum_size": 815104, + "speed": 115200, + "protocol": "nrfutil", + "protocols": [ + "jlink", + "nrfjprog", + "nrfutil", + "blackmagic", + "cmsis-dap", + "mbed", + "stlink" + ], + "use_1200bps_touch": true, + "require_upload_port": true, + "wait_for_upload_port": true + } +} diff --git a/debian/changelog b/debian/changelog index e124f8929..b9212c1be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,28 @@ +meshtasticd (2.7.17.0) unstable; urgency=medium + + * Version 2.7.17 + + -- GitHub Actions Fri, 28 Nov 2025 15:11:34 +0000 + +meshtasticd (2.7.16.0) unstable; urgency=medium + + * Version 2.7.16 + + -- GitHub Actions Wed, 19 Nov 2025 16:12:32 +0000 + + +meshtasticd (2.7.15.0) unstable; urgency=medium + + * Version 2.7.15 + + -- GitHub Actions Thu, 13 Nov 2025 12:31:57 +0000 + +meshtasticd (2.7.14.0) unstable; urgency=medium + + * Version 2.7.14 + + -- GitHub Actions Mon, 03 Nov 2025 16:11:31 +0000 + meshtasticd (2.7.13.0) unstable; urgency=medium * Version 2.7.13 diff --git a/debian/control b/debian/control index 761383a5c..679a444c9 100644 --- a/debian/control +++ b/debian/control @@ -3,6 +3,7 @@ Section: misc Priority: optional Maintainer: Austin Lane Build-Depends: debhelper-compat (= 13), + libc6-dev (>= 2.38) | libbsd-dev, lsb-release, tar, gzip, diff --git a/debian/rules b/debian/rules index 0b5d1ac57..ebb572153 100755 --- a/debian/rules +++ b/debian/rules @@ -28,5 +28,4 @@ override_dh_auto_build: # Build with platformio $(PIO_ENV) platformio run -e native-tft # Move the binary and default config to the correct name - mv .pio/build/native-tft/program .pio/build/native-tft/meshtasticd cp bin/config-dist.yaml bin/config.yaml diff --git a/extra_scripts/disable_adafruit_usb.py b/extra_scripts/disable_adafruit_usb.py index 596242184..3b901e2db 100644 --- a/extra_scripts/disable_adafruit_usb.py +++ b/extra_scripts/disable_adafruit_usb.py @@ -1,10 +1,9 @@ +#!/usr/bin/env python3 # trunk-ignore-all(flake8/F821) # trunk-ignore-all(ruff/F821) Import("env") -# NOTE: This is not currently used, but can serve as an example on how to write extra_scripts - # print("Current CLI targets", COMMAND_LINE_TARGETS) # print("Current Build targets", BUILD_TARGETS) # print("CPP defs", env.get("CPPDEFINES")) diff --git a/extra_scripts/esp32_extra.py b/extra_scripts/esp32_extra.py new file mode 100755 index 000000000..f7698561a --- /dev/null +++ b/extra_scripts/esp32_extra.py @@ -0,0 +1,86 @@ +#!/usr/bin/env python3 +# trunk-ignore-all(ruff/F821) +# trunk-ignore-all(flake8/F821): For SConstruct imports +# trunk-ignore-all(ruff/E402): Hacky esptool import +# trunk-ignore-all(flake8/E402): Hacky esptool import +import sys +from os.path import join + +Import("env") +platform = env.PioPlatform() + +sys.path.append(join(platform.get_package_dir("tool-esptoolpy"))) +# IntelHex workaround, remove after fixed upstream +# https://github.com/platformio/platform-espressif32/issues/1632 +try: + import intelhex +except ImportError: + env.Execute("$PYTHONEXE -m pip install intelhex") +import esptool + + +def esp32_create_combined_bin(source, target, env): + # this sub is borrowed from ESPEasy build toolchain. It's licensed under GPL V3 + # https://github.com/letscontrolit/ESPEasy/blob/mega/tools/pio/post_esp32.py + print("Generating combined binary for serial flashing") + + app_offset = 0x10000 + + new_file_name = env.subst("$BUILD_DIR/${PROGNAME}.factory.bin") + sections = env.subst(env.get("FLASH_EXTRA_IMAGES")) + firmware_name = env.subst("$BUILD_DIR/${PROGNAME}.bin") + chip = env.get("BOARD_MCU") + board = env.BoardConfig() + flash_size = board.get("upload.flash_size") + flash_freq = board.get("build.f_flash", "40m") + flash_freq = flash_freq.replace("000000L", "m") + flash_mode = board.get("build.flash_mode", "dio") + memory_type = board.get("build.arduino.memory_type", "qio_qspi") + if flash_mode == "qio" or flash_mode == "qout": + flash_mode = "dio" + if memory_type == "opi_opi" or memory_type == "opi_qspi": + flash_mode = "dout" + cmd = [ + "--chip", + chip, + "merge_bin", + "-o", + new_file_name, + "--flash_mode", + flash_mode, + "--flash_freq", + flash_freq, + "--flash_size", + flash_size, + ] + + print(" Offset | File") + for section in sections: + sect_adr, sect_file = section.split(" ", 1) + print(f" - {sect_adr} | {sect_file}") + cmd += [sect_adr, sect_file] + + print(f" - {hex(app_offset)} | {firmware_name}") + cmd += [hex(app_offset), firmware_name] + + print("Using esptool.py arguments: %s" % " ".join(cmd)) + + esptool.main(cmd) + + +env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", esp32_create_combined_bin) + +esp32_kind = env.GetProjectOption("custom_esp32_kind") +if esp32_kind == "esp32": + # Free up some IRAM by removing auxiliary SPI flash chip drivers. + # Wrapped stub symbols are defined in src/platform/esp32/iram-quirk.c. + env.Append( + LINKFLAGS=[ + "-Wl,--wrap=esp_flash_chip_gd", + "-Wl,--wrap=esp_flash_chip_issi", + "-Wl,--wrap=esp_flash_chip_winbond", + ] + ) +else: + # For newer ESP32 targets, using newlib nano works better. + env.Append(LINKFLAGS=["--specs=nano.specs", "-u", "_printf_float"]) diff --git a/extra_scripts/esp32_pre.py b/extra_scripts/esp32_pre.py new file mode 100755 index 000000000..8e21770e9 --- /dev/null +++ b/extra_scripts/esp32_pre.py @@ -0,0 +1,73 @@ +#!/usr/bin/env python3 +# trunk-ignore-all(ruff/F821) +# trunk-ignore-all(flake8/F821): For SConstruct imports +import json +import sys +from os.path import isfile + +Import("env") + + +# From https://github.com/platformio/platform-espressif32/blob/develop/builder/main.py +def _parse_size(value): + if isinstance(value, int): + return value + elif value.isdigit(): + return int(value) + elif value.startswith("0x"): + return int(value, 16) + elif value[-1].upper() in ("K", "M"): + base = 1024 if value[-1].upper() == "K" else 1024 * 1024 + return int(value[:-1]) * base + return value + + +def _parse_partitions(env): + partitions_csv = env.subst("$PARTITIONS_TABLE_CSV") + if not isfile(partitions_csv): + sys.stderr.write( + "Could not find the file %s with partitions " "table.\n" % partitions_csv + ) + env.Exit(1) + return + + result = [] + # The first offset is 0x9000 because partition table is flashed to 0x8000 and + # occupies an entire flash sector, which size is 0x1000 + next_offset = 0x9000 + with open(partitions_csv) as fp: + for line in fp.readlines(): + line = line.strip() + if not line or line.startswith("#"): + continue + tokens = [t.strip() for t in line.split(",")] + if len(tokens) < 5: + continue + + bound = 0x10000 if tokens[1] in ("0", "app") else 4 + calculated_offset = (next_offset + bound - 1) & ~(bound - 1) + partition = { + "name": tokens[0], + "type": tokens[1], + "subtype": tokens[2], + "offset": tokens[3] or calculated_offset, + "size": tokens[4], + "flags": tokens[5] if len(tokens) > 5 else None, + } + result.append(partition) + next_offset = _parse_size(partition["offset"]) + _parse_size( + partition["size"] + ) + + return result + + +def mtjson_esp32_part(target, source, env): + part = _parse_partitions(env) + pj = json.dumps(part) + # print(f"JSON_PARTITIONS: {pj}") + # Dump json string to 'custom_mtjson_part' variable to use later when writing the manifest + env.Replace(custom_mtjson_part=pj) + + +env.AddPreAction("mtjson", mtjson_esp32_part) diff --git a/extra_scripts/nrf52_extra.py b/extra_scripts/nrf52_extra.py new file mode 100755 index 000000000..8e95e42bf --- /dev/null +++ b/extra_scripts/nrf52_extra.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python3 +# trunk-ignore-all(ruff/F821) +# trunk-ignore-all(flake8/F821): For SConstruct imports + +import sys +from os.path import basename + +Import("env") + + +# Custom HEX from ELF +# Convert hex to uf2 for nrf52 +def nrf52_hex_to_uf2(source, target, env): + hex_path = target[0].get_abspath() + # When using merged hex, drop 'merged' from uf2 filename + uf2_path = hex_path.replace(".merged.", ".") + uf2_path = uf2_path.replace(".hex", ".uf2") + env.Execute( + env.VerboseAction( + f'"{sys.executable}" ./bin/uf2conv.py "{hex_path}" -c -f 0xADA52840 -o "{uf2_path}"', + f"Generating UF2 file from {basename(hex_path)}", + ) + ) + + +def nrf52_mergehex(source, target, env): + hex_path = target[0].get_abspath() + merged_hex_path = hex_path.replace(".hex", ".merged.hex") + merge_with = None + if "wio-sdk-wm1110" == str(env.get("PIOENV")): + merge_with = env.subst("$PROJECT_DIR/bin/s140_nrf52_7.3.0_softdevice.hex") + else: + print("merge_with not defined for this target") + + if merge_with is not None: + env.Execute( + env.VerboseAction( + f'"$PROJECT_DIR/bin/mergehex" -m "{hex_path}" "{merge_with}" -o "{merged_hex_path}"', + "Merging HEX with SoftDevice", + ) + ) + print(f'Merged file saved at "{basename(merged_hex_path)}"') + nrf52_hex_to_uf2([hex_path, merge_with], [env.File(merged_hex_path)], env) + + +# if WM1110 target, merge hex with softdevice 7.3.0 +if "wio-sdk-wm1110" == env.get("PIOENV"): + env.AddPostAction("$BUILD_DIR/${PROGNAME}.hex", nrf52_mergehex) +else: + env.AddPostAction("$BUILD_DIR/${PROGNAME}.hex", nrf52_hex_to_uf2) diff --git a/extra_scripts/extra_stm32.py b/extra_scripts/stm32_extra.py similarity index 95% rename from extra_scripts/extra_stm32.py rename to extra_scripts/stm32_extra.py index f3bd8c514..afceb7d81 100755 --- a/extra_scripts/extra_stm32.py +++ b/extra_scripts/stm32_extra.py @@ -1,7 +1,9 @@ +#!/usr/bin/env python3 # trunk-ignore-all(ruff/F821) # trunk-ignore-all(flake8/F821): For SConstruct imports Import("env") + # Custom HEX from ELF env.AddPostAction( "$BUILD_DIR/${PROGNAME}.elf", diff --git a/meshtasticd.spec.rpkg b/meshtasticd.spec.rpkg index eb4ab5ae7..3456001f0 100644 --- a/meshtasticd.spec.rpkg +++ b/meshtasticd.spec.rpkg @@ -49,6 +49,13 @@ BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(libinput) BuildRequires: pkgconfig(xkbcommon-x11) +# libbsd is needed on older Fedora/RHEL to provide 'strlcpy' +%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10 +BuildRequires: glibc-devel >= 2.38 +%else +BuildRequires: pkgconfig(libbsd-overlay) +%endif + Requires: systemd-udev %description @@ -69,7 +76,7 @@ platformio run -e native-tft %install # Install meshtasticd binary mkdir -p %{buildroot}%{_bindir} -install -m 0755 .pio/build/native-tft/program %{buildroot}%{_bindir}/meshtasticd +install -m 0755 .pio/build/native-tft/meshtasticd %{buildroot}%{_bindir}/meshtasticd # Install portduino VFS dir install -p -d -m 0770 %{buildroot}%{_localstatedir}/lib/meshtasticd diff --git a/platformio.ini b/platformio.ini index 5b7f5ddcf..4fa7acd66 100644 --- a/platformio.ini +++ b/platformio.ini @@ -5,7 +5,7 @@ default_envs = tbeam extra_configs = - arch/*/*.ini + variants/*/*.ini variants/*/*/platformio.ini variants/*/diy/*/platformio.ini src/graphics/niche/InkHUD/PlatformioConfig.ini @@ -14,7 +14,9 @@ description = Meshtastic [env] test_build_src = true -extra_scripts = bin/platformio-custom.py +extra_scripts = + pre:bin/platformio-pre.py + bin/platformio-custom.py ; note: we add src to our include search path so that lmic_project_config can override ; note: TINYGPS_OPTION_NO_CUSTOM_FIELDS is VERY important. We don't use custom fields and somewhere in that pile ; of code is a heap corruption bug! @@ -62,7 +64,7 @@ monitor_speed = 115200 monitor_filters = direct lib_deps = # renovate: datasource=git-refs depName=meshtastic-esp8266-oled-ssd1306 packageName=https://github.com/meshtastic/esp8266-oled-ssd1306 gitBranch=master - https://github.com/meshtastic/esp8266-oled-ssd1306/archive/0cbc26b1f8f61957af0475f486b362eafe7cc4e2.zip + https://github.com/meshtastic/esp8266-oled-ssd1306/archive/2887bf4a19f64d92c984dcc8fd5ca7429e425e4a.zip # renovate: datasource=git-refs depName=meshtastic-OneButton packageName=https://github.com/meshtastic/OneButton gitBranch=master https://github.com/meshtastic/OneButton/archive/fa352d668c53f290cfa480a5f79ad422cd828c70.zip # renovate: datasource=git-refs depName=meshtastic-arduino-fsm packageName=https://github.com/meshtastic/arduino-fsm gitBranch=master @@ -90,7 +92,7 @@ framework = arduino lib_deps = ${env.lib_deps} # renovate: datasource=custom.pio depName=NonBlockingRTTTL packageName=end2endzone/library/NonBlockingRTTTL - end2endzone/NonBlockingRTTTL@1.3.0 + end2endzone/NonBlockingRTTTL@1.4.0 build_flags = ${env.build_flags} -Os build_src_filter = ${env.build_src_filter} - - @@ -101,26 +103,23 @@ lib_deps = thingsboard/TBPubSubClient@2.12.1 # renovate: datasource=custom.pio depName=NTPClient packageName=arduino-libraries/library/NTPClient arduino-libraries/NTPClient@3.2.1 + +; Extra TCP/IP networking libs for supported devices +[networking_extra] +lib_deps = # renovate: datasource=custom.pio depName=Syslog packageName=arcao/library/Syslog arcao/Syslog@2.0.0 -; Minimal networking libs for nrf52 (excludes Syslog to save flash) -[nrf52_networking_base] -lib_deps = - # renovate: datasource=custom.pio depName=TBPubSubClient packageName=thingsboard/library/TBPubSubClient - thingsboard/TBPubSubClient@2.12.1 - # renovate: datasource=custom.pio depName=NTPClient packageName=arduino-libraries/library/NTPClient - arduino-libraries/NTPClient@3.2.1 - [radiolib_base] lib_deps = # renovate: datasource=custom.pio depName=RadioLib packageName=jgromes/library/RadioLib - jgromes/RadioLib@7.3.0 + # jgromes/RadioLib@7.4.0 + https://github.com/jgromes/RadioLib/archive/536c7267362e2c1345be7054ba45e503252975ff.zip [device-ui_base] lib_deps = # renovate: datasource=git-refs depName=meshtastic/device-ui packageName=https://github.com/meshtastic/device-ui gitBranch=master - https://github.com/meshtastic/device-ui/archive/3fb7c0e28e8e51fc0a7d56facacf3411f1d29fe0.zip + https://github.com/meshtastic/device-ui/archive/862ed040c4ab44f0dfbbe492691f144886102588.zip ; Common libs for environmental measurements in telemetry module [environmental_base] @@ -159,16 +158,16 @@ lib_deps = emotibit/EmotiBit MLX90632@1.0.8 # renovate: datasource=custom.pio depName=Adafruit MLX90614 packageName=adafruit/library/Adafruit MLX90614 Library adafruit/Adafruit MLX90614 Library@2.1.5 - # renovate: datasource=github-tags depName=INA3221 packageName=sgtwilko/INA3221 - https://github.com/sgtwilko/INA3221#bb03d7e9bfcc74fc798838a54f4f99738f29fc6a + # renovate: datasource=git-refs depName=INA3221 packageName=https://github.com/sgtwilko/INA3221 gitBranch=FixOverflow + https://github.com/sgtwilko/INA3221/archive/bb03d7e9bfcc74fc798838a54f4f99738f29fc6a.zip # renovate: datasource=custom.pio depName=QMC5883L Compass packageName=mprograms/library/QMC5883LCompass mprograms/QMC5883LCompass@1.2.3 # renovate: datasource=custom.pio depName=DFRobot_RTU packageName=dfrobot/library/DFRobot_RTU - dfrobot/DFRobot_RTU@1.0.3 + dfrobot/DFRobot_RTU@1.0.6 # renovate: datasource=git-refs depName=DFRobot_RainfallSensor packageName=https://github.com/DFRobot/DFRobot_RainfallSensor gitBranch=master https://github.com/DFRobot/DFRobot_RainfallSensor/archive/38fea5e02b40a5430be6dab39a99a6f6347d667e.zip # renovate: datasource=custom.pio depName=INA226 packageName=robtillaart/library/INA226 - robtillaart/INA226@0.6.4 + robtillaart/INA226@0.6.5 # renovate: datasource=custom.pio depName=SparkFun MAX3010x packageName=sparkfun/library/SparkFun MAX3010x Pulse and Proximity Sensor Library sparkfun/SparkFun MAX3010x Pulse and Proximity Sensor Library@1.1.2 # renovate: datasource=custom.pio depName=SparkFun 9DoF IMU Breakout ICM 20948 packageName=sparkfun/library/SparkFun 9DoF IMU Breakout - ICM 20948 - Arduino Library @@ -176,11 +175,13 @@ lib_deps = # renovate: datasource=custom.pio depName=Adafruit LTR390 Library packageName=adafruit/library/Adafruit LTR390 Library adafruit/Adafruit LTR390 Library@1.1.2 # renovate: datasource=custom.pio depName=Adafruit PCT2075 packageName=adafruit/library/Adafruit PCT2075 - adafruit/Adafruit PCT2075@1.0.5 + adafruit/Adafruit PCT2075@1.0.6 # renovate: datasource=custom.pio depName=DFRobot_BMM150 packageName=dfrobot/library/DFRobot_BMM150 dfrobot/DFRobot_BMM150@1.0.0 # renovate: datasource=custom.pio depName=Adafruit_TSL2561 packageName=adafruit/library/Adafruit TSL2561 adafruit/Adafruit TSL2561@1.1.2 + # renovate: datasource=custom.pio depName=BH1750_WE packageName=wollewald/library/BH1750_WE + wollewald/BH1750_WE@1.1.10 ; (not included in native / portduino) [environmental_extra] @@ -202,7 +203,7 @@ lib_deps = # renovate: datasource=custom.pio depName=SparkFun Qwiic Scale NAU7802 packageName=sparkfun/library/SparkFun Qwiic Scale NAU7802 Arduino Library sparkfun/SparkFun Qwiic Scale NAU7802 Arduino Library@1.0.6 # renovate: datasource=custom.pio depName=ClosedCube OPT3001 packageName=closedcube/library/ClosedCube OPT3001 - ClosedCube OPT3001@1.1.2 + closedcube/ClosedCube OPT3001@1.1.2 # renovate: datasource=custom.pio depName=Bosch BSEC2 packageName=boschsensortec/library/bsec2 boschsensortec/bsec2@1.10.2610 # renovate: datasource=custom.pio depName=Bosch BME68x packageName=boschsensortec/library/BME68x Sensor Library @@ -210,6 +211,6 @@ lib_deps = # renovate: datasource=git-refs depName=meshtastic-DFRobot_LarkWeatherStation packageName=https://github.com/meshtastic/DFRobot_LarkWeatherStation gitBranch=master https://github.com/meshtastic/DFRobot_LarkWeatherStation/archive/4de3a9cadef0f6a5220a8a906cf9775b02b0040d.zip # renovate: datasource=custom.pio depName=Sensirion Core packageName=sensirion/library/Sensirion Core - sensirion/Sensirion Core@0.7.1 + sensirion/Sensirion Core@0.7.2 # renovate: datasource=custom.pio depName=Sensirion I2C SCD4x packageName=sensirion/library/Sensirion I2C SCD4x sensirion/Sensirion I2C SCD4x@1.1.0 diff --git a/protobufs b/protobufs index 38638f19f..9beb80f1d 160000 --- a/protobufs +++ b/protobufs @@ -1 +1 @@ -Subproject commit 38638f19f84ad886222b484d6bf5a8459aed8c7e +Subproject commit 9beb80f1d302f70d05f9c4bc9dd543b8f7bc8796 diff --git a/src/AudioThread.h b/src/AudioThread.h index df4892b6e..23552c421 100644 --- a/src/AudioThread.h +++ b/src/AudioThread.h @@ -50,8 +50,11 @@ class AudioThread : public concurrency::OSThread delete i2sRtttl; i2sRtttl = nullptr; } - delete rtttlFile; - rtttlFile = nullptr; + + if (rtttlFile != nullptr) { + delete rtttlFile; + rtttlFile = nullptr; + } setCPUFast(false); #ifdef T_LORA_PAGER @@ -99,9 +102,9 @@ class AudioThread : public concurrency::OSThread }; AudioGeneratorRTTTL *i2sRtttl = nullptr; - AudioOutputI2S *audioOut; + AudioOutputI2S *audioOut = nullptr; - AudioFileSourcePROGMEM *rtttlFile; + AudioFileSourcePROGMEM *rtttlFile = nullptr; }; #endif diff --git a/src/DisplayFormatters.cpp b/src/DisplayFormatters.cpp index 246cf0022..d88f9fc9f 100644 --- a/src/DisplayFormatters.cpp +++ b/src/DisplayFormatters.cpp @@ -31,6 +31,9 @@ const char *DisplayFormatters::getModemPresetDisplayName(meshtastic_Config_LoRaC case meshtastic_Config_LoRaConfig_ModemPreset_LONG_FAST: return useShortName ? "LongF" : "LongFast"; break; + case meshtastic_Config_LoRaConfig_ModemPreset_LONG_TURBO: + return useShortName ? "LongT" : "LongTurbo"; + break; case meshtastic_Config_LoRaConfig_ModemPreset_LONG_MODERATE: return useShortName ? "LongM" : "LongMod"; break; diff --git a/src/NodeStatus.h b/src/NodeStatus.h index 60d1bdd98..550f6254a 100644 --- a/src/NodeStatus.h +++ b/src/NodeStatus.h @@ -14,16 +14,16 @@ class NodeStatus : public Status CallbackObserver statusObserver = CallbackObserver(this, &NodeStatus::updateStatus); - uint8_t numOnline = 0; - uint8_t numTotal = 0; + uint16_t numOnline = 0; + uint16_t numTotal = 0; - uint8_t lastNumTotal = 0; + uint16_t lastNumTotal = 0; public: bool forceUpdate = false; NodeStatus() { statusType = STATUS_TYPE_NODE; } - NodeStatus(uint8_t numOnline, uint8_t numTotal, bool forceUpdate = false) : Status() + NodeStatus(uint16_t numOnline, uint16_t numTotal, bool forceUpdate = false) : Status() { this->forceUpdate = forceUpdate; this->numOnline = numOnline; @@ -34,11 +34,11 @@ class NodeStatus : public Status void observe(Observable *source) { statusObserver.observe(source); } - uint8_t getNumOnline() const { return numOnline; } + uint16_t getNumOnline() const { return numOnline; } - uint8_t getNumTotal() const { return numTotal; } + uint16_t getNumTotal() const { return numTotal; } - uint8_t getLastNumTotal() const { return lastNumTotal; } + uint16_t getLastNumTotal() const { return lastNumTotal; } bool matches(const NodeStatus *newStatus) const { @@ -56,7 +56,7 @@ class NodeStatus : public Status numTotal = newStatus->getNumTotal(); } if (isDirty || newStatus->forceUpdate) { - LOG_DEBUG("Node status update: %d online, %d total", numOnline, numTotal); + LOG_DEBUG("Node status update: %u online, %u total", numOnline, numTotal); onNewStatus.notifyObservers(this); } return 0; diff --git a/src/Power.cpp b/src/Power.cpp index 1f4c341f0..7bb8896ce 100644 --- a/src/Power.cpp +++ b/src/Power.cpp @@ -194,7 +194,7 @@ static HasBatteryLevel *batteryLevel; // Default to NULL for no battery level se #ifdef BATTERY_PIN -static void adcEnable() +void battery_adcEnable() { #ifdef ADC_CTRL // enable adc voltage divider when we need to read #ifdef ADC_USE_PULLUP @@ -214,7 +214,7 @@ static void adcEnable() #endif } -static void adcDisable() +static void battery_adcDisable() { #ifdef ADC_CTRL // disable adc voltage divider when we need to read #ifdef ADC_USE_PULLUP @@ -278,6 +278,11 @@ class AnalogBatteryLevel : public HasBatteryLevel break; } } +#if defined(BATTERY_CHARGING_INV) + // bit of trickery to show 99% up until the charge finishes + if (!digitalRead(BATTERY_CHARGING_INV) && battery_SOC > 99) + battery_SOC = 99; +#endif return clamp((int)(battery_SOC), 0, 100); } @@ -320,7 +325,7 @@ class AnalogBatteryLevel : public HasBatteryLevel uint32_t raw = 0; float scaled = 0; - adcEnable(); + battery_adcEnable(); #ifdef ARCH_ESP32 // ADC block for espressif platforms raw = espAdcRead(); scaled = esp_adc_cal_raw_to_voltage(raw, adc_characs); @@ -332,7 +337,7 @@ class AnalogBatteryLevel : public HasBatteryLevel raw = raw / BATTERY_SENSE_SAMPLES; scaled = operativeAdcMultiplier * ((1000 * AREF_VOLTAGE) / pow(2, BATTERY_SENSE_RESOLUTION_BITS)) * raw; #endif - adcDisable(); + battery_adcDisable(); if (!initial_read_done) { // Flush the smoothing filter with an ADC reading, if the reading is plausibly correct @@ -455,6 +460,8 @@ class AnalogBatteryLevel : public HasBatteryLevel } // if it's not HIGH - check the battery #endif +#elif defined(MUZI_BASE) + return NRF_POWER->USBREGSTATUS & POWER_USBREGSTATUS_VBUSDETECT_Msk; #endif return getBattVoltage() > chargingVolt; } @@ -470,6 +477,8 @@ class AnalogBatteryLevel : public HasBatteryLevel #endif #ifdef EXT_CHRG_DETECT return digitalRead(EXT_CHRG_DETECT) == ext_chrg_detect_value; +#elif defined(BATTERY_CHARGING_INV) + return !digitalRead(BATTERY_CHARGING_INV); #else #if HAS_TELEMETRY && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR && !defined(DISABLE_INA_CHARGING_DETECTION) if (hasINA()) { @@ -698,11 +707,18 @@ bool Power::setup() []() { power->setIntervalFromNow(0); runASAP = true; - BaseType_t higherWake = 0; }, CHANGE); #endif - +#ifdef BATTERY_CHARGING_INV + attachInterrupt( + BATTERY_CHARGING_INV, + []() { + power->setIntervalFromNow(0); + runASAP = true; + }, + CHANGE); +#endif enabled = found; low_voltage_counter = 0; @@ -759,6 +775,8 @@ void Power::shutdown() if (screen) { #ifdef T_DECK_PRO screen->showSimpleBanner("Device is powered off.\nConnect USB to start!", 0); // T-Deck Pro has no power button +#elif defined(USE_EINK) + screen->showSimpleBanner("Shutting Down...", 2250); // dismiss after 3 seconds to avoid the banner on the sleep screen #else screen->showSimpleBanner("Shutting Down...", 0); // stays on screen #endif @@ -839,8 +857,11 @@ void Power::readPowerStatus() // Notify any status instances that are observing us const PowerStatus powerStatus2 = PowerStatus(hasBattery, usbPowered, isChargingNow, batteryVoltageMv, batteryChargePercent); - LOG_DEBUG("Battery: usbPower=%d, isCharging=%d, batMv=%d, batPct=%d", powerStatus2.getHasUSB(), powerStatus2.getIsCharging(), - powerStatus2.getBatteryVoltageMv(), powerStatus2.getBatteryChargePercent()); + if (millis() > lastLogTime + 50 * 1000) { + LOG_DEBUG("Battery: usbPower=%d, isCharging=%d, batMv=%d, batPct=%d", powerStatus2.getHasUSB(), + powerStatus2.getIsCharging(), powerStatus2.getBatteryVoltageMv(), powerStatus2.getBatteryChargePercent()); + lastLogTime = millis(); + } newStatus.notifyObservers(&powerStatus2); #ifdef DEBUG_HEAP if (lastheap != memGet.getFreeHeap()) { @@ -903,13 +924,8 @@ void Power::readPowerStatus() low_voltage_counter++; LOG_DEBUG("Low voltage counter: %d/10", low_voltage_counter); if (low_voltage_counter > 10) { -#ifdef ARCH_NRF52 - // We can't trigger deep sleep on NRF52, it's freezing the board - LOG_DEBUG("Low voltage detected, but not trigger deep sleep"); -#else LOG_INFO("Low voltage detected, trigger deep sleep"); powerFSM.trigger(EVENT_LOW_BATTERY); -#endif } } else { low_voltage_counter = 0; @@ -1437,7 +1453,7 @@ class LipoCharger : public HasBatteryLevel /** * return true if there is an external power source detected */ - virtual bool isVbusIn() override { return PPM->getVbusVoltage() > 0; } + virtual bool isVbusIn() override { return PPM->isVbusIn(); } /** * return true if the battery is currently charging @@ -1549,4 +1565,4 @@ bool Power::meshSolarInit() { return false; } -#endif \ No newline at end of file +#endif diff --git a/src/PowerFSM.cpp b/src/PowerFSM.cpp index 322b877ff..9f8097b84 100644 --- a/src/PowerFSM.cpp +++ b/src/PowerFSM.cpp @@ -57,21 +57,21 @@ static bool isPowered() static void sdsEnter() { - LOG_DEBUG("State: SDS"); + LOG_POWERFSM("State: SDS"); // FIXME - make sure GPS and LORA radio are off first - because we want close to zero current draw doDeepSleep(Default::getConfiguredOrDefaultMs(config.power.sds_secs), false, false); } static void lowBattSDSEnter() { - LOG_DEBUG("State: Lower batt SDS"); + LOG_POWERFSM("State: Lower batt SDS"); doDeepSleep(Default::getConfiguredOrDefaultMs(config.power.sds_secs), false, true); } extern Power *power; static void shutdownEnter() { - LOG_DEBUG("State: SHUTDOWN"); + LOG_POWERFSM("State: SHUTDOWN"); shutdownAtMsec = millis(); } @@ -81,7 +81,7 @@ static uint32_t secsSlept; static void lsEnter() { - LOG_INFO("lsEnter begin, ls_secs=%u", config.power.ls_secs); + LOG_POWERFSM("lsEnter begin, ls_secs=%u", config.power.ls_secs); if (screen) screen->setOn(false); secsSlept = 0; // How long have we been sleeping this time @@ -155,12 +155,12 @@ static void lsIdle() static void lsExit() { - LOG_INFO("Exit state: LS"); + LOG_POWERFSM("State: lsExit"); } static void nbEnter() { - LOG_DEBUG("State: NB"); + LOG_POWERFSM("State: nbEnter"); if (screen) screen->setOn(false); #ifdef ARCH_ESP32 @@ -173,6 +173,7 @@ static void nbEnter() static void darkEnter() { + LOG_POWERFSM("State: darkEnter"); setBluetoothEnable(true); if (screen) screen->setOn(false); @@ -180,7 +181,7 @@ static void darkEnter() static void serialEnter() { - LOG_DEBUG("State: SERIAL"); + LOG_POWERFSM("State: serialEnter"); setBluetoothEnable(false); if (screen) { screen->setOn(true); @@ -189,13 +190,14 @@ static void serialEnter() static void serialExit() { + LOG_POWERFSM("State: serialExit"); // Turn bluetooth back on when we leave serial stream API setBluetoothEnable(true); } static void powerEnter() { - // LOG_DEBUG("State: POWER"); + LOG_POWERFSM("State: powerEnter"); if (!isPowered()) { // If we got here, we are in the wrong state - we should be in powered, let that state handle things LOG_INFO("Loss of power in Powered"); @@ -210,6 +212,7 @@ static void powerEnter() static void powerIdle() { + // LOG_POWERFSM("State: powerIdle"); // very chatty if (!isPowered()) { // If we got here, we are in the wrong state LOG_INFO("Loss of power in Powered"); @@ -219,14 +222,13 @@ static void powerIdle() static void powerExit() { - if (screen) - screen->setOn(true); + LOG_POWERFSM("State: powerExit"); setBluetoothEnable(true); } static void onEnter() { - LOG_DEBUG("State: ON"); + LOG_POWERFSM("State: onEnter"); if (screen) screen->setOn(true); setBluetoothEnable(true); @@ -234,6 +236,7 @@ static void onEnter() static void onIdle() { + LOG_POWERFSM("State: onIdle"); if (isPowered()) { // If we got here, we are in the wrong state - we should be in powered, let that state handle things powerFSM.trigger(EVENT_POWER_CONNECTED); @@ -242,7 +245,7 @@ static void onIdle() static void bootEnter() { - LOG_DEBUG("State: BOOT"); + LOG_POWERFSM("State: bootEnter"); } State stateSHUTDOWN(shutdownEnter, NULL, NULL, "SHUTDOWN"); @@ -319,11 +322,6 @@ void PowerFSM_setup() // if any packet destined for phone arrives, turn on bluetooth at least powerFSM.add_transition(&stateNB, &stateDARK, EVENT_PACKET_FOR_PHONE, NULL, "Packet for phone"); - // Removed 2.7: we don't show the nodes individually for every node on the screen anymore - // powerFSM.add_transition(&stateNB, &stateON, EVENT_NODEDB_UPDATED, NULL, "NodeDB update"); - // powerFSM.add_transition(&stateDARK, &stateON, EVENT_NODEDB_UPDATED, NULL, "NodeDB update"); - // powerFSM.add_transition(&stateON, &stateON, EVENT_NODEDB_UPDATED, NULL, "NodeDB update"); - // Show the received text message powerFSM.add_transition(&stateLS, &stateON, EVENT_RECEIVED_MSG, NULL, "Received text"); powerFSM.add_transition(&stateNB, &stateON, EVENT_RECEIVED_MSG, NULL, "Received text"); @@ -372,7 +370,7 @@ void PowerFSM_setup() // Don't add power saving transitions if we are a power saving tracker or sensor or have Wifi enabled. Sleep will be initiated // through the modules -#if HAS_WIFI || !defined(MESHTASTIC_EXCLUDE_WIFI) +#if HAS_WIFI && !defined(MESHTASTIC_EXCLUDE_WIFI) bool isTrackerOrSensor = config.device.role == meshtastic_Config_DeviceConfig_Role_TRACKER || config.device.role == meshtastic_Config_DeviceConfig_Role_TAK_TRACKER || config.device.role == meshtastic_Config_DeviceConfig_Role_SENSOR; diff --git a/src/PowerFSM.h b/src/PowerFSM.h index 6330a5fc6..182ac082a 100644 --- a/src/PowerFSM.h +++ b/src/PowerFSM.h @@ -2,6 +2,12 @@ #include "configuration.h" +#ifdef PowerFSMDebug +#define LOG_POWERFSM(...) LOG_DEBUG(__VA_ARGS__) +#else +#define LOG_POWERFSM(...) +#endif + // See sw-design.md for documentation #define EVENT_PRESS 1 diff --git a/src/SerialConsole.cpp b/src/SerialConsole.cpp index fad0fb92f..dd2acb599 100644 --- a/src/SerialConsole.cpp +++ b/src/SerialConsole.cpp @@ -50,6 +50,7 @@ void consolePrintf(const char *format, ...) SerialConsole::SerialConsole() : StreamAPI(&Port), RedirectablePrint(&Port), concurrency::OSThread("SerialConsole") { + api_type = TYPE_SERIAL; assert(!console); console = this; canWrite = false; // We don't send packets to our port until it has talked to us first diff --git a/src/buzz/buzz.cpp b/src/buzz/buzz.cpp index b0d162a44..aa8346585 100644 --- a/src/buzz/buzz.cpp +++ b/src/buzz/buzz.cpp @@ -16,6 +16,7 @@ struct ToneDuration { }; // Some common frequencies. +#define NOTE_SILENT 1 #define NOTE_C3 131 #define NOTE_CS3 139 #define NOTE_D3 147 @@ -29,11 +30,16 @@ struct ToneDuration { #define NOTE_AS3 233 #define NOTE_B3 247 #define NOTE_CS4 277 +#define NOTE_B4 494 +#define NOTE_F5 698 +#define NOTE_G6 1568 +#define NOTE_E7 2637 +const int DURATION_1_16 = 62; // 1/16 note const int DURATION_1_8 = 125; // 1/8 note const int DURATION_1_4 = 250; // 1/4 note const int DURATION_1_2 = 500; // 1/2 note -const int DURATION_3_4 = 750; // 1/4 note +const int DURATION_3_4 = 750; // 3/4 note const int DURATION_1_1 = 1000; // 1/1 note void playTones(const ToneDuration *tone_durations, int size) @@ -71,13 +77,24 @@ void playLongBeep() void playGPSEnableBeep() { +#if defined(R1_NEO) || defined(MUZI_BASE) + ToneDuration melody[] = { + {NOTE_F5, DURATION_1_2}, {NOTE_G6, DURATION_1_8}, {NOTE_E7, DURATION_1_4}, {NOTE_SILENT, DURATION_1_2}}; +#else ToneDuration melody[] = {{NOTE_C3, DURATION_1_8}, {NOTE_FS3, DURATION_1_4}, {NOTE_CS4, DURATION_1_4}}; +#endif playTones(melody, sizeof(melody) / sizeof(ToneDuration)); } void playGPSDisableBeep() { +#if defined(R1_NEO) || defined(MUZI_BASE) + ToneDuration melody[] = {{NOTE_B4, DURATION_1_16}, {NOTE_B4, DURATION_1_16}, {NOTE_SILENT, DURATION_1_8}, + {NOTE_F3, DURATION_1_16}, {NOTE_F3, DURATION_1_16}, {NOTE_SILENT, DURATION_1_8}, + {NOTE_C3, DURATION_1_1}, {NOTE_SILENT, DURATION_1_1}}; +#else ToneDuration melody[] = {{NOTE_CS4, DURATION_1_8}, {NOTE_FS3, DURATION_1_4}, {NOTE_C3, DURATION_1_4}}; +#endif playTones(melody, sizeof(melody) / sizeof(ToneDuration)); } diff --git a/src/configuration.h b/src/configuration.h index b6b1c1e5e..b4ab57053 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -36,6 +36,29 @@ along with this program. If not, see . /* Offer chance for variant-specific defines */ #include "variant.h" +// ----------------------------------------------------------------------------- +// Display feature overrides +// ----------------------------------------------------------------------------- + +// Allow build environments to opt-in explicitly to the E-Ink UI stack while +// keeping headless targets slim by default. Existing variants that already +// define USE_EINK continue to work without additional flags. +#ifndef MESHTASTIC_USE_EINK_UI +#ifdef USE_EINK +#define MESHTASTIC_USE_EINK_UI 1 +#else +#define MESHTASTIC_USE_EINK_UI 0 +#endif +#endif + +#if MESHTASTIC_USE_EINK_UI +#ifndef USE_EINK +#define USE_EINK +#endif +#else +#undef USE_EINK +#endif + // ----------------------------------------------------------------------------- // Version // ----------------------------------------------------------------------------- @@ -126,9 +149,9 @@ along with this program. If not, see . #define TX_GAIN_LORA 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 10, 9, 9, 8, 7 #endif -#ifdef STATION_G2 -#define NUM_PA_POINTS 19 -#define TX_GAIN_LORA 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 19, 19, 18, 18 +#ifdef RAK13302 +#define NUM_PA_POINTS 22 +#define TX_GAIN_LORA 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8 #endif // Default system gain to 0 if not defined @@ -228,6 +251,7 @@ along with this program. If not, see . #define ICM20948_ADDR_ALT 0x68 #define BHI260AP_ADDR 0x28 #define BMM150_ADDR 0x13 +#define DA217_ADDR 0x26 // ----------------------------------------------------------------------------- // LED @@ -249,7 +273,9 @@ along with this program. If not, see . // Touchscreen // ----------------------------------------------------------------------------- #define FT6336U_ADDR 0x48 -#define CST328_ADDR 0x1A +#define CST328_ADDR 0x1A // same address as CST226SE +#define CHSC6X_ADDR 0x2E +#define CST226SE_ADDR_ALT 0x5A // ----------------------------------------------------------------------------- // RAK12035VB Soil Monitor (using RAK12023 up to 3 RAK12035 monitors can be connected) @@ -368,6 +394,9 @@ along with this program. If not, see . #ifndef HAS_BLUETOOTH #define HAS_BLUETOOTH 0 #endif +#ifndef USE_TFTDISPLAY +#define USE_TFTDISPLAY 0 +#endif #ifndef HW_VENDOR #error HW_VENDOR must be defined @@ -394,6 +423,13 @@ along with this program. If not, see . #define HAS_RGB_LED #endif +#ifndef LED_STATE_OFF +#define LED_STATE_OFF 0 +#endif +#ifndef LED_STATE_ON +#define LED_STATE_ON 1 +#endif + // default mapping of pins #if defined(PIN_BUTTON2) && !defined(CANCEL_BUTTON_PIN) #define ALT_BUTTON_PIN PIN_BUTTON2 diff --git a/src/detect/ScanI2C.h b/src/detect/ScanI2C.h index 2e602338c..cced980a6 100644 --- a/src/detect/ScanI2C.h +++ b/src/detect/ScanI2C.h @@ -82,7 +82,11 @@ class ScanI2C BHI260AP, BMM150, TSL2561, - DRV2605 + DRV2605, + BH1750, + DA217, + CHSC6X, + CST226SE } DeviceType; // typedef uint8_t DeviceAddress; diff --git a/src/detect/ScanI2CTwoWire.cpp b/src/detect/ScanI2CTwoWire.cpp index da2a57fee..db269ac64 100644 --- a/src/detect/ScanI2CTwoWire.cpp +++ b/src/detect/ScanI2CTwoWire.cpp @@ -106,6 +106,7 @@ uint16_t ScanI2CTwoWire::getRegisterValue(const ScanI2CTwoWire::RegisterLocation if (i2cBus->available()) i2cBus->read(); } + LOG_DEBUG("Register value: 0x%x", value); return value; } @@ -377,14 +378,13 @@ void ScanI2CTwoWire::scanPort(I2CPort port, uint8_t *address, uint8_t asize) } case SHT31_4x_ADDR: // same as OPT3001_ADDR_ALT case SHT31_4x_ADDR_ALT: // same as OPT3001_ADDR - registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x89), 2); - if (registerValue == 0x11a2 || registerValue == 0x11da || registerValue == 0x11f3 || registerValue == 0xe9c || - registerValue == 0xc8d) { - type = SHT4X; - logFoundDevice("SHT4X", (uint8_t)addr.address); - } else if (getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x7E), 2) == 0x5449) { + registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x7E), 2); + if (registerValue == 0x5449) { type = OPT3001; logFoundDevice("OPT3001", (uint8_t)addr.address); + } else if (getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x89), 2) != 0) { // unique SHT4x serial number + type = SHT4X; + logFoundDevice("SHT4X", (uint8_t)addr.address); } else { type = SHT31; logFoundDevice("SHT31", (uint8_t)addr.address); @@ -465,8 +465,23 @@ void ScanI2CTwoWire::scanPort(I2CPort port, uint8_t *address, uint8_t asize) break; SCAN_SIMPLE_CASE(LSM6DS3_ADDR, LSM6DS3, "LSM6DS3", (uint8_t)addr.address); - SCAN_SIMPLE_CASE(TCA9555_ADDR, TCA9555, "TCA9555", (uint8_t)addr.address); SCAN_SIMPLE_CASE(VEML7700_ADDR, VEML7700, "VEML7700", (uint8_t)addr.address); + case TCA9555_ADDR: + registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x01), 1); + if (registerValue == 0x13) { + registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x00), 1); + if (registerValue == 0x81) { + type = DA217; + logFoundDevice("DA217", (uint8_t)addr.address); + } else { + type = TCA9555; + logFoundDevice("TCA9555", (uint8_t)addr.address); + } + } else { + type = TCA9555; + logFoundDevice("TCA9555", (uint8_t)addr.address); + } + break; case TSL25911_ADDR: registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x12), 1); if (registerValue == 0x50) { @@ -484,8 +499,38 @@ void ScanI2CTwoWire::scanPort(I2CPort port, uint8_t *address, uint8_t asize) SCAN_SIMPLE_CASE(DFROBOT_RAIN_ADDR, DFROBOT_RAIN, "DFRobot Rain Gauge", (uint8_t)addr.address); SCAN_SIMPLE_CASE(LTR390UV_ADDR, LTR390UV, "LTR390UV", (uint8_t)addr.address); SCAN_SIMPLE_CASE(PCT2075_ADDR, PCT2075, "PCT2075", (uint8_t)addr.address); - SCAN_SIMPLE_CASE(CST328_ADDR, CST328, "CST328", (uint8_t)addr.address); - SCAN_SIMPLE_CASE(LTR553ALS_ADDR, LTR553ALS, "LTR553ALS", (uint8_t)addr.address); + case CST328_ADDR: + // Do we have the CST328 or the CST226SE + registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0xAB), 1); + if (registerValue == 0xA9) { + type = CST226SE; + logFoundDevice("CST226SE", (uint8_t)addr.address); + } else { + type = CST328; + logFoundDevice("CST328", (uint8_t)addr.address); + } + break; + + SCAN_SIMPLE_CASE(CHSC6X_ADDR, CHSC6X, "CHSC6X", (uint8_t)addr.address); + case LTR553ALS_ADDR: + registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x86), 1); // Part ID register + if (registerValue == 0x92) { // LTR553ALS Part ID + type = LTR553ALS; + logFoundDevice("LTR553ALS", (uint8_t)addr.address); + } else { + // Test BH1750 - send power on command + i2cBus->beginTransmission(addr.address); + i2cBus->write(0x01); // Power On command + uint8_t bh1750_error = i2cBus->endTransmission(); + if (bh1750_error == 0) { + type = BH1750; + logFoundDevice("BH1750", (uint8_t)addr.address); + } else { + LOG_INFO("Device found at address 0x%x was not able to be enumerated", (uint8_t)addr.address); + } + } + break; + SCAN_SIMPLE_CASE(BHI260AP_ADDR, BHI260AP, "BHI260AP", (uint8_t)addr.address); SCAN_SIMPLE_CASE(SCD4X_ADDR, SCD4X, "SCD4X", (uint8_t)addr.address); SCAN_SIMPLE_CASE(BMM150_ADDR, BMM150, "BMM150", (uint8_t)addr.address); @@ -494,8 +539,12 @@ void ScanI2CTwoWire::scanPort(I2CPort port, uint8_t *address, uint8_t asize) #endif case MLX90614_ADDR_DEF: - registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x0e), 1); - if (registerValue == 0x5a) { + // Do we have the MLX90614 or the MPR121KB or the CST226SE + registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x06), 1); + if (registerValue == 0xAB) { + type = CST226SE; + logFoundDevice("CST226SE", (uint8_t)addr.address); + } else if (getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x0e), 1) == 0x5a) { type = MLX90614; logFoundDevice("MLX90614", (uint8_t)addr.address); } else { @@ -513,6 +562,11 @@ void ScanI2CTwoWire::scanPort(I2CPort port, uint8_t *address, uint8_t asize) case ICM20948_ADDR: // same as BMX160_ADDR case ICM20948_ADDR_ALT: // same as MPU6050_ADDR registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x00), 1); +#ifdef HAS_ICM20948 + type = ICM20948; + logFoundDevice("ICM20948", (uint8_t)addr.address); + break; +#endif if (registerValue == 0xEA) { type = ICM20948; logFoundDevice("ICM20948", (uint8_t)addr.address); diff --git a/src/gps/GPS.cpp b/src/gps/GPS.cpp index 297ed3dfa..a61a71dde 100644 --- a/src/gps/GPS.cpp +++ b/src/gps/GPS.cpp @@ -38,14 +38,16 @@ template std::size_t array_count(const T (&)[N]) return N; } -#if defined(NRF52840_XXAA) || defined(NRF52833_XXAA) || defined(ARCH_ESP32) || defined(ARCH_PORTDUINO) || defined(ARCH_STM32WL) -#if defined(GPS_SERIAL_PORT) -HardwareSerial *GPS::_serial_gps = &GPS_SERIAL_PORT; -#else -HardwareSerial *GPS::_serial_gps = &Serial1; +#ifndef GPS_SERIAL_PORT +#define GPS_SERIAL_PORT Serial1 #endif + +#if defined(ARCH_NRF52) +Uart *GPS::_serial_gps = &GPS_SERIAL_PORT; +#elif defined(ARCH_ESP32) || defined(ARCH_PORTDUINO) || defined(ARCH_STM32WL) +HardwareSerial *GPS::_serial_gps = &GPS_SERIAL_PORT; #elif defined(ARCH_RP2040) -SerialUART *GPS::_serial_gps = &Serial1; +SerialUART *GPS::_serial_gps = &GPS_SERIAL_PORT; #else HardwareSerial *GPS::_serial_gps = nullptr; #endif @@ -240,6 +242,9 @@ GPS_RESPONSE GPS::getACK(const char *message, uint32_t waitMillis) buffer[bytesRead] = b; bytesRead++; if ((bytesRead == 767) || (b == '\r')) { +#ifdef GPS_DEBUG + LOG_DEBUG(debugmsg.c_str()); +#endif if (strnstr((char *)buffer, message, bytesRead) != nullptr) { #ifdef GPS_DEBUG LOG_DEBUG("Found: %s", message); // Log the found message @@ -247,9 +252,6 @@ GPS_RESPONSE GPS::getACK(const char *message, uint32_t waitMillis) return GNSS_RESPONSE_OK; } else { bytesRead = 0; -#ifdef GPS_DEBUG - LOG_DEBUG(debugmsg.c_str()); -#endif } } } @@ -1275,6 +1277,24 @@ GnssModel_t GPS::probe(int serialSpeed) memset(&ublox_info, 0, sizeof(ublox_info)); delay(100); +#if defined(PIN_GPS_RESET) && PIN_GPS_RESET != -1 + digitalWrite(PIN_GPS_RESET, GPS_RESET_MODE); // assert for 10ms + delay(10); + digitalWrite(PIN_GPS_RESET, !GPS_RESET_MODE); + + // attempt to detect the chip based on boot messages + std::vector passive_detect = { + {"AG3335", "$PAIR021,AG3335", GNSS_MODEL_AG3335}, + {"AG3352", "$PAIR021,AG3352", GNSS_MODEL_AG3352}, + {"RYS3520", "$PAIR021,REYAX_RYS3520_V2", GNSS_MODEL_AG3352}, + {"UC6580", "UC6580", GNSS_MODEL_UC6580}, + // as L76K is sort of a last ditch effort, we won't attempt to detect it by startup messages for now. + /*{"L76K", "SW=URANUS", GNSS_MODEL_MTK}*/}; + GnssModel_t detectedDriver = getProbeResponse(500, passive_detect, serialSpeed); + if (detectedDriver != GNSS_MODEL_UNKNOWN) { + return detectedDriver; + } +#endif // Close all NMEA sentences, valid for L76K, ATGM336H (and likely other AT6558 devices) _serial_gps->write("$PCAS03,0,0,0,0,0,0,0,0,0,0,,,0,0*02\r\n"); delay(20); @@ -1473,12 +1493,12 @@ GnssModel_t GPS::getProbeResponse(unsigned long timeout, const std::vector= 2 && response[responseLen - 2] == '\r' && response[responseLen - 1] == '\n')) { -#ifdef GPS_DEBUG - LOG_DEBUG(response); -#endif // check if we can see our chips for (const auto &chipInfo : responseMap) { if (strstr(response, chipInfo.detectionString.c_str()) != nullptr) { +#ifdef GPS_DEBUG + LOG_DEBUG(response); +#endif LOG_INFO("%s detected", chipInfo.chipName.c_str()); delete[] response; // Cleanup before return return chipInfo.driver; @@ -1486,6 +1506,9 @@ GnssModel_t GPS::getProbeResponse(unsigned long timeout, const std::vector= 2 && response[responseLen - 2] == '\r' && response[responseLen - 1] == '\n') { +#ifdef GPS_DEBUG + LOG_DEBUG(response); +#endif // Reset the response buffer for the next potential message responseLen = 0; response[0] = '\0'; @@ -1504,10 +1527,7 @@ GPS *GPS::createGps() int8_t _rx_gpio = config.position.rx_gpio; int8_t _tx_gpio = config.position.tx_gpio; int8_t _en_gpio = config.position.gps_en_gpio; -#if HAS_GPS && !defined(ARCH_ESP32) - _rx_gpio = 1; // We only specify GPS serial ports on ESP32. Otherwise, these are just flags. - _tx_gpio = 1; -#endif + #if defined(GPS_RX_PIN) if (!_rx_gpio) _rx_gpio = GPS_RX_PIN; @@ -1572,8 +1592,6 @@ GPS *GPS::createGps() #ifdef PIN_GPS_RESET pinMode(PIN_GPS_RESET, OUTPUT); - digitalWrite(PIN_GPS_RESET, GPS_RESET_MODE); // assert for 10ms - delay(10); digitalWrite(PIN_GPS_RESET, !GPS_RESET_MODE); #endif @@ -1583,16 +1601,28 @@ GPS *GPS::createGps() _serial_gps->setRxBufferSize(SERIAL_BUFFER_SIZE); // the default is 256 #endif -// ESP32 has a special set of parameters vs other arduino ports -#if defined(ARCH_ESP32) LOG_DEBUG("Use GPIO%d for GPS RX", new_gps->rx_gpio); LOG_DEBUG("Use GPIO%d for GPS TX", new_gps->tx_gpio); + +// ESP32 has a special set of parameters vs other arduino ports +#if defined(ARCH_ESP32) _serial_gps->begin(GPS_BAUDRATE, SERIAL_8N1, new_gps->rx_gpio, new_gps->tx_gpio); #elif defined(ARCH_RP2040) + _serial_gps->setPinout(new_gps->tx_gpio, new_gps->rx_gpio); _serial_gps->setFIFOSize(256); _serial_gps->begin(GPS_BAUDRATE); -#else +#elif defined(ARCH_NRF52) + _serial_gps->setPins(new_gps->rx_gpio, new_gps->tx_gpio); _serial_gps->begin(GPS_BAUDRATE); +#elif defined(ARCH_STM32WL) + _serial_gps->setTx(new_gps->tx_gpio); + _serial_gps->setRx(new_gps->rx_gpio); + _serial_gps->begin(GPS_BAUDRATE); +#elif defined(ARCH_PORTDUINO) + // Portduino can't set the GPS pins directly. + _serial_gps->begin(GPS_BAUDRATE); +#else +#error Unsupported architecture! #endif } return new_gps; @@ -1659,8 +1689,12 @@ bool GPS::lookForLocation() #ifndef TINYGPS_OPTION_NO_STATISTICS if (reader.failedChecksum() > lastChecksumFailCount) { - LOG_WARN("%u new GPS checksum failures, for a total of %u", reader.failedChecksum() - lastChecksumFailCount, - reader.failedChecksum()); +// In a GPS_DEBUG build we want to log all of these. In production, we only care if there are many of them. +#ifndef GPS_DEBUG + if (reader.failedChecksum() > 4) +#endif + LOG_WARN("%u new GPS checksum failures, for a total of %u", reader.failedChecksum() - lastChecksumFailCount, + reader.failedChecksum()); lastChecksumFailCount = reader.failedChecksum(); } #endif diff --git a/src/gps/GPS.h b/src/gps/GPS.h index 8ba1ce0a6..59cee7113 100644 --- a/src/gps/GPS.h +++ b/src/gps/GPS.h @@ -194,6 +194,8 @@ class GPS : private concurrency::OSThread /** If !NULL we will use this serial port to construct our GPS */ #if defined(ARCH_RP2040) static SerialUART *_serial_gps; +#elif defined(ARCH_NRF52) + static Uart *_serial_gps; #else static HardwareSerial *_serial_gps; #endif diff --git a/src/gps/RTC.cpp b/src/gps/RTC.cpp index 665a9aaa3..1122f0a51 100644 --- a/src/gps/RTC.cpp +++ b/src/gps/RTC.cpp @@ -112,7 +112,11 @@ RTCSetResult readFromRTC() #elif defined(RX8130CE_RTC) if (rtc_found.address == RX8130CE_RTC) { uint32_t now = millis(); +#ifdef MUZI_BASE + ArtronShop_RX8130CE rtc(&Wire1); +#else ArtronShop_RX8130CE rtc(&Wire); +#endif tm t; if (rtc.getTime(&t)) { tv.tv_sec = gm_mktime(&t); @@ -245,7 +249,11 @@ RTCSetResult perhapsSetRTC(RTCQuality q, const struct timeval *tv, bool forceUpd } #elif defined(RX8130CE_RTC) if (rtc_found.address == RX8130CE_RTC) { +#ifdef MUZI_BASE + ArtronShop_RX8130CE rtc(&Wire1); +#else ArtronShop_RX8130CE rtc(&Wire); +#endif tm *t = gmtime(&tv->tv_sec); if (rtc.setTime(*t)) { LOG_DEBUG("RX8130CE setDateTime %02d-%02d-%02d %02d:%02d:%02d (%ld)", t->tm_year + 1900, t->tm_mon + 1, @@ -310,7 +318,7 @@ RTCSetResult perhapsSetRTC(RTCQuality q, struct tm &t) #ifdef BUILD_EPOCH if (tv.tv_sec < BUILD_EPOCH) { if (Throttle::isWithinTimespanMs(lastTimeValidationWarning, TIME_VALIDATION_WARNING_INTERVAL_MS) == false) { - LOG_WARN("Ignore time (%ld) before build epoch (%ld)!", printableEpoch, BUILD_EPOCH); + LOG_WARN("Ignore time (%lu) before build epoch (%lu)!", printableEpoch, BUILD_EPOCH); lastTimeValidationWarning = millis(); } return RTCSetResultInvalidTime; @@ -319,7 +327,7 @@ RTCSetResult perhapsSetRTC(RTCQuality q, struct tm &t) // Calculate max allowed time safely to avoid overflow in logging uint64_t maxAllowedTime = (uint64_t)BUILD_EPOCH + FORTY_YEARS; uint32_t maxAllowedPrintable = (maxAllowedTime > UINT32_MAX) ? UINT32_MAX : (uint32_t)maxAllowedTime; - LOG_WARN("Ignore time (%ld) too far in the future (build epoch: %ld, max allowed: %ld)!", printableEpoch, + LOG_WARN("Ignore time (%lu) too far in the future (build epoch: %lu, max allowed: %lu)!", printableEpoch, (uint32_t)BUILD_EPOCH, maxAllowedPrintable); lastTimeValidationWarning = millis(); } diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index e1cc0ccad..8bac6936a 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -69,7 +69,11 @@ using graphics::Emote; using graphics::emotes; using graphics::numEmotes; +#if USE_TFTDISPLAY extern uint16_t TFT_MESH; +#else +uint16_t TFT_MESH = COLOR565(0x67, 0xEA, 0x94); +#endif #if HAS_WIFI && !defined(ARCH_PORTDUINO) #include "mesh/wifi/WiFiAPClient.h" @@ -226,24 +230,9 @@ void Screen::showTextInput(const char *header, const char *initialText, uint32_t { LOG_INFO("showTextInput called with header='%s', durationMs=%d", header ? header : "NULL", durationMs); - if (NotificationRenderer::virtualKeyboard) { - delete NotificationRenderer::virtualKeyboard; - NotificationRenderer::virtualKeyboard = nullptr; - } - - NotificationRenderer::textInputCallback = nullptr; - - NotificationRenderer::virtualKeyboard = new VirtualKeyboard(); - if (header) { - NotificationRenderer::virtualKeyboard->setHeader(header); - } - if (initialText) { - NotificationRenderer::virtualKeyboard->setInputText(initialText); - } - - // Set up callback with safer cleanup mechanism + // Start OnScreenKeyboardModule session (non-touch variant) + OnScreenKeyboardModule::instance().start(header, initialText, durationMs, textCallback); NotificationRenderer::textInputCallback = textCallback; - NotificationRenderer::virtualKeyboard->setCallback([textCallback](const std::string &text) { textCallback(text); }); // Store the message and set the expiration timestamp (use same pattern as other notifications) strncpy(NotificationRenderer::alertBannerMessage, header ? header : "Text Input", 255); @@ -324,7 +313,7 @@ static int8_t prevFrame = -1; // Combined dynamic node list frame cycling through LastHeard, HopSignal, and Distance modes // Uses a single frame and changes data every few seconds (E-Ink variant is separate) -#if defined(ESP_PLATFORM) && defined(USE_ST7789) +#if defined(ESP_PLATFORM) && (defined(USE_ST7789) || defined(USE_ST7796)) SPIClass SPI1(HSPI); #endif @@ -356,7 +345,13 @@ Screen::Screen(ScanI2C::DeviceAddress address, meshtastic_Config_DisplayConfig_O #else dispdev = new ST7789Spi(&SPI1, ST7789_RESET, ST7789_RS, ST7789_NSS, GEOMETRY_RAWMODE, TFT_WIDTH, TFT_HEIGHT); #endif - static_cast(dispdev)->setRGB(TFT_MESH); +#elif defined(USE_ST7796) +#ifdef ESP_PLATFORM + dispdev = new ST7796Spi(&SPI1, ST7796_RESET, ST7796_RS, ST7796_NSS, GEOMETRY_RAWMODE, TFT_WIDTH, TFT_HEIGHT, ST7796_SDA, + ST7796_MISO, ST7796_SCK, TFT_SPI_FREQUENCY); +#else + dispdev = new ST7796Spi(&SPI1, ST7796_RESET, ST7796_RS, ST7796_NSS, GEOMETRY_RAWMODE, TFT_WIDTH, TFT_HEIGHT); +#endif #elif defined(USE_SSD1306) dispdev = new SSD1306Wire(address.address, -1, -1, geometry, (address.port == ScanI2C::I2CPort::WIRE1) ? HW_I2C::I2C_TWO : HW_I2C::I2C_ONE); @@ -369,7 +364,7 @@ Screen::Screen(ScanI2C::DeviceAddress address, meshtastic_Config_DisplayConfig_O LOG_INFO("SSD1306 init success"); } #elif defined(ST7735_CS) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || defined(ST7701_CS) || defined(ST7789_CS) || \ - defined(RAK14014) || defined(HX8357_CS) || defined(ILI9488_CS) || defined(ST7796_CS) + defined(RAK14014) || defined(HX8357_CS) || defined(ILI9488_CS) || defined(ST7796_CS) || defined(HACKADAY_COMMUNICATOR) dispdev = new TFTDisplay(address.address, -1, -1, geometry, (address.port == ScanI2C::I2CPort::WIRE1) ? HW_I2C::I2C_TWO : HW_I2C::I2C_ONE); #elif defined(USE_EINK) && !defined(USE_EINK_DYNAMICDISPLAY) @@ -399,6 +394,12 @@ Screen::Screen(ScanI2C::DeviceAddress address, meshtastic_Config_DisplayConfig_O isAUTOOled = true; #endif +#if defined(USE_ST7789) + static_cast(dispdev)->setRGB(TFT_MESH); +#elif defined(USE_ST7796) + static_cast(dispdev)->setRGB(TFT_MESH); +#endif + ui = new OLEDDisplayUi(dispdev); cmdQueue.setReader(this); } @@ -435,6 +436,14 @@ void Screen::handleSetOn(bool on, FrameCallback einkScreensaver) PMU->enablePowerOutput(XPOWERS_ALDO2); #endif +#if defined(MUZI_BASE) + dispdev->init(); + dispdev->setBrightness(brightness); + dispdev->flipScreenVertically(); + dispdev->resetDisplay(); + digitalWrite(SCREEN_12V_ENABLE, HIGH); + delay(100); +#endif #if !ARCH_PORTDUINO dispdev->displayOn(); #endif @@ -443,7 +452,7 @@ void Screen::handleSetOn(bool on, FrameCallback einkScreensaver) if (uiconfig.screen_brightness == 1) digitalWrite(PIN_EINK_EN, HIGH); #elif defined(PCA_PIN_EINK_EN) - if (uiconfig.screen_brightness == 1) + if (uiconfig.screen_brightness > 0) io.digitalWrite(PCA_PIN_EINK_EN, HIGH); #endif @@ -466,6 +475,15 @@ void Screen::handleSetOn(bool on, FrameCallback einkScreensaver) pinMode(VTFT_LEDA, OUTPUT); digitalWrite(VTFT_LEDA, TFT_BACKLIGHT_ON); #endif +#endif +#ifdef USE_ST7796 + ui->init(); +#ifdef ESP_PLATFORM + analogWrite(VTFT_LEDA, BRIGHTNESS_DEFAULT); +#else + pinMode(VTFT_LEDA, OUTPUT); + digitalWrite(VTFT_LEDA, TFT_BACKLIGHT_ON); +#endif #endif enabled = true; setInterval(0); // Draw ASAP @@ -484,6 +502,10 @@ void Screen::handleSetOn(bool on, FrameCallback einkScreensaver) #endif dispdev->displayOff(); + +#ifdef SCREEN_12V_ENABLE + digitalWrite(SCREEN_12V_ENABLE, LOW); +#endif #ifdef USE_ST7789 SPI1.end(); #if defined(ARCH_ESP32) @@ -500,6 +522,21 @@ void Screen::handleSetOn(bool on, FrameCallback einkScreensaver) nrf_gpio_cfg_default(ST7789_NSS); #endif #endif +#ifdef USE_ST7796 + SPI1.end(); +#if defined(ARCH_ESP32) + pinMode(VTFT_LEDA, OUTPUT); + digitalWrite(VTFT_LEDA, LOW); + pinMode(ST7796_RESET, ANALOG); + pinMode(ST7796_RS, ANALOG); + pinMode(ST7796_NSS, ANALOG); +#else + nrf_gpio_cfg_default(VTFT_LEDA); + nrf_gpio_cfg_default(ST7796_RESET); + nrf_gpio_cfg_default(ST7796_RS); + nrf_gpio_cfg_default(ST7796_NSS); +#endif +#endif #ifdef T_WATCH_S3 PMU->disablePowerOutput(XPOWERS_ALDO2); @@ -534,7 +571,7 @@ void Screen::setup() static_cast(dispdev)->setDetected(model); #endif -#ifdef USE_SH1107_128_64 +#if defined(USE_SH1107_128_64) || defined(USE_SH1107) static_cast(dispdev)->setSubtype(7); #endif @@ -542,6 +579,13 @@ void Screen::setup() // Apply custom RGB color (e.g. Heltec T114/T190) static_cast(dispdev)->setRGB(TFT_MESH); #endif +#if defined(MUZI_BASE) + dispdev->delayPoweron = true; +#endif +#if defined(USE_ST7796) && defined(TFT_MESH) + // Custom text color, if defined in variant.h + static_cast(dispdev)->setRGB(TFT_MESH); +#endif // === Initialize display and UI system === ui->init(); @@ -601,10 +645,12 @@ void Screen::setup() #else if (!config.display.flip_screen) { #if defined(ST7701_CS) || defined(ST7735_CS) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || defined(ST7789_CS) || \ - defined(RAK14014) || defined(HX8357_CS) || defined(ILI9488_CS) || defined(ST7796_CS) + defined(RAK14014) || defined(HX8357_CS) || defined(ILI9488_CS) || defined(ST7796_CS) || defined(HACKADAY_COMMUNICATOR) static_cast(dispdev)->flipScreenVertically(); #elif defined(USE_ST7789) static_cast(dispdev)->flipScreenVertically(); +#elif defined(USE_ST7796) + static_cast(dispdev)->mirrorScreen(); #elif !defined(M5STACK_UNITC6L) dispdev->flipScreenVertically(); #endif @@ -637,7 +683,7 @@ void Screen::setup() touchScreenImpl1->init(); } } -#elif HAS_TOUCHSCREEN && !defined(USE_EINK) +#elif HAS_TOUCHSCREEN && !defined(USE_EINK) && !HAS_CST226SE touchScreenImpl1 = new TouchScreenImpl1(dispdev->getWidth(), dispdev->getHeight(), static_cast(dispdev)->getTouch); touchScreenImpl1->init(); @@ -1452,14 +1498,14 @@ int Screen::handleTextMessage(const meshtastic_MeshPacket *packet) // Incoming message devicestate.has_rx_text_message = true; // Needed to include the message frame hasUnreadMessage = true; // Enables mail icon in the header - setFrames(FOCUS_PRESERVE); // Refresh frame list without switching view + setFrames(FOCUS_PRESERVE); // Refresh frame list without switching view (no-op during text_input) // Only wake/force display if the configuration allows it if (shouldWakeOnReceivedMessage()) { setOn(true); // Wake up the screen first forceDisplay(); // Forces screen redraw } - // === Prepare banner content === + // === Prepare banner/popup content === const meshtastic_NodeInfoLite *node = nodeDB->getMeshNode(packet->from); const meshtastic_Channel channel = channels.getByIndex(packet->channel ? packet->channel : channels.getPrimaryIndex()); @@ -1483,38 +1529,84 @@ int Screen::handleTextMessage(const meshtastic_MeshPacket *packet) // Unlike generic messages, alerts (when enabled via the ext notif module) ignore any // 'mute' preferences set to any specific node or channel. - if (isAlert) { - if (longName && longName[0]) { - snprintf(banner, sizeof(banner), "Alert Received from\n%s", longName); - } else { - strcpy(banner, "Alert Received"); + // If on-screen keyboard is active, show a transient popup over keyboard instead of interrupting it + if (NotificationRenderer::current_notification_type == notificationTypeEnum::text_input) { + // Wake and force redraw so popup is visible immediately + if (shouldWakeOnReceivedMessage()) { + setOn(true); + forceDisplay(); } - screen->showSimpleBanner(banner, 3000); - } else if (!channel.settings.has_module_settings || !channel.settings.module_settings.is_muted) { - if (longName && longName[0]) { -#if defined(M5STACK_UNITC6L) - strcpy(banner, "New Message"); -#else - snprintf(banner, sizeof(banner), "New Message from\n%s", longName); -#endif + // Build popup: title = message source name, content = message text (sanitized) + // Title + char titleBuf[64] = {0}; + if (longName && longName[0]) { + // Sanitize sender name + std::string t = sanitizeString(longName); + strncpy(titleBuf, t.c_str(), sizeof(titleBuf) - 1); } else { - strcpy(banner, "New Message"); + strncpy(titleBuf, "Message", sizeof(titleBuf) - 1); } + + // Content: payload bytes may not be null-terminated, remove ASCII_BELL and sanitize + char content[256] = {0}; + { + std::string raw; + raw.reserve(packet->decoded.payload.size); + for (size_t i = 0; i < packet->decoded.payload.size; ++i) { + char c = msgRaw[i]; + if (c == ASCII_BELL) + continue; // strip bell + raw.push_back(c); + } + std::string sanitized = sanitizeString(raw); + strncpy(content, sanitized.c_str(), sizeof(content) - 1); + } + + NotificationRenderer::showKeyboardMessagePopupWithTitle(titleBuf, content, 3000); + +// Maintain existing buzzer behavior on M5 if applicable #if defined(M5STACK_UNITC6L) - screen->setOn(true); - screen->showSimpleBanner(banner, 1500); if (config.device.buzzer_mode != meshtastic_Config_DeviceConfig_BuzzerMode_DIRECT_MSG_ONLY || (isAlert && moduleConfig.external_notification.alert_bell_buzzer) || (!isBroadcast(packet->to) && isToUs(packet))) { - // Beep if not in DIRECT_MSG_ONLY mode or if in DIRECT_MSG_ONLY mode and either - // - packet contains an alert and alert bell buzzer is enabled - // - packet is a non-broadcast that is addressed to this node playLongBeep(); } -#else - screen->showSimpleBanner(banner, 3000); #endif + } else { + // No keyboard active: use regular banner flow, respecting mute settings + if (isAlert) { + if (longName && longName[0]) { + snprintf(banner, sizeof(banner), "Alert Received from\n%s", longName); + } else { + strcpy(banner, "Alert Received"); + } + screen->showSimpleBanner(banner, 3000); + } else if (!channel.settings.has_module_settings || !channel.settings.module_settings.is_muted) { + if (longName && longName[0]) { +#if defined(M5STACK_UNITC6L) + strcpy(banner, "New Message"); +#else + snprintf(banner, sizeof(banner), "New Message from\n%s", longName); +#endif + } else { + strcpy(banner, "New Message"); + } +#if defined(M5STACK_UNITC6L) + screen->setOn(true); + screen->showSimpleBanner(banner, 1500); + if (config.device.buzzer_mode != meshtastic_Config_DeviceConfig_BuzzerMode_DIRECT_MSG_ONLY || + (isAlert && moduleConfig.external_notification.alert_bell_buzzer) || + (!isBroadcast(packet->to) && isToUs(packet))) { + // Beep if not in DIRECT_MSG_ONLY mode or if in DIRECT_MSG_ONLY mode and either + // - packet contains an alert and alert bell buzzer is enabled + // - packet is a non-broadcast that is addressed to this node + playLongBeep(); + } +#else + screen->showSimpleBanner(banner, 3000); +#endif + } } } } @@ -1549,6 +1641,7 @@ int Screen::handleUIFrameEvent(const UIFrameEvent *event) int Screen::handleInputEvent(const InputEvent *event) { + LOG_INPUT("Screen Input event %u! kb %u", event->inputEvent, event->kbchar); if (!screenOn) return 0; @@ -1596,6 +1689,12 @@ int Screen::handleInputEvent(const InputEvent *event) showPrevFrame(); } else if (event->inputEvent == INPUT_BROKER_RIGHT || event->inputEvent == INPUT_BROKER_USER_PRESS) { showNextFrame(); + } else if (event->inputEvent == INPUT_BROKER_UP_LONG) { + // Long press up button for fast frame switching + showPrevFrame(); + } else if (event->inputEvent == INPUT_BROKER_DOWN_LONG) { + // Long press down button for fast frame switching + showNextFrame(); } else if (event->inputEvent == INPUT_BROKER_SELECT) { if (this->ui->getUiState()->currentFrame == framesetInfo.positions.home) { menuHandler::homeBaseMenu(); diff --git a/src/graphics/Screen.h b/src/graphics/Screen.h index 74b8d7c5d..a40579ff5 100644 --- a/src/graphics/Screen.h +++ b/src/graphics/Screen.h @@ -83,6 +83,8 @@ class Screen #include #elif defined(USE_SPISSD1306) #include +#elif defined(USE_ST7796) +#include #else // the SH1106/SSD1306 variant is auto-detected #include @@ -249,6 +251,8 @@ class Screen : public concurrency::OSThread bool isOverlayBannerShowing(); + bool isScreenOn() { return screenOn; } + // Stores the last 4 of our hardware ID, to make finding the device for pairing easier // FIXME: Needs refactoring and getMacAddr needs to be moved to a utility class char ourId[5]; diff --git a/src/graphics/ScreenFonts.h b/src/graphics/ScreenFonts.h index c497a27b2..d54fc9958 100644 --- a/src/graphics/ScreenFonts.h +++ b/src/graphics/ScreenFonts.h @@ -73,7 +73,8 @@ #endif #if (defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || defined(ST7701_CS) || defined(ST7735_CS) || \ - defined(ST7789_CS) || defined(USE_ST7789) || defined(HX8357_CS) || defined(ILI9488_CS) || defined(ST7796_CS)) && \ + defined(ST7789_CS) || defined(USE_ST7789) || defined(HX8357_CS) || defined(ILI9488_CS) || defined(ST7796_CS) || \ + defined(HACKADAY_COMMUNICATOR) || defined(USE_ST7796)) && \ !defined(DISPLAY_FORCE_SMALL_FONTS) // The screen is bigger so use bigger fonts #define FONT_SMALL FONT_MEDIUM_LOCAL // Height: 19 diff --git a/src/graphics/SharedUIDisplay.cpp b/src/graphics/SharedUIDisplay.cpp index dcaa5d69b..892285dcb 100644 --- a/src/graphics/SharedUIDisplay.cpp +++ b/src/graphics/SharedUIDisplay.cpp @@ -1,6 +1,10 @@ -#include "graphics/SharedUIDisplay.h" +#include "configuration.h" +#if HAS_SCREEN +#include "MeshService.h" #include "RTC.h" +#include "draw/NodeListRenderer.h" #include "graphics/ScreenFonts.h" +#include "graphics/SharedUIDisplay.h" #include "graphics/draw/UIRenderer.h" #include "main.h" #include "meshtastic/config.pb.h" @@ -13,6 +17,12 @@ namespace graphics void determineResolution(int16_t screenheight, int16_t screenwidth) { + +#ifdef FORCE_LOW_RES + isHighResolution = false; + return; +#endif + if (screenwidth > 128) { isHighResolution = true; } @@ -20,11 +30,6 @@ void determineResolution(int16_t screenheight, int16_t screenwidth) if (screenwidth > 128 && screenheight <= 64) { isHighResolution = false; } - - // Special case for Heltec Wireless Tracker v1.1 - if (screenwidth == 160 && screenheight == 80) { - isHighResolution = false; - } } // === Shared External State === @@ -396,6 +401,43 @@ const int *getTextPositions(OLEDDisplay *display) return textPositions; } +// ************************* +// * Common Footer Drawing * +// ************************* +void drawCommonFooter(OLEDDisplay *display, int16_t x, int16_t y) +{ + bool drawConnectionState = false; + if (service->api_state == service->STATE_BLE || service->api_state == service->STATE_WIFI || + service->api_state == service->STATE_SERIAL || service->api_state == service->STATE_PACKET || + service->api_state == service->STATE_HTTP || service->api_state == service->STATE_ETH) { + drawConnectionState = true; + } + + if (drawConnectionState) { + if (isHighResolution) { + const int scale = 2; + const int bytesPerRow = (connection_icon_width + 7) / 8; + int iconX = 0; + int iconY = SCREEN_HEIGHT - (connection_icon_height * 2); + + for (int yy = 0; yy < connection_icon_height; ++yy) { + const uint8_t *rowPtr = connection_icon + yy * bytesPerRow; + for (int xx = 0; xx < connection_icon_width; ++xx) { + const uint8_t byteVal = pgm_read_byte(rowPtr + (xx >> 3)); + const uint8_t bitMask = 1U << (xx & 7); // XBM is LSB-first + if (byteVal & bitMask) { + display->fillRect(iconX + xx * scale, iconY + yy * scale, scale, scale); + } + } + } + + } else { + display->drawXbm(0, SCREEN_HEIGHT - connection_icon_height, connection_icon_width, connection_icon_height, + connection_icon); + } + } +} + bool isAllowedPunctuation(char c) { const std::string allowed = ".,!?;:-_()[]{}'\"@#$/\\&+=%~^ "; @@ -423,3 +465,4 @@ std::string sanitizeString(const std::string &input) } } // namespace graphics +#endif \ No newline at end of file diff --git a/src/graphics/SharedUIDisplay.h b/src/graphics/SharedUIDisplay.h index e1a7c6383..b51dfea36 100644 --- a/src/graphics/SharedUIDisplay.h +++ b/src/graphics/SharedUIDisplay.h @@ -52,6 +52,9 @@ void drawRoundedHighlight(OLEDDisplay *display, int16_t x, int16_t y, int16_t w, void drawCommonHeader(OLEDDisplay *display, int16_t x, int16_t y, const char *titleStr = "", bool force_no_invert = false, bool show_date = false); +// Shared battery/time/mail header +void drawCommonFooter(OLEDDisplay *display, int16_t x, int16_t y); + const int *getTextPositions(OLEDDisplay *display); bool isAllowedPunctuation(char c); diff --git a/src/graphics/TFTDisplay.cpp b/src/graphics/TFTDisplay.cpp index 0663602d9..12fac4f34 100644 --- a/src/graphics/TFTDisplay.cpp +++ b/src/graphics/TFTDisplay.cpp @@ -1,5 +1,6 @@ #include "configuration.h" #include "main.h" +#if USE_TFTDISPLAY #if ARCH_PORTDUINO #include "platform/portduino/PortduinoGlue.h" @@ -123,6 +124,11 @@ static void rak14014_tpIntHandle(void) _rak14014_touch_int = true; } +#elif defined(HACKADAY_COMMUNICATOR) +#include +Arduino_DataBus *bus = nullptr; +Arduino_GFX *tft = nullptr; + #elif defined(ST72xx_DE) #include #include @@ -422,7 +428,57 @@ static LGFX *tft = nullptr; #elif defined(ST7789_CS) #include // Graphics and font library for ST7735 driver chip +#ifdef HELTEC_V4_TFT +#include "chsc6x.h" +#include "lgfx/v1/Touch.hpp" +namespace lgfx +{ +inline namespace v1 +{ +class TOUCH_CHSC6X : public ITouch +{ + public: + TOUCH_CHSC6X(void) + { + _cfg.i2c_addr = TOUCH_SLAVE_ADDRESS; + _cfg.x_min = 0; + _cfg.x_max = 240; + _cfg.y_min = 0; + _cfg.y_max = 320; + }; + bool init(void) override + { + if (chsc6xTouch == nullptr) { + chsc6xTouch = new chsc6x(&Wire1, TOUCH_SDA_PIN, TOUCH_SCL_PIN, TOUCH_INT_PIN, TOUCH_RST_PIN); + } + chsc6xTouch->chsc6x_init(); + return true; + }; + + uint_fast8_t getTouchRaw(touch_point_t *tp, uint_fast8_t count) override + { + uint16_t raw_x, raw_y; + if (chsc6xTouch->chsc6x_read_touch_info(&raw_x, &raw_y) == 0) { + tp[0].x = 320 - 1 - raw_y; + tp[0].y = 240 - 1 - raw_x; + tp[0].size = 1; + tp[0].id = 1; + return 1; + } + tp[0].size = 0; + return 0; + }; + + void wakeup(void) override{}; + void sleep(void) override{}; + + private: + chsc6x *chsc6xTouch = nullptr; +}; +} // namespace v1 +} // namespace lgfx +#endif class LGFX : public lgfx::LGFX_Device { lgfx::Panel_ST7789 _panel_instance; @@ -431,6 +487,8 @@ class LGFX : public lgfx::LGFX_Device #if HAS_TOUCHSCREEN #if defined(T_WATCH_S3) || defined(ELECROW) lgfx::Touch_FT5x06 _touch_instance; +#elif defined(HELTEC_V4_TFT) + lgfx::TOUCH_CHSC6X _touch_instance; #else lgfx::Touch_GT911 _touch_instance; #endif @@ -464,9 +522,9 @@ class LGFX : public lgfx::LGFX_Device { // Set the display panel control. auto cfg = _panel_instance.config(); // Gets a structure for display panel settings. - cfg.pin_cs = ST7789_CS; // Pin number where CS is connected (-1 = disable) - cfg.pin_rst = -1; // Pin number where RST is connected (-1 = disable) - cfg.pin_busy = -1; // Pin number where BUSY is connected (-1 = disable) + cfg.pin_cs = ST7789_CS; // Pin number where CS is connected (-1 = disable) + cfg.pin_rst = ST7789_RESET; // Pin number where RST is connected (-1 = disable) + cfg.pin_busy = ST7789_BUSY; // Pin number where BUSY is connected (-1 = disable) // The following setting values ​​are general initial values ​​for each panel, so please comment out any // unknown items and try them. @@ -1081,9 +1139,6 @@ static LGFX *tft = nullptr; #endif -#if defined(ST7701_CS) || defined(ST7735_CS) || defined(ST7789_CS) || defined(ST7796_CS) || defined(ILI9341_DRIVER) || \ - defined(ILI9342_DRIVER) || defined(RAK14014) || defined(HX8357_CS) || defined(ILI9488_CS) || defined(ST72xx_DE) || \ - (ARCH_PORTDUINO && HAS_SCREEN != 0) #include "SPILock.h" #include "TFTDisplay.h" #include @@ -1219,12 +1274,15 @@ void TFTDisplay::display(bool fromBlank) x_LastPixelUpdate = x; } } - +#if defined(HACKADAY_COMMUNICATOR) + tft->draw16bitBeRGBBitmap(x_FirstPixelUpdate, y, &linePixelBuffer[x_FirstPixelUpdate], + (x_LastPixelUpdate - x_FirstPixelUpdate + 1), 1); +#else // Step 4: Send the changed pixels on this line to the screen as a single block transfer. // This function accepts pixel data MSB first so it can dump the memory straight out the SPI port. tft->pushRect(x_FirstPixelUpdate, y, (x_LastPixelUpdate - x_FirstPixelUpdate + 1), 1, &linePixelBuffer[x_FirstPixelUpdate]); - +#endif somethingChanged = true; } y++; @@ -1288,6 +1346,8 @@ void TFTDisplay::sendCommand(uint8_t com) display(true); if (portduino_config.displayBacklight.pin > 0) digitalWrite(portduino_config.displayBacklight.pin, TFT_BACKLIGHT_ON); +#elif defined(HACKADAY_COMMUNICATOR) + tft->displayOn(); #elif !defined(RAK14014) && !defined(M5STACK) && !defined(UNPHONE) tft->wakeup(); tft->powerSaveOff(); @@ -1300,7 +1360,8 @@ void TFTDisplay::sendCommand(uint8_t com) unphone.backlight(true); // using unPhone library #endif #ifdef RAK14014 -#elif !defined(M5STACK) && !defined(ST7789_CS) // T-Deck gets brightness set in Screen.cpp in the handleSetOn function +#elif !defined(M5STACK) && !defined(ST7789_CS) && \ + !defined(HACKADAY_COMMUNICATOR) // T-Deck gets brightness set in Screen.cpp in the handleSetOn function tft->setBrightness(172); #endif break; @@ -1312,6 +1373,8 @@ void TFTDisplay::sendCommand(uint8_t com) tft->clear(); if (portduino_config.displayBacklight.pin > 0) digitalWrite(portduino_config.displayBacklight.pin, !TFT_BACKLIGHT_ON); +#elif defined(HACKADAY_COMMUNICATOR) + tft->displayOff(); #elif !defined(RAK14014) && !defined(M5STACK) && !defined(UNPHONE) tft->sleep(); tft->powerSaveOn(); @@ -1324,7 +1387,7 @@ void TFTDisplay::sendCommand(uint8_t com) unphone.backlight(false); // using unPhone library #endif #ifdef RAK14014 -#elif !defined(M5STACK) +#elif !defined(M5STACK) && !defined(HACKADAY_COMMUNICATOR) tft->setBrightness(0); #endif break; @@ -1340,7 +1403,7 @@ void TFTDisplay::setDisplayBrightness(uint8_t _brightness) { #ifdef RAK14014 // todo -#else +#elif !defined(HACKADAY_COMMUNICATOR) tft->setBrightness(_brightness); LOG_DEBUG("Brightness is set to value: %i ", _brightness); #endif @@ -1358,7 +1421,7 @@ bool TFTDisplay::hasTouch(void) { #ifdef RAK14014 return true; -#elif !defined(M5STACK) +#elif !defined(M5STACK) && !defined(HACKADAY_COMMUNICATOR) return tft->touch() != nullptr; #else return false; @@ -1377,7 +1440,7 @@ bool TFTDisplay::getTouch(int16_t *x, int16_t *y) } else { return false; } -#elif !defined(M5STACK) +#elif !defined(M5STACK) && !defined(HACKADAY_COMMUNICATOR) return tft->getTouch(x, y); #else return false; @@ -1396,6 +1459,12 @@ bool TFTDisplay::connect() LOG_INFO("Do TFT init"); #ifdef RAK14014 tft = new TFT_eSPI; +#elif defined(HACKADAY_COMMUNICATOR) + bus = new Arduino_ESP32SPI(TFT_DC, TFT_CS, 38 /* SCK */, 21 /* MOSI */, GFX_NOT_DEFINED /* MISO */, HSPI /* spi_num */); + tft = new Arduino_NV3007(bus, 40, 0 /* rotation */, false /* IPS */, 142 /* width */, 428 /* height */, 12 /* col offset 1 */, + 0 /* row offset 1 */, 14 /* col offset 2 */, 0 /* row offset 2 */, nv3007_279_init_operations, + sizeof(nv3007_279_init_operations)); + #else tft = new LGFX; #endif @@ -1406,8 +1475,15 @@ bool TFTDisplay::connect() #ifdef UNPHONE unphone.backlight(true); // using unPhone library #endif - +#ifdef HACKADAY_COMMUNICATOR + bool beginStatus = tft->begin(); + if (beginStatus) + LOG_DEBUG("TFT Success!"); + else + LOG_ERROR("TFT Fail!"); +#else tft->init(); +#endif #if defined(M5STACK) tft->setRotation(0); @@ -1440,4 +1516,4 @@ bool TFTDisplay::connect() return true; } -#endif +#endif // USE_TFTDISPLAY diff --git a/src/graphics/TimeFormatters.cpp b/src/graphics/TimeFormatters.cpp index 47036078b..0a1c23341 100644 --- a/src/graphics/TimeFormatters.cpp +++ b/src/graphics/TimeFormatters.cpp @@ -101,3 +101,23 @@ void getTimeAgoStr(uint32_t agoSecs, char *timeStr, uint8_t maxLength) else snprintf(timeStr, maxLength, "unknown age"); } + +void getUptimeStr(uint32_t uptimeMillis, const char *prefix, char *uptimeStr, uint8_t maxLength, bool includeSecs) +{ + uint32_t days = uptimeMillis / 86400000; + uint32_t hours = (uptimeMillis % 86400000) / 3600000; + uint32_t mins = (uptimeMillis % 3600000) / 60000; + uint32_t secs = (uptimeMillis % 60000) / 1000; + + if (days) { + snprintf(uptimeStr, maxLength, "%s: %ud %uh", prefix, days, hours); + } else if (hours) { + snprintf(uptimeStr, maxLength, "%s: %uh %um", prefix, hours, mins); + } else if (!includeSecs) { + snprintf(uptimeStr, maxLength, "%s: %um", prefix, mins); + } else if (mins) { + snprintf(uptimeStr, maxLength, "%s: %um %us", prefix, mins, secs); + } else { + snprintf(uptimeStr, maxLength, "%s: %us", prefix, secs); + } +} diff --git a/src/graphics/TimeFormatters.h b/src/graphics/TimeFormatters.h index b3d8413a2..f86c6725c 100644 --- a/src/graphics/TimeFormatters.h +++ b/src/graphics/TimeFormatters.h @@ -24,3 +24,10 @@ bool deltaToTimestamp(uint32_t secondsAgo, uint8_t *hours, uint8_t *minutes, int * @param maxLength Maximum length of the resulting string buffer */ void getTimeAgoStr(uint32_t agoSecs, char *timeStr, uint8_t maxLength); + +/** + * Get a compact human-readable string that only shows the largest non-zero time components. + * For example, 0 days 1 hour 2 minutes will display as "1h 2m" but 1 day 2 hours 3 minutes + * will display as "1d 2h". + */ +void getUptimeStr(uint32_t uptimeMillis, const char *prefix, char *uptimeStr, uint8_t maxLength, bool includeSecs = false); diff --git a/src/graphics/VirtualKeyboard.cpp b/src/graphics/VirtualKeyboard.cpp index 84d5551cb..a332aad9a 100644 --- a/src/graphics/VirtualKeyboard.cpp +++ b/src/graphics/VirtualKeyboard.cpp @@ -1,5 +1,6 @@ -#include "VirtualKeyboard.h" #include "configuration.h" +#if HAS_SCREEN +#include "VirtualKeyboard.h" #include "graphics/Screen.h" #include "graphics/ScreenFonts.h" #include "graphics/SharedUIDisplay.h" @@ -505,6 +506,9 @@ void VirtualKeyboard::drawKey(OLEDDisplay *display, const VirtualKey &key, bool centeredTextY -= 1; } } +#ifdef MUZI_BASE // Correct issue with character vertical position on MUZI_BASE + centeredTextY -= 2; +#endif display->drawString(textX, centeredTextY, keyText.c_str()); } @@ -736,3 +740,4 @@ bool VirtualKeyboard::isTimedOut() const } } // namespace graphics +#endif \ No newline at end of file diff --git a/src/graphics/draw/ClockRenderer.cpp b/src/graphics/draw/ClockRenderer.cpp index 751db8d88..cc6a70957 100644 --- a/src/graphics/draw/ClockRenderer.cpp +++ b/src/graphics/draw/ClockRenderer.cpp @@ -194,17 +194,12 @@ void drawDigitalClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int1 graphics::drawCommonHeader(display, x, y, titleStr, true, true); int line = 0; -#ifdef T_WATCH_S3 - if (nimbleBluetooth && nimbleBluetooth->isConnected()) { - graphics::ClockRenderer::drawBluetoothConnectedIcon(display, display->getWidth() - 18, display->getHeight() - 14); - } -#endif - uint32_t rtc_sec = getValidTime(RTCQuality::RTCQualityDevice, true); // Display local timezone char timeString[16]; int hour = 0; int minute = 0; int second = 0; + if (rtc_sec > 0) { long hms = rtc_sec % SEC_PER_DAY; hms = (hms + SEC_PER_DAY) % SEC_PER_DAY; @@ -215,11 +210,11 @@ void drawDigitalClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int1 } bool isPM = hour >= 12; - // hour = hour > 12 ? hour - 12 : hour; if (config.display.use_12h_clock) { hour %= 12; - if (hour == 0) + if (hour == 0) { hour = 12; + } snprintf(timeString, sizeof(timeString), "%d:%02d", hour, minute); } else { snprintf(timeString, sizeof(timeString), "%02d:%02d", hour, minute); @@ -229,24 +224,56 @@ void drawDigitalClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int1 char secondString[8]; snprintf(secondString, sizeof(secondString), "%02d", second); -#ifdef T_WATCH_S3 - float scale = 1.5; -#elif defined(CHATTER_2) - float scale = 1.1; -#else - float scale = 0.75; - if (isHighResolution) { - scale = 1.5; - } -#endif + static bool scaleInitialized = false; + static float scale = 0.75f; + static float segmentWidth = SEGMENT_WIDTH * 0.75f; + static float segmentHeight = SEGMENT_HEIGHT * 0.75f; - uint16_t segmentWidth = SEGMENT_WIDTH * scale; - uint16_t segmentHeight = SEGMENT_HEIGHT * scale; + if (!scaleInitialized) { + float screenwidth_target_ratio = 0.80f; // Target 80% of display width (adjustable) + float max_scale = 3.5f; // Safety limit to avoid runaway scaling + float step = 0.05f; // Step increment per iteration + + float target_width = display->getWidth() * screenwidth_target_ratio; + float target_height = + display->getHeight() - + (isHighResolution + ? 46 + : 33); // Be careful adjusting this number, we have to account for header and the text under the time + + float calculated_width_size = 0.0f; + float calculated_height_size = 0.0f; + + while (true) { + segmentWidth = SEGMENT_WIDTH * scale; + segmentHeight = SEGMENT_HEIGHT * scale; + + calculated_width_size = segmentHeight + ((segmentWidth + (segmentHeight * 2) + 4) * 4); + calculated_height_size = segmentHeight + ((segmentHeight + (segmentHeight * 2) + 4) * 2); + + if (calculated_width_size >= target_width || calculated_height_size >= target_height || scale >= max_scale) { + break; + } + + scale += step; + } + + // If we overshot width, back off one step and recompute segment sizes + if (calculated_width_size > target_width || calculated_height_size > target_height) { + scale -= step; + segmentWidth = SEGMENT_WIDTH * scale; + segmentHeight = SEGMENT_HEIGHT * scale; + } + + scaleInitialized = true; + } + + size_t len = strlen(timeString); // calculate hours:minutes string width - uint16_t timeStringWidth = strlen(timeString) * 5; + uint16_t timeStringWidth = len * 5; // base spacing between characters - for (uint8_t i = 0; i < strlen(timeString); i++) { + for (size_t i = 0; i < len; i++) { char character = timeString[i]; if (character == ':') { @@ -257,19 +284,21 @@ void drawDigitalClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int1 } uint16_t hourMinuteTextX = (display->getWidth() / 2) - (timeStringWidth / 2); - uint16_t startingHourMinuteTextX = hourMinuteTextX; - uint16_t hourMinuteTextY = (display->getHeight() / 2) - (((segmentWidth * 2) + (segmentHeight * 3) + 8) / 2); + uint16_t hourMinuteTextY = (display->getHeight() / 2) - (((segmentWidth * 2) + (segmentHeight * 3) + 8) / 2) + 2; // iterate over characters in hours:minutes string and draw segmented characters - for (uint8_t i = 0; i < strlen(timeString); i++) { + for (size_t i = 0; i < len; i++) { char character = timeString[i]; if (character == ':') { drawSegmentedDisplayColon(display, hourMinuteTextX, hourMinuteTextY, scale); hourMinuteTextX += segmentHeight + 6; + if (scale >= 2.0f) { + hourMinuteTextX += (uint16_t)(4.5f * scale); + } } else { drawSegmentedDisplayCharacter(display, hourMinuteTextX, hourMinuteTextY, character - '0', scale); @@ -279,34 +308,27 @@ void drawDigitalClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int1 hourMinuteTextX += 5; } - // draw seconds string + // draw seconds string + AM/PM display->setFont(FONT_SMALL); int xOffset = (isHighResolution) ? 0 : -1; if (hour >= 10) { xOffset += (isHighResolution) ? 32 : 18; } - int yOffset = (isHighResolution) ? 3 : 1; -#ifdef SENSECAP_INDICATOR - yOffset -= 3; -#endif -#ifdef T_DECK - yOffset -= 5; -#endif + if (config.display.use_12h_clock) { - display->drawString(startingHourMinuteTextX + xOffset, (display->getHeight() - hourMinuteTextY) - yOffset - 2, - isPM ? "pm" : "am"); + display->drawString(startingHourMinuteTextX + xOffset, (display->getHeight() - hourMinuteTextY) - 1, isPM ? "pm" : "am"); } #ifndef USE_EINK xOffset = (isHighResolution) ? 18 : 10; - display->drawString(startingHourMinuteTextX + timeStringWidth - xOffset, (display->getHeight() - hourMinuteTextY) - yOffset, + if (scale >= 2.0f) { + xOffset -= (int)(4.5f * scale); + } + display->drawString(startingHourMinuteTextX + timeStringWidth - xOffset, (display->getHeight() - hourMinuteTextY) - 1, secondString); #endif -} -void drawBluetoothConnectedIcon(OLEDDisplay *display, int16_t x, int16_t y) -{ - display->drawFastImage(x, y, 18, 14, bluetoothConnectedIcon); + graphics::drawCommonFooter(display, x, y); } // Draw an analog clock @@ -319,11 +341,6 @@ void drawAnalogClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16 graphics::drawCommonHeader(display, x, y, titleStr, true, true); int line = 0; -#ifdef T_WATCH_S3 - if (nimbleBluetooth && nimbleBluetooth->isConnected()) { - drawBluetoothConnectedIcon(display, display->getWidth() - 18, display->getHeight() - 14); - } -#endif // clock face center coordinates int16_t centerX = display->getWidth() / 2; int16_t centerY = display->getHeight() / 2; @@ -516,6 +533,7 @@ void drawAnalogClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16 display->drawLine(centerX, centerY, secondX, secondY); #endif } + graphics::drawCommonFooter(display, x, y); } } // namespace ClockRenderer diff --git a/src/graphics/draw/ClockRenderer.h b/src/graphics/draw/ClockRenderer.h index c8ba62868..eace26cf5 100644 --- a/src/graphics/draw/ClockRenderer.h +++ b/src/graphics/draw/ClockRenderer.h @@ -24,7 +24,6 @@ void drawVerticalSegment(OLEDDisplay *display, int x, int y, int width, int heig // UI elements for clock displays // void drawWatchFaceToggleButton(OLEDDisplay *display, int16_t x, int16_t y, bool digitalMode = true, float scale = 1); -void drawBluetoothConnectedIcon(OLEDDisplay *display, int16_t x, int16_t y); } // namespace ClockRenderer diff --git a/src/graphics/draw/CompassRenderer.cpp b/src/graphics/draw/CompassRenderer.cpp index 0e5a1d727..629949ffd 100644 --- a/src/graphics/draw/CompassRenderer.cpp +++ b/src/graphics/draw/CompassRenderer.cpp @@ -1,3 +1,5 @@ +#include "configuration.h" +#if HAS_SCREEN #include "CompassRenderer.h" #include "NodeDB.h" #include "UIRenderer.h" @@ -135,3 +137,4 @@ uint16_t getCompassDiam(uint32_t displayWidth, uint32_t displayHeight) } // namespace CompassRenderer } // namespace graphics +#endif \ No newline at end of file diff --git a/src/graphics/draw/DebugRenderer.cpp b/src/graphics/draw/DebugRenderer.cpp index 60abd661e..ceb3b83f5 100644 --- a/src/graphics/draw/DebugRenderer.cpp +++ b/src/graphics/draw/DebugRenderer.cpp @@ -3,6 +3,7 @@ #include "../Screen.h" #include "DebugRenderer.h" #include "FSCommon.h" +#include "MeshService.h" #include "NodeDB.h" #include "Throttle.h" #include "UIRenderer.h" @@ -10,6 +11,7 @@ #include "gps/RTC.h" #include "graphics/ScreenFonts.h" #include "graphics/SharedUIDisplay.h" +#include "graphics/TimeFormatters.h" #include "graphics/images.h" #include "main.h" #include "mesh/Channels.h" @@ -95,7 +97,7 @@ void drawFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16 (storeForwardModule->heartbeatInterval * 1200))) { // no heartbeat, overlap a bit #if (defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || defined(ST7701_CS) || defined(ST7735_CS) || \ defined(ST7789_CS) || defined(USE_ST7789) || defined(ILI9488_CS) || defined(HX8357_CS) || defined(ST7796_CS) || \ - ARCH_PORTDUINO) && \ + defined(HACKADAY_COMMUNICATOR) || defined(USE_ST7796) || ARCH_PORTDUINO) && \ !defined(DISPLAY_FORCE_SMALL_FONTS) display->drawFastImage(x + SCREEN_WIDTH - 14 - display->getStringWidth(screen->ourId), y + 3 + FONT_HEIGHT_SMALL, 12, 8, imgQuestionL1); @@ -107,7 +109,8 @@ void drawFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16 #endif } else { #if (defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || defined(ST7701_CS) || defined(ST7735_CS) || \ - defined(ST7789_CS) || defined(USE_ST7789) || defined(ILI9488_CS) || defined(HX8357_CS) || defined(ST7796_CS)) && \ + defined(ST7789_CS) || defined(USE_ST7789) || defined(ILI9488_CS) || defined(HX8357_CS) || defined(ST7796_CS) || \ + defined(HACKADAY_COMMUNICATOR) || defined(USE_ST7796)) && \ !defined(DISPLAY_FORCE_SMALL_FONTS) display->drawFastImage(x + SCREEN_WIDTH - 18 - display->getStringWidth(screen->ourId), y + 3 + FONT_HEIGHT_SMALL, 16, 8, imgSFL1); @@ -123,7 +126,7 @@ void drawFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16 // TODO: Raspberry Pi supports more than just the one screen size #if (defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || defined(ST7701_CS) || defined(ST7735_CS) || \ defined(ST7789_CS) || defined(USE_ST7789) || defined(ILI9488_CS) || defined(HX8357_CS) || defined(ST7796_CS) || \ - ARCH_PORTDUINO) && \ + defined(HACKADAY_COMMUNICATOR) || defined(USE_ST7796) || ARCH_PORTDUINO) && \ !defined(DISPLAY_FORCE_SMALL_FONTS) display->drawFastImage(x + SCREEN_WIDTH - 14 - display->getStringWidth(screen->ourId), y + 3 + FONT_HEIGHT_SMALL, 12, 8, imgInfoL1); @@ -223,6 +226,8 @@ void drawFrameWiFi(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, i display->drawString(x, getTextPositions(display)[line++], "URL: http://meshtastic.local"); + graphics::drawCommonFooter(display, x, y); + /* Display a heartbeat pixel that blinks every time the frame is redrawn */ #ifdef SHOW_REDRAWS if (heartbeat) @@ -503,6 +508,7 @@ void drawLoRaFocused(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, display->drawString(starting_position + chUtil_x + chutil_bar_width + extraoffset, getTextPositions(display)[line++], chUtilPercentage); #endif + graphics::drawCommonFooter(display, x, y); } // **************************** @@ -526,8 +532,10 @@ void drawSystemScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x const int labelX = x; int barsOffset = (isHighResolution) ? 24 : 0; #ifdef USE_EINK +#ifndef T_DECK_PRO barsOffset -= 12; #endif +#endif #if defined(M5STACK_UNITC6L) const int barX = x + 45 + barsOffset; #else @@ -568,7 +576,7 @@ void drawSystemScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x #endif // Value string display->setTextAlignment(TEXT_ALIGN_RIGHT); - display->drawString(SCREEN_WIDTH - 2, getTextPositions(display)[line], combinedStr); + display->drawString(SCREEN_WIDTH, getTextPositions(display)[line], combinedStr); }; // === Memory values === @@ -642,27 +650,48 @@ void drawSystemScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x int textWidth = display->getStringWidth(appversionstr); int nameX = (SCREEN_WIDTH - textWidth) / 2; - display->drawString(nameX, getTextPositions(display)[line], appversionstr); -#if !defined(M5STACK_UNITC6L) - if (SCREEN_HEIGHT > 64 || (SCREEN_HEIGHT <= 64 && line < 4)) { // Only show uptime if the screen can show it - line += 1; + display->drawString(nameX, getTextPositions(display)[line++], appversionstr); + + if (SCREEN_HEIGHT > 64 || (SCREEN_HEIGHT <= 64 && line <= 5)) { // Only show uptime if the screen can show it char uptimeStr[32] = ""; - uint32_t uptime = millis() / 1000; - uint32_t days = uptime / 86400; - uint32_t hours = (uptime % 86400) / 3600; - uint32_t mins = (uptime % 3600) / 60; - // Show as "Up: 2d 3h", "Up: 5h 14m", or "Up: 37m" - if (days) - snprintf(uptimeStr, sizeof(uptimeStr), " Up: %ud %uh", days, hours); - else if (hours) - snprintf(uptimeStr, sizeof(uptimeStr), " Up: %uh %um", hours, mins); - else - snprintf(uptimeStr, sizeof(uptimeStr), " Uptime: %um", mins); + getUptimeStr(millis(), "Up", uptimeStr, sizeof(uptimeStr)); textWidth = display->getStringWidth(uptimeStr); nameX = (SCREEN_WIDTH - textWidth) / 2; - display->drawString(nameX, getTextPositions(display)[line], uptimeStr); + display->drawString(nameX, getTextPositions(display)[line++], uptimeStr); } -#endif + + if (SCREEN_HEIGHT > 64 || (SCREEN_HEIGHT <= 64 && line <= 5)) { // Only show API state if the screen can show it + char api_state[32] = ""; + const char *clientWord = nullptr; + + // Determine if narrow or wide screen + if (isHighResolution) { + clientWord = "Client"; + } else { + clientWord = "App"; + } + snprintf(api_state, sizeof(api_state), "No %ss Connected", clientWord); + + if (service->api_state == service->STATE_BLE) { + snprintf(api_state, sizeof(api_state), "%s Connected (BLE)", clientWord); + } else if (service->api_state == service->STATE_WIFI) { + snprintf(api_state, sizeof(api_state), "%s Connected (WiFi)", clientWord); + } else if (service->api_state == service->STATE_SERIAL) { + snprintf(api_state, sizeof(api_state), "%s Connected (Serial)", clientWord); + } else if (service->api_state == service->STATE_PACKET) { + snprintf(api_state, sizeof(api_state), "%s Connected (Internal)", clientWord); + } else if (service->api_state == service->STATE_HTTP) { + snprintf(api_state, sizeof(api_state), "%s Connected (HTTP)", clientWord); + } else if (service->api_state == service->STATE_ETH) { + snprintf(api_state, sizeof(api_state), "%s Connected (Ethernet)", clientWord); + } + if (api_state[0] != '\0') { + display->drawString((SCREEN_WIDTH - display->getStringWidth(api_state)) / 2, getTextPositions(display)[line++], + api_state); + } + } + + graphics::drawCommonFooter(display, x, y); } // **************************** @@ -694,4 +723,4 @@ void drawChirpy(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int1 } // namespace DebugRenderer } // namespace graphics -#endif \ No newline at end of file +#endif diff --git a/src/graphics/draw/MenuHandler.cpp b/src/graphics/draw/MenuHandler.cpp index 701062e08..586bdd4a6 100644 --- a/src/graphics/draw/MenuHandler.cpp +++ b/src/graphics/draw/MenuHandler.cpp @@ -13,18 +13,48 @@ #include "input/RotaryEncoderInterruptImpl1.h" #include "input/UpDownInterruptImpl1.h" #include "main.h" +#include "mesh/Default.h" #include "mesh/MeshTypes.h" #include "modules/AdminModule.h" #include "modules/CannedMessageModule.h" #include "modules/KeyVerificationModule.h" #include "modules/TraceRouteModule.h" +#include +#include #include +#include extern uint16_t TFT_MESH; namespace graphics { + +namespace +{ + +// Caller must ensure the provided options array outlives the banner callback. +template +BannerOverlayOptions createStaticBannerOptions(const char *message, const MenuOption (&options)[N], + std::array &labels, Callback &&onSelection) +{ + for (size_t i = 0; i < N; ++i) { + labels[i] = options[i].label; + } + + const MenuOption *optionsPtr = options; + auto callback = std::function &, int)>(std::forward(onSelection)); + + BannerOverlayOptions bannerOptions; + bannerOptions.message = message; + bannerOptions.optionsArrayPtr = labels.data(); + bannerOptions.optionsCount = static_cast(N); + bannerOptions.bannerCallback = [optionsPtr, callback](int selected) -> void { callback(optionsPtr[selected], selected); }; + return bannerOptions; +} + +} // namespace + menuHandler::screenMenus menuHandler::menuQueue = menu_none; bool test_enabled = false; uint8_t test_count = 0; @@ -119,6 +149,7 @@ void menuHandler::LoraRegionPicker(uint32_t duration) auto changes = SEGMENT_CONFIG; // This is needed as we wait til picking the LoRa region to generate keys for the first time. +#if !(MESHTASTIC_EXCLUDE_PKI_KEYGEN || MESHTASTIC_EXCLUDE_PKI) if (!owner.is_licensed) { bool keygenSuccess = false; if (config.security.private_key.size == 32) { @@ -139,6 +170,7 @@ void menuHandler::LoraRegionPicker(uint32_t duration) memcpy(owner.public_key.bytes, config.security.public_key.bytes, 32); } } +#endif config.lora.tx_enabled = true; initRegion(); if (myRegion->dutyCycle < 100) { @@ -194,48 +226,38 @@ void menuHandler::DeviceRolePicker() void menuHandler::RadioPresetPicker() { - static const char *optionsArray[] = {"Back", "LongSlow", "LongModerate", "LongFast", "MediumSlow", - "MediumFast", "ShortSlow", "ShortFast", "ShortTurbo"}; - enum optionsNumbers { - Back = 0, - radiopreset_LongSlow = 1, - radiopreset_LongModerate = 2, - radiopreset_LongFast = 3, - radiopreset_MediumSlow = 4, - radiopreset_MediumFast = 5, - radiopreset_ShortSlow = 6, - radiopreset_ShortFast = 7, - radiopreset_ShortTurbo = 8 - }; - BannerOverlayOptions bannerOptions; - bannerOptions.message = "Radio Preset"; - bannerOptions.optionsArrayPtr = optionsArray; - bannerOptions.optionsCount = 9; - bannerOptions.bannerCallback = [](int selected) -> void { - if (selected == Back) { - menuHandler::menuQueue = menuHandler::lora_Menu; - screen->runNow(); - return; - } else if (selected == radiopreset_LongSlow) { - config.lora.modem_preset = meshtastic_Config_LoRaConfig_ModemPreset_LONG_SLOW; - } else if (selected == radiopreset_LongModerate) { - config.lora.modem_preset = meshtastic_Config_LoRaConfig_ModemPreset_LONG_MODERATE; - } else if (selected == radiopreset_LongFast) { - config.lora.modem_preset = meshtastic_Config_LoRaConfig_ModemPreset_LONG_FAST; - } else if (selected == radiopreset_MediumSlow) { - config.lora.modem_preset = meshtastic_Config_LoRaConfig_ModemPreset_MEDIUM_SLOW; - } else if (selected == radiopreset_MediumFast) { - config.lora.modem_preset = meshtastic_Config_LoRaConfig_ModemPreset_MEDIUM_FAST; - } else if (selected == radiopreset_ShortSlow) { - config.lora.modem_preset = meshtastic_Config_LoRaConfig_ModemPreset_SHORT_SLOW; - } else if (selected == radiopreset_ShortFast) { - config.lora.modem_preset = meshtastic_Config_LoRaConfig_ModemPreset_SHORT_FAST; - } else if (selected == radiopreset_ShortTurbo) { - config.lora.modem_preset = meshtastic_Config_LoRaConfig_ModemPreset_SHORT_TURBO; - } - service->reloadConfig(SEGMENT_CONFIG); - rebootAtMsec = (millis() + DEFAULT_REBOOT_SECONDS * 1000); + static const RadioPresetOption presetOptions[] = { + {"Back", OptionsAction::Back}, + {"LongTurbo", OptionsAction::Select, meshtastic_Config_LoRaConfig_ModemPreset_LONG_TURBO}, + {"LongModerate", OptionsAction::Select, meshtastic_Config_LoRaConfig_ModemPreset_LONG_MODERATE}, + {"LongFast", OptionsAction::Select, meshtastic_Config_LoRaConfig_ModemPreset_LONG_FAST}, + {"MediumSlow", OptionsAction::Select, meshtastic_Config_LoRaConfig_ModemPreset_MEDIUM_SLOW}, + {"MediumFast", OptionsAction::Select, meshtastic_Config_LoRaConfig_ModemPreset_MEDIUM_FAST}, + {"ShortSlow", OptionsAction::Select, meshtastic_Config_LoRaConfig_ModemPreset_SHORT_SLOW}, + {"ShortFast", OptionsAction::Select, meshtastic_Config_LoRaConfig_ModemPreset_SHORT_FAST}, + {"ShortTurbo", OptionsAction::Select, meshtastic_Config_LoRaConfig_ModemPreset_SHORT_TURBO}, }; + + constexpr size_t presetCount = sizeof(presetOptions) / sizeof(presetOptions[0]); + static std::array presetLabels{}; + + auto bannerOptions = + createStaticBannerOptions("Radio Preset", presetOptions, presetLabels, [](const RadioPresetOption &option, int) -> void { + if (option.action == OptionsAction::Back) { + menuHandler::menuQueue = menuHandler::lora_Menu; + screen->runNow(); + return; + } + + if (!option.hasValue) { + return; + } + + config.lora.modem_preset = option.value; + service->reloadConfig(SEGMENT_CONFIG); + rebootAtMsec = (millis() + DEFAULT_REBOOT_SECONDS * 1000); + }); + screen->showOverlayBanner(bannerOptions); } @@ -515,7 +537,7 @@ void menuHandler::homeBaseMenu() } saveUIConfig(); #elif defined(PCA_PIN_EINK_EN) - if (uiconfig.screen_brightness == 1) { + if (uiconfig.screen_brightness > 0) { uiconfig.screen_brightness = 0; io.digitalWrite(PCA_PIN_EINK_EN, LOW); } else { @@ -574,27 +596,26 @@ void menuHandler::textMessageBaseMenu() void menuHandler::systemBaseMenu() { - enum optionsNumbers { Back, Notifications, ScreenOptions, Bluetooth, PowerMenu, FrameToggles, Test, enumEnd }; + enum optionsNumbers { Back, Notifications, ScreenOptions, Bluetooth, WiFiToggle, PowerMenu, Test, enumEnd }; static const char *optionsArray[enumEnd] = {"Back"}; static int optionsEnumArray[enumEnd] = {Back}; int options = 1; optionsArray[options] = "Notifications"; optionsEnumArray[options++] = Notifications; -#if defined(ST7789_CS) || defined(ST7796_CS) || defined(USE_OLED) || defined(USE_SSD1306) || defined(USE_SH1106) || \ - defined(USE_SH1107) || defined(HELTEC_MESH_NODE_T114) || defined(HELTEC_VISION_MASTER_T190) || HAS_TFT - optionsArray[options] = "Screen Options"; + optionsArray[options] = "Display Options"; optionsEnumArray[options++] = ScreenOptions; -#endif - optionsArray[options] = "Frame Visiblity Toggle"; - optionsEnumArray[options++] = FrameToggles; #if defined(M5STACK_UNITC6L) optionsArray[options] = "Bluetooth"; #else optionsArray[options] = "Bluetooth Toggle"; #endif optionsEnumArray[options++] = Bluetooth; +#if HAS_WIFI && !defined(ARCH_PORTDUINO) + optionsArray[options] = "WiFi Toggle"; + optionsEnumArray[options++] = WiFiToggle; +#endif #if defined(M5STACK_UNITC6L) optionsArray[options] = "Power"; #else @@ -626,15 +647,17 @@ void menuHandler::systemBaseMenu() } else if (selected == PowerMenu) { menuHandler::menuQueue = menuHandler::power_menu; screen->runNow(); - } else if (selected == FrameToggles) { - menuHandler::menuQueue = menuHandler::FrameToggles; - screen->runNow(); } else if (selected == Test) { menuHandler::menuQueue = menuHandler::test_menu; screen->runNow(); } else if (selected == Bluetooth) { menuQueue = bluetooth_toggle_menu; screen->runNow(); +#if HAS_WIFI && !defined(ARCH_PORTDUINO) + } else if (selected == WiFiToggle) { + menuQueue = wifi_toggle_menu; + screen->runNow(); +#endif } else if (selected == Back && !test_enabled) { test_count++; if (test_count > 4) { @@ -784,22 +807,30 @@ void menuHandler::nodeNameLengthMenu() screen->runNow(); } }; + bannerOptions.InitialSelected = config.display.use_long_node_name == true ? 1 : 2; screen->showOverlayBanner(bannerOptions); } void menuHandler::resetNodeDBMenu() { - static const char *optionsArray[] = {"Back", "Confirm"}; + static const char *optionsArray[] = {"Back", "Reset All", "Preserve Favorites"}; BannerOverlayOptions bannerOptions; bannerOptions.message = "Confirm Reset NodeDB"; bannerOptions.optionsArrayPtr = optionsArray; - bannerOptions.optionsCount = 2; + bannerOptions.optionsCount = 3; bannerOptions.bannerCallback = [](int selected) -> void { - if (selected == 1) { + if (selected == 1 || selected == 2) { disableBluetooth(); + screen->setFrames(Screen::FOCUS_DEFAULT); + } + if (selected == 1) { LOG_INFO("Initiate node-db reset"); nodeDB->resetNodes(); rebootAtMsec = (millis() + DEFAULT_REBOOT_SECONDS * 1000); + } else if (selected == 2) { + LOG_INFO("Initiate node-db reset but keeping favorites"); + nodeDB->resetNodes(1); + rebootAtMsec = (millis() + DEFAULT_REBOOT_SECONDS * 1000); } }; screen->showOverlayBanner(bannerOptions); @@ -935,7 +966,9 @@ void menuHandler::BluetoothToggleMenu() bannerOptions.optionsArrayPtr = optionsArray; bannerOptions.optionsCount = 3; bannerOptions.bannerCallback = [](int selected) -> void { - if (selected == 1 || selected == 2) { + if (selected == 0) + return; + else if (selected != (config.bluetooth.enabled ? 1 : 2)) { InputEvent event = {.inputEvent = (input_broker_event)170, .kbchar = 170, .touchX = 0, .touchY = 0}; inputBroker->injectInputEvent(&event); } @@ -1027,14 +1060,16 @@ void menuHandler::switchToMUIMenu() void menuHandler::TFTColorPickerMenu(OLEDDisplay *display) { - static const char *optionsArray[] = {"Back", "Default", "Meshtastic Green", "Yellow", "Red", "Orange", "Purple", "Teal", - "Pink", "White"}; + static const char *optionsArray[] = { + "Back", "Default", "Meshtastic Green", "Yellow", "Red", "Orange", "Purple", "Blue", "Teal", "Cyan", "Ice", "Pink", + "White", "Gray"}; BannerOverlayOptions bannerOptions; bannerOptions.message = "Select Screen Color"; bannerOptions.optionsArrayPtr = optionsArray; - bannerOptions.optionsCount = 10; + bannerOptions.optionsCount = 14; bannerOptions.bannerCallback = [display](int selected) -> void { -#if defined(HELTEC_MESH_NODE_T114) || defined(HELTEC_VISION_MASTER_T190) || defined(T_DECK) || defined(T_LORA_PAGER) || HAS_TFT +#if defined(HELTEC_MESH_NODE_T114) || defined(HELTEC_VISION_MASTER_T190) || defined(T_DECK) || defined(T_LORA_PAGER) || \ + HAS_TFT || defined(HACKADAY_COMMUNICATOR) uint8_t TFT_MESH_r = 0; uint8_t TFT_MESH_g = 0; uint8_t TFT_MESH_b = 0; @@ -1067,20 +1102,40 @@ void menuHandler::TFTColorPickerMenu(OLEDDisplay *display) TFT_MESH_g = 153; TFT_MESH_b = 255; } else if (selected == 7) { - LOG_INFO("Setting color to Teal"); - TFT_MESH_r = 64; - TFT_MESH_g = 224; - TFT_MESH_b = 208; + LOG_INFO("Setting color to Blue"); + TFT_MESH_r = 0; + TFT_MESH_g = 0; + TFT_MESH_b = 255; } else if (selected == 8) { + LOG_INFO("Setting color to Teal"); + TFT_MESH_r = 16; + TFT_MESH_g = 102; + TFT_MESH_b = 102; + } else if (selected == 9) { + LOG_INFO("Setting color to Cyan"); + TFT_MESH_r = 0; + TFT_MESH_g = 255; + TFT_MESH_b = 255; + } else if (selected == 10) { + LOG_INFO("Setting color to Ice"); + TFT_MESH_r = 173; + TFT_MESH_g = 216; + TFT_MESH_b = 230; + } else if (selected == 11) { LOG_INFO("Setting color to Pink"); TFT_MESH_r = 255; TFT_MESH_g = 105; TFT_MESH_b = 180; - } else if (selected == 9) { + } else if (selected == 12) { LOG_INFO("Setting color to White"); TFT_MESH_r = 255; TFT_MESH_g = 255; TFT_MESH_b = 255; + } else if (selected == 13) { + LOG_INFO("Setting color to Gray"); + TFT_MESH_r = 128; + TFT_MESH_g = 128; + TFT_MESH_b = 128; } else { menuQueue = system_base_menu; screen->runNow(); @@ -1274,19 +1329,28 @@ void menuHandler::wifiBaseMenu() void menuHandler::wifiToggleMenu() { - enum optionsNumbers { Back, Wifi_toggle }; + enum optionsNumbers { Back, Wifi_disable, Wifi_enable }; - static const char *optionsArray[] = {"Back", "Disable"}; + static const char *optionsArray[] = {"Back", "WiFi Disabled", "WiFi Enabled"}; BannerOverlayOptions bannerOptions; - bannerOptions.message = "Disable Wifi and\nEnable Bluetooth?"; + bannerOptions.message = "WiFi Actions"; bannerOptions.optionsArrayPtr = optionsArray; - bannerOptions.optionsCount = 2; + bannerOptions.optionsCount = 3; + if (config.network.wifi_enabled == true) + bannerOptions.InitialSelected = 2; + else + bannerOptions.InitialSelected = 1; bannerOptions.bannerCallback = [](int selected) -> void { - if (selected == Wifi_toggle) { + if (selected == Wifi_disable) { config.network.wifi_enabled = false; config.bluetooth.enabled = true; service->reloadConfig(SEGMENT_CONFIG); rebootAtMsec = (millis() + DEFAULT_REBOOT_SECONDS * 1000); + } else if (selected == Wifi_enable) { + config.network.wifi_enabled = true; + config.bluetooth.enabled = false; + service->reloadConfig(SEGMENT_CONFIG); + rebootAtMsec = (millis() + DEFAULT_REBOOT_SECONDS * 1000); } }; screen->showOverlayBanner(bannerOptions); @@ -1329,12 +1393,12 @@ void menuHandler::screenOptionsMenu() hasSupportBrightness = false; #endif - enum optionsNumbers { Back, NodeNameLength, Brightness, ScreenColor }; + enum optionsNumbers { Back, NodeNameLength, Brightness, ScreenColor, FrameToggles, DisplayUnits }; static const char *optionsArray[5] = {"Back"}; static int optionsEnumArray[5] = {Back}; int options = 1; -#if defined(T_DECK) || defined(T_LORA_PAGER) +#if defined(T_DECK) || defined(T_LORA_PAGER) || defined(HACKADAY_COMMUNICATOR) optionsArray[options] = "Show Long/Short Name"; optionsEnumArray[options++] = NodeNameLength; #endif @@ -1346,13 +1410,20 @@ void menuHandler::screenOptionsMenu() } // Only show screen color for TFT displays -#if defined(HELTEC_MESH_NODE_T114) || defined(HELTEC_VISION_MASTER_T190) || defined(T_DECK) || defined(T_LORA_PAGER) || HAS_TFT +#if defined(HELTEC_MESH_NODE_T114) || defined(HELTEC_VISION_MASTER_T190) || defined(T_DECK) || defined(T_LORA_PAGER) || \ + HAS_TFT || defined(HACKADAY_COMMUNICATOR) optionsArray[options] = "Screen Color"; optionsEnumArray[options++] = ScreenColor; #endif + optionsArray[options] = "Frame Visibility Toggle"; + optionsEnumArray[options++] = FrameToggles; + + optionsArray[options] = "Display Units"; + optionsEnumArray[options++] = DisplayUnits; + BannerOverlayOptions bannerOptions; - bannerOptions.message = "Screen Options"; + bannerOptions.message = "Display Options"; bannerOptions.optionsArrayPtr = optionsArray; bannerOptions.optionsCount = options; bannerOptions.optionsEnumPtr = optionsEnumArray; @@ -1366,6 +1437,12 @@ void menuHandler::screenOptionsMenu() } else if (selected == NodeNameLength) { menuHandler::menuQueue = menuHandler::node_name_length_menu; screen->runNow(); + } else if (selected == FrameToggles) { + menuHandler::menuQueue = menuHandler::FrameToggles; + screen->runNow(); + } else if (selected == DisplayUnits) { + menuHandler::menuQueue = menuHandler::DisplayUnits; + screen->runNow(); } else { menuQueue = system_base_menu; screen->runNow(); @@ -1577,6 +1654,34 @@ void menuHandler::FrameToggles_menu() screen->showOverlayBanner(bannerOptions); } +void menuHandler::DisplayUnits_menu() +{ + enum optionsNumbers { Back, MetricUnits, ImperialUnits }; + + static const char *optionsArray[] = {"Back", "Metric", "Imperial"}; + BannerOverlayOptions bannerOptions; + bannerOptions.message = " Select display units"; + bannerOptions.optionsArrayPtr = optionsArray; + bannerOptions.optionsCount = 3; + if (config.display.units == meshtastic_Config_DisplayConfig_DisplayUnits_IMPERIAL) + bannerOptions.InitialSelected = 2; + else + bannerOptions.InitialSelected = 1; + bannerOptions.bannerCallback = [](int selected) -> void { + if (selected == MetricUnits) { + config.display.units = meshtastic_Config_DisplayConfig_DisplayUnits_METRIC; + service->reloadConfig(SEGMENT_CONFIG); + } else if (selected == ImperialUnits) { + config.display.units = meshtastic_Config_DisplayConfig_DisplayUnits_IMPERIAL; + service->reloadConfig(SEGMENT_CONFIG); + } else { + menuHandler::menuQueue = menuHandler::screen_options_menu; + screen->runNow(); + } + }; + screen->showOverlayBanner(bannerOptions); +} + void menuHandler::handleMenuSwitch(OLEDDisplay *display) { if (menuQueue != menu_none) @@ -1691,6 +1796,9 @@ void menuHandler::handleMenuSwitch(OLEDDisplay *display) case FrameToggles: FrameToggles_menu(); break; + case DisplayUnits: + DisplayUnits_menu(); + break; case throttle_message: screen->showSimpleBanner("Too Many Attempts\nTry again in 60 seconds.", 5000); break; @@ -1705,4 +1813,4 @@ void menuHandler::saveUIConfig() } // namespace graphics -#endif \ No newline at end of file +#endif diff --git a/src/graphics/draw/MenuHandler.h b/src/graphics/draw/MenuHandler.h index 1f7bbac8c..df7c2739b 100644 --- a/src/graphics/draw/MenuHandler.h +++ b/src/graphics/draw/MenuHandler.h @@ -44,7 +44,8 @@ class menuHandler trace_route_menu, throttle_message, node_name_length_menu, - FrameToggles + FrameToggles, + DisplayUnits }; static screenMenus menuQueue; @@ -88,6 +89,7 @@ class menuHandler static void powerMenu(); static void nodeNameLengthMenu(); static void FrameToggles_menu(); + static void DisplayUnits_menu(); static void textMessageMenu(); private: @@ -97,5 +99,24 @@ class menuHandler static void BluetoothToggleMenu(); }; +/* Generic Menu Options designations */ +enum class OptionsAction { Back, Select }; + +template struct MenuOption { + const char *label; + OptionsAction action; + bool hasValue; + T value; + + MenuOption(const char *labelIn, OptionsAction actionIn, T valueIn) + : label(labelIn), action(actionIn), hasValue(true), value(valueIn) + { + } + + MenuOption(const char *labelIn, OptionsAction actionIn) : label(labelIn), action(actionIn), hasValue(false), value() {} +}; + +using RadioPresetOption = MenuOption; + } // namespace graphics #endif \ No newline at end of file diff --git a/src/graphics/draw/MessageRenderer.cpp b/src/graphics/draw/MessageRenderer.cpp index 6971826de..da6ec7abc 100644 --- a/src/graphics/draw/MessageRenderer.cpp +++ b/src/graphics/draw/MessageRenderer.cpp @@ -213,6 +213,7 @@ void drawTextMessageFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16 #else display->drawString(center_text, getTextPositions(display)[2], messageString); #endif + graphics::drawCommonFooter(display, x, y); return; } @@ -423,6 +424,7 @@ void drawTextMessageFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16 // Draw header at the end to sort out overlapping elements graphics::drawCommonHeader(display, x, y, titleStr); #endif + graphics::drawCommonFooter(display, x, y); } std::vector generateLines(OLEDDisplay *display, const char *headerStr, const char *messageBuf, int textWidth) diff --git a/src/graphics/draw/NodeListRenderer.cpp b/src/graphics/draw/NodeListRenderer.cpp index 07577db8c..1a36a6188 100644 --- a/src/graphics/draw/NodeListRenderer.cpp +++ b/src/graphics/draw/NodeListRenderer.cpp @@ -53,7 +53,7 @@ static int scrollIndex = 0; // Utility Functions // ============================= -const char *getSafeNodeName(meshtastic_NodeInfoLite *node) +const char *getSafeNodeName(OLEDDisplay *display, meshtastic_NodeInfoLite *node) { const char *name = NULL; static char nodeName[16] = "?"; @@ -81,6 +81,28 @@ const char *getSafeNodeName(meshtastic_NodeInfoLite *node) snprintf(nodeName, sizeof(nodeName), "(%04X)", (uint16_t)(node->num & 0xFFFF)); } + if (config.display.use_long_node_name == true) { + int availWidth = (SCREEN_WIDTH / 2) - 65; + if (availWidth < 0) + availWidth = 0; + + size_t origLen = strlen(nodeName); + while (nodeName[0] && display->getStringWidth(nodeName) > availWidth) { + nodeName[strlen(nodeName) - 1] = '\0'; + } + + // If we actually truncated, append "..." (ensure space remains in buffer) + if (strlen(nodeName) < origLen) { + size_t len = strlen(nodeName); + size_t maxLen = sizeof(nodeName) - 4; // 3 for "..." and 1 for '\0' + if (len > maxLen) { + nodeName[maxLen] = '\0'; + len = maxLen; + } + strcat(nodeName, "..."); + } + } + return nodeName; } @@ -147,7 +169,7 @@ void drawEntryLastHeard(OLEDDisplay *display, meshtastic_NodeInfoLite *node, int bool isLeftCol = (x < SCREEN_WIDTH / 2); int timeOffset = (isHighResolution) ? (isLeftCol ? 7 : 10) : (isLeftCol ? 3 : 7); - const char *nodeName = getSafeNodeName(node); + const char *nodeName = getSafeNodeName(display, node); char timeStr[10]; uint32_t seconds = sinceLastSeen(node); @@ -192,7 +214,7 @@ void drawEntryHopSignal(OLEDDisplay *display, meshtastic_NodeInfoLite *node, int int barsXOffset = columnWidth - barsOffset; - const char *nodeName = getSafeNodeName(node); + const char *nodeName = getSafeNodeName(display, node); display->setTextAlignment(TEXT_ALIGN_LEFT); display->setFont(FONT_SMALL); @@ -236,7 +258,7 @@ void drawNodeDistance(OLEDDisplay *display, meshtastic_NodeInfoLite *node, int16 bool isLeftCol = (x < SCREEN_WIDTH / 2); int nameMaxWidth = columnWidth - (isHighResolution ? (isLeftCol ? 25 : 28) : (isLeftCol ? 20 : 22)); - const char *nodeName = getSafeNodeName(node); + const char *nodeName = getSafeNodeName(display, node); char distStr[10] = ""; meshtastic_NodeInfoLite *ourNode = nodeDB->getMeshNode(nodeDB->getNodeNum()); @@ -331,7 +353,7 @@ void drawEntryCompass(OLEDDisplay *display, meshtastic_NodeInfoLite *node, int16 // Adjust max text width depending on column and screen width int nameMaxWidth = columnWidth - (isHighResolution ? (isLeftCol ? 25 : 28) : (isLeftCol ? 20 : 22)); - const char *nodeName = getSafeNodeName(node); + const char *nodeName = getSafeNodeName(display, node); display->setTextAlignment(TEXT_ALIGN_LEFT); display->setFont(FONT_SMALL); @@ -362,11 +384,11 @@ void drawCompassArrow(OLEDDisplay *display, meshtastic_NodeInfoLite *node, int16 float bearing = GeoCoord::bearing(userLat, userLon, nodeLat, nodeLon); float bearingToNode = RAD_TO_DEG * bearing; float relativeBearing = fmod((bearingToNode - myHeading + 360), 360); - float angle = relativeBearing * DEG_TO_RAD; // Shrink size by 2px int size = FONT_HEIGHT_SMALL - 5; CompassRenderer::drawArrowToNode(display, centerX, centerY, size, relativeBearing); /* + float angle = relativeBearing * DEG_TO_RAD; float halfSize = size / 2.0; // Point of the arrow @@ -403,6 +425,12 @@ void drawNodeListScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t { const int COMMON_HEADER_HEIGHT = FONT_HEIGHT_SMALL - 1; const int rowYOffset = FONT_HEIGHT_SMALL - 3; + bool locationScreen = false; + + if (strcmp(title, "Bearings") == 0) + locationScreen = true; + else if (strcmp(title, "Distance") == 0) + locationScreen = true; #if defined(M5STACK_UNITC6L) int columnWidth = display->getWidth(); #else @@ -418,7 +446,7 @@ void drawNodeListScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t int totalEntries = nodeDB->getNumMeshNodes(); int totalRowsAvailable = (display->getHeight() - y) / rowYOffset; - + int numskipped = 0; int visibleNodeRows = totalRowsAvailable; #if defined(M5STACK_UNITC6L) int totalColumns = 1; @@ -438,6 +466,10 @@ void drawNodeListScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t int rowCount = 0; for (int i = startIndex; i < endIndex; ++i) { + if (locationScreen && !nodeDB->getMeshNodeByIndex(i)->has_position) { + numskipped++; + continue; + } int xPos = x + (col * columnWidth); int yPos = y + yOffset; renderer(display, nodeDB->getMeshNodeByIndex(i), xPos, yPos, columnWidth); @@ -460,6 +492,9 @@ void drawNodeListScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t } } + // This should correct the scrollbar + totalEntries -= numskipped; + #if !defined(M5STACK_UNITC6L) // Draw column separator if (shownCount > 0) { @@ -470,6 +505,7 @@ void drawNodeListScreen(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t #endif const int scrollStartY = y + 3; drawScrollbar(display, visibleNodeRows, totalEntries, scrollIndex, 2, scrollStartY); + graphics::drawCommonFooter(display, x, y); } // ============================= diff --git a/src/graphics/draw/NotificationRenderer.cpp b/src/graphics/draw/NotificationRenderer.cpp index 26bfe8447..e95cc1610 100644 --- a/src/graphics/draw/NotificationRenderer.cpp +++ b/src/graphics/draw/NotificationRenderer.cpp @@ -85,9 +85,13 @@ void NotificationRenderer::drawSSLScreen(OLEDDisplay *display, OLEDDisplayUiStat void NotificationRenderer::resetBanner() { + notificationTypeEnum previousType = current_notification_type; + alertBannerMessage[0] = '\0'; current_notification_type = notificationTypeEnum::none; + OnScreenKeyboardModule::instance().clearPopup(); + inEvent.inputEvent = INPUT_BROKER_NONE; inEvent.kbchar = 0; curSelected = 0; @@ -100,6 +104,13 @@ void NotificationRenderer::resetBanner() currentNumber = 0; nodeDB->pause_sort(false); + + // If we're exiting from text_input (virtual keyboard), stop module and trigger frame update + // to ensure any messages received during keyboard use are now displayed + if (previousType == notificationTypeEnum::text_input && screen) { + OnScreenKeyboardModule::instance().stop(false); + screen->setFrames(graphics::Screen::FOCUS_PRESERVE); + } } void NotificationRenderer::drawBannercallback(OLEDDisplay *display, OLEDDisplayUiState *state) @@ -163,13 +174,15 @@ void NotificationRenderer::drawNumberPicker(OLEDDisplay *display, OLEDDisplayUiS // modulo to extract uint8_t this_digit = (currentNumber % (pow_of_10(numDigits - curSelected))) / (pow_of_10(numDigits - curSelected - 1)); // Handle input - if (inEvent.inputEvent == INPUT_BROKER_UP || inEvent.inputEvent == INPUT_BROKER_ALT_PRESS) { + if (inEvent.inputEvent == INPUT_BROKER_UP || inEvent.inputEvent == INPUT_BROKER_ALT_PRESS || + inEvent.inputEvent == INPUT_BROKER_UP_LONG) { if (this_digit == 9) { currentNumber -= 9 * (pow_of_10(numDigits - curSelected - 1)); } else { currentNumber += (pow_of_10(numDigits - curSelected - 1)); } - } else if (inEvent.inputEvent == INPUT_BROKER_DOWN || inEvent.inputEvent == INPUT_BROKER_USER_PRESS) { + } else if (inEvent.inputEvent == INPUT_BROKER_DOWN || inEvent.inputEvent == INPUT_BROKER_USER_PRESS || + inEvent.inputEvent == INPUT_BROKER_DOWN_LONG) { if (this_digit == 0) { currentNumber += 9 * (pow_of_10(numDigits - curSelected - 1)); } else { @@ -251,10 +264,10 @@ void NotificationRenderer::drawNodePicker(OLEDDisplay *display, OLEDDisplayUiSta // Handle input if (inEvent.inputEvent == INPUT_BROKER_UP || inEvent.inputEvent == INPUT_BROKER_LEFT || - inEvent.inputEvent == INPUT_BROKER_ALT_PRESS) { + inEvent.inputEvent == INPUT_BROKER_ALT_PRESS || inEvent.inputEvent == INPUT_BROKER_UP_LONG) { curSelected--; } else if (inEvent.inputEvent == INPUT_BROKER_DOWN || inEvent.inputEvent == INPUT_BROKER_RIGHT || - inEvent.inputEvent == INPUT_BROKER_USER_PRESS) { + inEvent.inputEvent == INPUT_BROKER_USER_PRESS || inEvent.inputEvent == INPUT_BROKER_DOWN_LONG) { curSelected++; } else if (inEvent.inputEvent == INPUT_BROKER_SELECT) { alertBannerCallback(selectedNodenum); @@ -368,10 +381,10 @@ void NotificationRenderer::drawAlertBannerOverlay(OLEDDisplay *display, OLEDDisp // Handle input if (alertBannerOptions > 0) { if (inEvent.inputEvent == INPUT_BROKER_UP || inEvent.inputEvent == INPUT_BROKER_LEFT || - inEvent.inputEvent == INPUT_BROKER_ALT_PRESS) { + inEvent.inputEvent == INPUT_BROKER_ALT_PRESS || inEvent.inputEvent == INPUT_BROKER_UP_LONG) { curSelected--; } else if (inEvent.inputEvent == INPUT_BROKER_DOWN || inEvent.inputEvent == INPUT_BROKER_RIGHT || - inEvent.inputEvent == INPUT_BROKER_USER_PRESS) { + inEvent.inputEvent == INPUT_BROKER_USER_PRESS || inEvent.inputEvent == INPUT_BROKER_DOWN_LONG) { curSelected++; } else if (inEvent.inputEvent == INPUT_BROKER_SELECT) { if (optionsEnumPtr != nullptr) { @@ -769,40 +782,8 @@ void NotificationRenderer::drawTextInput(OLEDDisplay *display, OLEDDisplayUiStat } if (inEvent.inputEvent != INPUT_BROKER_NONE) { - if (inEvent.inputEvent == INPUT_BROKER_UP) { - // high frequency for move cursor left/right than up/down with encoders - extern ::RotaryEncoderInterruptImpl1 *rotaryEncoderInterruptImpl1; - extern ::UpDownInterruptImpl1 *upDownInterruptImpl1; - if (::rotaryEncoderInterruptImpl1 || ::upDownInterruptImpl1) { - virtualKeyboard->moveCursorLeft(); - } else { - virtualKeyboard->moveCursorUp(); - } - } else if (inEvent.inputEvent == INPUT_BROKER_DOWN) { - extern ::RotaryEncoderInterruptImpl1 *rotaryEncoderInterruptImpl1; - extern ::UpDownInterruptImpl1 *upDownInterruptImpl1; - if (::rotaryEncoderInterruptImpl1 || ::upDownInterruptImpl1) { - virtualKeyboard->moveCursorRight(); - } else { - virtualKeyboard->moveCursorDown(); - } - } else if (inEvent.inputEvent == INPUT_BROKER_LEFT) { - virtualKeyboard->moveCursorLeft(); - } else if (inEvent.inputEvent == INPUT_BROKER_RIGHT) { - virtualKeyboard->moveCursorRight(); - } else if (inEvent.inputEvent == INPUT_BROKER_UP_LONG) { - virtualKeyboard->moveCursorUp(); - } else if (inEvent.inputEvent == INPUT_BROKER_DOWN_LONG) { - virtualKeyboard->moveCursorDown(); - } else if (inEvent.inputEvent == INPUT_BROKER_ALT_PRESS) { - virtualKeyboard->moveCursorLeft(); - } else if (inEvent.inputEvent == INPUT_BROKER_USER_PRESS) { - virtualKeyboard->moveCursorRight(); - } else if (inEvent.inputEvent == INPUT_BROKER_SELECT) { - virtualKeyboard->handlePress(); - } else if (inEvent.inputEvent == INPUT_BROKER_SELECT_LONG) { - virtualKeyboard->handleLongPress(); - } else if (inEvent.inputEvent == INPUT_BROKER_CANCEL) { + bool handled = OnScreenKeyboardModule::processVirtualKeyboardInput(inEvent, virtualKeyboard); + if (!handled && inEvent.inputEvent == INPUT_BROKER_CANCEL) { auto callback = textInputCallback; delete virtualKeyboard; virtualKeyboard = nullptr; @@ -821,12 +802,28 @@ void NotificationRenderer::drawTextInput(OLEDDisplay *display, OLEDDisplayUiStat inEvent.inputEvent = INPUT_BROKER_NONE; } + // Re-check pointer before drawing to avoid use-after-free and crashes + if (!virtualKeyboard) { + // Ensure we exit text_input state and restore frames + if (current_notification_type == notificationTypeEnum::text_input) { + resetBanner(); + } + if (screen) { + screen->setFrames(graphics::Screen::FOCUS_PRESERVE); + } + // If screen is null, do nothing (safe fallback) + return; + } + // Clear the screen to avoid overlapping with underlying frames or overlays display->setColor(BLACK); display->fillRect(0, 0, display->getWidth(), display->getHeight()); display->setColor(WHITE); // Draw the virtual keyboard virtualKeyboard->draw(display, 0, 0); + + // Draw transient popup overlay (if any) managed by OnScreenKeyboardModule + OnScreenKeyboardModule::instance().drawPopupOverlay(display); } else { // If virtualKeyboard is null, reset the banner to avoid getting stuck LOG_INFO("Virtual keyboard is null - resetting banner"); @@ -839,5 +836,12 @@ bool NotificationRenderer::isOverlayBannerShowing() return strlen(alertBannerMessage) > 0 && (alertBannerUntil == 0 || millis() <= alertBannerUntil); } +void NotificationRenderer::showKeyboardMessagePopupWithTitle(const char *title, const char *content, uint32_t durationMs) +{ + if (!title || !content || current_notification_type != notificationTypeEnum::text_input) + return; + OnScreenKeyboardModule::instance().showPopup(title, content, durationMs); +} + } // namespace graphics #endif \ No newline at end of file diff --git a/src/graphics/draw/NotificationRenderer.h b/src/graphics/draw/NotificationRenderer.h index edb069513..e51bfa5ab 100644 --- a/src/graphics/draw/NotificationRenderer.h +++ b/src/graphics/draw/NotificationRenderer.h @@ -4,6 +4,7 @@ #include "OLEDDisplayUi.h" #include "graphics/Screen.h" #include "graphics/VirtualKeyboard.h" +#include "modules/OnScreenKeyboardModule.h" #include #include #define MAX_LINES 5 @@ -31,6 +32,7 @@ class NotificationRenderer static bool pauseBanner; static void resetBanner(); + static void showKeyboardMessagePopupWithTitle(const char *title, const char *content, uint32_t durationMs); static void drawBannercallback(OLEDDisplay *display, OLEDDisplayUiState *state); static void drawAlertBannerOverlay(OLEDDisplay *display, OLEDDisplayUiState *state); static void drawNumberPicker(OLEDDisplay *display, OLEDDisplayUiState *state); diff --git a/src/graphics/draw/UIRenderer.cpp b/src/graphics/draw/UIRenderer.cpp index ff8cd20c5..1f01640bf 100644 --- a/src/graphics/draw/UIRenderer.cpp +++ b/src/graphics/draw/UIRenderer.cpp @@ -11,6 +11,7 @@ #include "graphics/Screen.h" #include "graphics/ScreenFonts.h" #include "graphics/SharedUIDisplay.h" +#include "graphics/TimeFormatters.h" #include "graphics/images.h" #include "main.h" #include "target_specific.h" @@ -256,7 +257,8 @@ void UIRenderer::drawNodes(OLEDDisplay *display, int16_t x, int16_t y, const mes } #if (defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || defined(ST7701_CS) || defined(ST7735_CS) || \ - defined(ST7789_CS) || defined(USE_ST7789) || defined(ILI9488_CS) || defined(HX8357_CS) || defined(ST7796_CS)) && \ + defined(ST7789_CS) || defined(USE_ST7789) || defined(ILI9488_CS) || defined(HX8357_CS) || defined(ST7796_CS) || \ + defined(HACKADAY_COMMUNICATOR) || defined(USE_ST7796)) && \ !defined(DISPLAY_FORCE_SMALL_FONTS) if (isHighResolution) { @@ -383,17 +385,7 @@ void UIRenderer::drawNodeInfo(OLEDDisplay *display, const OLEDDisplayUiState *st // === 4. Uptime (only show if metric is present) === char uptimeStr[32] = ""; if (node->has_device_metrics && node->device_metrics.has_uptime_seconds) { - uint32_t uptime = node->device_metrics.uptime_seconds; - uint32_t days = uptime / 86400; - uint32_t hours = (uptime % 86400) / 3600; - uint32_t mins = (uptime % 3600) / 60; - // Show as "Up: 2d 3h", "Up: 5h 14m", or "Up: 37m" - if (days) - snprintf(uptimeStr, sizeof(uptimeStr), " Uptime: %ud %uh", days, hours); - else if (hours) - snprintf(uptimeStr, sizeof(uptimeStr), " Uptime: %uh %um", hours, mins); - else - snprintf(uptimeStr, sizeof(uptimeStr), " Uptime: %um", mins); + getUptimeStr(node->device_metrics.uptime_seconds * 1000, " Up", uptimeStr, sizeof(uptimeStr)); } if (uptimeStr[0] && line < 5) { display->drawString(x, getTextPositions(display)[line++], uptimeStr); @@ -552,6 +544,7 @@ void UIRenderer::drawNodeInfo(OLEDDisplay *display, const OLEDDisplayUiState *st // else show nothing } #endif + graphics::drawCommonFooter(display, x, y); } // **************************** @@ -563,6 +556,7 @@ void UIRenderer::drawDeviceFocused(OLEDDisplay *display, OLEDDisplayUiState *sta display->setTextAlignment(TEXT_ALIGN_LEFT); display->setFont(FONT_SMALL); int line = 1; + meshtastic_NodeInfoLite *ourNode = nodeDB->getMeshNode(nodeDB->getNodeNum()); // === Header === #if defined(M5STACK_UNITC6L) @@ -590,18 +584,8 @@ void UIRenderer::drawDeviceFocused(OLEDDisplay *display, OLEDDisplayUiState *sta drawNodes(display, x + 1, getTextPositions(display)[line] + 2, nodeStatus, -1, false, "online"); #endif char uptimeStr[32] = ""; - uint32_t uptime = millis() / 1000; - uint32_t days = uptime / 86400; - uint32_t hours = (uptime % 86400) / 3600; - uint32_t mins = (uptime % 3600) / 60; - // Show as "Up: 2d 3h", "Up: 5h 14m", or "Up: 37m" #if !defined(M5STACK_UNITC6L) - if (days) - snprintf(uptimeStr, sizeof(uptimeStr), "Up: %ud %uh", days, hours); - else if (hours) - snprintf(uptimeStr, sizeof(uptimeStr), "Up: %uh %um", hours, mins); - else - snprintf(uptimeStr, sizeof(uptimeStr), "Up: %um", mins); + getUptimeStr(millis(), "Up", uptimeStr, sizeof(uptimeStr)); #endif display->drawString(SCREEN_WIDTH - display->getStringWidth(uptimeStr), getTextPositions(display)[line++], uptimeStr); @@ -740,7 +724,6 @@ void UIRenderer::drawDeviceFocused(OLEDDisplay *display, OLEDDisplayUiState *sta int yOffset = (isHighResolution) ? 0 : 5; std::string longNameStr; - meshtastic_NodeInfoLite *ourNode = nodeDB->getMeshNode(nodeDB->getNodeNum()); if (ourNode && ourNode->has_user && strlen(ourNode->user.long_name) > 0) { longNameStr = sanitizeString(ourNode->user.long_name); } @@ -771,6 +754,7 @@ void UIRenderer::drawDeviceFocused(OLEDDisplay *display, OLEDDisplayUiState *sta display->drawString(nameX, getTextPositions(display)[line++], shortnameble); } #endif + graphics::drawCommonFooter(display, x, y); } // Start Functions to write date/time to the screen @@ -1000,24 +984,7 @@ void UIRenderer::drawCompassAndLocationScreen(OLEDDisplay *display, OLEDDisplayU const char *displayLine = ""; // Initialize to empty string by default meshtastic_NodeInfoLite *ourNode = nodeDB->getMeshNode(nodeDB->getNodeNum()); - bool usePhoneGPS = (ourNode && nodeDB->hasValidPosition(ourNode) && - config.position.gps_mode != meshtastic_Config_PositionConfig_GpsMode_ENABLED); - - if (usePhoneGPS) { - // Phone-provided GPS is active - displayLine = "Phone GPS"; - int yOffset = (isHighResolution) ? 3 : 1; - if (isHighResolution) { - NodeListRenderer::drawScaledXBitmap16x16(x, getTextPositions(display)[line] + yOffset - 5, imgSatellite_width, - imgSatellite_height, imgSatellite, display); - } else { - display->drawXbm(x + 1, getTextPositions(display)[line] + yOffset, imgSatellite_width, imgSatellite_height, - imgSatellite); - } - int xOffset = (isHighResolution) ? 6 : 0; - display->drawString(x + 11 + xOffset, getTextPositions(display)[line++], displayLine); - } else if (config.position.gps_mode != meshtastic_Config_PositionConfig_GpsMode_ENABLED) { - // GPS disabled / not present + if (config.position.gps_mode != meshtastic_Config_PositionConfig_GpsMode_ENABLED) { if (config.position.fixed_position) { displayLine = "Fixed GPS"; } else { @@ -1063,36 +1030,17 @@ void UIRenderer::drawCompassAndLocationScreen(OLEDDisplay *display, OLEDDisplayU if (strcmp(displayLine, "GPS off") != 0 && strcmp(displayLine, "No GPS") != 0) { // === Second Row: Last GPS Fix === if (gpsStatus->getLastFixMillis() > 0) { - uint32_t delta = (millis() - gpsStatus->getLastFixMillis()) / 1000; // seconds since last fix - uint32_t days = delta / 86400; - uint32_t hours = (delta % 86400) / 3600; - uint32_t mins = (delta % 3600) / 60; - uint32_t secs = delta % 60; - - char buf[32]; + uint32_t delta = millis() - gpsStatus->getLastFixMillis(); + char uptimeStr[32]; #if defined(USE_EINK) // E-Ink: skip seconds, show only days/hours/mins - if (days > 0) { - snprintf(buf, sizeof(buf), "Last: %ud %uh", days, hours); - } else if (hours > 0) { - snprintf(buf, sizeof(buf), "Last: %uh %um", hours, mins); - } else { - snprintf(buf, sizeof(buf), "Last: %um", mins); - } + getUptimeStr(delta, "Last", uptimeStr, sizeof(uptimeStr), false); #else // Non E-Ink: include seconds where useful - if (days > 0) { - snprintf(buf, sizeof(buf), "Last: %ud %uh", days, hours); - } else if (hours > 0) { - snprintf(buf, sizeof(buf), "Last: %uh %um", hours, mins); - } else if (mins > 0) { - snprintf(buf, sizeof(buf), "Last: %um %us", mins, secs); - } else { - snprintf(buf, sizeof(buf), "Last: %us", secs); - } + getUptimeStr(delta, "Last", uptimeStr, sizeof(uptimeStr), true); #endif - display->drawString(0, getTextPositions(display)[line++], buf); + display->drawString(0, getTextPositions(display)[line++], uptimeStr); } else { display->drawString(0, getTextPositions(display)[line++], "Last: ?"); } @@ -1108,9 +1056,7 @@ void UIRenderer::drawCompassAndLocationScreen(OLEDDisplay *display, OLEDDisplayU // === Final Row: Altitude === char altitudeLine[32] = {0}; - int32_t alt = (strcmp(displayLine, "Phone GPS") == 0 && ourNode && nodeDB->hasValidPosition(ourNode)) - ? ourNode->position.altitude - : geoCoord.getAltitude(); + int32_t alt = geoCoord.getAltitude(); if (config.display.units == meshtastic_Config_DisplayConfig_DisplayUnits_IMPERIAL) { snprintf(altitudeLine, sizeof(altitudeLine), "Alt: %.0fft", alt * METERS_TO_FEET); } else { @@ -1202,6 +1148,7 @@ void UIRenderer::drawCompassAndLocationScreen(OLEDDisplay *display, OLEDDisplayU } #endif #endif // HAS_GPS + graphics::drawCommonFooter(display, x, y); } #ifdef USERPREFS_OEM_TEXT @@ -1286,7 +1233,13 @@ void UIRenderer::drawNavigationBar(OLEDDisplay *display, OLEDDisplayUiState *sta if (totalIcons == 0) return; - const size_t iconsPerPage = (SCREEN_WIDTH + spacing) / (iconSize + spacing); + const int navPadding = isHighResolution ? 24 : 12; // padding per side + + int usableWidth = SCREEN_WIDTH - (navPadding * 2); + if (usableWidth < iconSize) + usableWidth = iconSize; + + const size_t iconsPerPage = usableWidth / (iconSize + spacing); const size_t currentPage = currentFrame / iconsPerPage; const size_t pageStart = currentPage * iconsPerPage; const size_t pageEnd = min(pageStart + iconsPerPage, totalIcons); @@ -1357,6 +1310,47 @@ void UIRenderer::drawNavigationBar(OLEDDisplay *display, OLEDDisplayUiState *sta display->setColor(WHITE); } } + + // Compact arrow drawer + auto drawArrow = [&](bool rightSide) { + display->setColor(WHITE); + + const int offset = isHighResolution ? 3 : 1; + const int halfH = rectHeight / 2; + + const int top = (y - 2) + (rectHeight - halfH) / 2; + const int bottom = top + halfH - 1; + const int midY = top + (halfH / 2); + + const int maxW = 4; + + // Determine left X coordinate + int baseX = rightSide ? (rectX + rectWidth + offset) : // right arrow + (rectX - offset - 1); // left arrow + + for (int yy = top; yy <= bottom; yy++) { + int dist = abs(yy - midY); + int lineW = maxW - (dist * maxW / (halfH / 2)); + if (lineW < 1) + lineW = 1; + + if (rightSide) { + display->drawHorizontalLine(baseX, yy, lineW); + } else { + display->drawHorizontalLine(baseX - lineW + 1, yy, lineW); + } + } + }; + // Right arrow + if (pageEnd < totalIcons) { + drawArrow(true); + } + + // Left arrow + if (pageStart > 0) { + drawArrow(false); + } + // Knock the corners off the square display->setColor(BLACK); display->drawRect(rectX, y - 2, 1, 1); @@ -1391,4 +1385,4 @@ std::string UIRenderer::drawTimeDelta(uint32_t days, uint32_t hours, uint32_t mi } // namespace graphics -#endif // HAS_SCREEN \ No newline at end of file +#endif // HAS_SCREEN diff --git a/src/graphics/emotes.cpp b/src/graphics/emotes.cpp index e1a105d20..bed2b7b7c 100644 --- a/src/graphics/emotes.cpp +++ b/src/graphics/emotes.cpp @@ -1,3 +1,5 @@ +#include "configuration.h" +#if HAS_SCREEN #include "emotes.h" namespace graphics @@ -16,6 +18,8 @@ const Emote emotes[] = { {"\U0001F642", Slightly_Smiling, Slightly_Smiling_width, Slightly_Smiling_height}, // 🙂 Slightly Smiling Face {"\U0001F609", Winking_Face, Winking_Face_width, Winking_Face_height}, // 😉 Winking Face {"\U0001F601", Grinning_Smiling_Eyes, Grinning_Smiling_Eyes_width, Grinning_Smiling_Eyes_height}, // 😁 Grinning Smiling Eyes + {"\U0001F60D", Heart_eyes, Heart_eyes_width, Heart_eyes_height}, // 😍 Heart Eyes + {"\U0001F970", heart_smile, heart_smile_width, heart_smile_height}, // 🥰 Smiling Face with Hearts // --- Question/Alert --- {"\u2753", question, question_width, question_height}, // ❓ Question Mark @@ -28,11 +32,15 @@ const Emote emotes[] = { {"\U0001F605", haha, haha_width, haha_height}, // 😅 Smiling with Sweat {"\U0001F604", Grinning_SmilingEyes2, Grinning_SmilingEyes2_width, Grinning_SmilingEyes2_height}, // 😄 Grinning Face with Smiling Eyes + {"\U0001F62D", Loudly_Crying_Face, Loudly_Crying_Face_width, Loudly_Crying_Face_height}, // 😭 Loudly Crying Face // --- Gestures and People --- - {"\U0001F44B", wave_icon, wave_icon_width, wave_icon_height}, // 👋 Waving Hand - {"\U0001F920", cowboy, cowboy_width, cowboy_height}, // 🤠 Cowboy Hat Face - {"\U0001F3A7", deadmau5, deadmau5_width, deadmau5_height}, // 🎧 Headphones + {"\U0001F44B", wave_icon, wave_icon_width, wave_icon_height}, // 👋 Waving Hand + {"\u270C\uFE0F", peace_sign, peace_sign_width, peace_sign_height}, // ✌️ Victory Hand + {"\U0001F596", vulcan_salute, vulcan_salute_width, vulcan_salute_height}, // 🖖 Vulcan Salute + {"\U0001F64F", Praying, Praying_width, Praying_height}, // 🙏 Praying Hands + {"\U0001F920", cowboy, cowboy_width, cowboy_height}, // 🤠 Cowboy Hat Face + {"\U0001F3A7", deadmau5, deadmau5_width, deadmau5_height}, // 🎧 Headphones // --- Weather --- {"\u2600", sun, sun_width, sun_height}, // ☀ Sun (without variation selector) @@ -43,8 +51,12 @@ const Emote emotes[] = { // --- Misc Faces --- {"\U0001F608", devil, devil_width, devil_height}, // 😈 Smiling Face with Horns + {"\U0001F921", clown, clown_width, clown_height}, // 🤡 Clown Face + {"\U0001F916", robo, robo_width, robo_height}, // 🤖 Robot Face // --- Hearts (Multiple Unicode Aliases) --- + {"\u2665", heart, heart_width, heart_height}, // ♥ Black Heart Suit + {"\u2665\uFE0F", heart, heart_width, heart_height}, // ♥️ Black Heart Suit (emoji presentation) {"\u2764\uFE0F", heart, heart_width, heart_height}, // ❤️ Red Heart {"\U0001F9E1", heart, heart_width, heart_height}, // 🧡 Orange Heart {"\U00002763", heart, heart_width, heart_height}, // ❣ Heart Exclamation @@ -55,223 +67,167 @@ const Emote emotes[] = { {"\U0001F498", heart, heart_width, heart_height}, // 💘 Heart with Arrow // --- Objects --- - {"\U0001F4A9", poo, poo_width, poo_height}, // 💩 Pile of Poo - {"\U0001F514", bell_icon, bell_icon_width, bell_icon_height} // 🔔 Bell + {"\U0001F4A9", poo, poo_width, poo_height}, // 💩 Pile of Poo + {"\U0001F514", bell_icon, bell_icon_width, bell_icon_height}, // 🔔 Bell + {"\U0001F36A", cookie, cookie_width, cookie_height}, // 🍪 Cookie + {"\U0001F525", Fire, Fire_width, Fire_height}, // 🔥 Fire + {"\u2728", Sparkles, Sparkles_width, Sparkles_height}, // ✨ Sparkles + {"\U0001F573\uFE0F", hole, hole_width, hole_height}, // 🕳️ Hole + {"\U0001F3B3", bowling, bowling_width, bowling_height} // 🎳 Bowling #endif }; const int numEmotes = sizeof(emotes) / sizeof(emotes[0]); #ifndef EXCLUDE_EMOJI -const unsigned char thumbup[] PROGMEM = { - 0x00, 0x1C, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x80, 0x09, 0x00, 0x00, - 0xC0, 0x08, 0x00, 0x00, 0x40, 0x08, 0x00, 0x00, 0x20, 0x04, 0x00, 0x00, 0x10, 0x04, 0x00, 0x00, 0x18, 0x02, 0x00, 0x00, - 0x0C, 0xCE, 0x7F, 0x00, 0x04, 0x20, 0x80, 0x00, 0x02, 0x20, 0x80, 0x00, 0x02, 0x60, 0xC0, 0x00, 0x01, 0xF8, 0xFF, 0x01, - 0x01, 0x08, 0x00, 0x01, 0x01, 0x08, 0x00, 0x01, 0x01, 0xF8, 0xFF, 0x00, 0x01, 0x10, 0x80, 0x00, 0x01, 0x18, 0x80, 0x00, - 0x02, 0x30, 0xC0, 0x00, 0x06, 0xE0, 0x3F, 0x00, 0x0C, 0x20, 0x30, 0x00, 0x38, 0x20, 0x10, 0x00, 0xE0, 0xCF, 0x1F, 0x00, -}; +const unsigned char thumbup[] PROGMEM = {0x00, 0x03, 0x80, 0x04, 0x80, 0x04, 0x40, 0x04, 0x20, 0x02, 0x18, + 0x02, 0x06, 0x3F, 0x06, 0x40, 0x06, 0x70, 0x06, 0x40, 0x06, 0x70, + 0x06, 0x40, 0x06, 0x30, 0x08, 0x20, 0xF0, 0x1F, 0x00, 0x00}; -const unsigned char thumbdown[] PROGMEM = { - 0xE0, 0xCF, 0x1F, 0x00, 0x38, 0x20, 0x10, 0x00, 0x0C, 0x20, 0x30, 0x00, 0x06, 0xE0, 0x3F, 0x00, 0x02, 0x30, 0xC0, 0x00, - 0x01, 0x18, 0x80, 0x00, 0x01, 0x10, 0x80, 0x00, 0x01, 0xF8, 0xFF, 0x00, 0x01, 0x08, 0x00, 0x01, 0x01, 0x08, 0x00, 0x01, - 0x01, 0xF8, 0xFF, 0x01, 0x02, 0x60, 0xC0, 0x00, 0x02, 0x20, 0x80, 0x00, 0x04, 0x20, 0x80, 0x00, 0x0C, 0xCE, 0x7F, 0x00, - 0x18, 0x02, 0x00, 0x00, 0x10, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, 0x00, 0x40, 0x08, 0x00, 0x00, 0xC0, 0x08, 0x00, 0x00, - 0x80, 0x09, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, -}; +const unsigned char thumbdown[] PROGMEM = {0xF0, 0x1F, 0x08, 0x20, 0x06, 0x30, 0x06, 0x40, 0x06, 0x70, 0x06, + 0x40, 0x06, 0x70, 0x06, 0x40, 0x06, 0x3F, 0x18, 0x02, 0x20, 0x02, + 0x40, 0x04, 0x80, 0x04, 0x80, 0x04, 0x00, 0x03, 0x00, 0x00}; -const unsigned char Smiling_Eyes[] PROGMEM = { - 0x00, 0xf8, 0x03, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0xc0, 0xff, 0xff, 0xc0, 0xe0, 0xff, 0xff, 0xc1, - 0xf0, 0xff, 0xff, 0xc3, 0xf8, 0xff, 0xff, 0xc7, 0xf8, 0xff, 0xff, 0xcf, 0xfc, 0xff, 0xff, 0xcf, 0xfc, 0xff, 0xff, 0xcf, - 0x7e, 0xf8, 0xc3, 0xdf, 0x3e, 0xf0, 0x81, 0xdf, 0xbf, 0xf7, 0xbd, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9f, 0xff, 0x3f, 0xff, - 0x6f, 0xff, 0xdf, 0xfe, 0x6f, 0xff, 0xdf, 0xfe, 0x9f, 0xff, 0x3f, 0xff, 0xfe, 0xff, 0xff, 0xdf, 0x7e, 0xff, 0xdf, 0xdf, - 0x7c, 0xff, 0xdf, 0xcf, 0xfc, 0xfe, 0xef, 0xcf, 0xf8, 0xf9, 0xf7, 0xc7, 0xf8, 0x03, 0xf8, 0xc7, 0xf0, 0xff, 0xff, 0xc3, - 0xe0, 0xff, 0xff, 0xc1, 0xc0, 0xff, 0xff, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x00, 0xf8, 0x07, 0xc0}; +const unsigned char Smiling_Eyes[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x24, 0x24, 0x52, + 0x4A, 0x02, 0x40, 0x02, 0x40, 0x22, 0x44, 0x22, 0x44, 0xC2, 0x43, + 0x04, 0x20, 0x04, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char Grinning[] PROGMEM = { - 0x00, 0xf8, 0x03, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0xc0, 0xff, 0xff, 0xc0, 0xe0, 0xff, 0xff, 0xc1, - 0xf0, 0xff, 0xff, 0xc3, 0xf8, 0xff, 0xff, 0xc7, 0xf8, 0xff, 0xff, 0xcf, 0xfc, 0xf9, 0xf3, 0xcf, 0xfc, 0xf0, 0xe1, 0xcf, - 0xfe, 0xf0, 0xe1, 0xdf, 0xfe, 0xf0, 0xe1, 0xdf, 0xff, 0xf0, 0xe1, 0xff, 0xff, 0xf9, 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x00, 0x80, 0xff, 0xbe, 0xff, 0xbf, 0xdf, 0x7e, 0x00, 0xc0, 0xdf, - 0x7c, 0x00, 0xc0, 0xcf, 0xfc, 0x00, 0xe0, 0xcf, 0xf8, 0x01, 0xf0, 0xc7, 0xf8, 0x03, 0xf8, 0xc7, 0xf0, 0xff, 0xff, 0xc3, - 0xe0, 0xff, 0xff, 0xc1, 0xc0, 0xff, 0xff, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x00, 0xf8, 0x03, 0xc0}; +const unsigned char Grinning[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x44, 0x22, 0x42, + 0x42, 0x02, 0x40, 0x02, 0x40, 0xF2, 0x4F, 0x12, 0x48, 0x22, 0x44, + 0xC4, 0x23, 0x04, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char Slightly_Smiling[] PROGMEM = { - 0x00, 0xf8, 0x03, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0xc0, 0xff, 0xff, 0xc0, 0xe0, 0xff, 0xff, 0xc1, - 0xf0, 0xff, 0xff, 0xc3, 0xf8, 0xff, 0xff, 0xc7, 0xf8, 0xff, 0xff, 0xcf, 0xfc, 0xf9, 0xf3, 0xcf, 0xfc, 0xf0, 0xe1, 0xcf, - 0xfe, 0xf0, 0xe1, 0xdf, 0xfe, 0xf0, 0xe1, 0xdf, 0xff, 0xf0, 0xe1, 0xff, 0xff, 0xf9, 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xdf, 0x7e, 0xff, 0xdf, 0xdf, - 0x7c, 0xff, 0xdf, 0xcf, 0xfc, 0xfe, 0xef, 0xcf, 0xf8, 0xf9, 0xf7, 0xc7, 0xf8, 0x03, 0xf8, 0xc7, 0xf0, 0xff, 0xff, 0xc3, - 0xe0, 0xff, 0xff, 0xc1, 0xc0, 0xff, 0xff, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x00, 0xf8, 0x03, 0xc0}; +const unsigned char Slightly_Smiling[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x44, 0x22, 0x42, + 0x42, 0x02, 0x40, 0x02, 0x40, 0x12, 0x48, 0x12, 0x48, 0x22, 0x44, + 0xC4, 0x23, 0x04, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char Winking_Face[] PROGMEM = { - 0x00, 0xf8, 0x03, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0xc0, 0xff, 0xff, 0xc0, 0xe0, 0xff, 0xff, 0xc1, - 0xf0, 0xf0, 0xff, 0xc3, 0x78, 0xef, 0xc3, 0xc7, 0xb8, 0xdf, 0xbd, 0xcf, 0xfc, 0xf9, 0x7f, 0xcf, 0xfc, 0xf0, 0xff, 0xcf, - 0xfe, 0xf0, 0xc3, 0xdf, 0xfe, 0xf0, 0x81, 0xdf, 0xff, 0xf0, 0xbf, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xdf, 0x7e, 0xff, 0xdf, 0xdf, - 0x7c, 0xff, 0xdf, 0xcf, 0xfc, 0xfe, 0xef, 0xcf, 0xf8, 0xf9, 0xf7, 0xc7, 0xf8, 0x03, 0xf8, 0xc7, 0xf0, 0xff, 0xff, 0xc3, - 0xe0, 0xff, 0xff, 0xc1, 0xc0, 0xff, 0xff, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x00, 0xf8, 0x07, 0xc0}; +const unsigned char Winking_Face[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x44, 0x20, 0x42, + 0x46, 0x02, 0x40, 0x02, 0x40, 0x12, 0x48, 0x12, 0x48, 0x22, 0x44, + 0xC4, 0x23, 0x04, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char Grinning_Smiling_Eyes[] PROGMEM = { - 0x00, 0xf8, 0x03, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0xc0, 0xff, 0xff, 0xc0, 0xe0, 0xff, 0xff, 0xc1, - 0xf0, 0xff, 0xff, 0xc3, 0xf8, 0xff, 0xff, 0xc7, 0xf8, 0xff, 0xff, 0xcf, 0xfc, 0xf8, 0xe3, 0xcf, 0x7c, 0xf7, 0xdd, 0xcf, - 0xbe, 0xef, 0xbe, 0xdf, 0xbe, 0xef, 0xbe, 0xdf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x00, 0x00, 0xff, 0x5e, 0x55, 0x55, 0xdf, 0x5e, 0x55, 0x55, 0xdf, - 0x3c, 0x00, 0x80, 0xcf, 0x7c, 0x55, 0xd5, 0xcf, 0xf8, 0x54, 0xe5, 0xc7, 0xf8, 0x03, 0xf8, 0xc7, 0xf0, 0xff, 0xff, 0xc3, - 0xe0, 0xff, 0xff, 0xc1, 0xc0, 0xff, 0xff, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x00, 0xf8, 0x03, 0xc0}; +const unsigned char Grinning_Smiling_Eyes[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x24, 0x24, 0x52, + 0x4A, 0x02, 0x40, 0xFA, 0x5F, 0x0A, 0x50, 0x0A, 0x50, 0x12, 0x48, + 0x24, 0x24, 0xC4, 0x23, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char question[] PROGMEM = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x80, 0xFF, 0x01, 0x00, 0xC0, 0xFF, 0x07, 0x00, 0xE0, 0xFF, 0x07, 0x00, - 0xE0, 0xC3, 0x0F, 0x00, 0xF0, 0x81, 0x0F, 0x00, 0xF0, 0x01, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x80, 0x0F, 0x00, - 0x00, 0xC0, 0x0F, 0x00, 0x00, 0xE0, 0x07, 0x00, 0x00, 0xF0, 0x03, 0x00, 0x00, 0xF8, 0x01, 0x00, 0x00, 0x7C, 0x00, 0x00, - 0x00, 0x3C, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x3E, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -}; +const unsigned char heart_smile[] PROGMEM = {0x00, 0x00, 0x6C, 0x07, 0x7C, 0x18, 0x7C, 0x20, 0x38, 0x24, 0x52, + 0x0A, 0x02, 0xD8, 0x02, 0xF8, 0x22, 0xFC, 0x20, 0x74, 0xDB, 0x23, + 0x1F, 0x00, 0x1F, 0x20, 0x0E, 0x18, 0xE4, 0x07, 0x00, 0x00}; -const unsigned char bang[] PROGMEM = { - 0xFF, 0x0F, 0xFC, 0x3F, 0xFF, 0x0F, 0xFC, 0x3F, 0xFF, 0x0F, 0xFC, 0x3F, 0xFF, 0x07, 0xF8, 0x3F, 0xFF, 0x07, 0xF8, 0x3F, - 0xFE, 0x07, 0xF8, 0x1F, 0xFE, 0x07, 0xF8, 0x1F, 0xFE, 0x07, 0xF8, 0x1F, 0xFE, 0x07, 0xF8, 0x1F, 0xFE, 0x07, 0xF8, 0x1F, - 0xFE, 0x03, 0xF0, 0x1F, 0xFE, 0x03, 0xF0, 0x1F, 0xFC, 0x03, 0xF0, 0x0F, 0xFC, 0x03, 0xF0, 0x0F, 0xFC, 0x03, 0xF0, 0x0F, - 0xFC, 0x03, 0xF0, 0x0F, 0xFC, 0x03, 0xF0, 0x0F, 0xFC, 0x03, 0xF0, 0x0F, 0xFC, 0x01, 0xE0, 0x0F, 0xFC, 0x01, 0xE0, 0x0F, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0xC0, 0x03, 0xFC, 0x03, 0xF0, 0x0F, 0xFE, 0x03, 0xF0, 0x1F, - 0xFE, 0x07, 0xF8, 0x1F, 0xFE, 0x07, 0xF8, 0x1F, 0xFE, 0x07, 0xF8, 0x1F, 0xFC, 0x03, 0xF0, 0x0F, 0xF8, 0x01, 0xE0, 0x07, -}; +const unsigned char Heart_eyes[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x54, 0x2A, 0xFA, + 0x5F, 0x72, 0x4E, 0x22, 0x44, 0x02, 0x40, 0x12, 0x48, 0x12, 0x48, + 0x24, 0x24, 0xC4, 0x23, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char haha[] PROGMEM = { - 0x00, 0xf8, 0x03, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0xc0, 0xff, 0x7f, 0xc0, 0xe0, 0xf9, 0xf3, 0xc0, - 0xf0, 0xfe, 0xef, 0xc1, 0x38, 0xff, 0x9f, 0xc3, 0xd8, 0xff, 0x7f, 0xc3, 0xfc, 0xf8, 0xe3, 0xc7, 0x7c, 0xf7, 0xdd, 0xcf, - 0xbe, 0xef, 0xbe, 0xcf, 0xfe, 0xff, 0xff, 0xcf, 0xef, 0xff, 0xff, 0xde, 0xe7, 0xff, 0xff, 0xdc, 0xeb, 0xff, 0xff, 0xda, - 0xed, 0xff, 0xff, 0xd6, 0xee, 0xff, 0xff, 0xce, 0x36, 0x00, 0x80, 0xcd, 0xb8, 0xff, 0xbf, 0xc3, 0x7e, 0x00, 0xc0, 0xdf, - 0x7c, 0x00, 0xc0, 0xcf, 0xfc, 0x00, 0xe0, 0xcf, 0xf8, 0x01, 0xf0, 0xc7, 0xf8, 0x03, 0xf8, 0xc7, 0xf0, 0xff, 0xff, 0xc3, - 0xe0, 0xff, 0xff, 0xc1, 0xc0, 0xff, 0xff, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x00, 0xf8, 0x03, 0xc0}; +const unsigned char question[] PROGMEM = {0xE0, 0x07, 0x10, 0x08, 0x08, 0x10, 0x88, 0x11, 0x48, 0x12, 0x48, + 0x12, 0x48, 0x12, 0x30, 0x11, 0x80, 0x08, 0x40, 0x04, 0x40, 0x02, + 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x40, 0x02, 0x80, 0x01}; -const unsigned char ROFL[] PROGMEM = { - 0x00, 0x00, 0x00, 0xc0, 0x00, 0xfc, 0x07, 0xc0, 0x00, 0xff, 0x1f, 0xc0, 0x80, 0xff, 0x7f, 0xc0, 0xc0, 0xff, 0xff, 0xc0, - 0xe0, 0x9f, 0xff, 0xc1, 0xf0, 0x9f, 0xff, 0xc0, 0xf8, 0x9f, 0x7f, 0xcb, 0xf8, 0x9f, 0xbf, 0xcb, 0xfc, 0x9f, 0xdf, 0xdb, - 0xfc, 0x1f, 0x08, 0xdc, 0xfe, 0x1f, 0xf8, 0xfe, 0xfe, 0xff, 0xff, 0xfe, 0x1e, 0xf0, 0x7f, 0xfe, 0x1e, 0xf0, 0xbf, 0xfe, - 0xfe, 0xf3, 0xdf, 0xfe, 0xfe, 0xf3, 0x6f, 0xfe, 0xfe, 0xf3, 0x37, 0xfe, 0xfe, 0xeb, 0x1b, 0xfe, 0xfc, 0xef, 0x0d, 0xde, - 0xfc, 0xe7, 0x06, 0xcf, 0xf8, 0x6b, 0x83, 0xcf, 0xf8, 0x0d, 0xc0, 0xc7, 0xf0, 0xed, 0xff, 0xc7, 0xe0, 0xee, 0xff, 0xc3, - 0xc0, 0xee, 0xff, 0xc1, 0x80, 0xee, 0xff, 0xc0, 0x00, 0xe6, 0x3f, 0xc0, 0x00, 0xf0, 0x0f, 0xc0, 0x00, 0x00, 0x00, 0xc0}; +const unsigned char bang[] PROGMEM = {0x30, 0x0C, 0x48, 0x12, 0x48, 0x12, 0x48, 0x12, 0x48, 0x12, 0x48, + 0x12, 0x48, 0x12, 0x48, 0x12, 0x48, 0x12, 0x48, 0x12, 0x30, 0x0C, + 0x00, 0x00, 0x30, 0x0C, 0x48, 0x12, 0x30, 0x0C, 0x00, 0x00}; -const unsigned char Smiling_Closed_Eyes[] PROGMEM = { - 0x00, 0xf8, 0x03, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0xc0, 0xff, 0xff, 0xc0, 0xe0, 0xff, 0xff, 0xc1, - 0xf0, 0xff, 0xff, 0xc3, 0xf8, 0xff, 0xff, 0xc7, 0xf8, 0xff, 0xff, 0xcf, 0x7c, 0xfe, 0xcf, 0xcf, 0xfc, 0xfc, 0xe7, 0xcf, - 0xfe, 0xf9, 0xf3, 0xdf, 0xfe, 0xf3, 0xf9, 0xdf, 0xff, 0xf9, 0xf3, 0xff, 0xff, 0xfc, 0xe7, 0xff, 0x7f, 0xfe, 0xcf, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x00, 0x80, 0xff, 0xbe, 0xff, 0xbf, 0xdf, 0x7e, 0x00, 0xc0, 0xdf, - 0x7c, 0x00, 0xc0, 0xcf, 0xfc, 0x00, 0xe0, 0xcf, 0xf8, 0x01, 0xf0, 0xc7, 0xf8, 0x03, 0xf8, 0xc7, 0xf0, 0xff, 0xff, 0xc3, - 0xe0, 0xff, 0xff, 0xc1, 0xc0, 0xff, 0xff, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x00, 0xf8, 0x03, 0xc0}; +const unsigned char haha[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x24, 0x24, 0x52, + 0x4A, 0x0A, 0x50, 0x0E, 0x70, 0xF2, 0x4F, 0x12, 0x48, 0x32, 0x44, + 0xC4, 0x23, 0x04, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char Grinning_SmilingEyes2[] PROGMEM = { - 0x00, 0xf8, 0x03, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0xc0, 0xff, 0x7f, 0xc0, 0xe0, 0xff, 0xff, 0xc0, - 0xf0, 0xff, 0xff, 0xc1, 0xf8, 0xff, 0xff, 0xc3, 0xf8, 0xff, 0xff, 0xc3, 0xfc, 0xf8, 0xe3, 0xc7, 0x7c, 0xf7, 0xdd, 0xc7, - 0xbe, 0xef, 0xbe, 0xcf, 0xfe, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xff, 0xdf, - 0xff, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xff, 0xdf, 0x3f, 0x00, 0x80, 0xdf, 0xbe, 0xff, 0xbf, 0xcf, 0x7e, 0x00, 0xc0, 0xcf, - 0x7c, 0x00, 0xc0, 0xc7, 0xfc, 0x00, 0xe0, 0xc7, 0xf8, 0x01, 0xf0, 0xc3, 0xf8, 0x03, 0xf8, 0xc3, 0xf0, 0xff, 0xff, 0xc1, - 0xe0, 0xff, 0xff, 0xc0, 0xc0, 0xff, 0x7f, 0xc0, 0x80, 0xff, 0x3f, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x00, 0xf8, 0x03, 0xc0}; +const unsigned char ROFL[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x84, 0x21, 0x84, 0x20, 0x02, + 0x4C, 0x02, 0x4A, 0x1A, 0x49, 0x8A, 0x48, 0x42, 0x48, 0x22, 0x44, + 0xE4, 0x23, 0x04, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char wave_icon[] PROGMEM = { - 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x7f, 0xc0, 0x00, 0x00, 0xc0, 0xc1, 0x00, 0x00, 0x00, 0xc7, - 0x00, 0x00, 0x1e, 0xcc, 0x00, 0x00, 0x30, 0xc8, 0x00, 0x00, 0x60, 0xd8, 0x00, 0x08, 0xc0, 0xd0, 0x00, 0x1a, 0x81, 0xd1, - 0x00, 0x36, 0x03, 0xd3, 0x80, 0x6d, 0x06, 0xd2, 0x00, 0xdb, 0x0c, 0xc2, 0x80, 0xb6, 0x1d, 0xc0, 0x80, 0x6d, 0x1f, 0xc0, - 0x00, 0xdb, 0x3f, 0xc0, 0x00, 0xf6, 0x7f, 0xc0, 0x00, 0xfc, 0x7f, 0xc0, 0x08, 0xf8, 0x7f, 0xc0, 0x48, 0xf0, 0x7f, 0xc0, - 0x48, 0xe0, 0x7f, 0xc0, 0xc8, 0xc0, 0x3f, 0xc0, 0x98, 0x81, 0x1f, 0xc0, 0x10, 0x03, 0x00, 0xc0, 0x30, 0x0e, 0x00, 0xc0, - 0x20, 0x38, 0x00, 0xc0, 0xe0, 0x00, 0x00, 0xc0, 0x80, 0x07, 0x00, 0xc0, 0x00, 0x1e, 0x00, 0xc0, 0x00, 0x00, 0x00, 0xc0}; +const unsigned char Smiling_Closed_Eyes[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x24, 0x24, 0x42, + 0x42, 0x22, 0x44, 0x02, 0x40, 0xF2, 0x4F, 0x12, 0x48, 0x22, 0x44, + 0xC4, 0x23, 0x04, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char cowboy[] PROGMEM = { - 0x00, 0x0c, 0x0c, 0xc0, 0x00, 0x02, 0x10, 0xc0, 0x00, 0x01, 0x20, 0xc0, 0xbc, 0x00, 0x40, 0xcf, 0xc2, 0x01, 0xe0, 0xd0, - 0x01, 0x01, 0x20, 0xe0, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0xc0, - 0xc1, 0x3f, 0xff, 0xe0, 0xe1, 0xff, 0xff, 0xe1, 0xf2, 0xf3, 0xf3, 0xd3, 0xf4, 0xf1, 0xe3, 0xcb, 0xfc, 0xf1, 0xe3, 0xc7, - 0xf8, 0xf1, 0xe3, 0xc7, 0xf8, 0xf1, 0xe3, 0xc7, 0xf8, 0xfb, 0xf7, 0xc7, 0xf8, 0xff, 0xff, 0xc7, 0xf8, 0xff, 0xff, 0xc7, - 0x70, 0xf8, 0x8f, 0xc3, 0x70, 0x03, 0xb0, 0xc3, 0x70, 0xfe, 0xbf, 0xc3, 0x60, 0x00, 0x80, 0xc1, 0xc0, 0x00, 0xc0, 0xc0, - 0x80, 0x01, 0x60, 0xc0, 0x00, 0x07, 0x38, 0xc0, 0x00, 0xfe, 0x1f, 0xc0, 0x00, 0xf0, 0x03, 0xc0, 0x00, 0x00, 0x00, 0xc0}; +const unsigned char Grinning_SmilingEyes2[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x24, 0x24, 0x52, + 0x4A, 0x02, 0x40, 0x02, 0x40, 0xF2, 0x4F, 0x12, 0x48, 0x22, 0x44, + 0xC4, 0x23, 0x04, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char deadmau5[] PROGMEM = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0x07, 0x00, - 0x00, 0xFC, 0x03, 0x00, 0x00, 0xFF, 0x3F, 0x00, 0x80, 0xFF, 0x0F, 0x00, 0xC0, 0xFF, 0xFF, 0x00, 0xE0, 0xFF, 0x3F, 0x00, - 0xE0, 0xFF, 0xFF, 0x01, 0xF0, 0xFF, 0x7F, 0x00, 0xF0, 0xFF, 0xFF, 0x03, 0xF8, 0xFF, 0xFF, 0x00, 0xF0, 0xFF, 0xFF, 0x07, - 0xFC, 0xFF, 0xFF, 0x00, 0xF0, 0xFF, 0xFF, 0x0F, 0xFC, 0xFF, 0xFF, 0x00, 0xF0, 0xFF, 0xFF, 0x0F, 0xFE, 0xFF, 0xFF, 0x00, - 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xE0, 0xFF, 0x3F, 0xFC, - 0x0F, 0xFF, 0x7F, 0x00, 0xC0, 0xFF, 0x1F, 0xF8, 0x0F, 0xFC, 0x3F, 0x00, 0x80, 0xFF, 0x0F, 0xF8, 0x1F, 0xFC, 0x1F, 0x00, - 0x00, 0xFF, 0x0F, 0xFC, 0x3F, 0xFC, 0x0F, 0x00, 0x00, 0xF8, 0x1F, 0xFF, 0xFF, 0xFE, 0x01, 0x00, 0x00, 0x00, 0xFC, 0xFF, - 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, - 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x00, 0xC0, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x80, 0x07, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -}; +const unsigned char Loudly_Crying_Face[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x34, 0x2C, 0x4A, + 0x52, 0x12, 0x48, 0x12, 0x48, 0x92, 0x49, 0x52, 0x4A, 0x52, 0x4A, + 0x54, 0x2A, 0x94, 0x29, 0x18, 0x18, 0xF0, 0x0F, 0x00, 0x00}; -const unsigned char sun[] PROGMEM = { - 0x00, 0xC0, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x30, 0xC0, 0x00, 0x03, - 0x70, 0x00, 0x80, 0x03, 0xF0, 0x00, 0xC0, 0x03, 0xF0, 0xF8, 0xC7, 0x03, 0xE0, 0xFC, 0xCF, 0x01, 0x00, 0xFE, 0x1F, 0x00, - 0x00, 0xFF, 0x3F, 0x00, 0x80, 0xFF, 0x7F, 0x00, 0x80, 0xFF, 0x7F, 0x00, 0x8E, 0xFF, 0x7F, 0x1C, 0x9F, 0xFF, 0x7F, 0x3E, - 0x9F, 0xFF, 0x7F, 0x3E, 0x8E, 0xFF, 0x7F, 0x1C, 0x80, 0xFF, 0x7F, 0x00, 0x80, 0xFF, 0x7F, 0x00, 0x00, 0xFF, 0x3F, 0x00, - 0x00, 0xFE, 0x1F, 0x00, 0x00, 0xFC, 0x0F, 0x00, 0xC0, 0xF9, 0xE7, 0x00, 0xE0, 0x01, 0xE0, 0x01, 0xF0, 0x01, 0xE0, 0x03, - 0xF0, 0xC0, 0xC0, 0x03, 0x00, 0xE0, 0x01, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0xC0, 0x00, 0x00, -}; +const unsigned char wave_icon[] PROGMEM = {0x00, 0x00, 0xC0, 0x18, 0x30, 0x21, 0x48, 0x5A, 0x94, 0x64, 0x24, + 0x25, 0x4A, 0x24, 0x12, 0x44, 0x22, 0x44, 0x04, 0x40, 0x08, 0x40, + 0x12, 0x40, 0x22, 0x20, 0xC4, 0x10, 0x18, 0x0F, 0x00, 0x00}; -const unsigned char rain[] PROGMEM = { - 0xC0, 0x0F, 0xC0, 0x00, 0x40, 0x00, 0x80, 0x00, 0x20, 0x00, 0x80, 0x00, 0x20, 0x00, 0x80, 0x03, 0x38, 0x00, - 0x00, 0x0E, 0x0C, 0x00, 0x00, 0x18, 0x02, 0x00, 0x00, 0x10, 0x03, 0x00, 0x00, 0x30, 0x01, 0x00, 0x00, 0x20, - 0x01, 0x00, 0x00, 0x20, 0x01, 0x00, 0x00, 0x20, 0x01, 0x00, 0x00, 0x20, 0x03, 0x00, 0x00, 0x30, 0x02, 0x00, - 0x00, 0x10, 0x06, 0x00, 0x00, 0x08, 0xFC, 0xFF, 0xFF, 0x07, 0xF0, 0xFF, 0xFF, 0x01, 0x80, 0x00, 0x01, 0x00, - 0xC0, 0xC0, 0x81, 0x03, 0xA0, 0x60, 0xC1, 0x03, 0x90, 0x20, 0x41, 0x01, 0xF0, 0xE0, 0xC0, 0x01, 0x60, 0x4C, - 0x98, 0x00, 0x00, 0x0E, 0x1C, 0x00, 0x00, 0x0B, 0x12, 0x00, 0x00, 0x09, 0x1A, 0x00, 0x00, 0x06, 0x0E, 0x00, -}; +const unsigned char cowboy[] PROGMEM = {0x70, 0x0E, 0x8F, 0xF1, 0x11, 0x88, 0x21, 0x84, 0xC2, 0x43, 0x1E, + 0x78, 0xE2, 0x47, 0x42, 0x42, 0x12, 0x48, 0x12, 0x48, 0x22, 0x44, + 0xC4, 0x23, 0x04, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; -const unsigned char cloud[] PROGMEM = { - 0x00, 0x80, 0x07, 0x00, 0x00, 0xE0, 0x1F, 0x00, 0x00, 0x70, 0x30, 0x00, 0x00, 0x10, 0x60, 0x00, 0x80, 0x1F, 0x40, 0x00, - 0xC0, 0x0F, 0xC0, 0x00, 0xC0, 0x00, 0x80, 0x00, 0x60, 0x00, 0x80, 0x00, 0x20, 0x00, 0x80, 0x00, 0x20, 0x00, 0x80, 0x01, - 0x20, 0x00, 0x00, 0x07, 0x38, 0x00, 0x00, 0x0C, 0x0C, 0x00, 0x00, 0x08, 0x06, 0x00, 0x00, 0x18, 0x02, 0x00, 0x00, 0x10, - 0x02, 0x00, 0x00, 0x30, 0x03, 0x00, 0x00, 0x20, 0x01, 0x00, 0x00, 0x20, 0x01, 0x00, 0x00, 0x20, 0x01, 0x00, 0x00, 0x20, - 0x01, 0x00, 0x00, 0x20, 0x01, 0x00, 0x00, 0x20, 0x01, 0x00, 0x00, 0x20, 0x01, 0x00, 0x00, 0x30, 0x03, 0x00, 0x00, 0x10, - 0x02, 0x00, 0x00, 0x10, 0x06, 0x00, 0x00, 0x18, 0x0C, 0x00, 0x00, 0x0C, 0xFC, 0xFF, 0xFF, 0x07, 0xF0, 0xFF, 0xFF, 0x03, -}; +const unsigned char deadmau5[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0xE4, 0x27, 0x12, 0x48, 0x0A, + 0x50, 0x0E, 0x70, 0x11, 0x88, 0x19, 0x98, 0x19, 0x98, 0x19, 0x98, + 0x19, 0x98, 0x19, 0x98, 0x11, 0x88, 0x0E, 0x70, 0x00, 0x00}; -const unsigned char fog[] PROGMEM = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x78, 0x00, 0x3C, 0x00, 0xFE, 0x01, 0xFF, 0x00, 0x87, 0xC7, 0xC3, 0x01, 0x03, 0xFE, 0x80, 0x01, - 0x00, 0x38, 0x00, 0x00, 0xFC, 0x00, 0x7E, 0x00, 0xFF, 0x83, 0xFF, 0x01, 0x03, 0xFF, 0x81, 0x01, 0x00, 0x7C, 0x00, 0x00, - 0xF8, 0x00, 0x3E, 0x00, 0xFE, 0x01, 0xFF, 0x00, 0x87, 0xC7, 0xC3, 0x01, 0x03, 0xFE, 0x80, 0x01, 0x00, 0x38, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -}; +const unsigned char sun[] PROGMEM = {0x00, 0x00, 0x80, 0x01, 0xEC, 0x37, 0xFC, 0x3F, 0xF8, 0x1F, 0xFC, + 0x3F, 0xFE, 0x7F, 0xFC, 0x3F, 0xFC, 0x3F, 0xFE, 0x7F, 0xFC, 0x3F, + 0xF8, 0x1F, 0xFC, 0x3F, 0xEC, 0x37, 0x80, 0x01, 0x00, 0x00}; -const unsigned char devil[] PROGMEM = { - 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xe0, 0x03, 0x00, 0x00, 0xf0, 0x0f, 0xfc, 0x0f, 0xfc, - 0x3f, 0xff, 0x3f, 0xff, 0xfe, 0xff, 0xff, 0xdf, 0xfe, 0xff, 0xff, 0xdf, 0xfe, 0xff, 0xff, 0xdf, 0xfc, 0xff, 0xff, 0xcf, - 0xfc, 0xff, 0xff, 0xcf, 0xf8, 0xff, 0xff, 0xc7, 0xf0, 0xff, 0xff, 0xc3, 0xf0, 0xff, 0xff, 0xc3, 0xf0, 0xf1, 0xe3, 0xc3, - 0xf0, 0xe7, 0xf9, 0xc3, 0xf0, 0xe7, 0xf9, 0xc3, 0xf0, 0xe3, 0xf1, 0xc3, 0xf0, 0xe3, 0xf1, 0xc3, 0xf0, 0xe7, 0xf9, 0xc3, - 0xf0, 0xff, 0xff, 0xc3, 0xe0, 0xfd, 0xef, 0xc1, 0xe0, 0xf3, 0xf3, 0xc1, 0xc0, 0x07, 0xf8, 0xc0, 0x80, 0x1f, 0x7e, 0xc0, - 0x00, 0xff, 0x3f, 0xc0, 0x00, 0xfe, 0x0f, 0xc0, 0x00, 0xf8, 0x03, 0xc0, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0xc0}; +const unsigned char rain[] PROGMEM = {0x00, 0x00, 0x00, 0x00, 0x00, 0x0E, 0x38, 0x1F, 0xFC, 0x3F, 0xFE, + 0x7F, 0xFE, 0x7F, 0xFE, 0x7F, 0xFC, 0x3F, 0x00, 0x00, 0x48, 0x12, + 0x48, 0x12, 0x24, 0x09, 0x24, 0x09, 0x00, 0x00, 0x00, 0x00}; -const unsigned char heart[] PROGMEM = { - 0x00, 0x00, 0x00, 0x00, 0xC0, 0x03, 0xF0, 0x00, 0xF8, 0x0F, 0xFC, 0x07, 0xFC, 0x1F, 0x06, 0x0E, 0xFE, 0x3F, 0x03, 0x18, - 0xFE, 0xFF, 0x7F, 0x10, 0xFF, 0xFF, 0xFF, 0x31, 0xFF, 0xFF, 0xFF, 0x33, 0xFF, 0xFF, 0xFF, 0x37, 0xFF, 0xFF, 0xFF, 0x37, - 0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F, 0xFE, 0xFF, 0xFF, 0x1F, 0xFE, 0xFF, 0xFF, 0x1F, - 0xFC, 0xFF, 0xFF, 0x0F, 0xFC, 0xFF, 0xFF, 0x0F, 0xF8, 0xFF, 0xFF, 0x07, 0xF0, 0xFF, 0xFF, 0x03, 0xF0, 0xFF, 0xFF, 0x03, - 0xE0, 0xFF, 0xFF, 0x01, 0xC0, 0xFF, 0xFF, 0x00, 0x80, 0xFF, 0x7F, 0x00, 0x00, 0xFF, 0x3F, 0x00, 0x00, 0xFE, 0x1F, 0x00, - 0x00, 0xFC, 0x0F, 0x00, 0x00, 0xF8, 0x07, 0x00, 0x00, 0xF0, 0x03, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x80, 0x00, 0x00, -}; +const unsigned char cloud[] PROGMEM = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0E, 0x38, 0x1F, 0xFC, + 0x3F, 0xFE, 0x7F, 0xFE, 0x7F, 0xFE, 0x7F, 0xFC, 0x3F, 0xF8, 0x1F, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; -const unsigned char poo[] PROGMEM = { - 0x00, 0x1c, 0x00, 0xc0, 0x00, 0x7c, 0x00, 0xc0, 0x00, 0xfc, 0x00, 0xc0, 0x00, 0x7c, 0x03, 0xc0, 0x00, 0xbe, 0x03, 0xc0, - 0x00, 0xdf, 0x0f, 0xc0, 0x80, 0xcf, 0x0f, 0xc0, 0xc0, 0xf1, 0x0f, 0xc0, 0x60, 0xfc, 0x0f, 0xc0, 0x30, 0xff, 0x07, 0xc0, - 0x90, 0xff, 0x3b, 0xc0, 0xc0, 0xff, 0x7d, 0xc0, 0xf8, 0xff, 0xfc, 0xc0, 0xf8, 0x3f, 0xf0, 0xc0, 0x78, 0x88, 0xc0, 0xc0, - 0x20, 0xe3, 0x18, 0xc0, 0x98, 0xe7, 0xbc, 0xc1, 0x9c, 0x64, 0xa4, 0xc3, 0x9e, 0x64, 0xa4, 0xc7, 0xbe, 0xe4, 0xa4, 0xc7, - 0xbc, 0x27, 0xbc, 0xc7, 0x38, 0x03, 0xd9, 0xc3, 0x00, 0xf0, 0x63, 0xc0, 0xf8, 0xfc, 0x3f, 0xcf, 0xfc, 0xff, 0x87, 0xdf, - 0xfe, 0xff, 0xe0, 0xdf, 0xfc, 0x1f, 0xfe, 0xdf, 0xf8, 0x07, 0xf8, 0xcf, 0xf0, 0x03, 0xe0, 0xc7, 0x00, 0x00, 0x00, 0xc0}; +const unsigned char fog[] PROGMEM = {0x00, 0x00, 0x00, 0x00, 0x88, 0x88, 0x54, 0x55, 0x22, 0x22, 0x00, + 0x00, 0x44, 0x44, 0xAA, 0x2A, 0x11, 0x11, 0x00, 0x00, 0x88, 0x88, + 0x54, 0x55, 0x22, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; -const unsigned char bell_icon[] PROGMEM = { - 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b11110000, - 0b00000011, 0b00000000, 0b00000000, 0b11111100, 0b00001111, 0b00000000, 0b00000000, 0b00001111, 0b00111100, 0b00000000, - 0b00000000, 0b00000011, 0b00110000, 0b00000000, 0b10000000, 0b00000001, 0b01100000, 0b00000000, 0b11000000, 0b00000000, - 0b11000000, 0b00000000, 0b11000000, 0b00000000, 0b11000000, 0b00000000, 0b11000000, 0b00000000, 0b11000000, 0b00000000, - 0b11000000, 0b00000000, 0b11000000, 0b00000000, 0b11000000, 0b00000000, 0b11000000, 0b00000000, 0b11000000, 0b00000000, - 0b11000000, 0b00000000, 0b11000000, 0b00000000, 0b11000000, 0b00000000, 0b11000000, 0b00000000, 0b11000000, 0b00000000, - 0b11000000, 0b00000000, 0b11000000, 0b00000000, 0b01000000, 0b00000000, 0b10000000, 0b00000000, 0b01100000, 0b00000000, - 0b10000000, 0b00000001, 0b01110000, 0b00000000, 0b10000000, 0b00000011, 0b00110000, 0b00000000, 0b00000000, 0b00000011, - 0b00011000, 0b00000000, 0b00000000, 0b00000110, 0b11110000, 0b11111111, 0b11111111, 0b00000011, 0b00000000, 0b00001100, - 0b00001100, 0b00000000, 0b00000000, 0b00011000, 0b00000110, 0b00000000, 0b00000000, 0b11111000, 0b00000111, 0b00000000, - 0b00000000, 0b11100000, 0b00000001, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, - 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000}; +const unsigned char devil[] PROGMEM = {0x06, 0x60, 0xCA, 0x53, 0x32, 0x4C, 0x22, 0x44, 0x44, 0x22, 0x3A, + 0x5C, 0x32, 0x4C, 0x52, 0x4A, 0x72, 0x4E, 0x02, 0x40, 0x22, 0x44, + 0xC4, 0x23, 0x04, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; + +const unsigned char heart[] PROGMEM = {0x00, 0x00, 0x00, 0x00, 0x3C, 0x3C, 0x7E, 0x7E, 0xFE, 0x7F, 0xFE, + 0x7F, 0xFE, 0x7F, 0xFE, 0x7F, 0xFC, 0x3F, 0xF8, 0x1F, 0xF8, 0x1F, + 0xF0, 0x0F, 0xE0, 0x07, 0xC0, 0x03, 0x80, 0x01, 0x00, 0x00}; + +const unsigned char poo[] PROGMEM = {0x00, 0x00, 0x80, 0x01, 0x40, 0x02, 0x20, 0x04, 0x10, 0x04, 0xF0, + 0x08, 0x10, 0x10, 0x48, 0x12, 0x08, 0x18, 0xE8, 0x21, 0x1C, 0x40, + 0x42, 0x42, 0x82, 0x41, 0x02, 0x30, 0xFC, 0x0F, 0x00, 0x00}; + +const unsigned char bell_icon[] PROGMEM = {0x00, 0x00, 0x80, 0x01, 0x80, 0x01, 0xE0, 0x07, 0xF0, 0x0F, 0xF0, + 0x0F, 0xF8, 0x1F, 0xF8, 0x1F, 0xF8, 0x1F, 0xF8, 0x1F, 0xFC, 0x3F, + 0xFC, 0x3F, 0xFE, 0x7F, 0xFE, 0x7F, 0x80, 0x01, 0x00, 0x00}; + +const unsigned char cookie[] PROGMEM = {0x00, 0x00, 0xE0, 0x07, 0x18, 0x18, 0x04, 0x20, 0x34, 0x22, 0x32, + 0x40, 0x02, 0x58, 0x82, 0x5B, 0x92, 0x43, 0x82, 0x43, 0x02, 0x40, + 0x64, 0x28, 0x64, 0x20, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; + +const unsigned char Fire[] PROGMEM = {0x30, 0x00, 0xF0, 0x00, 0xF8, 0x03, 0xF8, 0x07, 0xFC, 0x1F, 0xFC, + 0x1F, 0xFE, 0x3E, 0x7E, 0x3E, 0x3E, 0x7C, 0x1E, 0x78, 0x1E, 0x70, + 0x1C, 0x70, 0x1C, 0x70, 0x38, 0x38, 0x30, 0x38, 0x60, 0x0C}; + +const unsigned char peace_sign[] PROGMEM = {0xC0, 0x30, 0x40, 0x29, 0x40, 0x25, 0x40, 0x15, 0x40, 0x12, 0x38, + 0x0A, 0x54, 0x68, 0x54, 0x58, 0x54, 0x44, 0x3C, 0x22, 0x04, 0x22, + 0x04, 0x12, 0x08, 0x10, 0x10, 0x08, 0xE0, 0x07, 0x00, 0x00}; + +const unsigned char Praying[] PROGMEM = {0x00, 0x00, 0x40, 0x02, 0xA0, 0x05, 0x90, 0x09, 0x90, 0x09, 0x90, + 0x09, 0x98, 0x19, 0x94, 0x29, 0xA4, 0x25, 0xA4, 0x25, 0x84, 0x21, + 0x84, 0x21, 0x86, 0x61, 0x4E, 0x72, 0x7F, 0x7E, 0x3F, 0xFC}; + +const unsigned char Sparkles[] PROGMEM = {0x00, 0x00, 0x10, 0x00, 0x38, 0x04, 0x10, 0x04, 0x00, 0x0E, 0x00, + 0x1F, 0x80, 0x3F, 0xE0, 0xFF, 0x80, 0x3F, 0x10, 0x1F, 0x10, 0x0E, + 0x38, 0x04, 0xFE, 0x04, 0x38, 0x00, 0x10, 0x00, 0x10, 0x00}; + +const unsigned char clown[] PROGMEM = {0x00, 0x00, 0xEE, 0x77, 0x1A, 0x58, 0x06, 0x60, 0x24, 0x24, 0x72, + 0x4E, 0x22, 0x44, 0x82, 0x41, 0x82, 0x41, 0x1A, 0x58, 0xF2, 0x4F, + 0x14, 0x28, 0xE4, 0x27, 0x18, 0x18, 0xE0, 0x07, 0x00, 0x00}; + +const unsigned char robo[] PROGMEM = {0x80, 0x01, 0xC0, 0x03, 0x80, 0x01, 0xFC, 0x3F, 0x04, 0x20, 0x74, + 0x2E, 0x52, 0x4A, 0x72, 0x4E, 0x02, 0x40, 0x02, 0x40, 0xA2, 0x4A, + 0x52, 0x45, 0x04, 0x20, 0x04, 0x20, 0xFC, 0x3F, 0x00, 0x00}; + +const unsigned char hole[] PROGMEM = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x0F, 0x3C, 0x3C, + 0x06, 0x60, 0x0C, 0x30, 0xF0, 0x0F, 0x00, 0x00, 0x00, 0x00}; + +const unsigned char bowling[] PROGMEM = {0x00, 0x38, 0x00, 0x44, 0x00, 0x44, 0x00, 0x44, 0x00, 0x28, 0x00, + 0x38, 0x00, 0x28, 0x78, 0x44, 0x84, 0x82, 0x22, 0x83, 0x52, 0x83, + 0x02, 0x83, 0x02, 0x45, 0x84, 0x44, 0x78, 0x38, 0x00, 0x00}; + +const unsigned char vulcan_salute[] PROGMEM = {0x08, 0x02, 0x16, 0x0D, 0x15, 0x15, 0x15, 0x15, 0xA9, 0x12, 0x4A, + 0x0A, 0x02, 0x38, 0x04, 0x48, 0x04, 0x44, 0x04, 0x22, 0x04, 0x22, + 0x04, 0x12, 0x08, 0x10, 0x10, 0x08, 0xE0, 0x07, 0x00, 0x00}; #endif } // namespace graphics +#endif \ No newline at end of file diff --git a/src/graphics/emotes.h b/src/graphics/emotes.h index 30b164cbc..b1b2d16da 100644 --- a/src/graphics/emotes.h +++ b/src/graphics/emotes.h @@ -17,98 +17,150 @@ extern const int numEmotes; #ifndef EXCLUDE_EMOJI // === Emote Bitmaps === -#define thumbs_height 25 -#define thumbs_width 25 +#define thumbs_height 16 +#define thumbs_width 16 extern const unsigned char thumbup[] PROGMEM; extern const unsigned char thumbdown[] PROGMEM; -#define Smiling_Eyes_height 30 -#define Smiling_Eyes_width 30 +#define Smiling_Eyes_height 16 +#define Smiling_Eyes_width 16 extern const unsigned char Smiling_Eyes[] PROGMEM; -#define Grinning_height 30 -#define Grinning_width 30 +#define Grinning_height 16 +#define Grinning_width 16 extern const unsigned char Grinning[] PROGMEM; -#define Slightly_Smiling_height 30 -#define Slightly_Smiling_width 30 +#define Slightly_Smiling_height 16 +#define Slightly_Smiling_width 16 extern const unsigned char Slightly_Smiling[] PROGMEM; -#define Winking_Face_height 30 -#define Winking_Face_width 30 +#define Winking_Face_height 16 +#define Winking_Face_width 16 extern const unsigned char Winking_Face[] PROGMEM; -#define Grinning_Smiling_Eyes_height 30 -#define Grinning_Smiling_Eyes_width 30 +#define Grinning_Smiling_Eyes_height 16 +#define Grinning_Smiling_Eyes_width 16 extern const unsigned char Grinning_Smiling_Eyes[] PROGMEM; -#define question_height 25 -#define question_width 25 +#define heart_smile_height 16 +#define heart_smile_width 16 +extern const unsigned char heart_smile[] PROGMEM; + +#define Heart_eyes_height 16 +#define Heart_eyes_width 16 +extern const unsigned char Heart_eyes[] PROGMEM; + +#define question_height 16 +#define question_width 16 extern const unsigned char question[] PROGMEM; -#define bang_height 30 -#define bang_width 30 +#define bang_height 16 +#define bang_width 16 extern const unsigned char bang[] PROGMEM; -#define haha_height 30 -#define haha_width 30 +#define haha_height 16 +#define haha_width 16 extern const unsigned char haha[] PROGMEM; -#define ROFL_height 30 -#define ROFL_width 30 +#define ROFL_height 16 +#define ROFL_width 16 extern const unsigned char ROFL[] PROGMEM; -#define Smiling_Closed_Eyes_height 30 -#define Smiling_Closed_Eyes_width 30 +#define Smiling_Closed_Eyes_height 16 +#define Smiling_Closed_Eyes_width 16 extern const unsigned char Smiling_Closed_Eyes[] PROGMEM; -#define Grinning_SmilingEyes2_height 30 -#define Grinning_SmilingEyes2_width 30 +#define Grinning_SmilingEyes2_height 16 +#define Grinning_SmilingEyes2_width 16 extern const unsigned char Grinning_SmilingEyes2[] PROGMEM; -#define wave_icon_height 30 -#define wave_icon_width 30 +#define Loudly_Crying_Face_height 16 +#define Loudly_Crying_Face_width 16 +extern const unsigned char Loudly_Crying_Face[] PROGMEM; + +#define wave_icon_height 16 +#define wave_icon_width 16 extern const unsigned char wave_icon[] PROGMEM; -#define cowboy_height 30 -#define cowboy_width 30 +#define cowboy_height 16 +#define cowboy_width 16 extern const unsigned char cowboy[] PROGMEM; -#define deadmau5_height 30 -#define deadmau5_width 60 +#define deadmau5_height 16 +#define deadmau5_width 16 extern const unsigned char deadmau5[] PROGMEM; -#define sun_height 30 -#define sun_width 30 +#define sun_height 16 +#define sun_width 16 extern const unsigned char sun[] PROGMEM; -#define rain_height 30 -#define rain_width 30 +#define rain_height 16 +#define rain_width 16 extern const unsigned char rain[] PROGMEM; -#define cloud_height 30 -#define cloud_width 30 +#define cloud_height 16 +#define cloud_width 16 extern const unsigned char cloud[] PROGMEM; -#define fog_height 25 -#define fog_width 25 +#define fog_height 16 +#define fog_width 16 extern const unsigned char fog[] PROGMEM; -#define devil_height 30 -#define devil_width 30 +#define devil_height 16 +#define devil_width 16 extern const unsigned char devil[] PROGMEM; -#define heart_height 30 -#define heart_width 30 +#define heart_height 16 +#define heart_width 16 extern const unsigned char heart[] PROGMEM; -#define poo_height 30 -#define poo_width 30 +#define poo_height 16 +#define poo_width 16 extern const unsigned char poo[] PROGMEM; -#define bell_icon_width 30 -#define bell_icon_height 30 +#define bell_icon_width 16 +#define bell_icon_height 16 extern const unsigned char bell_icon[] PROGMEM; + +#define cookie_width 16 +#define cookie_height 16 +extern const unsigned char cookie[] PROGMEM; + +#define Fire_width 16 +#define Fire_height 16 +extern const unsigned char Fire[] PROGMEM; + +#define peace_sign_width 16 +#define peace_sign_height 16 +extern const unsigned char peace_sign[] PROGMEM; + +#define Praying_width 16 +#define Praying_height 16 +extern const unsigned char Praying[] PROGMEM; + +#define Sparkles_width 16 +#define Sparkles_height 16 +extern const unsigned char Sparkles[] PROGMEM; + +#define clown_width 16 +#define clown_height 16 +extern const unsigned char clown[] PROGMEM; + +#define robo_width 16 +#define robo_height 16 +extern const unsigned char robo[] PROGMEM; + +#define hole_width 16 +#define hole_height 16 +extern const unsigned char hole[] PROGMEM; + +#define bowling_width 16 +#define bowling_height 16 +extern const unsigned char bowling[] PROGMEM; + +#define vulcan_salute_width 16 +#define vulcan_salute_height 16 +extern const unsigned char vulcan_salute[] PROGMEM; #endif // EXCLUDE_EMOJI -} // namespace graphics +} // namespace graphics \ No newline at end of file diff --git a/src/graphics/images.h b/src/graphics/images.h index b5010b116..c268b3269 100644 --- a/src/graphics/images.h +++ b/src/graphics/images.h @@ -28,7 +28,7 @@ const uint8_t bluetoothConnectedIcon[36] PROGMEM = {0xfe, 0x01, 0xff, 0x03, 0x03 #if (defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || defined(ST7701_CS) || defined(ST7735_CS) || \ defined(ST7789_CS) || defined(USE_ST7789) || defined(HX8357_CS) || defined(ILI9488_CS) || defined(ST7796_CS) || \ - ARCH_PORTDUINO) && \ + defined(USE_ST7796) || defined(HACKADAY_COMMUNICATOR) || ARCH_PORTDUINO) && \ !defined(DISPLAY_FORCE_SMALL_FONTS) const uint8_t imgQuestionL1[] PROGMEM = {0xff, 0x01, 0x01, 0x32, 0x7b, 0x49, 0x49, 0x6f, 0x26, 0x01, 0x01, 0xff}; const uint8_t imgQuestionL2[] PROGMEM = {0x0f, 0x08, 0x08, 0x08, 0x06, 0x0f, 0x0f, 0x06, 0x08, 0x08, 0x08, 0x0f}; @@ -360,6 +360,10 @@ const uint8_t chirpy_hirez[] = { #define chirpy_small_image_height 8 const uint8_t chirpy_small[] = {0x7f, 0x41, 0x55, 0x55, 0x55, 0x55, 0x41, 0x7f}; +#define connection_icon_width 7 +#define connection_icon_height 5 +const uint8_t connection_icon[] = {0x36, 0x41, 0x5D, 0x41, 0x36}; + #ifdef M5STACK_UNITC6L #include "img/icon_small.xbm" #else diff --git a/src/graphics/niche/InkHUD/AppletFont.cpp b/src/graphics/niche/InkHUD/AppletFont.cpp index db7097f3f..6c7a7b491 100644 --- a/src/graphics/niche/InkHUD/AppletFont.cpp +++ b/src/graphics/niche/InkHUD/AppletFont.cpp @@ -124,7 +124,7 @@ uint32_t InkHUD::AppletFont::toUtf32(std::string utf8) utf32 |= (utf8.at(3) & 0b00111111); break; default: - assert(false); + return 0; } return utf32; diff --git a/src/graphics/niche/InkHUD/Applets/Bases/Map/MapApplet.cpp b/src/graphics/niche/InkHUD/Applets/Bases/Map/MapApplet.cpp index db0805f4e..d383a11e4 100644 --- a/src/graphics/niche/InkHUD/Applets/Bases/Map/MapApplet.cpp +++ b/src/graphics/niche/InkHUD/Applets/Bases/Map/MapApplet.cpp @@ -13,45 +13,147 @@ void InkHUD::MapApplet::onRender() return; } + // Helper: draw rounded rectangle centered at x,y + auto fillRoundedRect = [&](int16_t cx, int16_t cy, int16_t w, int16_t h, int16_t r, uint16_t color) { + int16_t x = cx - (w / 2); + int16_t y = cy - (h / 2); + + // center rects + fillRect(x + r, y, w - 2 * r, h, color); + fillRect(x, y + r, r, h - 2 * r, color); + fillRect(x + w - r, y + r, r, h - 2 * r, color); + + // corners + fillCircle(x + r, y + r, r, color); + fillCircle(x + w - r - 1, y + r, r, color); + fillCircle(x + r, y + h - r - 1, r, color); + fillCircle(x + w - r - 1, y + h - r - 1, r, color); + }; + // Find center of map - // - latitude and longitude - // - will be placed at X(0.5), Y(0.5) getMapCenter(&latCenter, &lngCenter); - - // Calculate North+East distance of each node to map center - // - which nodes to use controlled by virtual shouldDrawNode method calculateAllMarkers(); - - // Set the region shown on the map - // - default: fit all nodes, plus padding - // - maybe overriden by derived applet - // - getMapSize *sets* passed parameters (C-style) getMapSize(&widthMeters, &heightMeters); - - // Set the metersToPx conversion value calculateMapScale(); - // Special marker for own node - meshtastic_NodeInfoLite *ourNode = nodeDB->getMeshNode(nodeDB->getNodeNum()); - if (ourNode && nodeDB->hasValidPosition(ourNode)) - drawLabeledMarker(ourNode); - - // Draw all markers + // Draw all markers first for (Marker m : markers) { int16_t x = X(0.5) + (m.eastMeters * metersToPx); int16_t y = Y(0.5) - (m.northMeters * metersToPx); - // Cross Size - constexpr uint16_t csMin = 5; - constexpr uint16_t csMax = 12; + // Add white halo outline first + constexpr int outlinePad = 1; + int boxSize = 11; + int radius = 2; // rounded corner radius - // Too many hops away - if (m.hasHopsAway && m.hopsAway > config.lora.hop_limit) // Too many mops - printAt(x, y, "!", CENTER, MIDDLE); - else if (!m.hasHopsAway) // Unknown hops - drawCross(x, y, csMin); - else // The fewer hops, the larger the cross - drawCross(x, y, map(m.hopsAway, 0, config.lora.hop_limit, csMax, csMin)); + // White halo background + fillRoundedRect(x, y, boxSize + (outlinePad * 2), boxSize + (outlinePad * 2), radius + 1, WHITE); + + // Draw inner box + fillRoundedRect(x, y, boxSize, boxSize, radius, BLACK); + + // Text inside + setFont(fontSmall); + setTextColor(WHITE); + + // Draw actual marker on top + if (m.hasHopsAway && m.hopsAway > config.lora.hop_limit) { + printAt(x + 1, y + 1, "X", CENTER, MIDDLE); + } else if (!m.hasHopsAway) { + printAt(x + 1, y + 1, "?", CENTER, MIDDLE); + } else { + char hopStr[4]; + snprintf(hopStr, sizeof(hopStr), "%d", m.hopsAway); + printAt(x, y + 1, hopStr, CENTER, MIDDLE); + } + + // Restore default font and color + setFont(fontSmall); + setTextColor(BLACK); + } + + // Dual map scale bars + int16_t horizPx = width() * 0.25f; + int16_t vertPx = height() * 0.25f; + float horizMeters = horizPx / metersToPx; + float vertMeters = vertPx / metersToPx; + + auto formatDistance = [&](float meters, char *out, size_t len) { + if (config.display.units == meshtastic_Config_DisplayConfig_DisplayUnits_IMPERIAL) { + float feet = meters * 3.28084f; + if (feet < 528) + snprintf(out, len, "%.0f ft", feet); + else { + float miles = feet / 5280.0f; + snprintf(out, len, miles < 10 ? "%.1f mi" : "%.0f mi", miles); + } + } else { + if (meters >= 1000) + snprintf(out, len, "%.1f km", meters / 1000.0f); + else + snprintf(out, len, "%.0f m", meters); + } + }; + + // Horizontal scale bar + int16_t horizBarY = height() - 2; + int16_t horizBarX = 1; + drawLine(horizBarX, horizBarY, horizBarX + horizPx, horizBarY, BLACK); + drawLine(horizBarX, horizBarY - 3, horizBarX, horizBarY + 3, BLACK); + drawLine(horizBarX + horizPx, horizBarY - 3, horizBarX + horizPx, horizBarY + 3, BLACK); + + char horizLabel[32]; + formatDistance(horizMeters, horizLabel, sizeof(horizLabel)); + int16_t horizLabelW = getTextWidth(horizLabel); + int16_t horizLabelH = getFont().lineHeight(); + int16_t horizLabelX = horizBarX + horizPx + 4; + int16_t horizLabelY = horizBarY - horizLabelH + 1; + fillRect(horizLabelX - 2, horizLabelY - 1, horizLabelW + 4, horizLabelH + 2, WHITE); + printAt(horizLabelX, horizBarY, horizLabel, LEFT, BOTTOM); + + // Vertical scale bar + int16_t vertBarX = 1; + int16_t vertBarBottom = horizBarY; + int16_t vertBarTop = vertBarBottom - vertPx; + drawLine(vertBarX, vertBarBottom, vertBarX, vertBarTop, BLACK); + drawLine(vertBarX - 3, vertBarBottom, vertBarX + 3, vertBarBottom, BLACK); + drawLine(vertBarX - 3, vertBarTop, vertBarX + 3, vertBarTop, BLACK); + + char vertTopLabel[32]; + formatDistance(vertMeters, vertTopLabel, sizeof(vertTopLabel)); + int16_t topLabelY = vertBarTop - getFont().lineHeight() - 2; + int16_t topLabelW = getTextWidth(vertTopLabel); + int16_t topLabelH = getFont().lineHeight(); + fillRect(vertBarX - 2, topLabelY - 1, topLabelW + 6, topLabelH + 2, WHITE); + printAt(vertBarX + (topLabelW / 2) + 1, topLabelY + (topLabelH / 2), vertTopLabel, CENTER, MIDDLE); + + char vertBottomLabel[32]; + formatDistance(vertMeters, vertBottomLabel, sizeof(vertBottomLabel)); + int16_t bottomLabelY = vertBarBottom + 4; + int16_t bottomLabelW = getTextWidth(vertBottomLabel); + int16_t bottomLabelH = getFont().lineHeight(); + fillRect(vertBarX - 2, bottomLabelY - 1, bottomLabelW + 6, bottomLabelH + 2, WHITE); + printAt(vertBarX + (bottomLabelW / 2) + 1, bottomLabelY + (bottomLabelH / 2), vertBottomLabel, CENTER, MIDDLE); + + // Draw our node LAST with full white fill + outline + meshtastic_NodeInfoLite *ourNode = nodeDB->getMeshNode(nodeDB->getNodeNum()); + if (ourNode && nodeDB->hasValidPosition(ourNode)) { + Marker self = calculateMarker(ourNode->position.latitude_i * 1e-7, ourNode->position.longitude_i * 1e-7, false, 0); + + int16_t centerX = X(0.5) + (self.eastMeters * metersToPx); + int16_t centerY = Y(0.5) - (self.northMeters * metersToPx); + + // White fill background + halo + fillCircle(centerX, centerY, 8, WHITE); // big white base + drawCircle(centerX, centerY, 8, WHITE); // crisp edge + + // Black bullseye on top + drawCircle(centerX, centerY, 6, BLACK); + fillCircle(centerX, centerY, 2, BLACK); + + // Crosshairs + drawLine(centerX - 8, centerY, centerX + 8, centerY, BLACK); + drawLine(centerX, centerY - 8, centerX, centerY + 8, BLACK); } } @@ -63,116 +165,129 @@ void InkHUD::MapApplet::onRender() void InkHUD::MapApplet::getMapCenter(float *lat, float *lng) { - // Find mean lat long coords - // ============================ - // - assigning X, Y and Z values to position on Earth's surface in 3D space, relative to center of planet - // - averages the x, y and z coords - // - uses tan to find angles for lat / long degrees - // - longitude: triangle formed by x and y (on plane of the equator) - // - latitude: triangle formed by z (north south), - // and the line along plane of equator which stretches from earth's axis to where point xyz intersects planet's surface + // If we have a valid position for our own node, use that as the anchor + meshtastic_NodeInfoLite *ourNode = nodeDB->getMeshNode(nodeDB->getNodeNum()); + if (ourNode && nodeDB->hasValidPosition(ourNode)) { + *lat = ourNode->position.latitude_i * 1e-7; + *lng = ourNode->position.longitude_i * 1e-7; + } else { + // Find mean lat long coords + // ============================ + // - assigning X, Y and Z values to position on Earth's surface in 3D space, relative to center of planet + // - averages the x, y and z coords + // - uses tan to find angles for lat / long degrees + // - longitude: triangle formed by x and y (on plane of the equator) + // - latitude: triangle formed by z (north south), + // and the line along plane of equator which stretches from earth's axis to where point xyz intersects planet's + // surface - // Working totals, averaged after nodeDB processed - uint32_t positionCount = 0; - float xAvg = 0; - float yAvg = 0; - float zAvg = 0; + // Working totals, averaged after nodeDB processed + uint32_t positionCount = 0; + float xAvg = 0; + float yAvg = 0; + float zAvg = 0; - // For each node in db - for (uint32_t i = 0; i < nodeDB->getNumMeshNodes(); i++) { - meshtastic_NodeInfoLite *node = nodeDB->getMeshNodeByIndex(i); + // For each node in db + for (uint32_t i = 0; i < nodeDB->getNumMeshNodes(); i++) { + meshtastic_NodeInfoLite *node = nodeDB->getMeshNodeByIndex(i); - // Skip if no position - if (!nodeDB->hasValidPosition(node)) - continue; + // Skip if no position + if (!nodeDB->hasValidPosition(node)) + continue; - // Skip if derived applet doesn't want to show this node on the map - if (!shouldDrawNode(node)) - continue; + // Skip if derived applet doesn't want to show this node on the map + if (!shouldDrawNode(node)) + continue; - // Latitude and Longitude of node, in radians - float latRad = node->position.latitude_i * (1e-7) * DEG_TO_RAD; - float lngRad = node->position.longitude_i * (1e-7) * DEG_TO_RAD; + // Latitude and Longitude of node, in radians + float latRad = node->position.latitude_i * (1e-7) * DEG_TO_RAD; + float lngRad = node->position.longitude_i * (1e-7) * DEG_TO_RAD; - // Convert to cartesian points, with center of earth at 0, 0, 0 - // Exact distance from center is irrelevant, as we're only interested in the vector - float x = cos(latRad) * cos(lngRad); - float y = cos(latRad) * sin(lngRad); - float z = sin(latRad); + // Convert to cartesian points, with center of earth at 0, 0, 0 + // Exact distance from center is irrelevant, as we're only interested in the vector + float x = cos(latRad) * cos(lngRad); + float y = cos(latRad) * sin(lngRad); + float z = sin(latRad); - // To find mean values shortly - xAvg += x; - yAvg += y; - zAvg += z; - positionCount++; + // To find mean values shortly + xAvg += x; + yAvg += y; + zAvg += z; + positionCount++; + } + + // All NodeDB processed, find mean values + xAvg /= positionCount; + yAvg /= positionCount; + zAvg /= positionCount; + + // Longitude from cartesian coords + // (Angle from 3D coords describing a point of globe's surface) + /* + UK + /-------\ + (Top View) /- -\ + /- (You) -\ + /- . -\ + /- . X -\ + Asia - ... - USA + \- Y -/ + \- -/ + \- -/ + \- -/ + \- -----/ + Pacific + + */ + + *lng = atan2(yAvg, xAvg) * RAD_TO_DEG; + + // Latitude from cartesian coords + // (Angle from 3D coords describing a point on the globe's surface) + // As latitude increases, distance from the Earth's north-south axis out to our surface point decreases. + // Means we need to first find the hypotenuse which becomes base of our triangle in the second step + /* + UK North + /-------\ (Front View) /-------\ + (Top View) /- -\ /- -\ + /- (You) -\ /-(You) -\ + /- /. -\ /- . -\ + /- √X²+Y²/ . X -\ /- Z . -\ + Asia - /... - USA - ..... - + \- Y -/ \- √X²+Y² -/ + \- -/ \- -/ + \- -/ \- -/ + \- -/ \- -/ + \- -----/ \- -----/ + Pacific South + */ + + float hypotenuse = sqrt((xAvg * xAvg) + (yAvg * yAvg)); // Distance from globe's north-south axis to surface intersect + *lat = atan2(zAvg, hypotenuse) * RAD_TO_DEG; } - // All NodeDB processed, find mean values - xAvg /= positionCount; - yAvg /= positionCount; - zAvg /= positionCount; - - // Longitude from cartesian coords - // (Angle from 3D coords describing a point of globe's surface) - /* - UK - /-------\ - (Top View) /- -\ - /- (You) -\ - /- . -\ - /- . X -\ - Asia - ... - USA - \- Y -/ - \- -/ - \- -/ - \- -/ - \- -----/ - Pacific - - */ - - *lng = atan2(yAvg, xAvg) * RAD_TO_DEG; - - // Latitude from cartesian coords - // (Angle from 3D coords describing a point on the globe's surface) - // As latitude increases, distance from the Earth's north-south axis out to our surface point decreases. - // Means we need to first find the hypotenuse which becomes base of our triangle in the second step - /* - UK North - /-------\ (Front View) /-------\ - (Top View) /- -\ /- -\ - /- (You) -\ /-(You) -\ - /- /. -\ /- . -\ - /- √X²+Y²/ . X -\ /- Z . -\ - Asia - /... - USA - ..... - - \- Y -/ \- √X²+Y² -/ - \- -/ \- -/ - \- -/ \- -/ - \- -/ \- -/ - \- -----/ \- -----/ - Pacific South - */ - - float hypotenuse = sqrt((xAvg * xAvg) + (yAvg * yAvg)); // Distance from globe's north-south axis to surface intersect - *lat = atan2(zAvg, hypotenuse) * RAD_TO_DEG; + // Use either our node position, or the mean fallback as the center + latCenter = *lat; + lngCenter = *lng; // ---------------------------------------------- - // This has given us the "mean position" - // This will be a position *somewhere* near the center of our nodes. - // What we actually want is to place our center so that our outermost nodes end up on the border of our map. - // The only real use of our "mean position" is to give us a reference frame: - // which direction is east, and which is west. + // This has given us either: + // - our actual position (preferred), or + // - a mean position (fallback if we had no fix) + // + // What we actually want is to place our center so that our outermost nodes + // end up on the border of our map. The only real use of our "center" is to give + // us a reference frame: which direction is east, and which is west. //------------------------------------------------ - // Find furthest nodes from "mean lat long" + // Find furthest nodes from our center // ======================================== - float northernmost = latCenter; float southernmost = latCenter; float easternmost = lngCenter; float westernmost = lngCenter; - for (uint8_t i = 0; i < nodeDB->getNumMeshNodes(); i++) { + for (size_t i = 0; i < nodeDB->getNumMeshNodes(); i++) { meshtastic_NodeInfoLite *node = nodeDB->getMeshNodeByIndex(i); // Skip if no position @@ -184,14 +299,14 @@ void InkHUD::MapApplet::getMapCenter(float *lat, float *lng) continue; // Check for a new top or bottom latitude - float lat = node->position.latitude_i * 1e-7; - northernmost = max(northernmost, lat); - southernmost = min(southernmost, lat); + float latNode = node->position.latitude_i * 1e-7; + northernmost = max(northernmost, latNode); + southernmost = min(southernmost, latNode); // Longitude is trickier - float lng = node->position.longitude_i * 1e-7; - float degEastward = fmod(((lng - lngCenter) + 360), 360); // Degrees traveled east from lngCenter to reach node - float degWestward = abs(fmod(((lng - lngCenter) - 360), 360)); // Degrees traveled west from lngCenter to reach node + float lngNode = node->position.longitude_i * 1e-7; + float degEastward = fmod(((lngNode - lngCenter) + 360), 360); // Degrees traveled east from lngCenter to reach node + float degWestward = abs(fmod(((lngNode - lngCenter) - 360), 360)); // Degrees traveled west from lngCenter to reach node if (degEastward < degWestward) easternmost = max(easternmost, lngCenter + degEastward); else @@ -250,7 +365,6 @@ InkHUD::MapApplet::Marker InkHUD::MapApplet::calculateMarker(float lat, float ln m.hopsAway = hopsAway; return m; } - // Draw a marker on the map for a node, with a shortname label, and backing box void InkHUD::MapApplet::drawLabeledMarker(meshtastic_NodeInfoLite *node) { @@ -324,6 +438,18 @@ void InkHUD::MapApplet::drawLabeledMarker(meshtastic_NodeInfoLite *node) textX = labelX + paddingW; } + // Prevent overlap with scale bars and their labels + // Define a "safe zone" in the bottom-left where the scale bars and text are drawn + constexpr int16_t safeZoneHeight = 28; // adjust based on your label font height + constexpr int16_t safeZoneWidth = 60; // adjust based on horizontal label width zone + bool overlapsScale = (labelY + labelH > height() - safeZoneHeight) && (labelX < safeZoneWidth); + + // If it overlaps, shift label upward slightly above the safe zone + if (overlapsScale) { + labelY = height() - safeZoneHeight - labelH - 2; + textY = labelY + (labelH / 2); + } + // Backing box fillRect(labelX, labelY, labelW, labelH, WHITE); drawRect(labelX, labelY, labelW, labelH, BLACK); @@ -348,8 +474,8 @@ void InkHUD::MapApplet::drawLabeledMarker(meshtastic_NodeInfoLite *node) // Need at least two, to draw a sensible map bool InkHUD::MapApplet::enoughMarkers() { - uint8_t count = 0; - for (uint8_t i = 0; i < nodeDB->getNumMeshNodes(); i++) { + size_t count = 0; + for (size_t i = 0; i < nodeDB->getNumMeshNodes(); i++) { meshtastic_NodeInfoLite *node = nodeDB->getMeshNodeByIndex(i); // Count nodes diff --git a/src/graphics/niche/InkHUD/Applets/Bases/NodeList/NodeListApplet.cpp b/src/graphics/niche/InkHUD/Applets/Bases/NodeList/NodeListApplet.cpp index 1b0bfa9d0..5c9906fba 100644 --- a/src/graphics/niche/InkHUD/Applets/Bases/NodeList/NodeListApplet.cpp +++ b/src/graphics/niche/InkHUD/Applets/Bases/NodeList/NodeListApplet.cpp @@ -127,6 +127,11 @@ void InkHUD::NodeListApplet::onRender() // Y value (top) of the current card. Increases as we draw. uint16_t cardTopY = headerDivY + padDivH; + // Clean up deleted nodes before drawing + cards.erase( + std::remove_if(cards.begin(), cards.end(), [](const CardInfo &c) { return nodeDB->getMeshNode(c.nodeNum) == nullptr; }), + cards.end()); + // -- Each node in list -- for (auto card = cards.begin(); card != cards.end(); ++card) { @@ -141,6 +146,11 @@ void InkHUD::NodeListApplet::onRender() meshtastic_NodeInfoLite *node = nodeDB->getMeshNode(nodeNum); + // Skip deleted nodes + if (!node) { + continue; + } + // -- Shortname -- // Parse special chars in the short name // Use "?" if unknown @@ -188,7 +198,7 @@ void InkHUD::NodeListApplet::onRender() drawSignalIndicator(signalX, signalY, signalW, signalH, signal); } // Otherwise, print "hops away" info, if available - else if (hopsAway != CardInfo::HOPS_UNKNOWN) { + else if (hopsAway != CardInfo::HOPS_UNKNOWN && node) { std::string hopString = to_string(node->hops_away); hopString += " Hop"; if (node->hops_away != 1) diff --git a/src/graphics/niche/InkHUD/Applets/System/Menu/MenuApplet.cpp b/src/graphics/niche/InkHUD/Applets/System/Menu/MenuApplet.cpp index 7876276a8..09f76ed46 100644 --- a/src/graphics/niche/InkHUD/Applets/System/Menu/MenuApplet.cpp +++ b/src/graphics/niche/InkHUD/Applets/System/Menu/MenuApplet.cpp @@ -709,7 +709,7 @@ void InkHUD::MenuApplet::drawSystemInfoPanel(int16_t left, int16_t top, uint16_t // Voltage float voltage = powerStatus->getBatteryVoltageMv() / 1000.0; char voltageStr[6]; // "XX.XV" - sprintf(voltageStr, "%.1fV", voltage); + sprintf(voltageStr, "%.2fV", voltage); printAt(colC[0], labelT, "Bat", CENTER, TOP); printAt(colC[0], valT, voltageStr, CENTER, TOP); diff --git a/src/graphics/niche/InkHUD/PlatformioConfig.ini b/src/graphics/niche/InkHUD/PlatformioConfig.ini index 80984f399..b985f9f77 100644 --- a/src/graphics/niche/InkHUD/PlatformioConfig.ini +++ b/src/graphics/niche/InkHUD/PlatformioConfig.ini @@ -8,4 +8,5 @@ build_flags = -D MESHTASTIC_EXCLUDE_INPUTBROKER ; Suppress default input handling -D HAS_BUTTON=0 ; Suppress default ButtonThread lib_deps = - https://github.com/ZinggJM/GFX_Root#2.0.0 ; Used by InkHUD as a "slimmer" version of AdafruitGFX \ No newline at end of file + # TODO renovate + https://github.com/ZinggJM/GFX_Root#2.0.0 ; Used by InkHUD as a "slimmer" version of AdafruitGFX diff --git a/src/graphics/niche/README.md b/src/graphics/niche/README.md index e87464abc..e58578f6b 100644 --- a/src/graphics/niche/README.md +++ b/src/graphics/niche/README.md @@ -5,7 +5,6 @@ A pattern / collection of resources for creating custom UIs, to target small gro For an example, see the `heltec-vision-master-e290-inkhud` platformio env. - platformio.ini - - suppress default Meshtastic components (Screen, ButtonThread, etc) - define `MESHTASTIC_INCLUDE_NICHE_GRAPHICS` - (possibly) Edit `build_src_filter` to include our new nicheGraphics.h file diff --git a/src/input/HackadayCommunicatorKeyboard.cpp b/src/input/HackadayCommunicatorKeyboard.cpp new file mode 100644 index 000000000..87c8a24ae --- /dev/null +++ b/src/input/HackadayCommunicatorKeyboard.cpp @@ -0,0 +1,217 @@ +#if defined(HACKADAY_COMMUNICATOR) + +#include "HackadayCommunicatorKeyboard.h" +#include "main.h" + +#define _TCA8418_COLS 10 +#define _TCA8418_ROWS 8 +#define _TCA8418_NUM_KEYS 80 + +#define _TCA8418_MULTI_TAP_THRESHOLD 1500 + +using Key = TCA8418KeyboardBase::TCA8418Key; + +constexpr uint8_t modifierRightShiftKey = 30; +constexpr uint8_t modifierRightShift = 0b0001; +constexpr uint8_t modifierLeftShiftKey = 76; // keynum -1 +constexpr uint8_t modifierLeftShift = 0b0001; +// constexpr uint8_t modifierSymKey = 42; +// constexpr uint8_t modifierSym = 0b0010; + +// Num chars per key, Modulus for rotating through characters +static uint8_t HackadayCommunicatorTapMod[_TCA8418_NUM_KEYS] = { + 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 0, 0, 0, 1, 2, 2, 2, 1, 2, 2, 0, 0, 0, 2, 1, 2, 2, 0, 1, 1, 0, +}; + +static unsigned char HackadayCommunicatorTapMap[_TCA8418_NUM_KEYS][2] = {{}, + {}, + {'+'}, + {'9'}, + {'8'}, + {'7'}, + {'2'}, + {'3'}, + {'4'}, + {'5'}, + {Key::ESC}, + {'q', 'Q'}, + {'w', 'W'}, + {'e', 'E'}, + {'r', 'R'}, + {'t', 'T'}, + {'y', 'Y'}, + {'u', 'U'}, + {'i', 'I'}, + {'o', 'O'}, + {Key::TAB}, + {'a', 'A'}, + {'s', 'S'}, + {'d', 'D'}, + {'f', 'F'}, + {'g', 'G'}, + {'h', 'H'}, + {'j', 'J'}, + {'k', 'K'}, + {'l', 'L'}, + {}, + {'z', 'Z'}, + {'x', 'X'}, + {'c', 'C'}, + {'v', 'V'}, + {'b', 'B'}, + {'n', 'N'}, + {'m', 'M'}, + {',', '<'}, + {'.', '>'}, + {}, + {}, + {}, + {'\\'}, + {' '}, + {}, + {Key::RIGHT}, + {Key::DOWN}, + {Key::LEFT}, + {}, + {}, + {}, + {'-'}, + {'6', '^'}, + {'5', '%'}, + {'4', '$'}, + {'[', '{'}, + {']', '}'}, + {'p', 'P'}, + {}, + {}, + {}, + {'*'}, + {'3', '#'}, + {'2', '@'}, + {'1', '!'}, + {Key::SELECT}, + {'\'', '"'}, + {';', ':'}, + {}, + {}, + {}, + {'/', '?'}, + {'='}, + {'.', '>'}, + {'0', ')'}, + {}, + {Key::UP}, + {Key::BSP}, + {}}; + +HackadayCommunicatorKeyboard::HackadayCommunicatorKeyboard() + : TCA8418KeyboardBase(_TCA8418_ROWS, _TCA8418_COLS), modifierFlag(0), last_modifier_time(0), last_key(-1), next_key(-1), + last_tap(0L), char_idx(0), tap_interval(0) +{ + reset(); +} + +void HackadayCommunicatorKeyboard::reset(void) +{ + TCA8418KeyboardBase::reset(); + enableInterrupts(); +} + +// handle multi-key presses (shift and alt) +void HackadayCommunicatorKeyboard::trigger() +{ + uint8_t count = keyCount(); + if (count == 0) + return; + for (uint8_t i = 0; i < count; ++i) { + uint8_t k = readRegister(TCA8418_REG_KEY_EVENT_A + i); + uint8_t key = k & 0x7F; + if (k & 0x80) { + pressed(key); + } else { + released(); + state = Idle; + } + } +} + +void HackadayCommunicatorKeyboard::pressed(uint8_t key) +{ + if (state == Init || state == Busy) { + return; + } + + if (modifierFlag && (millis() - last_modifier_time > _TCA8418_MULTI_TAP_THRESHOLD)) { + modifierFlag = 0; + } + + uint8_t next_key = 0; + int row = (key - 1) / 10; + int col = (key - 1) % 10; + if (row >= _TCA8418_ROWS || col >= _TCA8418_COLS) { + return; // Invalid key + } + + next_key = row * _TCA8418_COLS + col; + state = Held; + + uint32_t now = millis(); + tap_interval = now - last_tap; + + updateModifierFlag(next_key); + if (isModifierKey(next_key)) { + last_modifier_time = now; + } + + if (tap_interval < 0) { + last_tap = 0; + state = Busy; + return; + } + + if (next_key != last_key || tap_interval > _TCA8418_MULTI_TAP_THRESHOLD) { + char_idx = 0; + } else { + char_idx += 1; + } + + last_key = next_key; + last_tap = now; +} + +void HackadayCommunicatorKeyboard::released() +{ + if (state != Held) { + return; + } + + if (last_key < 0 || last_key >= _TCA8418_NUM_KEYS) { + last_key = -1; + state = Idle; + return; + } + + uint32_t now = millis(); + last_tap = now; + if (HackadayCommunicatorTapMod[last_key]) + queueEvent(HackadayCommunicatorTapMap[last_key][modifierFlag % HackadayCommunicatorTapMod[last_key]]); + if (isModifierKey(last_key) == false) + modifierFlag = 0; +} + +void HackadayCommunicatorKeyboard::updateModifierFlag(uint8_t key) +{ + if (key == modifierRightShiftKey) { + modifierFlag ^= modifierRightShift; + } else if (key == modifierLeftShiftKey) { + modifierFlag ^= modifierLeftShift; + } +} + +bool HackadayCommunicatorKeyboard::isModifierKey(uint8_t key) +{ + return (key == modifierRightShiftKey || key == modifierLeftShiftKey); +} + +#endif \ No newline at end of file diff --git a/src/input/HackadayCommunicatorKeyboard.h b/src/input/HackadayCommunicatorKeyboard.h new file mode 100644 index 000000000..8316bed72 --- /dev/null +++ b/src/input/HackadayCommunicatorKeyboard.h @@ -0,0 +1,26 @@ +#include "TCA8418KeyboardBase.h" + +class HackadayCommunicatorKeyboard : public TCA8418KeyboardBase +{ + public: + HackadayCommunicatorKeyboard(); + void reset(void); + void trigger(void) override; + virtual ~HackadayCommunicatorKeyboard() {} + + protected: + void pressed(uint8_t key) override; + void released(void) override; + + void updateModifierFlag(uint8_t key); + bool isModifierKey(uint8_t key); + + private: + uint8_t modifierFlag; // Flag to indicate if a modifier key is pressed + uint32_t last_modifier_time; // Timestamp of the last modifier key press + int8_t last_key; + int8_t next_key; + uint32_t last_tap; + uint8_t char_idx; + int32_t tap_interval; +}; diff --git a/src/input/InputBroker.cpp b/src/input/InputBroker.cpp index c588a9a0f..0aa78e2b8 100644 --- a/src/input/InputBroker.cpp +++ b/src/input/InputBroker.cpp @@ -1,11 +1,13 @@ #include "InputBroker.h" #include "PowerFSM.h" // needed for event trigger +#include "configuration.h" +#include "modules/ExternalNotificationModule.h" InputBroker *inputBroker = nullptr; InputBroker::InputBroker() { -#ifdef HAS_FREE_RTOS +#if defined(HAS_FREE_RTOS) && !defined(ARCH_RP2040) inputEventQueue = xQueueCreate(5, sizeof(InputEvent)); pollSoonQueue = xQueueCreate(5, sizeof(InputPollable *)); xTaskCreate(pollSoonWorker, "input-pollSoon", 2 * 1024, this, 10, &pollSoonTask); @@ -17,7 +19,7 @@ void InputBroker::registerSource(Observable *source) this->inputEventObserver.observe(source); } -#ifdef HAS_FREE_RTOS +#if defined(HAS_FREE_RTOS) && !defined(ARCH_RP2040) void InputBroker::requestPollSoon(InputPollable *pollable) { if (xPortInIsrContext() == pdTRUE) { @@ -48,11 +50,17 @@ void InputBroker::processInputEventQueue() int InputBroker::handleInputEvent(const InputEvent *event) { powerFSM.trigger(EVENT_INPUT); // todo: not every input should wake, like long hold release + + if (event && event->inputEvent != INPUT_BROKER_NONE && externalNotificationModule && + moduleConfig.external_notification.enabled && externalNotificationModule->nagging()) { + externalNotificationModule->stopNow(); + } + this->notifyObservers(event); return 0; } -#ifdef HAS_FREE_RTOS +#if defined(HAS_FREE_RTOS) && !defined(ARCH_RP2040) void InputBroker::pollSoonWorker(void *p) { InputBroker *instance = (InputBroker *)p; diff --git a/src/input/InputBroker.h b/src/input/InputBroker.h index 192bd7e8b..c55d7fa53 100644 --- a/src/input/InputBroker.h +++ b/src/input/InputBroker.h @@ -3,6 +3,12 @@ #include "Observer.h" #include "freertosinc.h" +#ifdef InputBrokerDebug +#define LOG_INPUT(...) LOG_DEBUG(__VA_ARGS__) +#else +#define LOG_INPUT(...) +#endif + enum input_broker_event { INPUT_BROKER_NONE = 0, INPUT_BROKER_SELECT = 10, @@ -47,6 +53,7 @@ typedef struct _InputEvent { class InputPollable { public: + virtual ~InputPollable() = default; virtual void pollOnce() = 0; }; @@ -59,7 +66,7 @@ class InputBroker : public Observable InputBroker(); void registerSource(Observable *source); void injectInputEvent(const InputEvent *event) { handleInputEvent(event); } -#ifdef HAS_FREE_RTOS +#if defined(HAS_FREE_RTOS) && !defined(ARCH_RP2040) void requestPollSoon(InputPollable *pollable); void queueInputEvent(const InputEvent *event); void processInputEventQueue(); @@ -69,7 +76,7 @@ class InputBroker : public Observable int handleInputEvent(const InputEvent *event); private: -#ifdef HAS_FREE_RTOS +#if defined(HAS_FREE_RTOS) && !defined(ARCH_RP2040) QueueHandle_t inputEventQueue; QueueHandle_t pollSoonQueue; TaskHandle_t pollSoonTask; diff --git a/src/input/RotaryEncoderImpl.cpp b/src/input/RotaryEncoderImpl.cpp index 7b43fa256..cc1222595 100644 --- a/src/input/RotaryEncoderImpl.cpp +++ b/src/input/RotaryEncoderImpl.cpp @@ -3,6 +3,9 @@ #include "RotaryEncoderImpl.h" #include "InputBroker.h" #include "RotaryEncoder.h" +#ifdef ARCH_ESP32 +#include "sleep.h" +#endif #define ORIGIN_NAME "RotaryEncoder" @@ -11,6 +14,20 @@ RotaryEncoderImpl *rotaryEncoderImpl; RotaryEncoderImpl::RotaryEncoderImpl() { rotary = nullptr; +#ifdef ARCH_ESP32 + isFirstInit = true; +#endif +} + +RotaryEncoderImpl::~RotaryEncoderImpl() +{ + LOG_DEBUG("RotaryEncoderImpl destructor"); + detachRotaryEncoderInterrupts(); + + if (rotary != nullptr) { + delete rotary; + rotary = nullptr; + } } bool RotaryEncoderImpl::init() @@ -25,15 +42,22 @@ bool RotaryEncoderImpl::init() eventCcw = static_cast(moduleConfig.canned_message.inputbroker_event_ccw); eventPressed = static_cast(moduleConfig.canned_message.inputbroker_event_press); - rotary = new RotaryEncoder(moduleConfig.canned_message.inputbroker_pin_a, moduleConfig.canned_message.inputbroker_pin_b, - moduleConfig.canned_message.inputbroker_pin_press); - rotary->resetButton(); + if (rotary == nullptr) { + rotary = new RotaryEncoder(moduleConfig.canned_message.inputbroker_pin_a, moduleConfig.canned_message.inputbroker_pin_b, + moduleConfig.canned_message.inputbroker_pin_press); + } - interruptInstance = this; - auto interruptHandler = []() { inputBroker->requestPollSoon(interruptInstance); }; - attachInterrupt(moduleConfig.canned_message.inputbroker_pin_a, interruptHandler, CHANGE); - attachInterrupt(moduleConfig.canned_message.inputbroker_pin_b, interruptHandler, CHANGE); - attachInterrupt(moduleConfig.canned_message.inputbroker_pin_press, interruptHandler, CHANGE); + attachRotaryEncoderInterrupts(); + +#ifdef ARCH_ESP32 + // Register callbacks for before and after lightsleep + // Used to detach and reattach interrupts + if (isFirstInit) { + lsObserver.observe(¬ifyLightSleep); + lsEndObserver.observe(¬ifyLightSleepEnd); + isFirstInit = false; + } +#endif LOG_INFO("RotaryEncoder initialized pins(%d, %d, %d), events(%d, %d, %d)", moduleConfig.canned_message.inputbroker_pin_a, moduleConfig.canned_message.inputbroker_pin_b, moduleConfig.canned_message.inputbroker_pin_press, eventCw, eventCcw, @@ -71,6 +95,50 @@ void RotaryEncoderImpl::pollOnce() } } +void RotaryEncoderImpl::detachRotaryEncoderInterrupts() +{ + LOG_DEBUG("RotaryEncoderImpl detach button interrupts"); + if (interruptInstance == this) { + detachInterrupt(moduleConfig.canned_message.inputbroker_pin_a); + detachInterrupt(moduleConfig.canned_message.inputbroker_pin_b); + detachInterrupt(moduleConfig.canned_message.inputbroker_pin_press); + interruptInstance = nullptr; + } else { + LOG_WARN("RotaryEncoderImpl: interrupts already detached"); + } +} + +void RotaryEncoderImpl::attachRotaryEncoderInterrupts() +{ + LOG_DEBUG("RotaryEncoderImpl attach button interrupts"); + if (rotary != nullptr && interruptInstance == nullptr) { + rotary->resetButton(); + + interruptInstance = this; + auto interruptHandler = []() { inputBroker->requestPollSoon(interruptInstance); }; + attachInterrupt(moduleConfig.canned_message.inputbroker_pin_a, interruptHandler, CHANGE); + attachInterrupt(moduleConfig.canned_message.inputbroker_pin_b, interruptHandler, CHANGE); + attachInterrupt(moduleConfig.canned_message.inputbroker_pin_press, interruptHandler, CHANGE); + } else { + LOG_WARN("RotaryEncoderImpl: interrupts already attached"); + } +} + +#ifdef ARCH_ESP32 + +int RotaryEncoderImpl::beforeLightSleep(void *unused) +{ + detachRotaryEncoderInterrupts(); + return 0; // Indicates success; +} + +int RotaryEncoderImpl::afterLightSleep(esp_sleep_wakeup_cause_t cause) +{ + attachRotaryEncoderInterrupts(); + return 0; // Indicates success; +} +#endif + RotaryEncoderImpl *RotaryEncoderImpl::interruptInstance; #endif \ No newline at end of file diff --git a/src/input/RotaryEncoderImpl.h b/src/input/RotaryEncoderImpl.h index 6f8e9fe5f..ec8a064bd 100644 --- a/src/input/RotaryEncoderImpl.h +++ b/src/input/RotaryEncoderImpl.h @@ -8,12 +8,18 @@ class RotaryEncoder; -class RotaryEncoderImpl : public InputPollable +class RotaryEncoderImpl final : public InputPollable { public: RotaryEncoderImpl(); - bool init(void); + ~RotaryEncoderImpl() override; + bool init(); virtual void pollOnce() override; + // Disconnect and reconnect interrupts for light sleep +#ifdef ARCH_ESP32 + int beforeLightSleep(void *unused); + int afterLightSleep(esp_sleep_wakeup_cause_t cause); +#endif protected: static RotaryEncoderImpl *interruptInstance; @@ -23,6 +29,21 @@ class RotaryEncoderImpl : public InputPollable input_broker_event eventPressed = INPUT_BROKER_NONE; RotaryEncoder *rotary; + + private: +#ifdef ARCH_ESP32 + bool isFirstInit; +#endif + void detachRotaryEncoderInterrupts(); + void attachRotaryEncoderInterrupts(); + +#ifdef ARCH_ESP32 + // Get notified when lightsleep begins and ends + CallbackObserver lsObserver = + CallbackObserver(this, &RotaryEncoderImpl::beforeLightSleep); + CallbackObserver lsEndObserver = + CallbackObserver(this, &RotaryEncoderImpl::afterLightSleep); +#endif }; extern RotaryEncoderImpl *rotaryEncoderImpl; diff --git a/src/input/SerialKeyboard.cpp b/src/input/SerialKeyboard.cpp index 2df1ace70..a5d2c614f 100644 --- a/src/input/SerialKeyboard.cpp +++ b/src/input/SerialKeyboard.cpp @@ -2,6 +2,8 @@ #include "configuration.h" #include +SerialKeyboard *globalSerialKeyboard = nullptr; + #ifdef INPUTBROKER_SERIAL_TYPE #define CANNED_MESSAGE_MODULE_ENABLE 1 // in case it's not set in the variant file @@ -25,6 +27,8 @@ unsigned char KeyMap[3][4][10] = {{{'.', 'a', 'd', 'g', 'j', 'm', 'p', 't', 'w', SerialKeyboard::SerialKeyboard(const char *name) : concurrency::OSThread(name) { this->_originName = name; + + globalSerialKeyboard = this; } void SerialKeyboard::erase() @@ -85,9 +89,21 @@ int32_t SerialKeyboard::runOnce() e.source = this->_originName; // SELECT OR SEND OR CANCEL EVENT if (!(shiftRegister2 & (1 << 3))) { - e.inputEvent = INPUT_BROKER_UP; + if (shift > 0) { + e.inputEvent = INPUT_BROKER_ANYKEY; // REQUIRED + e.kbchar = 0x09; // TAB + shift = 0; // reset shift after TAB + } else { + e.inputEvent = INPUT_BROKER_LEFT; + } } else if (!(shiftRegister2 & (1 << 2))) { - e.inputEvent = INPUT_BROKER_RIGHT; + if (shift > 0) { + e.inputEvent = INPUT_BROKER_ANYKEY; // REQUIRED + e.kbchar = 0x09; // TAB + shift = 0; // reset shift after TAB + } else { + e.inputEvent = INPUT_BROKER_RIGHT; + } e.kbchar = 0; } else if (!(shiftRegister2 & (1 << 1))) { e.inputEvent = INPUT_BROKER_SELECT; diff --git a/src/input/SerialKeyboard.h b/src/input/SerialKeyboard.h index 1480c4d58..f25eb2630 100644 --- a/src/input/SerialKeyboard.h +++ b/src/input/SerialKeyboard.h @@ -8,6 +8,8 @@ class SerialKeyboard : public Observable, public concurrency public: explicit SerialKeyboard(const char *name); + uint8_t getShift() const { return shift; } + protected: virtual int32_t runOnce() override; void erase(); @@ -22,4 +24,6 @@ class SerialKeyboard : public Observable, public concurrency int lastKeyPressed = 13; int quickPress = 0; unsigned long lastPressTime = 0; -}; \ No newline at end of file +}; + +extern SerialKeyboard *globalSerialKeyboard; \ No newline at end of file diff --git a/src/input/TDeckProKeyboard.cpp b/src/input/TDeckProKeyboard.cpp index 098e0804a..eeafe4949 100644 --- a/src/input/TDeckProKeyboard.cpp +++ b/src/input/TDeckProKeyboard.cpp @@ -57,7 +57,7 @@ static unsigned char TDeckProTapMap[_TCA8418_NUM_KEYS][5] = { {0x00, 0x00, 0x00}, {0x00, 0x00, 0x00}, {0x20, 0x00, 0x00}, - {0x00, 0x00, 0x00}, + {0x00, 0x00, '0'}, {0x00, 0x00, 0x00} // R_Shift, sym, space, mic, L_Shift }; diff --git a/src/input/TrackballInterruptBase.cpp b/src/input/TrackballInterruptBase.cpp index 4ddaf7064..d2025c192 100644 --- a/src/input/TrackballInterruptBase.cpp +++ b/src/input/TrackballInterruptBase.cpp @@ -88,6 +88,50 @@ int32_t TrackballInterruptBase::runOnce() } } + if (directionDetected && directionStartTime > 0) { + uint32_t directionDuration = millis() - directionStartTime; + uint8_t directionPressedNow = 0; + directionInterval++; + + if (!digitalRead(_pinUp)) { + directionPressedNow = TB_ACTION_UP; + } else if (!digitalRead(_pinDown)) { + directionPressedNow = TB_ACTION_DOWN; + } else if (!digitalRead(_pinLeft)) { + directionPressedNow = TB_ACTION_LEFT; + } else if (!digitalRead(_pinRight)) { + directionPressedNow = TB_ACTION_RIGHT; + } + + const uint8_t DIRECTION_REPEAT_THRESHOLD = 3; + + if (directionPressedNow == TB_ACTION_NONE) { + // Reset state + directionDetected = false; + directionStartTime = 0; + directionInterval = 0; + this->action = TB_ACTION_NONE; + } else if (directionDuration >= LONG_PRESS_DURATION && directionInterval >= DIRECTION_REPEAT_THRESHOLD) { + // repeat event when long press these direction. + switch (directionPressedNow) { + case TB_ACTION_UP: + e.inputEvent = this->_eventUp; + break; + case TB_ACTION_DOWN: + e.inputEvent = this->_eventDown; + break; + case TB_ACTION_LEFT: + e.inputEvent = this->_eventLeft; + break; + case TB_ACTION_RIGHT: + e.inputEvent = this->_eventRight; + break; + } + + directionInterval = 0; + } + } + #if defined(T_DECK) // T-deck gets a super-simple debounce on trackball if (this->action == TB_ACTION_PRESSED && !pressDetected) { // Start long press detection @@ -113,17 +157,22 @@ int32_t TrackballInterruptBase::runOnce() pressDetected = true; pressStartTime = millis(); // Don't send event yet, wait to see if it's a long press - } else if (this->action == TB_ACTION_UP && !digitalRead(_pinUp)) { - // LOG_DEBUG("Trackball event UP"); + } else if (this->action == TB_ACTION_UP && !digitalRead(_pinUp) && !directionDetected) { + directionDetected = true; + directionStartTime = millis(); e.inputEvent = this->_eventUp; - } else if (this->action == TB_ACTION_DOWN && !digitalRead(_pinDown)) { - // LOG_DEBUG("Trackball event DOWN"); + // send event first,will automatically trigger every 50ms * 3 after 500ms + } else if (this->action == TB_ACTION_DOWN && !digitalRead(_pinDown) && !directionDetected) { + directionDetected = true; + directionStartTime = millis(); e.inputEvent = this->_eventDown; - } else if (this->action == TB_ACTION_LEFT && !digitalRead(_pinLeft)) { - // LOG_DEBUG("Trackball event LEFT"); + } else if (this->action == TB_ACTION_LEFT && !digitalRead(_pinLeft) && !directionDetected) { + directionDetected = true; + directionStartTime = millis(); e.inputEvent = this->_eventLeft; - } else if (this->action == TB_ACTION_RIGHT && !digitalRead(_pinRight)) { - // LOG_DEBUG("Trackball event RIGHT"); + } else if (this->action == TB_ACTION_RIGHT && !digitalRead(_pinRight) && !directionDetected) { + directionDetected = true; + directionStartTime = millis(); e.inputEvent = this->_eventRight; } #endif diff --git a/src/input/TrackballInterruptBase.h b/src/input/TrackballInterruptBase.h index 76a99f33d..67d4ee449 100644 --- a/src/input/TrackballInterruptBase.h +++ b/src/input/TrackballInterruptBase.h @@ -49,10 +49,14 @@ class TrackballInterruptBase : public Observable, public con // Long press detection for press button uint32_t pressStartTime = 0; + uint32_t directionStartTime = 0; + uint8_t directionInterval = 0; bool pressDetected = false; + bool directionDetected = false; uint32_t lastLongPressEventTime = 0; + uint32_t lastDirectionPressEventTime = 0; static const uint32_t LONG_PRESS_DURATION = 500; // ms - static const uint32_t LONG_PRESS_REPEAT_INTERVAL = 500; // ms - interval between repeated long press events + static const uint32_t LONG_PRESS_REPEAT_INTERVAL = 300; // ms - interval between repeated long press events private: input_broker_event _eventDown = INPUT_BROKER_NONE; diff --git a/src/input/UpDownInterruptBase.h b/src/input/UpDownInterruptBase.h index ae84efdaf..2b9d38c83 100644 --- a/src/input/UpDownInterruptBase.h +++ b/src/input/UpDownInterruptBase.h @@ -3,6 +3,14 @@ #include "InputBroker.h" #include "mesh/NodeDB.h" +#ifndef UPDOWN_LONG_PRESS_DURATION +#define UPDOWN_LONG_PRESS_DURATION 300 +#endif + +#ifndef UPDOWN_LONG_PRESS_REPEAT_INTERVAL +#define UPDOWN_LONG_PRESS_REPEAT_INTERVAL 300 +#endif + class UpDownInterruptBase : public Observable, public concurrency::OSThread { public: @@ -40,8 +48,8 @@ class UpDownInterruptBase : public Observable, public concur uint32_t lastPressLongEventTime = 0; uint32_t lastUpLongEventTime = 0; uint32_t lastDownLongEventTime = 0; - static const uint32_t LONG_PRESS_DURATION = 300; - static const uint32_t LONG_PRESS_REPEAT_INTERVAL = 300; + static const uint32_t LONG_PRESS_DURATION = UPDOWN_LONG_PRESS_DURATION; + static const uint32_t LONG_PRESS_REPEAT_INTERVAL = UPDOWN_LONG_PRESS_REPEAT_INTERVAL; private: uint8_t _pinDown = 0; diff --git a/src/input/kbI2cBase.cpp b/src/input/kbI2cBase.cpp index 0ed2df116..0085c806b 100644 --- a/src/input/kbI2cBase.cpp +++ b/src/input/kbI2cBase.cpp @@ -7,6 +7,8 @@ #include "TDeckProKeyboard.h" #elif defined(T_LORA_PAGER) #include "TLoraPagerKeyboard.h" +#elif defined(HACKADAY_COMMUNICATOR) +#include "HackadayCommunicatorKeyboard.h" #else #include "TCA8418Keyboard.h" #endif @@ -20,6 +22,8 @@ KbI2cBase::KbI2cBase(const char *name) TCAKeyboard(*(new TDeckProKeyboard())) #elif defined(T_LORA_PAGER) TCAKeyboard(*(new TLoraPagerKeyboard())) +#elif defined(HACKADAY_COMMUNICATOR) + TCAKeyboard(*(new HackadayCommunicatorKeyboard())) #else TCAKeyboard(*(new TCA8418Keyboard())) #endif @@ -328,7 +332,7 @@ int32_t KbI2cBase::runOnce() break; } if (e.inputEvent != INPUT_BROKER_NONE) { - LOG_DEBUG("TCA8418 Notifying: %i Char: %c", e.inputEvent, e.kbchar); + // LOG_DEBUG("TCA8418 Notifying: %i Char: %c", e.inputEvent, e.kbchar); this->notifyObservers(&e); } TCAKeyboard.trigger(); diff --git a/src/main.cpp b/src/main.cpp index 2958e0b30..7445af6c6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -396,7 +396,10 @@ void setup() io.pinMode(EXPANDS_GPIO_EN, OUTPUT); io.digitalWrite(EXPANDS_GPIO_EN, HIGH); io.pinMode(EXPANDS_SD_PULLEN, INPUT); +#elif defined(HACKADAY_COMMUNICATOR) + pinMode(KB_INT, INPUT); #endif + concurrency::hasBeenSetup = true; #if ARCH_PORTDUINO SPISettings spiSettings(portduino_config.spiSpeed, MSBFIRST, SPI_MODE0); @@ -427,10 +430,17 @@ void setup() #endif #if ARCH_PORTDUINO + RTCQuality ourQuality = RTCQualityDevice; + + std::string timeCommandResult = exec("timedatectl status | grep synchronized | grep yes -c"); + if (timeCommandResult[0] == '1') { + ourQuality = RTCQualityNTP; + } + struct timeval tv; tv.tv_sec = time(NULL); tv.tv_usec = 0; - perhapsSetRTC(RTCQualityDevice, &tv); + perhapsSetRTC(ourQuality, &tv); #endif powerMonInit(); @@ -438,6 +448,19 @@ void setup() LOG_INFO("\n\n//\\ E S H T /\\ S T / C\n"); +#if defined(ARCH_ESP32) && defined(BOARD_HAS_PSRAM) +#ifndef SENSECAP_INDICATOR + // use PSRAM for malloc calls > 256 bytes + heap_caps_malloc_extmem_enable(256); +#endif +#endif + +#if defined(DEBUG_MUTE) && defined(DEBUG_PORT) + DEBUG_PORT.printf("\r\n\r\n//\\ E S H T /\\ S T / C\r\n"); + DEBUG_PORT.printf("Version %s for %s from %s\r\n", optstr(APP_VERSION), optstr(APP_ENV), optstr(APP_REPO)); + DEBUG_PORT.printf("Debug mute is enabled, there will be no serial output.\r\n"); +#endif + initDeepSleep(); #if defined(MODEM_POWER_EN) @@ -473,6 +496,10 @@ void setup() #ifdef RESET_OLED pinMode(RESET_OLED, OUTPUT); digitalWrite(RESET_OLED, 1); + delay(2); + digitalWrite(RESET_OLED, 0); + delay(10); + digitalWrite(RESET_OLED, 1); #endif #ifdef SENSOR_POWER_CTRL_PIN @@ -843,7 +870,14 @@ void setup() SPI.begin(); } #elif !defined(ARCH_ESP32) // ARCH_RP2040 +#if defined(RAK3401) || defined(RAK13302) + pinMode(WB_IO2, OUTPUT); + digitalWrite(WB_IO2, HIGH); + SPI1.setPins(LORA_MISO, LORA_SCK, LORA_MOSI); + SPI1.begin(); +#else SPI.begin(); +#endif #else // ESP32 #if defined(HW_SPI1_DEVICE) @@ -863,7 +897,7 @@ void setup() #if defined(ST7701_CS) || defined(ST7735_CS) || defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || \ defined(ST7789_CS) || defined(HX8357_CS) || defined(USE_ST7789) || defined(ILI9488_CS) || defined(ST7796_CS) || \ - defined(USE_SPISSD1306) + defined(USE_SPISSD1306) || defined(USE_ST7796) || defined(HACKADAY_COMMUNICATOR) screen = new graphics::Screen(screen_found, screen_model, screen_geometry); #elif defined(ARCH_PORTDUINO) if ((screen_found.port != ScanI2C::I2CPort::NO_I2C || portduino_config.displayPanel) && @@ -948,6 +982,7 @@ void setup() i2cScanner.reset(); #endif +#if !defined(MESHTASTIC_EXCLUDE_PKI) // warn the user about a low entropy key if (nodeDB->keyIsLowEntropy && !nodeDB->hasWarned) { LOG_WARN(LOW_ENTROPY_WARNING); @@ -958,6 +993,7 @@ void setup() service->sendClientNotification(cn); nodeDB->hasWarned = true; } +#endif // buttons are now inputBroker, so have to come after setupModules #if HAS_BUTTON @@ -1138,7 +1174,7 @@ void setup() // the current region name) #if defined(ST7701_CS) || defined(ST7735_CS) || defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || \ defined(ST7789_CS) || defined(HX8357_CS) || defined(USE_ST7789) || defined(ILI9488_CS) || defined(ST7796_CS) || \ - defined(USE_SPISSD1306) + defined(USE_ST7796) || defined(USE_SPISSD1306) || defined(HACKADAY_COMMUNICATOR) if (screen) screen->setup(); #elif defined(ARCH_PORTDUINO) @@ -1390,7 +1426,7 @@ void setup() #endif // check if the radio chip matches the selected region - if ((config.lora.region == meshtastic_Config_LoRaConfig_RegionCode_LORA_24) && (!rIf->wideLora())) { + if ((config.lora.region == meshtastic_Config_LoRaConfig_RegionCode_LORA_24) && rIf && (!rIf->wideLora())) { LOG_WARN("LoRa chip does not support 2.4GHz. Revert to unset"); config.lora.region = meshtastic_Config_LoRaConfig_RegionCode_UNSET; nodeDB->saveToDisk(SEGMENT_CONFIG); @@ -1591,7 +1627,7 @@ void loop() #endif service->loop(); -#if !MESHTASTIC_EXCLUDE_INPUTBROKER && defined(HAS_FREE_RTOS) +#if !MESHTASTIC_EXCLUDE_INPUTBROKER && defined(HAS_FREE_RTOS) && !defined(ARCH_RP2040) if (inputBroker) inputBroker->processInputEventQueue(); #endif diff --git a/src/mesh/Channels.h b/src/mesh/Channels.h index b53f552fa..a3cc7791c 100644 --- a/src/mesh/Channels.h +++ b/src/mesh/Channels.h @@ -96,6 +96,8 @@ class Channels bool setDefaultPresetCryptoForHash(ChannelHash channelHash); + int16_t getHash(ChannelIndex i) { return hashes[i]; } + private: /** Given a channel index, change to use the crypto key specified by that index * @@ -113,8 +115,6 @@ class Channels */ int16_t generateHash(ChannelIndex channelNum); - int16_t getHash(ChannelIndex i) { return hashes[i]; } - /** * Validate a channel, fixing any errors as needed */ diff --git a/src/mesh/CryptoEngine.cpp b/src/mesh/CryptoEngine.cpp index 82d0a9f57..9ca16878d 100644 --- a/src/mesh/CryptoEngine.cpp +++ b/src/mesh/CryptoEngine.cpp @@ -92,10 +92,10 @@ bool CryptoEngine::encryptCurve25519(uint32_t toNode, uint32_t fromNode, meshtas LOG_DEBUG("Node %d or their public_key not found", toNode); return false; } - if (!crypto->setDHPublicKey(remotePublic.bytes)) { + if (!setDHPublicKey(remotePublic.bytes)) { return false; } - crypto->hash(shared_key, 32); + hash(shared_key, 32); initNonce(fromNode, packetNum, extraNonceTmp); // Calculate the shared secret with the destination node and encrypt @@ -134,10 +134,10 @@ bool CryptoEngine::decryptCurve25519(uint32_t fromNode, meshtastic_UserLite_publ } // Calculate the shared secret with the sending node and decrypt - if (!crypto->setDHPublicKey(remotePublic.bytes)) { + if (!setDHPublicKey(remotePublic.bytes)) { return false; } - crypto->hash(shared_key, 32); + hash(shared_key, 32); initNonce(fromNode, packetNum, extraNonce); printBytes("Attempt decrypt with nonce: ", nonce, 13); diff --git a/src/mesh/Default.h b/src/mesh/Default.h index 2f05da98d..a60e3af9b 100644 --- a/src/mesh/Default.h +++ b/src/mesh/Default.h @@ -27,8 +27,9 @@ #ifdef USERPREFS_RINGTONE_NAG_SECS #define default_ringtone_nag_secs USERPREFS_RINGTONE_NAG_SECS #else -#define default_ringtone_nag_secs 60 +#define default_ringtone_nag_secs 15 #endif +#define default_network_ipv6_enabled false #define default_mqtt_address "mqtt.meshtastic.org" #define default_mqtt_username "meshdev" @@ -46,21 +47,17 @@ class Default static uint32_t getConfiguredOrDefaultMs(uint32_t configuredInterval); static uint32_t getConfiguredOrDefaultMs(uint32_t configuredInterval, uint32_t defaultInterval); static uint32_t getConfiguredOrDefault(uint32_t configured, uint32_t defaultValue); + // Note: numOnlineNodes uses uint32_t to match the public API and allow flexibility, + // even though internal node counts use uint16_t (max 65535 nodes) static uint32_t getConfiguredOrDefaultMsScaled(uint32_t configured, uint32_t defaultValue, uint32_t numOnlineNodes); static uint8_t getConfiguredOrDefaultHopLimit(uint8_t configured); static uint32_t getConfiguredOrMinimumValue(uint32_t configured, uint32_t minValue); private: - static float congestionScalingCoefficient(int numOnlineNodes) + // Note: Kept as uint32_t to match the public API parameter type + static float congestionScalingCoefficient(uint32_t numOnlineNodes) { - // Increase frequency of broadcasts for small networks regardless of preset - if (numOnlineNodes <= 10) { - return 0.6; - } else if (numOnlineNodes <= 20) { - return 0.7; - } else if (numOnlineNodes <= 30) { - return 0.8; - } else if (numOnlineNodes <= 40) { + if (numOnlineNodes <= 40) { return 1.0; } else { float throttlingFactor = 0.075; @@ -84,4 +81,4 @@ class Default return 1.0 + (nodesOverForty * throttlingFactor); // Each number of online node scales by 0.075 (default) } } -}; \ No newline at end of file +}; diff --git a/src/mesh/FloodingRouter.cpp b/src/mesh/FloodingRouter.cpp index 1d8ac247f..032be241b 100644 --- a/src/mesh/FloodingRouter.cpp +++ b/src/mesh/FloodingRouter.cpp @@ -31,33 +31,8 @@ bool FloodingRouter::shouldFilterReceived(const meshtastic_MeshPacket *p) wasSeenRecently(p, true, nullptr, nullptr, &wasUpgraded); // Updates history; returns false when an upgrade is detected // Handle hop_limit upgrade scenario for rebroadcasters - // isRebroadcaster() is duplicated in perhapsRebroadcast(), but this avoids confusing log messages - if (wasUpgraded && isRebroadcaster() && iface && p->hop_limit > 0) { - // wasSeenRecently() reports false in upgrade cases so we handle replacement before the duplicate short-circuit - // If we overhear a duplicate copy of the packet with more hops left than the one we are waiting to - // rebroadcast, then remove the packet currently sitting in the TX queue and use this one instead. - uint8_t dropThreshold = p->hop_limit; // remove queued packets that have fewer hops remaining - if (iface->removePendingTXPacket(getFrom(p), p->id, dropThreshold)) { - LOG_DEBUG("Processing upgraded packet 0x%08x for rebroadcast with hop limit %d (dropping queued < %d)", p->id, - p->hop_limit, dropThreshold); - - if (nodeDB) - nodeDB->updateFrom(*p); -#if !MESHTASTIC_EXCLUDE_TRACEROUTE - if (traceRouteModule && p->which_payload_variant == meshtastic_MeshPacket_decoded_tag && - p->decoded.portnum == meshtastic_PortNum_TRACEROUTE_APP) - traceRouteModule->processUpgradedPacket(*p); -#endif - - perhapsRebroadcast(p); - - // We already enqueued the improved copy, so make sure the incoming packet stops here. - return true; - } - - // No queue entry was replaced by this upgraded copy, so treat it as a duplicate to avoid - // delivering the same packet to applications/phone twice with different hop limits. - seenRecently = true; + if (wasUpgraded && perhapsHandleUpgradedPacket(p)) { + return true; // we handled it, so stop processing } if (seenRecently) { @@ -70,8 +45,10 @@ bool FloodingRouter::shouldFilterReceived(const meshtastic_MeshPacket *p) if (isRepeated) { LOG_DEBUG("Repeated reliable tx"); // Check if it's still in the Tx queue, if not, we have to relay it again - if (!findInTxQueue(p->from, p->id)) + if (!findInTxQueue(p->from, p->id)) { + reprocessPacket(p); perhapsRebroadcast(p); + } } else { perhapsCancelDupe(p); } @@ -82,6 +59,40 @@ bool FloodingRouter::shouldFilterReceived(const meshtastic_MeshPacket *p) return Router::shouldFilterReceived(p); } +bool FloodingRouter::perhapsHandleUpgradedPacket(const meshtastic_MeshPacket *p) +{ + // isRebroadcaster() is duplicated in perhapsRebroadcast(), but this avoids confusing log messages + if (isRebroadcaster() && iface && p->hop_limit > 0) { + // If we overhear a duplicate copy of the packet with more hops left than the one we are waiting to + // rebroadcast, then remove the packet currently sitting in the TX queue and use this one instead. + uint8_t dropThreshold = p->hop_limit; // remove queued packets that have fewer hops remaining + if (iface->removePendingTXPacket(getFrom(p), p->id, dropThreshold)) { + LOG_DEBUG("Processing upgraded packet 0x%08x for rebroadcast with hop limit %d (dropping queued < %d)", p->id, + p->hop_limit, dropThreshold); + + reprocessPacket(p); + perhapsRebroadcast(p); + + rxDupe++; + // We already enqueued the improved copy, so make sure the incoming packet stops here. + return true; + } + } + + return false; +} + +void FloodingRouter::reprocessPacket(const meshtastic_MeshPacket *p) +{ + if (nodeDB) + nodeDB->updateFrom(*p); +#if !MESHTASTIC_EXCLUDE_TRACEROUTE + if (traceRouteModule && p->which_payload_variant == meshtastic_MeshPacket_decoded_tag && + p->decoded.portnum == meshtastic_PortNum_TRACEROUTE_APP) + traceRouteModule->processUpgradedPacket(*p); +#endif +} + bool FloodingRouter::roleAllowsCancelingDupe(const meshtastic_MeshPacket *p) { if (config.device.role == meshtastic_Config_DeviceConfig_Role_ROUTER || @@ -121,41 +132,6 @@ bool FloodingRouter::isRebroadcaster() config.device.rebroadcast_mode != meshtastic_Config_DeviceConfig_RebroadcastMode_NONE; } -void FloodingRouter::perhapsRebroadcast(const meshtastic_MeshPacket *p) -{ - if (!isToUs(p) && (p->hop_limit > 0) && !isFromUs(p)) { - if (p->id != 0) { - if (isRebroadcaster()) { - meshtastic_MeshPacket *tosend = packetPool.allocCopy(*p); // keep a copy because we will be sending it - - // Use shared logic to determine if hop_limit should be decremented - if (shouldDecrementHopLimit(p)) { - tosend->hop_limit--; // bump down the hop count - } else { - LOG_INFO("favorite-ROUTER/CLIENT_BASE-to-ROUTER/CLIENT_BASE flood: preserving hop_limit"); - } -#if USERPREFS_EVENT_MODE - if (tosend->hop_limit > 2) { - // if we are "correcting" the hop_limit, "correct" the hop_start by the same amount to preserve hops away. - tosend->hop_start -= (tosend->hop_limit - 2); - tosend->hop_limit = 2; - } -#endif - - tosend->next_hop = NO_NEXT_HOP_PREFERENCE; // this should already be the case, but just in case - - LOG_INFO("Rebroadcast received floodmsg"); - // Note: we are careful to resend using the original senders node id - send(tosend); - } else { - LOG_DEBUG("No rebroadcast: Role = CLIENT_MUTE or Rebroadcast Mode = NONE"); - } - } else { - LOG_DEBUG("Ignore 0 id broadcast"); - } - } -} - void FloodingRouter::sniffReceived(const meshtastic_MeshPacket *p, const meshtastic_Routing *c) { bool isAckorReply = (p->which_payload_variant == meshtastic_MeshPacket_decoded_tag) && diff --git a/src/mesh/FloodingRouter.h b/src/mesh/FloodingRouter.h index eaf71d294..e8a2e9685 100644 --- a/src/mesh/FloodingRouter.h +++ b/src/mesh/FloodingRouter.h @@ -27,10 +27,6 @@ */ class FloodingRouter : public Router { - private: - /* Check if we should rebroadcast this packet, and do so if needed */ - void perhapsRebroadcast(const meshtastic_MeshPacket *p); - public: /** * Constructor @@ -59,6 +55,17 @@ class FloodingRouter : public Router */ virtual void sniffReceived(const meshtastic_MeshPacket *p, const meshtastic_Routing *c) override; + /* Check if we should rebroadcast this packet, and do so if needed */ + virtual bool perhapsRebroadcast(const meshtastic_MeshPacket *p) = 0; + + /* Check if we should handle an upgraded packet (with higher hop_limit) + * @return true if we handled it (so stop processing) + */ + bool perhapsHandleUpgradedPacket(const meshtastic_MeshPacket *p); + + /* Call when we receive a packet that needs some reprocessing, but afterwards should be filtered */ + void reprocessPacket(const meshtastic_MeshPacket *p); + // Return false for roles like ROUTER which should always rebroadcast even when we've heard another rebroadcast of // the same packet bool roleAllowsCancelingDupe(const meshtastic_MeshPacket *p); diff --git a/src/mesh/LR11x0Interface.cpp b/src/mesh/LR11x0Interface.cpp index 0e23405e5..af6dd92e9 100644 --- a/src/mesh/LR11x0Interface.cpp +++ b/src/mesh/LR11x0Interface.cpp @@ -218,6 +218,7 @@ template void LR11x0Interface::addReceiveMetadata(meshtastic_Mes // LOG_DEBUG("PacketStatus %x", lora.getPacketStatus()); mp->rx_snr = lora.getSNR(); mp->rx_rssi = lround(lora.getRSSI()); + LOG_DEBUG("Corrected frequency offset: %f", lora.getFrequencyError()); } /** We override to turn on transmitter power as needed. @@ -243,6 +244,8 @@ template void LR11x0Interface::startReceive() // We use a 16 bit preamble so this should save some power by letting radio sit in standby mostly. int err = lora.startReceive(RADIOLIB_LR11X0_RX_TIMEOUT_INF, MESHTASTIC_RADIOLIB_IRQ_RX_FLAGS, RADIOLIB_IRQ_RX_DEFAULT_MASK, 0); + if (err) + LOG_ERROR("StartReceive error: %d", err); assert(err == RADIOLIB_ERR_NONE); RadioLibInterface::startReceive(); @@ -303,4 +306,4 @@ template bool LR11x0Interface::sleep() return true; } -#endif \ No newline at end of file +#endif diff --git a/src/mesh/MeshModule.h b/src/mesh/MeshModule.h index eda3f8881..e7178bcfe 100644 --- a/src/mesh/MeshModule.h +++ b/src/mesh/MeshModule.h @@ -225,4 +225,4 @@ class MeshModule /** set the destination and packet parameters of packet p intended as a reply to a particular "to" packet * This ensures that if the request packet was sent reliably, the reply is sent that way as well. */ -void setReplyTo(meshtastic_MeshPacket *p, const meshtastic_MeshPacket &to); \ No newline at end of file +void setReplyTo(meshtastic_MeshPacket *p, const meshtastic_MeshPacket &to); diff --git a/src/mesh/MeshService.h b/src/mesh/MeshService.h index 66d9d9679..71fb544a0 100644 --- a/src/mesh/MeshService.h +++ b/src/mesh/MeshService.h @@ -79,6 +79,18 @@ class MeshService uint32_t oldFromNum = 0; public: + enum APIState { + STATE_DISCONNECTED, // Initial state, no API is connected + STATE_BLE, + STATE_WIFI, + STATE_SERIAL, + STATE_PACKET, + STATE_HTTP, + STATE_ETH + }; + + APIState api_state = STATE_DISCONNECTED; + static bool isTextPayload(const meshtastic_MeshPacket *p) { if (moduleConfig.range_test.enabled && p->decoded.portnum == meshtastic_PortNum_RANGE_TEST_APP) { diff --git a/src/mesh/NextHopRouter.cpp b/src/mesh/NextHopRouter.cpp index 0461d7eb6..afdb4d096 100644 --- a/src/mesh/NextHopRouter.cpp +++ b/src/mesh/NextHopRouter.cpp @@ -43,31 +43,8 @@ bool NextHopRouter::shouldFilterReceived(const meshtastic_MeshPacket *p) &wasUpgraded); // Updates history; returns false when an upgrade is detected // Handle hop_limit upgrade scenario for rebroadcasters - // isRebroadcaster() is duplicated in perhapsRelay(), but this avoids confusing log messages - if (wasUpgraded && isRebroadcaster() && iface && p->hop_limit > 0) { - // Upgrade detection bypasses the duplicate short-circuit so we replace the queued packet before exiting - uint8_t dropThreshold = p->hop_limit; // remove queued packets that have fewer hops remaining - if (iface->removePendingTXPacket(getFrom(p), p->id, dropThreshold)) { - LOG_DEBUG("Processing upgraded packet 0x%08x for relay with hop limit %d (dropping queued < %d)", p->id, p->hop_limit, - dropThreshold); - - if (nodeDB) - nodeDB->updateFrom(*p); -#if !MESHTASTIC_EXCLUDE_TRACEROUTE - if (traceRouteModule && p->which_payload_variant == meshtastic_MeshPacket_decoded_tag && - p->decoded.portnum == meshtastic_PortNum_TRACEROUTE_APP) - traceRouteModule->processUpgradedPacket(*p); -#endif - - perhapsRelay(p); - - // We already enqueued the improved copy, so make sure the incoming packet stops here. - return true; - } - - // No queue entry was replaced by this upgraded copy, so treat it as a duplicate to avoid - // delivering the same packet to applications/phone twice with different hop limits. - seenRecently = true; + if (wasUpgraded && perhapsHandleUpgradedPacket(p)) { + return true; // we handled it, so stop processing } if (seenRecently) { @@ -82,14 +59,20 @@ bool NextHopRouter::shouldFilterReceived(const meshtastic_MeshPacket *p) if (wasFallback) { LOG_INFO("Fallback to flooding from relay_node=0x%x", p->relay_node); // Check if it's still in the Tx queue, if not, we have to relay it again - if (!findInTxQueue(p->from, p->id)) - perhapsRelay(p); + if (!findInTxQueue(p->from, p->id)) { + reprocessPacket(p); + perhapsRebroadcast(p); + } } else { bool isRepeated = p->hop_start > 0 && p->hop_start == p->hop_limit; // If repeated and not in Tx queue anymore, try relaying again, or if we are the destination, send the ACK again if (isRepeated) { - if (!findInTxQueue(p->from, p->id) && !perhapsRelay(p) && isToUs(p) && p->want_ack) - sendAckNak(meshtastic_Routing_Error_NONE, getFrom(p), p->id, p->channel, 0); + if (!findInTxQueue(p->from, p->id)) { + reprocessPacket(p); + if (!perhapsRebroadcast(p) && isToUs(p) && p->want_ack) { + sendAckNak(meshtastic_Routing_Error_NONE, getFrom(p), p->id, p->channel, 0); + } + } } else if (!weWereNextHop) { perhapsCancelDupe(p); // If it's a dupe, cancel relay if we were not explicitly asked to relay } @@ -107,13 +90,14 @@ void NextHopRouter::sniffReceived(const meshtastic_MeshPacket *p, const meshtast bool isAckorReply = (p->which_payload_variant == meshtastic_MeshPacket_decoded_tag) && (p->decoded.request_id != 0 || p->decoded.reply_id != 0); if (isAckorReply) { - // Update next-hop for the original transmitter of this successful transmission to the relay node, but ONLY if "from" is - // not 0 (means implicit ACK) and original packet was also relayed by this node, or we sent it directly to the destination + // Update next-hop for the original transmitter of this successful transmission to the relay node, but ONLY if "from" + // is not 0 (means implicit ACK) and original packet was also relayed by this node, or we sent it directly to the + // destination if (p->from != 0) { meshtastic_NodeInfoLite *origTx = nodeDB->getMeshNode(p->from); if (origTx) { - // Either relayer of ACK was also a relayer of the packet, or we were the *only* relayer and the ACK came directly - // from the destination + // Either relayer of ACK was also a relayer of the packet, or we were the *only* relayer and the ACK came + // directly from the destination bool wasAlreadyRelayer = wasRelayer(p->relay_node, p->decoded.request_id, p->to); bool weWereSoleRelayer = false; bool weWereRelayer = wasRelayer(ourRelayID, p->decoded.request_id, p->to, &weWereSoleRelayer); @@ -134,34 +118,49 @@ void NextHopRouter::sniffReceived(const meshtastic_MeshPacket *p, const meshtast } } - perhapsRelay(p); + perhapsRebroadcast(p); // handle the packet as normal Router::sniffReceived(p, c); } -/* Check if we should be relaying this packet if so, do so. */ -bool NextHopRouter::perhapsRelay(const meshtastic_MeshPacket *p) +/* Check if we should be rebroadcasting this packet if so, do so. */ +bool NextHopRouter::perhapsRebroadcast(const meshtastic_MeshPacket *p) { if (!isToUs(p) && !isFromUs(p) && p->hop_limit > 0) { - if (p->next_hop == NO_NEXT_HOP_PREFERENCE || p->next_hop == nodeDB->getLastByteOfNodeNum(getNodeNum())) { + if (p->id != 0) { if (isRebroadcaster()) { - meshtastic_MeshPacket *tosend = packetPool.allocCopy(*p); // keep a copy because we will be sending it - LOG_INFO("Relaying received message coming from %x", p->relay_node); + if (p->next_hop == NO_NEXT_HOP_PREFERENCE || p->next_hop == nodeDB->getLastByteOfNodeNum(getNodeNum())) { + meshtastic_MeshPacket *tosend = packetPool.allocCopy(*p); // keep a copy because we will be sending it + LOG_INFO("Rebroadcast received message coming from %x", p->relay_node); - // Use shared logic to determine if hop_limit should be decremented - if (shouldDecrementHopLimit(p)) { - tosend->hop_limit--; // bump down the hop count - } else { - LOG_INFO("Router/CLIENT_BASE-to-favorite-router/CLIENT_BASE relay: preserving hop_limit"); + // Use shared logic to determine if hop_limit should be decremented + if (shouldDecrementHopLimit(p)) { + tosend->hop_limit--; // bump down the hop count + } else { + LOG_INFO("favorite-ROUTER/CLIENT_BASE-to-ROUTER/CLIENT_BASE rebroadcast: preserving hop_limit"); + } +#if USERPREFS_EVENT_MODE + if (tosend->hop_limit > 2) { + // if we are "correcting" the hop_limit, "correct" the hop_start by the same amount to preserve hops away. + tosend->hop_start -= (tosend->hop_limit - 2); + tosend->hop_limit = 2; + } +#endif + + if (p->next_hop == NO_NEXT_HOP_PREFERENCE) { + FloodingRouter::send(tosend); + } else { + NextHopRouter::send(tosend); + } + + return true; } - - NextHopRouter::send(tosend); - - return true; } else { - LOG_DEBUG("Not rebroadcasting: Role = CLIENT_MUTE or Rebroadcast Mode = NONE"); + LOG_DEBUG("No rebroadcast: Role = CLIENT_MUTE or Rebroadcast Mode = NONE"); } + } else { + LOG_DEBUG("Ignore 0 id broadcast"); } } @@ -231,13 +230,13 @@ bool NextHopRouter::stopRetransmission(GlobalPacketId key) } } - // Regardless of whether or not we canceled this packet from the txQueue, remove it from our pending list so it doesn't - // get scheduled again. (This is the core of stopRetransmission.) + // Regardless of whether or not we canceled this packet from the txQueue, remove it from our pending list so it + // doesn't get scheduled again. (This is the core of stopRetransmission.) auto numErased = pending.erase(key); assert(numErased == 1); - // When we remove an entry from pending, always be sure to release the copy of the packet that was allocated in the call - // to startRetransmission. + // When we remove an entry from pending, always be sure to release the copy of the packet that was allocated in the + // call to startRetransmission. packetPool.release(p); return true; diff --git a/src/mesh/NextHopRouter.h b/src/mesh/NextHopRouter.h index 0022644e9..c1df3596b 100644 --- a/src/mesh/NextHopRouter.h +++ b/src/mesh/NextHopRouter.h @@ -148,7 +148,7 @@ class NextHopRouter : public FloodingRouter */ uint8_t getNextHop(NodeNum to, uint8_t relay_node); - /** Check if we should be relaying this packet if so, do so. - * @return true if we did relay */ - bool perhapsRelay(const meshtastic_MeshPacket *p); + /** Check if we should be rebroadcasting this packet if so, do so. + * @return true if we did rebroadcast */ + bool perhapsRebroadcast(const meshtastic_MeshPacket *p) override; }; \ No newline at end of file diff --git a/src/mesh/NodeDB.cpp b/src/mesh/NodeDB.cpp index dec8411fe..192f29553 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -653,7 +653,7 @@ void NodeDB::installDefaultConfig(bool preserveKey = false) strncpy(config.network.ntp_server, "meshtastic.pool.ntp.org", 32); #if (defined(T_DECK) || defined(T_WATCH_S3) || defined(UNPHONE) || defined(PICOMPUTER_S3) || defined(SENSECAP_INDICATOR) || \ - defined(ELECROW_PANEL)) && \ + defined(ELECROW_PANEL) || defined(HELTEC_V4_TFT)) && \ HAS_TFT // switch BT off by default; use TFT programming mode or hotkey to enable config.bluetooth.enabled = false; @@ -664,7 +664,8 @@ void NodeDB::installDefaultConfig(bool preserveKey = false) config.bluetooth.fixed_pin = defaultBLEPin; #if defined(ST7735_CS) || defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ILI9342_DRIVER) || defined(ST7789_CS) || \ - defined(HX8357_CS) || defined(USE_ST7789) || defined(ILI9488_CS) || defined(ST7796_CS) || defined(USE_SPISSD1306) + defined(HX8357_CS) || defined(USE_ST7789) || defined(ILI9488_CS) || defined(ST7796_CS) || defined(USE_SPISSD1306) || \ + defined(USE_ST7796) || defined(HACKADAY_COMMUNICATOR) bool hasScreen = true; #ifdef HELTEC_MESH_NODE_T114 uint32_t st7789_id = get_st7789_id(ST7789_NSS, ST7789_SCK, ST7789_SDA, ST7789_RS, ST7789_RESET); @@ -718,6 +719,12 @@ void NodeDB::installDefaultConfig(bool preserveKey = false) strncpy(config.network.wifi_psk, USERPREFS_NETWORK_WIFI_PSK, sizeof(config.network.wifi_psk)); #endif +#if defined(USERPREFS_NETWORK_IPV6_ENABLED) + config.network.ipv6_enabled = USERPREFS_NETWORK_IPV6_ENABLED; +#else + config.network.ipv6_enabled = default_network_ipv6_enabled; +#endif + #ifdef DISPLAY_FLIP_SCREEN config.display.flip_screen = true; #endif @@ -728,6 +735,9 @@ void NodeDB::installDefaultConfig(bool preserveKey = false) config.display.screen_on_secs = 30; config.display.wake_on_tap_or_motion = true; #endif +#ifdef COMPASS_ORIENTATION + config.display.compass_orientation = COMPASS_ORIENTATION; +#endif #if defined(ARCH_ESP32) && !MESHTASTIC_EXCLUDE_WIFI if (WiFiOTA::isUpdated()) { WiFiOTA::recoverConfig(&config.network); @@ -795,11 +805,15 @@ void NodeDB::installDefaultModuleConfig() moduleConfig.external_notification.output_ms = 500; moduleConfig.external_notification.nag_timeout = 2; #endif -#if defined(RAK4630) || defined(RAK11310) || defined(RAK3312) +#if defined(RAK4630) || defined(RAK11310) || defined(RAK3312) || defined(MUZI_BASE) // Default to RAK led pin 2 (blue) moduleConfig.external_notification.enabled = true; moduleConfig.external_notification.output = PIN_LED2; +#if defined(MUZI_BASE) + moduleConfig.external_notification.active = false; +#else moduleConfig.external_notification.active = true; +#endif moduleConfig.external_notification.alert_message = true; moduleConfig.external_notification.output_ms = 1000; moduleConfig.external_notification.nag_timeout = default_ringtone_nag_secs; @@ -978,12 +992,25 @@ void NodeDB::installDefaultChannels() channelFile.version = DEVICESTATE_CUR_VER; } -void NodeDB::resetNodes() +void NodeDB::resetNodes(bool keepFavorites) { if (!config.position.fixed_position) clearLocalPosition(); numMeshNodes = 1; - std::fill(nodeDatabase.nodes.begin() + 1, nodeDatabase.nodes.end(), meshtastic_NodeInfoLite()); + if (keepFavorites) { + LOG_INFO("Clearing node database - preserving favorites"); + for (size_t i = 0; i < meshNodes->size(); i++) { + meshtastic_NodeInfoLite &node = meshNodes->at(i); + if (i > 0 && !node.is_favorite) { + node = meshtastic_NodeInfoLite(); + } else { + numMeshNodes += 1; + } + }; + } else { + LOG_INFO("Clearing node database - removing favorites"); + std::fill(nodeDatabase.nodes.begin() + 1, nodeDatabase.nodes.end(), meshtastic_NodeInfoLite()); + } devicestate.has_rx_text_message = false; devicestate.has_rx_waypoint = false; saveNodeDatabaseToDisk(); @@ -1632,13 +1659,32 @@ void NodeDB::addFromContact(meshtastic_SharedContact contact) // If should_ignore is set, // we need to clear the public key and other cruft, in addition to setting the node as ignored info->is_ignored = true; + info->is_favorite = false; info->has_device_metrics = false; info->has_position = false; info->user.public_key.size = 0; info->user.public_key.bytes[0] = 0; } else { - info->last_heard = getValidTime(RTCQualityNTP); - info->is_favorite = true; + /* Clients are sending add_contact before every text message DM (because clients may hold a larger node database with + * public keys than the radio holds). However, we don't want to update last_heard just because we sent someone a DM! + */ + + /* "Boring old nodes" are the first to be evicted out of the node database when full. This includes a newly-zeroed + * nodeinfo because it has: !is_favorite && last_heard==0. To keep this from happening when we addFromContact, we set the + * new node as a favorite, and we leave last_heard alone (even if it's zero). + */ + if (config.device.role == meshtastic_Config_DeviceConfig_Role_CLIENT_BASE) { + // Special case for CLIENT_BASE: is_favorite has special meaning, and we don't want to automatically set it + // without the user doing so deliberately. We don't normally expect users to use a CLIENT_BASE to send DMs or to add + // contacts, but we should make sure it doesn't auto-favorite in case they do. Instead, as a workaround, we'll set + // last_heard to now, so that the add_contact node doesn't immediately get evicted. + info->last_heard = getTime(); + } else { + // Normal case: set is_favorite to prevent expiration. + // last_heard will remain as-is (or remain 0 if this entry wasn't in the nodeDB). + info->is_favorite = true; + } + // As the clients will begin sending the contact with DMs, we want to strictly check if the node is manually verified if (contact.manually_verified) { info->bitfield |= NODEINFO_BITFIELD_IS_KEY_MANUALLY_VERIFIED_MASK; @@ -1970,6 +2016,7 @@ UserLicenseStatus NodeDB::getLicenseStatus(uint32_t nodeNum) return info->user.is_licensed ? UserLicenseStatus::Licensed : UserLicenseStatus::NotLicensed; } +#if !defined(MESHTASTIC_EXCLUDE_PKI) bool NodeDB::checkLowEntropyPublicKey(const meshtastic_Config_SecurityConfig_public_key_t &keyToTest) { if (keyToTest.size == 32) { @@ -1984,6 +2031,7 @@ bool NodeDB::checkLowEntropyPublicKey(const meshtastic_Config_SecurityConfig_pub } return false; } +#endif bool NodeDB::backupPreferences(meshtastic_AdminMessage_BackupLocation location) { diff --git a/src/mesh/NodeDB.h b/src/mesh/NodeDB.h index e8724f2c9..306acc0a5 100644 --- a/src/mesh/NodeDB.h +++ b/src/mesh/NodeDB.h @@ -229,7 +229,8 @@ class NodeDB */ size_t getNumOnlineMeshNodes(bool localOnly = false); - void initConfigIntervals(), initModuleConfigIntervals(), resetNodes(), removeNodeByNum(NodeNum nodeNum); + void initConfigIntervals(), initModuleConfigIntervals(), resetNodes(bool keepFavorites = false), + removeNodeByNum(NodeNum nodeNum); bool factoryReset(bool eraseBleBonds = false); @@ -282,7 +283,9 @@ class NodeDB bool hasValidPosition(const meshtastic_NodeInfoLite *n); +#if !defined(MESHTASTIC_EXCLUDE_PKI) bool checkLowEntropyPublicKey(const meshtastic_Config_SecurityConfig_public_key_t &keyToTest); +#endif bool backupPreferences(meshtastic_AdminMessage_BackupLocation location); bool restorePreferences(meshtastic_AdminMessage_BackupLocation location, @@ -372,4 +375,4 @@ extern uint32_t error_address; ModuleConfig_RangeTestConfig_size + ModuleConfig_SerialConfig_size + ModuleConfig_StoreForwardConfig_size + \ ModuleConfig_TelemetryConfig_size + ModuleConfig_size) -// Please do not remove this comment, it makes trunk and compiler happy at the same time. \ No newline at end of file +// Please do not remove this comment, it makes trunk and compiler happy at the same time. diff --git a/src/mesh/PacketCache.cpp b/src/mesh/PacketCache.cpp new file mode 100644 index 000000000..0edf81741 --- /dev/null +++ b/src/mesh/PacketCache.cpp @@ -0,0 +1,253 @@ +#include "PacketCache.h" +#include "Router.h" + +PacketCache packetCache{}; + +/** + * Allocate a new cache entry and copy the packet header and payload into it + */ +PacketCacheEntry *PacketCache::cache(const meshtastic_MeshPacket *p, bool preserveMetadata) +{ + size_t payload_size = + (p->which_payload_variant == meshtastic_MeshPacket_encrypted_tag) ? p->encrypted.size : p->decoded.payload.size; + PacketCacheEntry *e = (PacketCacheEntry *)malloc(sizeof(PacketCacheEntry) + payload_size + + (preserveMetadata ? sizeof(PacketCacheMetadata) : 0)); + if (!e) { + LOG_ERROR("Unable to allocate memory for packet cache entry"); + return NULL; + } + + *e = {}; + e->header.from = p->from; + e->header.to = p->to; + e->header.id = p->id; + e->header.channel = p->channel; + e->header.next_hop = p->next_hop; + e->header.relay_node = p->relay_node; + e->header.flags = (p->hop_limit & PACKET_FLAGS_HOP_LIMIT_MASK) | (p->want_ack ? PACKET_FLAGS_WANT_ACK_MASK : 0) | + (p->via_mqtt ? PACKET_FLAGS_VIA_MQTT_MASK : 0) | + ((p->hop_start << PACKET_FLAGS_HOP_START_SHIFT) & PACKET_FLAGS_HOP_START_MASK); + + PacketCacheMetadata m{}; + if (preserveMetadata) { + e->has_metadata = true; + m.rx_rssi = (uint8_t)(p->rx_rssi + 200); + m.rx_snr = (uint8_t)((p->rx_snr + 30.0f) / 0.25f); + m.rx_time = p->rx_time; + m.transport_mechanism = p->transport_mechanism; + m.priority = p->priority; + } + if (p->which_payload_variant == meshtastic_MeshPacket_encrypted_tag) { + e->encrypted = true; + e->payload_len = p->encrypted.size; + memcpy(((unsigned char *)e) + sizeof(PacketCacheEntry), p->encrypted.bytes, p->encrypted.size); + } else if (p->which_payload_variant == meshtastic_MeshPacket_decoded_tag) { + e->encrypted = false; + if (preserveMetadata) { + m.portnum = p->decoded.portnum; + m.want_response = p->decoded.want_response; + m.emoji = p->decoded.emoji; + m.bitfield = p->decoded.bitfield; + if (p->decoded.reply_id) + m.reply_id = p->decoded.reply_id; + else if (p->decoded.request_id) + m.request_id = p->decoded.request_id; + } + e->payload_len = p->decoded.payload.size; + memcpy(((unsigned char *)e) + sizeof(PacketCacheEntry), p->decoded.payload.bytes, p->decoded.payload.size); + } else { + LOG_ERROR("Unable to cache packet with unknown payload type %d", p->which_payload_variant); + free(e); + return NULL; + } + if (preserveMetadata) + memcpy(((unsigned char *)e) + sizeof(PacketCacheEntry) + e->payload_len, &m, sizeof(m)); + + size += sizeof(PacketCacheEntry) + e->payload_len + (e->has_metadata ? sizeof(PacketCacheMetadata) : 0); + insert(e); + return e; +}; + +/** + * Dump a list of packets into the provided buffer + */ +void PacketCache::dump(void *dest, const PacketCacheEntry **entries, size_t num_entries) +{ + unsigned char *pos = (unsigned char *)dest; + for (size_t i = 0; i < num_entries; i++) { + size_t entry_len = + sizeof(PacketCacheEntry) + entries[i]->payload_len + (entries[i]->has_metadata ? sizeof(PacketCacheMetadata) : 0); + memcpy(pos, entries[i], entry_len); + pos += entry_len; + } +} + +/** + * Calculate the length of buffer needed to dump the specified entries + */ +size_t PacketCache::dumpSize(const PacketCacheEntry **entries, size_t num_entries) +{ + size_t total_size = 0; + for (size_t i = 0; i < num_entries; i++) { + total_size += sizeof(PacketCacheEntry) + entries[i]->payload_len; + if (entries[i]->has_metadata) + total_size += sizeof(PacketCacheMetadata); + } + return total_size; +} + +/** + * Find a packet in the cache + */ +PacketCacheEntry *PacketCache::find(NodeNum from, PacketId id) +{ + uint16_t h = PACKET_HASH(from, id); + PacketCacheEntry *e = buckets[PACKET_CACHE_BUCKET(h)]; + while (e) { + if (e->header.from == from && e->header.id == id) + return e; + e = e->next; + } + return NULL; +} + +/** + * Find a packet in the cache by its hash + */ +PacketCacheEntry *PacketCache::find(PacketHash h) +{ + PacketCacheEntry *e = buckets[PACKET_CACHE_BUCKET(h)]; + while (e) { + if (PACKET_HASH(e->header.from, e->header.id) == h) + return e; + e = e->next; + } + return NULL; +} + +/** + * Load a list of packets from the provided buffer + */ +bool PacketCache::load(void *src, PacketCacheEntry **entries, size_t num_entries) +{ + memset(entries, 0, sizeof(PacketCacheEntry *) * num_entries); + unsigned char *pos = (unsigned char *)src; + for (size_t i = 0; i < num_entries; i++) { + PacketCacheEntry e{}; + memcpy(&e, pos, sizeof(PacketCacheEntry)); + size_t entry_len = sizeof(PacketCacheEntry) + e.payload_len + (e.has_metadata ? sizeof(PacketCacheMetadata) : 0); + entries[i] = (PacketCacheEntry *)malloc(entry_len); + size += entry_len; + if (!entries[i]) { + LOG_ERROR("Unable to allocate memory for packet cache entry"); + for (size_t j = 0; j < i; j++) { + size -= sizeof(PacketCacheEntry) + entries[j]->payload_len + + (entries[j]->has_metadata ? sizeof(PacketCacheMetadata) : 0); + free(entries[j]); + entries[j] = NULL; + } + return false; + } + memcpy(entries[i], pos, entry_len); + pos += entry_len; + } + for (size_t i = 0; i < num_entries; i++) + insert(entries[i]); + return true; +} + +/** + * Copy the cached packet into the provided MeshPacket structure + */ +void PacketCache::rehydrate(const PacketCacheEntry *e, meshtastic_MeshPacket *p) +{ + if (!e || !p) + return; + + *p = {}; + p->from = e->header.from; + p->to = e->header.to; + p->id = e->header.id; + p->channel = e->header.channel; + p->next_hop = e->header.next_hop; + p->relay_node = e->header.relay_node; + p->hop_limit = e->header.flags & PACKET_FLAGS_HOP_LIMIT_MASK; + p->want_ack = !!(e->header.flags & PACKET_FLAGS_WANT_ACK_MASK); + p->via_mqtt = !!(e->header.flags & PACKET_FLAGS_VIA_MQTT_MASK); + p->hop_start = (e->header.flags & PACKET_FLAGS_HOP_START_MASK) >> PACKET_FLAGS_HOP_START_SHIFT; + p->which_payload_variant = e->encrypted ? meshtastic_MeshPacket_encrypted_tag : meshtastic_MeshPacket_decoded_tag; + + unsigned char *payload = ((unsigned char *)e) + sizeof(PacketCacheEntry); + PacketCacheMetadata m{}; + if (e->has_metadata) { + memcpy(&m, (payload + e->payload_len), sizeof(m)); + p->rx_rssi = ((int)m.rx_rssi) - 200; + p->rx_snr = ((float)m.rx_snr * 0.25f) - 30.0f; + p->rx_time = m.rx_time; + p->transport_mechanism = (meshtastic_MeshPacket_TransportMechanism)m.transport_mechanism; + p->priority = (meshtastic_MeshPacket_Priority)m.priority; + } + if (e->encrypted) { + memcpy(p->encrypted.bytes, payload, e->payload_len); + p->encrypted.size = e->payload_len; + } else { + memcpy(p->decoded.payload.bytes, payload, e->payload_len); + p->decoded.payload.size = e->payload_len; + if (e->has_metadata) { + // Decrypted-only metadata + p->decoded.portnum = (meshtastic_PortNum)m.portnum; + p->decoded.want_response = m.want_response; + p->decoded.emoji = m.emoji; + p->decoded.bitfield = m.bitfield; + if (m.reply_id) + p->decoded.reply_id = m.reply_id; + else if (m.request_id) + p->decoded.request_id = m.request_id; + } + } +} + +/** + * Release a cache entry + */ +void PacketCache::release(PacketCacheEntry *e) +{ + if (!e) + return; + remove(e); + size -= sizeof(PacketCacheEntry) + e->payload_len + (e->has_metadata ? sizeof(PacketCacheMetadata) : 0); + free(e); +} + +/** + * Insert a new entry into the hash table + */ +void PacketCache::insert(PacketCacheEntry *e) +{ + assert(e); + PacketHash h = PACKET_HASH(e->header.from, e->header.id); + PacketCacheEntry **target = &buckets[PACKET_CACHE_BUCKET(h)]; + e->next = *target; + *target = e; + num_entries++; +} + +/** + * Remove an entry from the hash table + */ +void PacketCache::remove(PacketCacheEntry *e) +{ + assert(e); + PacketHash h = PACKET_HASH(e->header.from, e->header.id); + PacketCacheEntry **target = &buckets[PACKET_CACHE_BUCKET(h)]; + while (*target) { + if (*target == e) { + *target = e->next; + e->next = NULL; + num_entries--; + break; + } else { + target = &(*target)->next; + } + } +} \ No newline at end of file diff --git a/src/mesh/PacketCache.h b/src/mesh/PacketCache.h new file mode 100644 index 000000000..85660922b --- /dev/null +++ b/src/mesh/PacketCache.h @@ -0,0 +1,75 @@ +#pragma once +#include "RadioInterface.h" + +#define PACKET_HASH(a, b) ((((a ^ b) >> 16) ^ (a ^ b)) & 0xFFFF) // 16 bit fold of packet (from, id) tuple +typedef uint16_t PacketHash; + +#define PACKET_CACHE_BUCKETS 64 // Number of hash table buckets +#define PACKET_CACHE_BUCKET(h) (((h >> 12) ^ (h >> 6) ^ h) & 0x3F) // Fold hash down to 6-bit bucket index + +typedef struct PacketCacheEntry { + PacketCacheEntry *next; + PacketHeader header; + uint16_t payload_len = 0; + union { + uint16_t bitfield; + struct { + uint8_t encrypted : 1; // Payload is encrypted + uint8_t has_metadata : 1; // Payload includes PacketCacheMetadata + uint8_t : 6; // Reserved for future use + uint8_t : 8; // Reserved for future use + }; + }; +} PacketCacheEntry; + +typedef struct PacketCacheMetadata { + PacketCacheMetadata() : _bitfield(0), reply_id(0), _bitfield2(0) {} + union { + uint32_t _bitfield; + struct { + uint16_t portnum : 9; // meshtastic_MeshPacket::decoded::portnum + uint16_t want_response : 1; // meshtastic_MeshPacket::decoded::want_response + uint16_t emoji : 1; // meshtastic_MeshPacket::decoded::emoji + uint16_t bitfield : 5; // meshtastic_MeshPacket::decoded::bitfield (truncated) + uint8_t rx_rssi : 8; // meshtastic_MeshPacket::rx_rssi (map via actual RSSI + 200) + uint8_t rx_snr : 8; // meshtastic_MeshPacket::rx_snr (map via (p->rx_snr + 30.0f) / 0.25f) + }; + }; + union { + uint32_t reply_id; // meshtastic_MeshPacket::decoded.reply_id + uint32_t request_id; // meshtastic_MeshPacket::decoded.request_id + }; + uint32_t rx_time = 0; // meshtastic_MeshPacket::rx_time + uint8_t transport_mechanism = 0; // meshtastic_MeshPacket::transport_mechanism + struct { + uint8_t _bitfield2; + union { + uint8_t priority : 7; // meshtastic_MeshPacket::priority + uint8_t reserved : 1; // Reserved for future use + }; + }; +} PacketCacheMetadata; + +class PacketCache +{ + public: + PacketCacheEntry *cache(const meshtastic_MeshPacket *p, bool preserveMetadata); + static void dump(void *dest, const PacketCacheEntry **entries, size_t num_entries); + size_t dumpSize(const PacketCacheEntry **entries, size_t num_entries); + PacketCacheEntry *find(NodeNum from, PacketId id); + PacketCacheEntry *find(PacketHash h); + bool load(void *src, PacketCacheEntry **entries, size_t num_entries); + size_t getNumEntries() { return num_entries; } + size_t getSize() { return size; } + void rehydrate(const PacketCacheEntry *e, meshtastic_MeshPacket *p); + void release(PacketCacheEntry *e); + + private: + PacketCacheEntry *buckets[PACKET_CACHE_BUCKETS]{}; + size_t num_entries = 0; + size_t size = 0; + void insert(PacketCacheEntry *e); + void remove(PacketCacheEntry *e); +}; + +extern PacketCache packetCache; \ No newline at end of file diff --git a/src/mesh/PacketHistory.cpp b/src/mesh/PacketHistory.cpp index 49d581d9a..b4af707ae 100644 --- a/src/mesh/PacketHistory.cpp +++ b/src/mesh/PacketHistory.cpp @@ -94,7 +94,6 @@ bool PacketHistory::wasSeenRecently(const meshtastic_MeshPacket *p, bool withUpd LOG_DEBUG("Packet History - Hop limit upgrade: packet 0x%08x from hop_limit=%d to hop_limit=%d", p->id, found->hop_limit, p->hop_limit); *wasUpgraded = true; - seenRecently = false; // Allow router processing but prevent duplicate app delivery } else if (wasUpgraded) { *wasUpgraded = false; // Initialize to false if not an upgrade } diff --git a/src/mesh/PhoneAPI.cpp b/src/mesh/PhoneAPI.cpp index 9eeadf5a2..9050ee89d 100644 --- a/src/mesh/PhoneAPI.cpp +++ b/src/mesh/PhoneAPI.cpp @@ -15,6 +15,7 @@ #include "Router.h" #include "SPILock.h" #include "TypeConversions.h" +#include "concurrency/LockGuard.h" #include "main.h" #include "xmodem.h" @@ -56,6 +57,9 @@ void PhoneAPI::handleStartConfig() #endif } + // Allow subclasses to prepare for high-throughput config traffic + onConfigStart(); + // even if we were already connected - restart our state machine if (config_nonce == SPECIAL_NONCE_ONLY_NODES) { // If client only wants node info, jump directly to sending nodes @@ -70,15 +74,31 @@ void PhoneAPI::handleStartConfig() spiLock->unlock(); LOG_DEBUG("Got %d files in manifest", filesManifest.size()); - LOG_INFO("Start API client config"); - nodeInfoForPhone.num = 0; // Don't keep returning old nodeinfos - nodeInfoQueue.clear(); + LOG_INFO("Start API client config millis=%u", millis()); + // Protect against concurrent BLE callbacks: they run in NimBLE's FreeRTOS task and also touch nodeInfoQueue. + { + concurrency::LockGuard guard(&nodeInfoMutex); + nodeInfoForPhone = {}; + nodeInfoQueue.clear(); + } resetReadIndex(); } void PhoneAPI::close() { LOG_DEBUG("PhoneAPI::close()"); + if (service->api_state == service->STATE_BLE && api_type == TYPE_BLE) + service->api_state = service->STATE_DISCONNECTED; + else if (service->api_state == service->STATE_WIFI && api_type == TYPE_WIFI) + service->api_state = service->STATE_DISCONNECTED; + else if (service->api_state == service->STATE_SERIAL && api_type == TYPE_SERIAL) + service->api_state = service->STATE_DISCONNECTED; + else if (service->api_state == service->STATE_PACKET && api_type == TYPE_PACKET) + service->api_state = service->STATE_DISCONNECTED; + else if (service->api_state == service->STATE_HTTP && api_type == TYPE_HTTP) + service->api_state = service->STATE_DISCONNECTED; + else if (service->api_state == service->STATE_ETH && api_type == TYPE_ETH) + service->api_state = service->STATE_DISCONNECTED; if (state != STATE_SEND_NOTHING) { state = STATE_SEND_NOTHING; @@ -94,8 +114,12 @@ void PhoneAPI::close() onConnectionChanged(false); fromRadioScratch = {}; toRadioScratch = {}; - nodeInfoForPhone = {}; - nodeInfoQueue.clear(); + // Clear cached node info under lock because NimBLE callbacks can still be draining it. + { + concurrency::LockGuard guard(&nodeInfoMutex); + nodeInfoForPhone = {}; + nodeInfoQueue.clear(); + } packetForPhone = NULL; filesManifest.clear(); fromRadioNum = 0; @@ -150,6 +174,10 @@ bool PhoneAPI::handleToRadio(const uint8_t *buf, size_t bufLength) #if !MESHTASTIC_EXCLUDE_MQTT case meshtastic_ToRadio_mqttClientProxyMessage_tag: LOG_DEBUG("Got MqttClientProxy message"); + if (state != STATE_SEND_PACKETS) { + LOG_WARN("Ignore MqttClientProxy message while completing config handshake"); + break; + } if (mqtt && moduleConfig.mqtt.proxy_to_client_enabled && moduleConfig.mqtt.enabled && (channels.anyMqttEnabled() || moduleConfig.mqtt.map_reporting_enabled)) { mqtt->onClientProxyReceive(toRadioScratch.mqttClientProxyMessage); @@ -241,13 +269,20 @@ size_t PhoneAPI::getFromRadio(uint8_t *buf) LOG_DEBUG("Send My NodeInfo"); auto us = nodeDB->readNextMeshNode(readIndex); if (us) { - nodeInfoForPhone = TypeConversions::ConvertToNodeInfo(us); - nodeInfoForPhone.has_hops_away = false; - nodeInfoForPhone.is_favorite = true; + auto info = TypeConversions::ConvertToNodeInfo(us); + info.has_hops_away = false; + info.is_favorite = true; + { + concurrency::LockGuard guard(&nodeInfoMutex); + nodeInfoForPhone = info; + } fromRadioScratch.which_payload_variant = meshtastic_FromRadio_node_info_tag; - fromRadioScratch.node_info = nodeInfoForPhone; + fromRadioScratch.node_info = info; // Should allow us to resume sending NodeInfo in STATE_SEND_OTHER_NODEINFOS - nodeInfoForPhone.num = 0; + { + concurrency::LockGuard guard(&nodeInfoMutex); + nodeInfoForPhone.num = 0; + } } if (config_nonce == SPECIAL_NONCE_ONLY_NODES) { // If client only wants node info, jump directly to sending nodes @@ -433,24 +468,43 @@ size_t PhoneAPI::getFromRadio(uint8_t *buf) break; case STATE_SEND_OTHER_NODEINFOS: { - LOG_DEBUG("Send known nodes"); - if (nodeInfoForPhone.num == 0 && !nodeInfoQueue.empty()) { - // Serve the next cached node without re-reading from the DB iterator. - nodeInfoForPhone = nodeInfoQueue.front(); - nodeInfoQueue.pop_front(); + if (readIndex == 2) { // readIndex==2 will be true for the first non-us node + LOG_INFO("Start sending nodeinfos millis=%u", millis()); } - if (nodeInfoForPhone.num != 0) { + meshtastic_NodeInfo infoToSend = {}; + { + concurrency::LockGuard guard(&nodeInfoMutex); + if (nodeInfoForPhone.num == 0 && !nodeInfoQueue.empty()) { + // Serve the next cached node without re-reading from the DB iterator. + nodeInfoForPhone = nodeInfoQueue.front(); + nodeInfoQueue.pop_front(); + } + infoToSend = nodeInfoForPhone; + if (infoToSend.num != 0) + nodeInfoForPhone = {}; + } + + if (infoToSend.num != 0) { // Just in case we stored a different user.id in the past, but should never happen going forward - sprintf(nodeInfoForPhone.user.id, "!%08x", nodeInfoForPhone.num); - LOG_DEBUG("nodeinfo: num=0x%x, lastseen=%u, id=%s, name=%s", nodeInfoForPhone.num, nodeInfoForPhone.last_heard, - nodeInfoForPhone.user.id, nodeInfoForPhone.user.long_name); + sprintf(infoToSend.user.id, "!%08x", infoToSend.num); + + // Logging this really slows down sending nodes on initial connection because the serial console is so slow, so only + // uncomment if you really need to: + // LOG_INFO("nodeinfo: num=0x%x, lastseen=%u, id=%s, name=%s", nodeInfoForPhone.num, nodeInfoForPhone.last_heard, + // nodeInfoForPhone.user.id, nodeInfoForPhone.user.long_name); + + // Occasional progress logging. (readIndex==2 will be true for the first non-us node) + if (readIndex == 2 || readIndex % 20 == 0) { + LOG_DEBUG("nodeinfo: %d/%d", readIndex, nodeDB->getNumMeshNodes()); + } + fromRadioScratch.which_payload_variant = meshtastic_FromRadio_node_info_tag; - fromRadioScratch.node_info = nodeInfoForPhone; - nodeInfoForPhone = {}; + fromRadioScratch.node_info = infoToSend; prefetchNodeInfos(); } else { - LOG_DEBUG("Done sending nodeinfo"); + LOG_DEBUG("Done sending %d of %d nodeinfos millis=%u", readIndex, nodeDB->getNumMeshNodes(), millis()); + concurrency::LockGuard guard(&nodeInfoMutex); nodeInfoQueue.clear(); state = STATE_SEND_FILEMANIFEST; // Go ahead and send that ID right now @@ -531,11 +585,28 @@ size_t PhoneAPI::getFromRadio(uint8_t *buf) void PhoneAPI::sendConfigComplete() { - LOG_INFO("Config Send Complete"); + LOG_INFO("Config Send Complete millis=%u", millis()); fromRadioScratch.which_payload_variant = meshtastic_FromRadio_config_complete_id_tag; fromRadioScratch.config_complete_id = config_nonce; config_nonce = 0; state = STATE_SEND_PACKETS; + if (api_type == TYPE_BLE) { + service->api_state = service->STATE_BLE; + } else if (api_type == TYPE_WIFI) { + service->api_state = service->STATE_WIFI; + } else if (api_type == TYPE_SERIAL) { + service->api_state = service->STATE_SERIAL; + } else if (api_type == TYPE_PACKET) { + service->api_state = service->STATE_PACKET; + } else if (api_type == TYPE_HTTP) { + service->api_state = service->STATE_HTTP; + } else if (api_type == TYPE_ETH) { + service->api_state = service->STATE_ETH; + } + + // Allow subclasses to know we've entered steady-state so they can lower power consumption + onConfigComplete(); + pauseBluetoothLogging = false; } @@ -559,20 +630,23 @@ void PhoneAPI::prefetchNodeInfos() { bool added = false; // Keep the queue topped up so BLE reads stay responsive even if DB fetches take a moment. - while (nodeInfoQueue.size() < kNodePrefetchDepth) { - auto nextNode = nodeDB->readNextMeshNode(readIndex); - if (!nextNode) - break; + { + concurrency::LockGuard guard(&nodeInfoMutex); + while (nodeInfoQueue.size() < kNodePrefetchDepth) { + auto nextNode = nodeDB->readNextMeshNode(readIndex); + if (!nextNode) + break; - auto info = TypeConversions::ConvertToNodeInfo(nextNode); - bool isUs = info.num == nodeDB->getNodeNum(); - info.hops_away = isUs ? 0 : info.hops_away; - info.last_heard = isUs ? getValidTime(RTCQualityFromNet) : info.last_heard; - info.snr = isUs ? 0 : info.snr; - info.via_mqtt = isUs ? false : info.via_mqtt; - info.is_favorite = info.is_favorite || isUs; - nodeInfoQueue.push_back(info); - added = true; + auto info = TypeConversions::ConvertToNodeInfo(nextNode); + bool isUs = info.num == nodeDB->getNodeNum(); + info.hops_away = isUs ? 0 : info.hops_away; + info.last_heard = isUs ? getValidTime(RTCQualityFromNet) : info.last_heard; + info.snr = isUs ? 0 : info.snr; + info.via_mqtt = isUs ? false : info.via_mqtt; + info.is_favorite = info.is_favorite || isUs; + nodeInfoQueue.push_back(info); + added = true; + } } if (added) @@ -614,10 +688,17 @@ bool PhoneAPI::available() case STATE_SEND_COMPLETE_ID: return true; - case STATE_SEND_OTHER_NODEINFOS: - if (nodeInfoQueue.empty()) - prefetchNodeInfos(); + case STATE_SEND_OTHER_NODEINFOS: { + concurrency::LockGuard guard(&nodeInfoMutex); + if (nodeInfoQueue.empty()) { + // Drop the lock before prefetching; prefetchNodeInfos() will re-acquire it. + goto PREFETCH_NODEINFO; + } + } return true; // Always say we have something, because we might need to advance our state machine + PREFETCH_NODEINFO: + prefetchNodeInfos(); + return true; case STATE_SEND_PACKETS: { if (!queueStatusPacketForPhone) queueStatusPacketForPhone = service->getQueueStatusForPhone(); diff --git a/src/mesh/PhoneAPI.h b/src/mesh/PhoneAPI.h index 692fdd0b9..7f79b5792 100644 --- a/src/mesh/PhoneAPI.h +++ b/src/mesh/PhoneAPI.h @@ -1,6 +1,7 @@ #pragma once #include "Observer.h" +#include "concurrency/Lock.h" #include "mesh-pb-constants.h" #include "meshtastic/portnums.pb.h" #include @@ -84,6 +85,8 @@ class PhoneAPI std::deque nodeInfoQueue; // Tunable size of the node info cache so we can keep BLE reads non-blocking. static constexpr size_t kNodePrefetchDepth = 4; + // Protect nodeInfoForPhone + nodeInfoQueue because NimBLE callbacks run in a separate FreeRTOS task. + concurrency::Lock nodeInfoMutex; meshtastic_ToRadio toRadioScratch = { 0}; // this is a static scratch object, any data must be copied elsewhere before returning @@ -133,6 +136,7 @@ class PhoneAPI bool available(); bool isConnected() { return state != STATE_SEND_NOTHING; } + bool isSendingPackets() { return state == STATE_SEND_PACKETS; } protected: /// Our fromradio packet while it is being assembled @@ -155,9 +159,26 @@ class PhoneAPI */ virtual void onNowHasData(uint32_t fromRadioNum) {} + /// Subclasses can use these lifecycle hooks for transport-specific behavior around config/steady-state + /// (i.e. BLE connection params) + virtual void onConfigStart() {} + virtual void onConfigComplete() {} + /// begin a new connection void handleStartConfig(); + enum APIType { + TYPE_NONE, // Initial state, don't send anything until the client starts asking for config + TYPE_BLE, + TYPE_WIFI, + TYPE_SERIAL, + TYPE_PACKET, + TYPE_HTTP, + TYPE_ETH + }; + + APIType api_type = TYPE_NONE; + private: void releasePhonePacket(); diff --git a/src/mesh/ProtobufModule.h b/src/mesh/ProtobufModule.h index e038e9bb8..725477eae 100644 --- a/src/mesh/ProtobufModule.h +++ b/src/mesh/ProtobufModule.h @@ -13,7 +13,7 @@ template class ProtobufModule : protected SinglePortModule const pb_msgdesc_t *fields; public: - uint8_t numOnlineNodes = 0; + uint16_t numOnlineNodes = 0; /** Constructor * name is for debugging output */ diff --git a/src/mesh/RF95Interface.cpp b/src/mesh/RF95Interface.cpp index 0f32f3427..da0039d38 100644 --- a/src/mesh/RF95Interface.cpp +++ b/src/mesh/RF95Interface.cpp @@ -260,6 +260,7 @@ void RF95Interface::addReceiveMetadata(meshtastic_MeshPacket *mp) { mp->rx_snr = lora->getSNR(); mp->rx_rssi = lround(lora->getRSSI()); + LOG_DEBUG("Corrected frequency offset: %f", lora->getFrequencyError()); } void RF95Interface::setStandby() diff --git a/src/mesh/RadioInterface.cpp b/src/mesh/RadioInterface.cpp index 31ec5acc5..db8677821 100644 --- a/src/mesh/RadioInterface.cpp +++ b/src/mesh/RadioInterface.cpp @@ -272,10 +272,10 @@ uint32_t RadioInterface::getTxDelayMsec() uint8_t RadioInterface::getCWsize(float snr) { // The minimum value for a LoRa SNR - const uint32_t SNR_MIN = -20; + const int32_t SNR_MIN = -20; // The maximum value for a LoRa SNR - const uint32_t SNR_MAX = 10; + const int32_t SNR_MAX = 10; return map(snr, SNR_MIN, SNR_MAX, CWmin, CWmax); } @@ -503,6 +503,11 @@ void RadioInterface::applyModemConfig() cr = 5; sf = 10; break; + case meshtastic_Config_LoRaConfig_ModemPreset_LONG_TURBO: + bw = (myRegion->wideLora) ? 1625.0 : 500; + cr = 8; + sf = 11; + break; default: // Config_LoRaConfig_ModemPreset_LONG_FAST is default. Gracefully use this is preset is something illegal. bw = (myRegion->wideLora) ? 812.5 : 250; cr = 5; @@ -539,13 +544,26 @@ void RadioInterface::applyModemConfig() } if ((myRegion->freqEnd - myRegion->freqStart) < bw / 1000) { - static const char *err_string = "Regional frequency range is smaller than bandwidth. Fall back to default preset"; - LOG_ERROR(err_string); + const float regionSpanKHz = (myRegion->freqEnd - myRegion->freqStart) * 1000.0f; + const float requestedBwKHz = bw; + const bool isWideRequest = requestedBwKHz >= 499.5f; // treat as 500 kHz preset + const char *presetName = + DisplayFormatters::getModemPresetDisplayName(loraConfig.modem_preset, false, loraConfig.use_preset); + + char err_string[160]; + if (isWideRequest) { + snprintf(err_string, sizeof(err_string), "%s region too narrow for 500kHz preset (%s). Falling back to LongFast.", + myRegion->name, presetName); + } else { + snprintf(err_string, sizeof(err_string), "%s region span %.0fkHz < requested %.0fkHz. Falling back to LongFast.", + myRegion->name, regionSpanKHz, requestedBwKHz); + } + LOG_ERROR("%s", err_string); RECORD_CRITICALERROR(meshtastic_CriticalErrorCode_INVALID_RADIO_SETTING); meshtastic_ClientNotification *cn = clientNotificationPool.allocZeroed(); cn->level = meshtastic_LogRecord_Level_ERROR; - sprintf(cn->message, err_string); + snprintf(cn->message, sizeof(cn->message), "%s", err_string); service->sendClientNotification(cn); // Set to default modem preset diff --git a/src/mesh/RadioLibInterface.cpp b/src/mesh/RadioLibInterface.cpp index 2567d9e7f..80e51b8bc 100644 --- a/src/mesh/RadioLibInterface.cpp +++ b/src/mesh/RadioLibInterface.cpp @@ -289,12 +289,7 @@ void RadioLibInterface::onNotify(uint32_t notification) // actual transmission as short as possible txp = txQueue.dequeue(); assert(txp); - bool sent = startSend(txp); - if (sent) { - // Packet has been sent, count it toward our TX airtime utilization. - uint32_t xmitMsec = getPacketTime(txp); - airTime->logAirtime(TX_LOG, xmitMsec); - } + startSend(txp); LOG_DEBUG("%d packets remain in the TX queue", txQueue.getMaxLen() - txQueue.getFree()); } } @@ -413,6 +408,10 @@ void RadioLibInterface::completeSending() sendingPacket = NULL; if (p) { + // Packet has been sent, count it toward our TX airtime utilization. + uint32_t xmitMsec = getPacketTime(p); + airTime->logAirtime(TX_LOG, xmitMsec); + txGood++; if (!isFromUs(p)) txRelay++; diff --git a/src/mesh/ReliableRouter.cpp b/src/mesh/ReliableRouter.cpp index 00066a7a3..7619fc106 100644 --- a/src/mesh/ReliableRouter.cpp +++ b/src/mesh/ReliableRouter.cpp @@ -150,7 +150,9 @@ void ReliableRouter::sniffReceived(const meshtastic_MeshPacket *p, const meshtas PacketId nakId = (c && c->error_reason != meshtastic_Routing_Error_NONE) ? p->decoded.request_id : 0; // We intentionally don't check wasSeenRecently, because it is harmless to delete non existent retransmission records - if (ackId || nakId) { + if ((ackId || nakId) && + // Implicit ACKs from MQTT should not stop retransmissions + !(isFromUs(p) && p->transport_mechanism == meshtastic_MeshPacket_TransportMechanism_TRANSPORT_MQTT)) { LOG_DEBUG("Received a %s for 0x%x, stopping retransmissions", ackId ? "ACK" : "NAK", ackId); if (ackId) { stopRetransmission(p->to, ackId); diff --git a/src/mesh/Router.cpp b/src/mesh/Router.cpp index 60637cbd1..47ed0c85a 100644 --- a/src/mesh/Router.cpp +++ b/src/mesh/Router.cpp @@ -35,6 +35,15 @@ (MAX_RX_TOPHONE + MAX_RX_FROMRADIO + 2 * MAX_TX_QUEUE + \ 2) // max number of packets which can be in flight (either queued from reception or queued for sending) +static MemoryDynamic dynamicPool; +Allocator &packetPool = dynamicPool; +#elif defined(ARCH_STM32WL) || defined(BOARD_HAS_PSRAM) +// On STM32 and boards with PSRAM, there isn't enough heap left over for the rest of the firmware if we allocate this statically. +// For now, make it dynamic again. +#define MAX_PACKETS \ + (MAX_RX_TOPHONE + MAX_RX_FROMRADIO + 2 * MAX_TX_QUEUE + \ + 2) // max number of packets which can be in flight (either queued from reception or queued for sending) + static MemoryDynamic dynamicPool; Allocator &packetPool = dynamicPool; #else @@ -470,6 +479,11 @@ DecodeState perhapsDecode(meshtastic_MeshPacket *p) LOG_ERROR("Invalid protobufs in received mesh packet id=0x%08x (bad psk?)!", p->id); } else if (decodedtmp.portnum == meshtastic_PortNum_UNKNOWN_APP) { LOG_ERROR("Invalid portnum (bad psk?)!"); +#if !(MESHTASTIC_EXCLUDE_PKI) + } else if (!owner.is_licensed && isToUs(p) && decodedtmp.portnum == meshtastic_PortNum_TEXT_MESSAGE_APP) { + LOG_WARN("Rejecting legacy DM"); + return DecodeState::DECODE_FAILURE; +#endif } else { p->decoded = decodedtmp; p->which_payload_variant = meshtastic_MeshPacket_decoded_tag; // change type to decoded @@ -512,6 +526,10 @@ DecodeState perhapsDecode(meshtastic_MeshPacket *p) #elif ARCH_PORTDUINO if (portduino_config.traceFilename != "" || portduino_config.logoutputlevel == level_trace) { LOG_TRACE("%s", MeshPacketSerializer::JsonSerialize(p, false).c_str()); + } else if (portduino_config.JSONFilename != "") { + if (portduino_config.JSONFilter == (_meshtastic_PortNum)0 || portduino_config.JSONFilter == p->decoded.portnum) { + JSONFile << MeshPacketSerializer::JsonSerialize(p, false) << std::endl; + } } #endif return DecodeState::DECODE_SUCCESS; @@ -674,7 +692,7 @@ void Router::handleReceived(meshtastic_MeshPacket *p, RxSource src) // Store a copy of encrypted packet for MQTT DEBUG_HEAP_BEFORE; - meshtastic_MeshPacket *p_encrypted = packetPool.allocCopy(*p); + p_encrypted = packetPool.allocCopy(*p); DEBUG_HEAP_AFTER("Router::handleReceived", p_encrypted); // Take those raw bytes and convert them back into a well structured protobuf we can understand @@ -740,6 +758,7 @@ void Router::handleReceived(meshtastic_MeshPacket *p, RxSource src) } packetPool.release(p_encrypted); // Release the encrypted packet + p_encrypted = nullptr; } void Router::perhapsHandleReceived(meshtastic_MeshPacket *p) diff --git a/src/mesh/Router.h b/src/mesh/Router.h index 10a3771a7..dbe6f4f39 100644 --- a/src/mesh/Router.h +++ b/src/mesh/Router.h @@ -91,6 +91,9 @@ class Router : protected concurrency::OSThread, protected PacketHistory before us */ uint32_t rxDupe = 0, txRelayCanceled = 0; + // pointer to the encrypted packet + meshtastic_MeshPacket *p_encrypted = nullptr; + protected: friend class RoutingModule; diff --git a/src/mesh/SX126xInterface.cpp b/src/mesh/SX126xInterface.cpp index c60ef3a80..e1f07a32b 100644 --- a/src/mesh/SX126xInterface.cpp +++ b/src/mesh/SX126xInterface.cpp @@ -266,6 +266,7 @@ template void SX126xInterface::addReceiveMetadata(meshtastic_Mes // LOG_DEBUG("PacketStatus %x", lora.getPacketStatus()); mp->rx_snr = lora.getSNR(); mp->rx_rssi = lround(lora.getRSSI()); + LOG_DEBUG("Corrected frequency offset: %f", lora.getFrequencyError()); } /** We override to turn on transmitter power as needed. diff --git a/src/mesh/SX128xInterface.cpp b/src/mesh/SX128xInterface.cpp index cbc98eeb1..80872af07 100644 --- a/src/mesh/SX128xInterface.cpp +++ b/src/mesh/SX128xInterface.cpp @@ -204,6 +204,7 @@ template void SX128xInterface::addReceiveMetadata(meshtastic_Mes // LOG_DEBUG("PacketStatus %x", lora.getPacketStatus()); mp->rx_snr = lora.getSNR(); mp->rx_rssi = lround(lora.getRSSI()); + LOG_DEBUG("Corrected frequency offset: %f", lora.getFrequencyError()); } /** We override to turn on transmitter power as needed. diff --git a/src/mesh/api/PacketAPI.cpp b/src/mesh/api/PacketAPI.cpp index ab380d696..f4d5de540 100644 --- a/src/mesh/api/PacketAPI.cpp +++ b/src/mesh/api/PacketAPI.cpp @@ -19,6 +19,7 @@ PacketAPI *PacketAPI::create(PacketServer *_server) PacketAPI::PacketAPI(PacketServer *_server) : concurrency::OSThread("PacketAPI"), isConnected(false), programmingMode(false), server(_server) { + api_type = TYPE_PACKET; } int32_t PacketAPI::runOnce() diff --git a/src/mesh/api/WiFiServerAPI.cpp b/src/mesh/api/WiFiServerAPI.cpp index b19194f78..4d729f5c7 100644 --- a/src/mesh/api/WiFiServerAPI.cpp +++ b/src/mesh/api/WiFiServerAPI.cpp @@ -25,6 +25,7 @@ void deInitApiServer() WiFiServerAPI::WiFiServerAPI(WiFiClient &_client) : ServerAPI(_client) { + api_type = TYPE_WIFI; LOG_INFO("Incoming wifi connection"); } diff --git a/src/mesh/api/ethServerAPI.cpp b/src/mesh/api/ethServerAPI.cpp index 0ccf92df7..10ff06df2 100644 --- a/src/mesh/api/ethServerAPI.cpp +++ b/src/mesh/api/ethServerAPI.cpp @@ -20,6 +20,7 @@ void initApiServer(int port) ethServerAPI::ethServerAPI(EthernetClient &_client) : ServerAPI(_client) { LOG_INFO("Incoming ethernet connection"); + api_type = TYPE_ETH; } ethServerPort::ethServerPort(int port) : APIServerPort(port) {} diff --git a/src/mesh/generated/meshtastic/admin.pb.h b/src/mesh/generated/meshtastic/admin.pb.h index 7cc896292..a542cf29c 100644 --- a/src/mesh/generated/meshtastic/admin.pb.h +++ b/src/mesh/generated/meshtastic/admin.pb.h @@ -272,8 +272,9 @@ typedef struct _meshtastic_AdminMessage { int32_t shutdown_seconds; /* Tell the node to factory reset config; all device state and configuration will be returned to factory defaults; BLE bonds will be preserved. */ int32_t factory_reset_config; - /* Tell the node to reset the nodedb. */ - int32_t nodedb_reset; + /* Tell the node to reset the nodedb. + When true, favorites are preserved through reset. */ + bool nodedb_reset; }; /* The node generates this key and sends it with any get_x_response packets. The client MUST include the same key with any set_x commands. Key expires after 300 seconds. @@ -459,7 +460,7 @@ X(a, STATIC, ONEOF, BOOL, (payload_variant,exit_simulator,exit_simulato X(a, STATIC, ONEOF, INT32, (payload_variant,reboot_seconds,reboot_seconds), 97) \ X(a, STATIC, ONEOF, INT32, (payload_variant,shutdown_seconds,shutdown_seconds), 98) \ X(a, STATIC, ONEOF, INT32, (payload_variant,factory_reset_config,factory_reset_config), 99) \ -X(a, STATIC, ONEOF, INT32, (payload_variant,nodedb_reset,nodedb_reset), 100) \ +X(a, STATIC, ONEOF, BOOL, (payload_variant,nodedb_reset,nodedb_reset), 100) \ X(a, STATIC, SINGULAR, BYTES, session_passkey, 101) #define meshtastic_AdminMessage_CALLBACK NULL #define meshtastic_AdminMessage_DEFAULT NULL diff --git a/src/mesh/generated/meshtastic/config.pb.h b/src/mesh/generated/meshtastic/config.pb.h index 327568316..d4ef5bee4 100644 --- a/src/mesh/generated/meshtastic/config.pb.h +++ b/src/mesh/generated/meshtastic/config.pb.h @@ -293,7 +293,8 @@ typedef enum _meshtastic_Config_LoRaConfig_RegionCode { typedef enum _meshtastic_Config_LoRaConfig_ModemPreset { /* Long Range - Fast */ meshtastic_Config_LoRaConfig_ModemPreset_LONG_FAST = 0, - /* Long Range - Slow */ + /* Long Range - Slow + Deprecated in 2.7: Unpopular slow preset. */ meshtastic_Config_LoRaConfig_ModemPreset_LONG_SLOW = 1, /* Very Long Range - Slow Deprecated in 2.5: Works only with txco and is unusably slow */ @@ -311,7 +312,10 @@ typedef enum _meshtastic_Config_LoRaConfig_ModemPreset { /* Short Range - Turbo This is the fastest preset and the only one with 500kHz bandwidth. It is not legal to use in all regions due to this wider bandwidth. */ - meshtastic_Config_LoRaConfig_ModemPreset_SHORT_TURBO = 8 + meshtastic_Config_LoRaConfig_ModemPreset_SHORT_TURBO = 8, + /* Long Range - Turbo + This preset performs similarly to LongFast, but with 500Khz bandwidth. */ + meshtastic_Config_LoRaConfig_ModemPreset_LONG_TURBO = 9 } meshtastic_Config_LoRaConfig_ModemPreset; typedef enum _meshtastic_Config_BluetoothConfig_PairingMode { @@ -689,8 +693,8 @@ extern "C" { #define _meshtastic_Config_LoRaConfig_RegionCode_ARRAYSIZE ((meshtastic_Config_LoRaConfig_RegionCode)(meshtastic_Config_LoRaConfig_RegionCode_BR_902+1)) #define _meshtastic_Config_LoRaConfig_ModemPreset_MIN meshtastic_Config_LoRaConfig_ModemPreset_LONG_FAST -#define _meshtastic_Config_LoRaConfig_ModemPreset_MAX meshtastic_Config_LoRaConfig_ModemPreset_SHORT_TURBO -#define _meshtastic_Config_LoRaConfig_ModemPreset_ARRAYSIZE ((meshtastic_Config_LoRaConfig_ModemPreset)(meshtastic_Config_LoRaConfig_ModemPreset_SHORT_TURBO+1)) +#define _meshtastic_Config_LoRaConfig_ModemPreset_MAX meshtastic_Config_LoRaConfig_ModemPreset_LONG_TURBO +#define _meshtastic_Config_LoRaConfig_ModemPreset_ARRAYSIZE ((meshtastic_Config_LoRaConfig_ModemPreset)(meshtastic_Config_LoRaConfig_ModemPreset_LONG_TURBO+1)) #define _meshtastic_Config_BluetoothConfig_PairingMode_MIN meshtastic_Config_BluetoothConfig_PairingMode_RANDOM_PIN #define _meshtastic_Config_BluetoothConfig_PairingMode_MAX meshtastic_Config_BluetoothConfig_PairingMode_NO_PIN diff --git a/src/mesh/generated/meshtastic/mesh.pb.h b/src/mesh/generated/meshtastic/mesh.pb.h index d8d2f2e8a..0c48a7891 100644 --- a/src/mesh/generated/meshtastic/mesh.pb.h +++ b/src/mesh/generated/meshtastic/mesh.pb.h @@ -237,8 +237,8 @@ typedef enum _meshtastic_HardwareModel { meshtastic_HardwareModel_T_ETH_ELITE = 91, /* Heltec HRI-3621 industrial probe */ meshtastic_HardwareModel_HELTEC_SENSOR_HUB = 92, - /* Reserved Fried Chicken ID for future use */ - meshtastic_HardwareModel_RESERVED_FRIED_CHICKEN = 93, + /* Muzi Works Muzi-Base device */ + meshtastic_HardwareModel_MUZI_BASE = 93, /* Heltec Magnetic Power Bank with Meshtastic compatible */ meshtastic_HardwareModel_HELTEC_MESH_POCKET = 94, /* Seeed Solar Node */ @@ -282,6 +282,18 @@ typedef enum _meshtastic_HardwareModel { meshtastic_HardwareModel_HELTEC_WIRELESS_TRACKER_V2 = 113, /* LilyGo T-Watch Ultra */ meshtastic_HardwareModel_T_WATCH_ULTRA = 114, + /* Elecrow ThinkNode M3 */ + meshtastic_HardwareModel_THINKNODE_M3 = 115, + /* RAK WISMESH_TAP_V2 with ESP32-S3 CPU */ + meshtastic_HardwareModel_WISMESH_TAP_V2 = 116, + /* RAK3401 */ + meshtastic_HardwareModel_RAK3401 = 117, + /* RAK6421 Hat+ */ + meshtastic_HardwareModel_RAK6421 = 118, + /* Elecrow ThinkNode M4 */ + meshtastic_HardwareModel_THINKNODE_M4 = 119, + /* Elecrow ThinkNode M6 */ + meshtastic_HardwareModel_THINKNODE_M6 = 120, /* ------------------------------------------------------------------------------------------------------------------------------------------ Reserved ID For developing private Ports. These will show up in live traffic sparsely, so we can use a high number. Keep it within 8 bits. ------------------------------------------------------------------------------------------------------------------------------------------ */ @@ -819,7 +831,11 @@ typedef struct _meshtastic_MeshPacket { Note: Our crypto implementation uses this field as well. See [crypto](/docs/overview/encryption) for details. */ uint32_t from; - /* The (immediate) destination for this packet */ + /* The (immediate) destination for this packet + If the value is 4,294,967,295 (maximum value of an unsigned 32bit integer), this indicates that the packet was + not destined for a specific node, but for a channel as indicated by the value of `channel` below. + If the value is another, this indicates that the packet was destined for a specific + node (i.e. a kind of "Direct Message" to this node) and not broadcast on a channel. */ uint32_t to; /* (Usually) If set, this indicates the index in the secondary_channels table that this packet was sent/received on. If unset, packet was on the primary channel. diff --git a/src/mesh/generated/meshtastic/telemetry.pb.h b/src/mesh/generated/meshtastic/telemetry.pb.h index a8ca96e95..dec89ba15 100644 --- a/src/mesh/generated/meshtastic/telemetry.pb.h +++ b/src/mesh/generated/meshtastic/telemetry.pb.h @@ -101,7 +101,9 @@ typedef enum _meshtastic_TelemetrySensorType { /* SEN5X PM SENSORS */ meshtastic_TelemetrySensorType_SEN5X = 43, /* TSL2561 light sensor */ - meshtastic_TelemetrySensorType_TSL2561 = 44 + meshtastic_TelemetrySensorType_TSL2561 = 44, + /* BH1750 light sensor */ + meshtastic_TelemetrySensorType_BH1750 = 45 } meshtastic_TelemetrySensorType; /* Struct definitions */ @@ -438,8 +440,8 @@ extern "C" { /* Helper constants for enums */ #define _meshtastic_TelemetrySensorType_MIN meshtastic_TelemetrySensorType_SENSOR_UNSET -#define _meshtastic_TelemetrySensorType_MAX meshtastic_TelemetrySensorType_TSL2561 -#define _meshtastic_TelemetrySensorType_ARRAYSIZE ((meshtastic_TelemetrySensorType)(meshtastic_TelemetrySensorType_TSL2561+1)) +#define _meshtastic_TelemetrySensorType_MAX meshtastic_TelemetrySensorType_BH1750 +#define _meshtastic_TelemetrySensorType_ARRAYSIZE ((meshtastic_TelemetrySensorType)(meshtastic_TelemetrySensorType_BH1750+1)) diff --git a/src/mesh/http/ContentHandler.cpp b/src/mesh/http/ContentHandler.cpp index f87c6e3b0..7b7ebb595 100644 --- a/src/mesh/http/ContentHandler.cpp +++ b/src/mesh/http/ContentHandler.cpp @@ -148,6 +148,8 @@ void registerHandlers(HTTPServer *insecureServer, HTTPSServer *secureServer) void handleAPIv1FromRadio(HTTPRequest *req, HTTPResponse *res) { + if (webServerThread) + webServerThread->markActivity(); LOG_DEBUG("webAPI handleAPIv1FromRadio"); @@ -391,6 +393,9 @@ void handleFsDeleteStatic(HTTPRequest *req, HTTPResponse *res) void handleStatic(HTTPRequest *req, HTTPResponse *res) { + if (webServerThread) + webServerThread->markActivity(); + // Get access to the parameters ResourceParameters *params = req->getParams(); diff --git a/src/mesh/http/ContentHandler.h b/src/mesh/http/ContentHandler.h index 2066a6d57..91cad3359 100644 --- a/src/mesh/http/ContentHandler.h +++ b/src/mesh/http/ContentHandler.h @@ -26,7 +26,7 @@ class HttpAPI : public PhoneAPI { public: - // Nothing here yet + HttpAPI() { api_type = TYPE_HTTP; } private: // Nothing here yet diff --git a/src/mesh/http/WebServer.cpp b/src/mesh/http/WebServer.cpp index bf170de59..3a264fa5a 100644 --- a/src/mesh/http/WebServer.cpp +++ b/src/mesh/http/WebServer.cpp @@ -49,6 +49,12 @@ Preferences prefs; using namespace httpsserver; #include "mesh/http/ContentHandler.h" +static const uint32_t ACTIVE_THRESHOLD_MS = 5000; +static const uint32_t MEDIUM_THRESHOLD_MS = 30000; +static const int32_t ACTIVE_INTERVAL_MS = 50; +static const int32_t MEDIUM_INTERVAL_MS = 200; +static const int32_t IDLE_INTERVAL_MS = 1000; + static SSLCert *cert; static HTTPSServer *secureServer; static HTTPServer *insecureServer; @@ -175,6 +181,32 @@ WebServerThread::WebServerThread() : concurrency::OSThread("WebServer") if (!config.network.wifi_enabled && !config.network.eth_enabled) { disable(); } + lastActivityTime = millis(); +} + +void WebServerThread::markActivity() +{ + lastActivityTime = millis(); +} + +int32_t WebServerThread::getAdaptiveInterval() +{ + uint32_t currentTime = millis(); + uint32_t timeSinceActivity; + + if (currentTime >= lastActivityTime) { + timeSinceActivity = currentTime - lastActivityTime; + } else { + timeSinceActivity = (UINT32_MAX - lastActivityTime) + currentTime + 1; + } + + if (timeSinceActivity < ACTIVE_THRESHOLD_MS) { + return ACTIVE_INTERVAL_MS; + } else if (timeSinceActivity < MEDIUM_THRESHOLD_MS) { + return MEDIUM_INTERVAL_MS; + } else { + return IDLE_INTERVAL_MS; + } } int32_t WebServerThread::runOnce() @@ -189,8 +221,7 @@ int32_t WebServerThread::runOnce() ESP.restart(); } - // Loop every 5ms. - return (5); + return getAdaptiveInterval(); } void initWebServer() diff --git a/src/mesh/http/WebServer.h b/src/mesh/http/WebServer.h index 815d87432..e7a29a5a7 100644 --- a/src/mesh/http/WebServer.h +++ b/src/mesh/http/WebServer.h @@ -10,13 +10,17 @@ void createSSLCert(); class WebServerThread : private concurrency::OSThread { + private: + uint32_t lastActivityTime = 0; public: WebServerThread(); uint32_t requestRestart = 0; + void markActivity(); protected: virtual int32_t runOnce() override; + int32_t getAdaptiveInterval(); }; extern WebServerThread *webServerThread; diff --git a/src/mesh/raspihttp/PiWebServer.h b/src/mesh/raspihttp/PiWebServer.h index b45348cf3..5a4adedaa 100644 --- a/src/mesh/raspihttp/PiWebServer.h +++ b/src/mesh/raspihttp/PiWebServer.h @@ -27,7 +27,7 @@ class HttpAPI : public PhoneAPI { public: - // Nothing here yet + HttpAPI() { api_type = TYPE_HTTP; } private: // Nothing here yet diff --git a/src/mesh/wifi/WiFiAPClient.cpp b/src/mesh/wifi/WiFiAPClient.cpp index 18f67706a..45944872e 100644 --- a/src/mesh/wifi/WiFiAPClient.cpp +++ b/src/mesh/wifi/WiFiAPClient.cpp @@ -334,6 +334,23 @@ bool initWifi() } #ifdef ARCH_ESP32 +#if ESP_ARDUINO_VERSION <= ESP_ARDUINO_VERSION_VAL(3, 0, 0) +// Most of the next 12 lines of code are adapted from espressif/arduino-esp32 +// Licensed under the GNU Lesser General Public License v2.1 +// https://github.com/espressif/arduino-esp32/blob/1f038677eb2eaf5e9ca6b6074486803c15468bed/libraries/WiFi/src/WiFiSTA.cpp#L755 +esp_netif_t *get_esp_interface_netif(esp_interface_t interface); +IPv6Address GlobalIPv6() +{ + esp_ip6_addr_t addr; + if (WiFiGenericClass::getMode() == WIFI_MODE_NULL) { + return IPv6Address(); + } + if (esp_netif_get_ip6_global(get_esp_interface_netif(ESP_IF_WIFI_STA), &addr)) { + return IPv6Address(); + } + return IPv6Address(addr.addr); +} +#endif // Called by the Espressif SDK to static void WiFiEvent(WiFiEvent_t event) { @@ -355,6 +372,17 @@ static void WiFiEvent(WiFiEvent_t event) break; case ARDUINO_EVENT_WIFI_STA_CONNECTED: LOG_INFO("Connected to access point"); + if (config.network.ipv6_enabled) { +#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 0, 0) + if (!WiFi.enableIPv6()) { + LOG_WARN("Failed to enable IPv6"); + } +#else + if (!WiFi.enableIpV6()) { + LOG_WARN("Failed to enable IPv6"); + } +#endif + } #ifdef WIFI_LED digitalWrite(WIFI_LED, HIGH); #endif @@ -383,7 +411,8 @@ static void WiFiEvent(WiFiEvent_t event) LOG_INFO("Obtained Local IP6 address: %s", WiFi.linkLocalIPv6().toString().c_str()); LOG_INFO("Obtained GlobalIP6 address: %s", WiFi.globalIPv6().toString().c_str()); #else - LOG_INFO("Obtained IP6 address: %s", WiFi.localIPv6().toString().c_str()); + LOG_INFO("Obtained Local IP6 address: %s", WiFi.localIPv6().toString().c_str()); + LOG_INFO("Obtained GlobalIP6 address: %s", GlobalIPv6().toString().c_str()); #endif break; case ARDUINO_EVENT_WIFI_STA_LOST_IP: @@ -514,4 +543,4 @@ uint8_t getWifiDisconnectReason() { return wifiDisconnectReason; } -#endif // HAS_WIFI \ No newline at end of file +#endif // HAS_WIFI diff --git a/src/modules/AdminModule.cpp b/src/modules/AdminModule.cpp index d300ff53b..5f0c27fff 100644 --- a/src/modules/AdminModule.cpp +++ b/src/modules/AdminModule.cpp @@ -104,9 +104,18 @@ bool AdminModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshta (config.security.admin_key[2].size == 32 && memcmp(mp.public_key.bytes, config.security.admin_key[2].bytes, 32) == 0)) { LOG_INFO("PKC admin payload with authorized sender key"); + + // Automatically favorite the node that is using the admin key auto remoteNode = nodeDB->getMeshNode(mp.from); if (remoteNode && !remoteNode->is_favorite) { - remoteNode->is_favorite = true; + if (config.device.role == meshtastic_Config_DeviceConfig_Role_CLIENT_BASE) { + // Special case for CLIENT_BASE: is_favorite has special meaning, and we don't want to automatically set it + // without the user doing so deliberately. + LOG_INFO("PKC admin valid, but not auto-favoriting node %x because role==CLIENT_BASE", mp.from); + } else { + LOG_INFO("PKC admin valid. Auto-favoriting node %x", mp.from); + remoteNode->is_favorite = true; + } } } else { myReply = allocErrorResponse(meshtastic_Routing_Error_ADMIN_PUBLIC_KEY_UNAUTHORIZED, &mp); @@ -280,7 +289,12 @@ bool AdminModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshta case meshtastic_AdminMessage_nodedb_reset_tag: { disableBluetooth(); LOG_INFO("Initiate node-db reset"); - nodeDB->resetNodes(); + // CLIENT_BASE, ROUTER and ROUTER_LATE are able to preserve the remaining hop count when relaying a packet via a + // favorited node, so ensure that their favorites are kept on reset + bool rolePreference = + isOneOf(config.device.role, meshtastic_Config_DeviceConfig_Role_CLIENT_BASE, + meshtastic_Config_DeviceConfig_Role_ROUTER, meshtastic_Config_DeviceConfig_Role_ROUTER_LATE); + nodeDB->resetNodes(rolePreference ? rolePreference : r->nodedb_reset); reboot(DEFAULT_REBOOT_SECONDS); break; } @@ -403,6 +417,9 @@ bool AdminModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshta } case meshtastic_AdminMessage_enter_dfu_mode_request_tag: { LOG_INFO("Client requesting to enter DFU mode"); +#if HAS_SCREEN + IF_SCREEN(screen->showSimpleBanner("Device is rebooting\ninto DFU mode.", 0)); +#endif #if defined(ARCH_NRF52) || defined(ARCH_RP2040) enterDfuMode(); #endif @@ -759,6 +776,7 @@ void AdminModule::handleSetConfig(const meshtastic_Config &c) config.lora = validatedLora; // If we're setting region for the first time, init the region and regenerate the keys if (isRegionUnset && config.lora.region > meshtastic_Config_LoRaConfig_RegionCode_UNSET) { +#if !(MESHTASTIC_EXCLUDE_PKI_KEYGEN || MESHTASTIC_EXCLUDE_PKI) if (!owner.is_licensed) { bool keygenSuccess = false; if (config.security.private_key.size == 32) { @@ -777,6 +795,7 @@ void AdminModule::handleSetConfig(const meshtastic_Config &c) memcpy(owner.public_key.bytes, config.security.public_key.bytes, 32); } } +#endif config.lora.tx_enabled = true; initRegion(); if (myRegion->dutyCycle < 100) { diff --git a/src/modules/CannedMessageModule.cpp b/src/modules/CannedMessageModule.cpp index e9f52bb7d..73ee26903 100644 --- a/src/modules/CannedMessageModule.cpp +++ b/src/modules/CannedMessageModule.cpp @@ -16,6 +16,7 @@ #include "graphics/draw/NotificationRenderer.h" #include "graphics/emotes.h" #include "graphics/images.h" +#include "input/SerialKeyboard.h" #include "main.h" // for cardkb_found #include "mesh/generated/meshtastic/cannedmessages.pb.h" #include "modules/AdminModule.h" @@ -255,7 +256,7 @@ void CannedMessageModule::updateDestinationSelectionList() for (size_t i = 0; i < numMeshNodes; ++i) { meshtastic_NodeInfoLite *node = nodeDB->getMeshNodeByIndex(i); - if (!node || node->num == myNodeNum) + if (!node || node->num == myNodeNum || !node->has_user || node->user.public_key.size != 32) continue; const String &nodeName = node->user.long_name; @@ -836,6 +837,7 @@ bool CannedMessageModule::handleFreeTextInput(const InputEvent *event) if (event->inputEvent == INPUT_BROKER_BACK && this->freetext.length() > 0) { payload = 0x08; lastTouchMillis = millis(); + requestFocus(); runOnce(); return true; } @@ -844,6 +846,7 @@ bool CannedMessageModule::handleFreeTextInput(const InputEvent *event) if (event->inputEvent == INPUT_BROKER_LEFT) { payload = INPUT_BROKER_LEFT; lastTouchMillis = millis(); + requestFocus(); runOnce(); return true; } @@ -851,6 +854,7 @@ bool CannedMessageModule::handleFreeTextInput(const InputEvent *event) if (event->inputEvent == INPUT_BROKER_RIGHT) { payload = INPUT_BROKER_RIGHT; lastTouchMillis = millis(); + requestFocus(); runOnce(); return true; } @@ -973,9 +977,17 @@ void CannedMessageModule::sendText(NodeNum dest, ChannelIndex channel, const cha LOG_INFO("Send message id=%u, dest=%x, msg=%.*s", p->id, p->to, p->decoded.payload.size, p->decoded.payload.bytes); if (p->to != 0xffffffff) { - LOG_INFO("Proactively adding %x as favorite node", p->to); - nodeDB->set_favorite(true, p->to); + // Only add as favorite if our role is NOT CLIENT_BASE + if (config.device.role != 12) { + LOG_INFO("Proactively adding %x as favorite node", p->to); + nodeDB->set_favorite(true, p->to); + } else { + LOG_DEBUG("Not favoriting node %x as we are CLIENT_BASE role", p->to); + } + screen->setFrames(graphics::Screen::FOCUS_PRESERVE); + p->pki_encrypted = true; + p->channel = 0; } // Send to mesh and phone (even if no phone connected, to track ACKs) @@ -1006,8 +1018,7 @@ int32_t CannedMessageModule::runOnce() // Clean up virtual keyboard if needed when going inactive if (graphics::NotificationRenderer::virtualKeyboard && graphics::NotificationRenderer::textInputCallback == nullptr) { LOG_INFO("Performing delayed virtual keyboard cleanup"); - delete graphics::NotificationRenderer::virtualKeyboard; - graphics::NotificationRenderer::virtualKeyboard = nullptr; + graphics::OnScreenKeyboardModule::instance().stop(false); } temporaryMessage = ""; @@ -1024,9 +1035,7 @@ int32_t CannedMessageModule::runOnce() // Clean up virtual keyboard after sending if (graphics::NotificationRenderer::virtualKeyboard) { LOG_INFO("Cleaning up virtual keyboard after message send"); - delete graphics::NotificationRenderer::virtualKeyboard; - graphics::NotificationRenderer::virtualKeyboard = nullptr; - graphics::NotificationRenderer::textInputCallback = nullptr; + graphics::OnScreenKeyboardModule::instance().stop(false); graphics::NotificationRenderer::resetBanner(); } @@ -1084,9 +1093,7 @@ int32_t CannedMessageModule::runOnce() // Clean up virtual keyboard if it exists during timeout if (graphics::NotificationRenderer::virtualKeyboard) { LOG_INFO("Cleaning up virtual keyboard due to module timeout"); - delete graphics::NotificationRenderer::virtualKeyboard; - graphics::NotificationRenderer::virtualKeyboard = nullptr; - graphics::NotificationRenderer::textInputCallback = nullptr; + graphics::OnScreenKeyboardModule::instance().stop(false); graphics::NotificationRenderer::resetBanner(); } @@ -1837,7 +1844,88 @@ void CannedMessageModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiState *st display->drawString(x + display->getWidth() - display->getStringWidth(buffer), y + 0, buffer); } - // --- Draw Free Text input with multi-emote support and proper line wrapping --- +#if INPUTBROKER_SERIAL_TYPE == 1 + // Chatter Modifier key mode label (right side) + { + uint8_t mode = globalSerialKeyboard ? globalSerialKeyboard->getShift() : 0; + const char *label = (mode == 0) ? "a" : (mode == 1) ? "A" : "#"; + + display->setFont(FONT_SMALL); + display->setTextAlignment(TEXT_ALIGN_LEFT); + + const int16_t th = FONT_HEIGHT_SMALL; + const int16_t tw = display->getStringWidth(label); + const int16_t padX = 3; + const int16_t padY = 2; + const int16_t r = 3; + + const int16_t bw = tw + padX * 2; + const int16_t bh = th + padY * 2; + + const int16_t bx = x + display->getWidth() - bw - 2; + const int16_t by = y + display->getHeight() - bh - 2; + + display->setColor(WHITE); + display->fillRect(bx + r, by, bw - r * 2, bh); + display->fillRect(bx, by + r, r, bh - r * 2); + display->fillRect(bx + bw - r, by + r, r, bh - r * 2); + display->fillCircle(bx + r, by + r, r); + display->fillCircle(bx + bw - r - 1, by + r, r); + display->fillCircle(bx + r, by + bh - r - 1, r); + display->fillCircle(bx + bw - r - 1, by + bh - r - 1, r); + + display->setColor(BLACK); + display->drawString(bx + padX, by + padY, label); + } + + // LEFT-SIDE DESTINATION-HINT BOX (“Dest: Shift + ◄”) + { + display->setFont(FONT_SMALL); + display->setTextAlignment(TEXT_ALIGN_LEFT); + + const char *label = "Dest: Shift + "; + int16_t labelW = display->getStringWidth(label); + + // triangle size visually matches glyph height, not full line height + const int triH = FONT_HEIGHT_SMALL - 3; + const int triW = triH * 0.7; + + const int16_t padX = 3; + const int16_t padY = 2; + const int16_t r = 3; + + const int16_t bw = labelW + triW + padX * 2 + 2; + const int16_t bh = FONT_HEIGHT_SMALL + padY * 2; + + const int16_t bx = x + 2; + const int16_t by = y + display->getHeight() - bh - 2; + + // Rounded white box + display->setColor(WHITE); + display->fillRect(bx + r, by, bw - (r * 2), bh); + display->fillRect(bx, by + r, r, bh - (r * 2)); + display->fillRect(bx + bw - r, by + r, r, bh - (r * 2)); + display->fillCircle(bx + r, by + r, r); + display->fillCircle(bx + bw - r - 1, by + r, r); + display->fillCircle(bx + r, by + bh - r - 1, r); + display->fillCircle(bx + bw - r - 1, by + bh - r - 1, r); + + // Draw text + display->setColor(BLACK); + display->drawString(bx + padX, by + padY, label); + + // Perfectly center triangle on text baseline + int16_t tx = bx + padX + labelW; + int16_t ty = by + padY + (FONT_HEIGHT_SMALL / 2) - (triH / 2) - 1; // -1 for optical centering + + // ◄ Left-pointing triangle + display->fillTriangle(tx + triW, ty, // top-right + tx, ty + triH / 2, // left center + tx + triW, ty + triH // bottom-right + ); + } +#endif + // Draw Free Text input with multi-emote support and proper line wrapping display->setColor(WHITE); { int inputY = 0 + y + FONT_HEIGHT_SMALL; diff --git a/src/modules/ExternalNotificationModule.cpp b/src/modules/ExternalNotificationModule.cpp index ffc789275..6d52a3e46 100644 --- a/src/modules/ExternalNotificationModule.cpp +++ b/src/modules/ExternalNotificationModule.cpp @@ -95,22 +95,9 @@ int32_t ExternalNotificationModule::runOnce() isRtttlPlaying = isRtttlPlaying || audioThread->isPlaying(); #endif if ((nagCycleCutoff < millis()) && !isRtttlPlaying) { - // let the song finish if we reach timeout + // Turn off external notification immediately when timeout is reached, regardless of song state nagCycleCutoff = UINT32_MAX; - LOG_INFO("Turning off external notification: "); - for (int i = 0; i < 3; i++) { - setExternalState(i, false); - externalTurnedOn[i] = 0; - LOG_INFO("%d ", i); - } - LOG_INFO(""); -#ifdef HAS_I2S - // GPIO0 is used as mclk for I2S audio and set to OUTPUT by the sound library - // T-Deck uses GPIO0 as trackball button, so restore the mode -#if defined(T_DECK) || (defined(BUTTON_PIN) && BUTTON_PIN == 0) - pinMode(0, INPUT); -#endif -#endif + ExternalNotificationModule::stopNow(); isNagging = false; return INT32_MAX; // save cycles till we're needed again } @@ -181,7 +168,7 @@ int32_t ExternalNotificationModule::runOnce() delay = EXT_NOTIFICATION_FAST_THREAD_MS; #endif -#ifdef T_WATCH_S3 +#if defined(T_WATCH_S3) || defined(T_LORA_PAGER) drv.go(); #endif } @@ -296,7 +283,7 @@ void ExternalNotificationModule::setExternalState(uint8_t index, bool on) #ifdef UNPHONE unphone.rgb(red, green, blue); #endif -#ifdef T_WATCH_S3 +#if defined(T_WATCH_S3) || defined(T_LORA_PAGER) if (on) { drv.go(); } else { @@ -318,21 +305,34 @@ bool ExternalNotificationModule::nagging() void ExternalNotificationModule::stopNow() { + LOG_INFO("Turning off external notification: "); + LOG_INFO("Stop RTTTL playback"); rtttl::stop(); #ifdef HAS_I2S - if (audioThread->isPlaying()) - audioThread->stop(); + LOG_INFO("Stop audioThread playback"); + audioThread->stop(); #endif - nagCycleCutoff = 1; // small value - isNagging = false; // Turn off all outputs + LOG_INFO("Turning off setExternalStates"); for (int i = 0; i < 3; i++) { setExternalState(i, false); externalTurnedOn[i] = 0; } setIntervalFromNow(0); -#ifdef T_WATCH_S3 +#if defined(T_WATCH_S3) || defined(T_LORA_PAGER) drv.stop(); +#endif + + // Prevent the state machine from immediately re-triggering outputs after a manual stop. + isNagging = false; + nagCycleCutoff = UINT32_MAX; + +#ifdef HAS_I2S + // GPIO0 is used as mclk for I2S audio and set to OUTPUT by the sound library + // T-Deck uses GPIO0 as trackball button, so restore the mode +#if defined(T_DECK) || (defined(BUTTON_PIN) && BUTTON_PIN == 0) + pinMode(0, INPUT); +#endif #endif } @@ -541,6 +541,19 @@ ProcessMessage ExternalNotificationModule::handleReceived(const meshtastic_MeshP (!isBroadcast(mp.to) && isToUs(&mp))) { // Buzz if buzzer mode is not in DIRECT_MSG_ONLY or is DM to us isNagging = true; +#ifdef T_LORA_PAGER + if (canBuzz()) { + drv.setWaveform(0, 16); // Long buzzer 100% + drv.setWaveform(1, 0); // Pause + drv.setWaveform(2, 16); + drv.setWaveform(3, 0); + drv.setWaveform(4, 16); + drv.setWaveform(5, 0); + drv.setWaveform(6, 16); + drv.setWaveform(7, 0); + drv.go(); + } +#endif if (!moduleConfig.external_notification.use_pwm && !moduleConfig.external_notification.use_i2s_as_buzzer) { setExternalState(2, true); } else { diff --git a/src/modules/Modules.cpp b/src/modules/Modules.cpp index e477574dd..63392f7e4 100644 --- a/src/modules/Modules.cpp +++ b/src/modules/Modules.cpp @@ -13,6 +13,8 @@ #include "input/TrackballInterruptImpl1.h" #endif +#include "modules/StatusLEDModule.h" + #if !MESHTASTIC_EXCLUDE_I2C #include "input/cardKbI2cImpl.h" #endif @@ -119,6 +121,10 @@ void setupModules() buzzerFeedbackThread = new BuzzerFeedbackThread(); } #endif +#if defined(LED_CHARGE) || defined(LED_PAIRING) + statusLEDModule = new StatusLEDModule(); +#endif + #if !MESHTASTIC_EXCLUDE_ADMIN adminModule = new AdminModule(); #endif @@ -175,24 +181,25 @@ void setupModules() // new ReplyModule(); #if (HAS_BUTTON || ARCH_PORTDUINO) && !MESHTASTIC_EXCLUDE_INPUTBROKER if (config.display.displaymode != meshtastic_Config_DisplayConfig_DisplayMode_COLOR) { - rotaryEncoderInterruptImpl1 = new RotaryEncoderInterruptImpl1(); - if (!rotaryEncoderInterruptImpl1->init()) { - delete rotaryEncoderInterruptImpl1; - rotaryEncoderInterruptImpl1 = nullptr; - } -#ifdef T_LORA_PAGER +#if defined(T_LORA_PAGER) // use a special FSM based rotary encoder version for T-LoRa Pager rotaryEncoderImpl = new RotaryEncoderImpl(); if (!rotaryEncoderImpl->init()) { delete rotaryEncoderImpl; rotaryEncoderImpl = nullptr; } -#else +#elif defined(INPUTDRIVER_ENCODER_TYPE) && (INPUTDRIVER_ENCODER_TYPE == 2) upDownInterruptImpl1 = new UpDownInterruptImpl1(); if (!upDownInterruptImpl1->init()) { delete upDownInterruptImpl1; upDownInterruptImpl1 = nullptr; } +#else + rotaryEncoderInterruptImpl1 = new RotaryEncoderInterruptImpl1(); + if (!rotaryEncoderInterruptImpl1->init()) { + delete rotaryEncoderInterruptImpl1; + rotaryEncoderInterruptImpl1 = nullptr; + } #endif cardKbI2cImpl = new CardKbI2cImpl(); cardKbI2cImpl->init(); @@ -210,7 +217,7 @@ void setupModules() } #endif // HAS_BUTTON #if ARCH_PORTDUINO - if (config.display.displaymode != meshtastic_Config_DisplayConfig_DisplayMode_COLOR) { + if (config.display.displaymode != meshtastic_Config_DisplayConfig_DisplayMode_COLOR && portduino_config.i2cdev != "") { seesawRotary = new SeesawRotary("SeesawRotary"); if (!seesawRotary->init()) { delete seesawRotary; diff --git a/src/modules/NeighborInfoModule.cpp b/src/modules/NeighborInfoModule.cpp index 97dc17001..936a7b44a 100644 --- a/src/modules/NeighborInfoModule.cpp +++ b/src/modules/NeighborInfoModule.cpp @@ -34,7 +34,8 @@ void NeighborInfoModule::printNodeDBNeighbors() } } -/* Send our initial owner announcement 35 seconds after we start (to give network time to setup) */ +/* Send our initial owner announcement 35 seconds after we start (to give + * network time to setup) */ NeighborInfoModule::NeighborInfoModule() : ProtobufModule("neighborinfo", meshtastic_PortNum_NEIGHBORINFO_APP, &meshtastic_NeighborInfo_msg), concurrency::OSThread("NeighborInfo") @@ -53,8 +54,8 @@ NeighborInfoModule::NeighborInfoModule() } /* -Collect neighbor info from the nodeDB's history, capping at a maximum number of entries and max time -Assumes that the neighborInfo packet has been allocated +Collect neighbor info from the nodeDB's history, capping at a maximum number of +entries and max time Assumes that the neighborInfo packet has been allocated @returns the number of entries collected */ uint32_t NeighborInfoModule::collectNeighborInfo(meshtastic_NeighborInfo *neighborInfo) @@ -71,8 +72,8 @@ uint32_t NeighborInfoModule::collectNeighborInfo(meshtastic_NeighborInfo *neighb if ((neighborInfo->neighbors_count < MAX_NUM_NEIGHBORS) && (nbr.node_id != my_node_id)) { neighborInfo->neighbors[neighborInfo->neighbors_count].node_id = nbr.node_id; neighborInfo->neighbors[neighborInfo->neighbors_count].snr = nbr.snr; - // Note: we don't set the last_rx_time and node_broadcast_intervals_secs here, because we don't want to send this over - // the mesh + // Note: we don't set the last_rx_time and node_broadcast_intervals_secs + // here, because we don't want to send this over the mesh neighborInfo->neighbors_count++; } } @@ -88,8 +89,9 @@ void NeighborInfoModule::cleanUpNeighbors() uint32_t now = getTime(); NodeNum my_node_id = nodeDB->getNodeNum(); for (auto it = neighbors.rbegin(); it != neighbors.rend();) { - // We will remove a neighbor if we haven't heard from them in twice the broadcast interval - // cannot use isWithinTimespanMs() as it->last_rx_time is seconds since 1970 + // We will remove a neighbor if we haven't heard from them in twice the + // broadcast interval cannot use isWithinTimespanMs() as it->last_rx_time is + // seconds since 1970 if ((now - it->last_rx_time > it->node_broadcast_interval_secs * 2) && (it->node_id != my_node_id)) { LOG_DEBUG("Remove neighbor with node ID 0x%x", it->node_id); it = std::vector::reverse_iterator( @@ -132,25 +134,55 @@ int32_t NeighborInfoModule::runOnce() return Default::getConfiguredOrDefaultMs(moduleConfig.neighbor_info.update_interval, default_neighbor_info_broadcast_secs); } +meshtastic_MeshPacket *NeighborInfoModule::allocReply() +{ + LOG_INFO("NeighborInfoRequested."); + if (lastSentReply && Throttle::isWithinTimespanMs(lastSentReply, 3 * 60 * 1000)) { + LOG_DEBUG("Skip Neighbors reply since we sent a reply <3min ago"); + ignoreRequest = true; // Mark it as ignored for MeshModule + return nullptr; + } + + meshtastic_NeighborInfo neighborInfo = meshtastic_NeighborInfo_init_zero; + collectNeighborInfo(&neighborInfo); + + meshtastic_MeshPacket *reply = allocDataProtobuf(neighborInfo); + + if (reply) { + lastSentReply = millis(); // Track when we sent this reply + } + return reply; +} + /* Collect a received neighbor info packet from another node Pass it to an upper client; do not persist this data on the mesh */ bool NeighborInfoModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshtastic_NeighborInfo *np) { + LOG_DEBUG("NeighborInfo: handleReceivedProtobuf"); if (np) { printNeighborInfo("RECEIVED", np); - updateNeighbors(mp, np); + // Ignore dummy/interceptable packets: single neighbor with nodeId 0 and snr 0 + if (np->neighbors_count != 1 || np->neighbors[0].node_id != 0 || np->neighbors[0].snr != 0.0f) { + LOG_DEBUG(" Updating neighbours"); + updateNeighbors(mp, np); + } else { + LOG_DEBUG(" Ignoring dummy neighbor info packet (single neighbor with nodeId 0, snr 0)"); + } } else if (mp.hop_start != 0 && mp.hop_start == mp.hop_limit) { + LOG_DEBUG("Get or create neighbor: %u with snr %f", mp.from, mp.rx_snr); // If the hopLimit is the same as hopStart, then it is a neighbor - getOrCreateNeighbor(mp.from, mp.from, 0, mp.rx_snr); // Set the broadcast interval to 0, as we don't know it + getOrCreateNeighbor(mp.from, mp.from, 0, + mp.rx_snr); // Set the broadcast interval to 0, as we don't know it } // Allow others to handle this packet return false; } /* -Copy the content of a current NeighborInfo packet into a new one and update the last_sent_by_id to our NodeNum +Copy the content of a current NeighborInfo packet into a new one and update the +last_sent_by_id to our NodeNum */ void NeighborInfoModule::alterReceivedProtobuf(meshtastic_MeshPacket &p, meshtastic_NeighborInfo *n) { @@ -168,8 +200,10 @@ void NeighborInfoModule::resetNeighbors() void NeighborInfoModule::updateNeighbors(const meshtastic_MeshPacket &mp, const meshtastic_NeighborInfo *np) { - // The last sent ID will be 0 if the packet is from the phone, which we don't count as - // an edge. So we assume that if it's zero, then this packet is from our node. + LOG_DEBUG("updateNeighbors"); + // The last sent ID will be 0 if the packet is from the phone, which we don't + // count as an edge. So we assume that if it's zero, then this packet is from + // our node. if (mp.which_payload_variant == meshtastic_MeshPacket_decoded_tag && mp.from) { getOrCreateNeighbor(mp.from, np->last_sent_by_id, np->node_broadcast_interval_secs, mp.rx_snr); } @@ -188,7 +222,8 @@ meshtastic_Neighbor *NeighborInfoModule::getOrCreateNeighbor(NodeNum originalSen // if found, update it neighbors[i].snr = snr; neighbors[i].last_rx_time = getTime(); - // Only if this is the original sender, the broadcast interval corresponds to it + // Only if this is the original sender, the broadcast interval corresponds + // to it if (originalSender == n && node_broadcast_interval_secs != 0) neighbors[i].node_broadcast_interval_secs = node_broadcast_interval_secs; return &neighbors[i]; @@ -200,10 +235,12 @@ meshtastic_Neighbor *NeighborInfoModule::getOrCreateNeighbor(NodeNum originalSen new_nbr.node_id = n; new_nbr.snr = snr; new_nbr.last_rx_time = getTime(); - // Only if this is the original sender, the broadcast interval corresponds to it + // Only if this is the original sender, the broadcast interval corresponds to + // it if (originalSender == n && node_broadcast_interval_secs != 0) new_nbr.node_broadcast_interval_secs = node_broadcast_interval_secs; - else // Assume the same broadcast interval as us for the neighbor if we don't know it + else // Assume the same broadcast interval as us for the neighbor if we don't + // know it new_nbr.node_broadcast_interval_secs = moduleConfig.neighbor_info.update_interval; if (neighbors.size() < MAX_NUM_NEIGHBORS) { diff --git a/src/modules/NeighborInfoModule.h b/src/modules/NeighborInfoModule.h index aa76a2187..abb530329 100644 --- a/src/modules/NeighborInfoModule.h +++ b/src/modules/NeighborInfoModule.h @@ -28,6 +28,10 @@ class NeighborInfoModule : public ProtobufModule, priva */ virtual bool handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshtastic_NeighborInfo *nb) override; + /* Messages can be received that have the want_response bit set. If set, this callback will be invoked + * so that subclasses can (optionally) send a response back to the original sender. */ + virtual meshtastic_MeshPacket *allocReply() override; + /* * Collect neighbor info from the nodeDB's history, capping at a maximum number of entries and max time * @return the number of entries collected @@ -66,5 +70,8 @@ class NeighborInfoModule : public ProtobufModule, priva /* These are for debugging only */ void printNeighborInfo(const char *header, const meshtastic_NeighborInfo *np); void printNodeDBNeighbors(); + + private: + uint32_t lastSentReply = 0; // Last time we sent a position reply (used for reply throttling only) }; extern NeighborInfoModule *neighborInfoModule; \ No newline at end of file diff --git a/src/modules/OnScreenKeyboardModule.cpp b/src/modules/OnScreenKeyboardModule.cpp new file mode 100644 index 000000000..e75d926bf --- /dev/null +++ b/src/modules/OnScreenKeyboardModule.cpp @@ -0,0 +1,272 @@ +#include "configuration.h" +#if HAS_SCREEN + +#include "graphics/SharedUIDisplay.h" +#include "graphics/draw/NotificationRenderer.h" +#include "input/RotaryEncoderInterruptImpl1.h" +#include "input/UpDownInterruptImpl1.h" +#include "modules/OnScreenKeyboardModule.h" +#include +#include + +namespace graphics +{ + +OnScreenKeyboardModule &OnScreenKeyboardModule::instance() +{ + static OnScreenKeyboardModule inst; + return inst; +} + +OnScreenKeyboardModule::~OnScreenKeyboardModule() +{ + if (keyboard) { + delete keyboard; + keyboard = nullptr; + } +} + +void OnScreenKeyboardModule::start(const char *header, const char *initialText, uint32_t durationMs, + std::function cb) +{ + if (keyboard) { + delete keyboard; + keyboard = nullptr; + } + keyboard = new VirtualKeyboard(); + callback = cb; + if (header) + keyboard->setHeader(header); + if (initialText) + keyboard->setInputText(initialText); + + // Route VK submission/cancel events back into the module + keyboard->setCallback([this](const std::string &text) { + if (text.empty()) { + this->onCancel(); + } else { + this->onSubmit(text); + } + }); + + // Maintain legacy compatibility hooks + NotificationRenderer::virtualKeyboard = keyboard; + NotificationRenderer::textInputCallback = callback; +} + +void OnScreenKeyboardModule::stop(bool callEmptyCallback) +{ + auto cb = callback; + callback = nullptr; + if (keyboard) { + delete keyboard; + keyboard = nullptr; + } + // Keep NotificationRenderer legacy pointers in sync + NotificationRenderer::virtualKeyboard = nullptr; + NotificationRenderer::textInputCallback = nullptr; + clearPopup(); + if (callEmptyCallback && cb) + cb(""); +} + +void OnScreenKeyboardModule::handleInput(const InputEvent &event) +{ + if (!keyboard) + return; + + if (processVirtualKeyboardInput(event, keyboard)) + return; + + if (event.inputEvent == INPUT_BROKER_CANCEL) + onCancel(); +} + +bool OnScreenKeyboardModule::processVirtualKeyboardInput(const InputEvent &event, VirtualKeyboard *targetKeyboard) +{ + if (!targetKeyboard) + return false; + + switch (event.inputEvent) { + case INPUT_BROKER_UP: + case INPUT_BROKER_UP_LONG: + targetKeyboard->moveCursorUp(); + return true; + case INPUT_BROKER_DOWN: + case INPUT_BROKER_DOWN_LONG: + targetKeyboard->moveCursorDown(); + return true; + case INPUT_BROKER_LEFT: + case INPUT_BROKER_ALT_PRESS: + targetKeyboard->moveCursorLeft(); + return true; + case INPUT_BROKER_RIGHT: + case INPUT_BROKER_USER_PRESS: + targetKeyboard->moveCursorRight(); + return true; + case INPUT_BROKER_SELECT: + targetKeyboard->handlePress(); + return true; + case INPUT_BROKER_SELECT_LONG: + targetKeyboard->handleLongPress(); + return true; + default: + return false; + } +} + +bool OnScreenKeyboardModule::draw(OLEDDisplay *display) +{ + if (!keyboard) + return false; + + // Timeout + if (keyboard->isTimedOut()) { + onCancel(); + return false; + } + + // Clear full screen behind keyboard + display->setColor(BLACK); + display->fillRect(0, 0, display->getWidth(), display->getHeight()); + display->setColor(WHITE); + keyboard->draw(display, 0, 0); + + // Draw popup overlay if needed + drawPopup(display); + return true; +} + +void OnScreenKeyboardModule::onSubmit(const std::string &text) +{ + auto cb = callback; + stop(false); + if (cb) + cb(text); +} + +void OnScreenKeyboardModule::onCancel() +{ + stop(true); +} + +void OnScreenKeyboardModule::showPopup(const char *title, const char *content, uint32_t durationMs) +{ + if (!title || !content) + return; + strncpy(popupTitle, title, sizeof(popupTitle) - 1); + popupTitle[sizeof(popupTitle) - 1] = '\0'; + strncpy(popupMessage, content, sizeof(popupMessage) - 1); + popupMessage[sizeof(popupMessage) - 1] = '\0'; + popupUntil = millis() + durationMs; + popupVisible = true; +} + +void OnScreenKeyboardModule::clearPopup() +{ + popupTitle[0] = '\0'; + popupMessage[0] = '\0'; + popupUntil = 0; + popupVisible = false; +} + +void OnScreenKeyboardModule::drawPopupOverlay(OLEDDisplay *display) +{ + // Only render the popup overlay (without drawing the keyboard) + drawPopup(display); +} + +void OnScreenKeyboardModule::drawPopup(OLEDDisplay *display) +{ + if (!popupVisible) + return; + if (millis() > popupUntil || popupMessage[0] == '\0') { + popupVisible = false; + return; + } + + // Build lines and leverage NotificationRenderer inverted box drawing for consistent style + constexpr uint16_t maxContentLines = 3; + const bool hasTitle = popupTitle[0] != '\0'; + + display->setFont(FONT_SMALL); + display->setTextAlignment(TEXT_ALIGN_LEFT); + const uint16_t maxWrapWidth = display->width() - 40; + + auto wrapText = [&](const char *text, uint16_t availableWidth) -> std::vector { + std::vector wrapped; + std::string current; + std::string word; + const char *p = text; + while (*p && wrapped.size() < maxContentLines) { + while (*p && (*p == ' ' || *p == '\t' || *p == '\n' || *p == '\r')) { + if (*p == '\n') { + if (!current.empty()) { + wrapped.push_back(current); + current.clear(); + if (wrapped.size() >= maxContentLines) + break; + } + } + ++p; + } + if (!*p || wrapped.size() >= maxContentLines) + break; + word.clear(); + while (*p && *p != ' ' && *p != '\t' && *p != '\n' && *p != '\r') + word += *p++; + if (word.empty()) + continue; + std::string test = current.empty() ? word : (current + " " + word); + uint16_t w = display->getStringWidth(test.c_str(), test.length(), true); + if (w <= availableWidth) + current = test; + else { + if (!current.empty()) { + wrapped.push_back(current); + current = word; + if (wrapped.size() >= maxContentLines) + break; + } else { + current = word; + while (current.size() > 1 && + display->getStringWidth(current.c_str(), current.length(), true) > availableWidth) + current.pop_back(); + } + } + } + if (!current.empty() && wrapped.size() < maxContentLines) + wrapped.push_back(current); + return wrapped; + }; + + std::vector allLines; + if (hasTitle) + allLines.emplace_back(popupTitle); + + char buf[sizeof(popupMessage)]; + strncpy(buf, popupMessage, sizeof(buf) - 1); + buf[sizeof(buf) - 1] = '\0'; + char *paragraph = strtok(buf, "\n"); + while (paragraph && allLines.size() < maxContentLines + (hasTitle ? 1 : 0)) { + auto wrapped = wrapText(paragraph, maxWrapWidth); + for (const auto &ln : wrapped) { + if (allLines.size() >= maxContentLines + (hasTitle ? 1 : 0)) + break; + allLines.push_back(ln); + } + paragraph = strtok(nullptr, "\n"); + } + + std::vector ptrs; + for (const auto &ln : allLines) + ptrs.push_back(ln.c_str()); + ptrs.push_back(nullptr); + + // Use the standard notification box drawing from NotificationRenderer + NotificationRenderer::drawNotificationBox(display, nullptr, ptrs.data(), allLines.size(), 0, 0); +} + +} // namespace graphics + +#endif // HAS_SCREEN diff --git a/src/modules/OnScreenKeyboardModule.h b/src/modules/OnScreenKeyboardModule.h new file mode 100644 index 000000000..f86b71ec3 --- /dev/null +++ b/src/modules/OnScreenKeyboardModule.h @@ -0,0 +1,55 @@ +#pragma once + +#include "configuration.h" +#if HAS_SCREEN + +#include "graphics/Screen.h" // InputEvent +#include "graphics/VirtualKeyboard.h" +#include +#include +#include + +namespace graphics +{ +class OnScreenKeyboardModule +{ + public: + static OnScreenKeyboardModule &instance(); + + void start(const char *header, const char *initialText, uint32_t durationMs, + std::function callback); + + void stop(bool callEmptyCallback); + + void handleInput(const InputEvent &event); + static bool processVirtualKeyboardInput(const InputEvent &event, VirtualKeyboard *keyboard); + bool draw(OLEDDisplay *display); + + void showPopup(const char *title, const char *content, uint32_t durationMs); + void clearPopup(); + // Draw only the popup overlay (used when legacy virtualKeyboard draws the keyboard) + void drawPopupOverlay(OLEDDisplay *display); + + private: + OnScreenKeyboardModule() = default; + ~OnScreenKeyboardModule(); + OnScreenKeyboardModule(const OnScreenKeyboardModule &) = delete; + OnScreenKeyboardModule &operator=(const OnScreenKeyboardModule &) = delete; + + void onSubmit(const std::string &text); + void onCancel(); + + void drawPopup(OLEDDisplay *display); + + VirtualKeyboard *keyboard = nullptr; + std::function callback; + + char popupTitle[64] = {0}; + char popupMessage[256] = {0}; + uint32_t popupUntil = 0; + bool popupVisible = false; +}; + +} // namespace graphics + +#endif // HAS_SCREEN diff --git a/src/modules/PositionModule.cpp b/src/modules/PositionModule.cpp index 8b6a9f19c..776c3b5a6 100644 --- a/src/modules/PositionModule.cpp +++ b/src/modules/PositionModule.cpp @@ -45,8 +45,12 @@ bool PositionModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, mes { auto p = *pptr; - // If inbound message is a replay (or spoof!) of our own messages, we shouldn't process - // (why use second-hand sources for our own data?) + const auto transport = mp.transport_mechanism; + if (isFromUs(&mp) && !IS_ONE_OF(transport, meshtastic_MeshPacket_TransportMechanism_TRANSPORT_INTERNAL, + meshtastic_MeshPacket_TransportMechanism_TRANSPORT_API)) { + LOG_WARN("Ignoring packet supposedly from us over external transport"); + return true; + } // FIXME this can in fact happen with packets sent from EUD (src=RX_SRC_USER) // to set fixed location, EUD-GPS location or just the time (see also issue #900) @@ -472,19 +476,53 @@ void PositionModule::sendLostAndFoundText() delete[] message; } +// Helper: return imprecise (truncated + centered) lat/lon as int32 using current precision +static inline void computeImpreciseLatLon(int32_t inLat, int32_t inLon, uint8_t precisionBits, int32_t &outLat, int32_t &outLon) +{ + if (precisionBits > 0 && precisionBits < 32) { + // Build mask for top 'precisionBits' bits of a 32-bit unsigned field + const uint32_t mask = (precisionBits == 32) ? UINT32_MAX : (UINT32_MAX << (32 - precisionBits)); + // Note: latitude_i/longitude_i are stored as signed 32-bit in meshtastic code but + // the bitmask logic used previously operated as unsigned—preserve that behavior by + // casting to uint32_t for masking, then back to int32_t. + uint32_t lat_u = static_cast(inLat) & mask; + uint32_t lon_u = static_cast(inLon) & mask; + + // Add the "center of cell" offset used elsewhere: + // The code previously added (1 << (31 - precision)) to produce the middle of the possible location. + uint32_t center_offset = (1u << (31 - precisionBits)); + lat_u += center_offset; + lon_u += center_offset; + + outLat = static_cast(lat_u); + outLon = static_cast(lon_u); + } else { + // full precision: return input unchanged + outLat = inLat; + outLon = inLon; + } +} + struct SmartPosition PositionModule::getDistanceTraveledSinceLastSend(meshtastic_PositionLite currentPosition) { - // The minimum distance to travel before we are able to send a new position packet. const uint32_t distanceTravelThreshold = Default::getConfiguredOrDefault(config.position.broadcast_smart_minimum_distance, 100); - // Determine the distance in meters between two points on the globe - float distanceTraveledSinceLastSend = GeoCoord::latLongToMeter( - lastGpsLatitude * 1e-7, lastGpsLongitude * 1e-7, currentPosition.latitude_i * 1e-7, currentPosition.longitude_i * 1e-7); + int32_t lastLatImprecise, lastLonImprecise; + int32_t currentLatImprecise, currentLonImprecise; - return SmartPosition{.distanceTraveled = abs(distanceTraveledSinceLastSend), + computeImpreciseLatLon(lastGpsLatitude, lastGpsLongitude, precision, lastLatImprecise, lastLonImprecise); + computeImpreciseLatLon(currentPosition.latitude_i, currentPosition.longitude_i, precision, currentLatImprecise, + currentLonImprecise); + + float distMeters = GeoCoord::latLongToMeter(lastLatImprecise * 1e-7, lastLonImprecise * 1e-7, currentLatImprecise * 1e-7, + currentLonImprecise * 1e-7); + + float distanceTraveled = fabsf(distMeters); + + return SmartPosition{.distanceTraveled = distanceTraveled, .distanceThreshold = distanceTravelThreshold, - .hasTraveledOverThreshold = abs(distanceTraveledSinceLastSend) >= distanceTravelThreshold}; + .hasTraveledOverThreshold = distanceTraveled >= distanceTravelThreshold}; } void PositionModule::handleNewPosition() diff --git a/src/modules/RangeTestModule.cpp b/src/modules/RangeTestModule.cpp index 3d78d0dc9..026b3028d 100644 --- a/src/modules/RangeTestModule.cpp +++ b/src/modules/RangeTestModule.cpp @@ -159,6 +159,7 @@ ProcessMessage RangeTestModuleRadio::handleReceived(const meshtastic_MeshPacket LOG_DEBUG("---- Received Packet:"); LOG_DEBUG("mp.from %d", mp.from); LOG_DEBUG("mp.rx_snr %f", mp.rx_snr); + LOG_DEBUG("mp.rx_rssi %f", mp.rx_rssi); LOG_DEBUG("mp.hop_limit %d", mp.hop_limit); LOG_DEBUG("---- Node Information of Received Packet (mp.from):"); LOG_DEBUG("n->user.long_name %s", n->user.long_name); @@ -234,8 +235,8 @@ bool RangeTestModuleRadio::appendFile(const meshtastic_MeshPacket &mp) } // Print the CSV header - if (fileToWrite.println( - "time,from,sender name,sender lat,sender long,rx lat,rx long,rx elevation,rx snr,distance,hop limit,payload")) { + if (fileToWrite.println("time,from,sender name,sender lat,sender long,rx lat,rx long,rx elevation,rx " + "snr,distance,hop limit,payload,rx rssi")) { LOG_INFO("File was written"); } else { LOG_ERROR("File write failed"); @@ -297,6 +298,8 @@ bool RangeTestModuleRadio::appendFile(const meshtastic_MeshPacket &mp) // TODO: If quotes are found in the payload, it has to be escaped. fileToAppend.printf("\"%s\"\n", p.payload.bytes); + fileToAppend.printf("%i,", mp.rx_rssi); // RX RSSI + fileToAppend.flush(); fileToAppend.close(); diff --git a/src/modules/RoutingModule.cpp b/src/modules/RoutingModule.cpp index 05173983c..662f5379a 100644 --- a/src/modules/RoutingModule.cpp +++ b/src/modules/RoutingModule.cpp @@ -75,6 +75,12 @@ uint8_t RoutingModule::getHopLimitForResponse(uint8_t hopStart, uint8_t hopLimit return Default::getConfiguredOrDefaultHopLimit(config.lora.hop_limit); // Use the default hop limit } +meshtastic_MeshPacket *RoutingModule::allocAckNak(meshtastic_Routing_Error err, NodeNum to, PacketId idFrom, ChannelIndex chIndex, + uint8_t hopLimit) +{ + return MeshModule::allocAckNak(err, to, idFrom, chIndex, hopLimit); +} + RoutingModule::RoutingModule() : ProtobufModule("routing", meshtastic_PortNum_ROUTING_APP, &meshtastic_Routing_msg) { isPromiscuous = true; diff --git a/src/modules/RoutingModule.h b/src/modules/RoutingModule.h index a4e0679d0..5d4b9596f 100644 --- a/src/modules/RoutingModule.h +++ b/src/modules/RoutingModule.h @@ -16,6 +16,9 @@ class RoutingModule : public ProtobufModule virtual void sendAckNak(meshtastic_Routing_Error err, NodeNum to, PacketId idFrom, ChannelIndex chIndex, uint8_t hopLimit = 0, bool ackWantsAck = false); + meshtastic_MeshPacket *allocAckNak(meshtastic_Routing_Error err, NodeNum to, PacketId idFrom, ChannelIndex chIndex, + uint8_t hopLimit = 0); + // Given the hopStart and hopLimit upon reception of a request, return the hop limit to use for the response uint8_t getHopLimitForResponse(uint8_t hopStart, uint8_t hopLimit); diff --git a/src/modules/SerialModule.cpp b/src/modules/SerialModule.cpp index a9ec8f6a8..719e342b1 100644 --- a/src/modules/SerialModule.cpp +++ b/src/modules/SerialModule.cpp @@ -64,14 +64,24 @@ SerialModule *serialModule; SerialModuleRadio *serialModuleRadio; #if defined(TTGO_T_ECHO) || defined(CANARYONE) || defined(MESHLINK) || defined(ELECROW_ThinkNode_M1) || \ - defined(ELECROW_ThinkNode_M5) || defined(HELTEC_MESH_SOLAR) || defined(T_ECHO_LITE) -SerialModule::SerialModule() : StreamAPI(&Serial), concurrency::OSThread("Serial") {} + defined(ELECROW_ThinkNode_M5) || defined(HELTEC_MESH_SOLAR) || defined(T_ECHO_LITE) || defined(ELECROW_ThinkNode_M3) || \ + defined(MUZI_BASE) +SerialModule::SerialModule() : StreamAPI(&Serial), concurrency::OSThread("Serial") +{ + api_type = TYPE_SERIAL; +} static Print *serialPrint = &Serial; #elif defined(CONFIG_IDF_TARGET_ESP32C6) || defined(RAK3172) || defined(EBYTE_E77_MBL) -SerialModule::SerialModule() : StreamAPI(&Serial1), concurrency::OSThread("Serial") {} +SerialModule::SerialModule() : StreamAPI(&Serial1), concurrency::OSThread("Serial") +{ + api_type = TYPE_SERIAL; +} static Print *serialPrint = &Serial1; #else -SerialModule::SerialModule() : StreamAPI(&Serial2), concurrency::OSThread("Serial") {} +SerialModule::SerialModule() : StreamAPI(&Serial2), concurrency::OSThread("Serial") +{ + api_type = TYPE_SERIAL; +} static Print *serialPrint = &Serial2; #endif @@ -195,7 +205,7 @@ int32_t SerialModule::runOnce() Serial.setTimeout(moduleConfig.serial.timeout > 0 ? moduleConfig.serial.timeout : TIMEOUT); } #elif !defined(TTGO_T_ECHO) && !defined(T_ECHO_LITE) && !defined(CANARYONE) && !defined(MESHLINK) && \ - !defined(ELECROW_ThinkNode_M1) && !defined(ELECROW_ThinkNode_M5) + !defined(ELECROW_ThinkNode_M1) && !defined(ELECROW_ThinkNode_M3) && !defined(ELECROW_ThinkNode_M5) && !defined(MUZI_BASE) if (moduleConfig.serial.rxd && moduleConfig.serial.txd) { #ifdef ARCH_RP2040 Serial2.setFIFOSize(RX_BUFFER); @@ -252,7 +262,7 @@ int32_t SerialModule::runOnce() } #if !defined(TTGO_T_ECHO) && !defined(T_ECHO_LITE) && !defined(CANARYONE) && !defined(MESHLINK) && \ - !defined(ELECROW_ThinkNode_M1) && !defined(ELECROW_ThinkNode_M5) + !defined(ELECROW_ThinkNode_M1) && !defined(ELECROW_ThinkNode_M3) && !defined(ELECROW_ThinkNode_M5) && !defined(MUZI_BASE) else if ((moduleConfig.serial.mode == meshtastic_ModuleConfig_SerialConfig_Serial_Mode_WS85)) { processWXSerial(); @@ -527,7 +537,8 @@ ParsedLine parseLine(const char *line) void SerialModule::processWXSerial() { #if !defined(TTGO_T_ECHO) && !defined(T_ECHO_LITE) && !defined(CANARYONE) && !defined(CONFIG_IDF_TARGET_ESP32C6) && \ - !defined(MESHLINK) && !defined(ELECROW_ThinkNode_M1) && !defined(ELECROW_ThinkNode_M5) && !defined(ARCH_STM32WL) + !defined(MESHLINK) && !defined(ELECROW_ThinkNode_M1) && !defined(ELECROW_ThinkNode_M3) && !defined(ELECROW_ThinkNode_M5) && \ + !defined(ARCH_STM32WL) && !defined(MUZI_BASE) static unsigned int lastAveraged = 0; static unsigned int averageIntervalMillis = 300000; // 5 minutes hard coded. static double dir_sum_sin = 0; diff --git a/src/modules/StatusLEDModule.cpp b/src/modules/StatusLEDModule.cpp new file mode 100644 index 000000000..fc9ed310e --- /dev/null +++ b/src/modules/StatusLEDModule.cpp @@ -0,0 +1,94 @@ +#include "StatusLEDModule.h" +#include "MeshService.h" +#include "configuration.h" +#include + +/* +StatusLEDModule manages the device's status LEDs, updating their states based on power and Bluetooth status. +It reflects charging, charged, discharging, and Bluetooth connection states using the appropriate LEDs. +*/ +StatusLEDModule *statusLEDModule; + +StatusLEDModule::StatusLEDModule() : concurrency::OSThread("StatusLEDModule") +{ + bluetoothStatusObserver.observe(&bluetoothStatus->onNewStatus); + powerStatusObserver.observe(&powerStatus->onNewStatus); +} + +int StatusLEDModule::handleStatusUpdate(const meshtastic::Status *arg) +{ + switch (arg->getStatusType()) { + case STATUS_TYPE_POWER: { + meshtastic::PowerStatus *powerStatus = (meshtastic::PowerStatus *)arg; + if (powerStatus->getHasUSB()) { + power_state = charging; + if (powerStatus->getBatteryChargePercent() >= 100) { + power_state = charged; + } + } else { + power_state = discharging; + } + break; + } + case STATUS_TYPE_BLUETOOTH: { + meshtastic::BluetoothStatus *bluetoothStatus = (meshtastic::BluetoothStatus *)arg; + switch (bluetoothStatus->getConnectionState()) { + case meshtastic::BluetoothStatus::ConnectionState::DISCONNECTED: { + ble_state = unpaired; + PAIRING_LED_starttime = millis(); + break; + } + case meshtastic::BluetoothStatus::ConnectionState::PAIRING: { + ble_state = pairing; + PAIRING_LED_starttime = millis(); + break; + } + case meshtastic::BluetoothStatus::ConnectionState::CONNECTED: { + ble_state = connected; + PAIRING_LED_starttime = millis(); + break; + } + } + + break; + } + } + return 0; +}; + +int32_t StatusLEDModule::runOnce() +{ + + if (power_state == charging) { + CHARGE_LED_state = !CHARGE_LED_state; + } else if (power_state == charged) { + CHARGE_LED_state = LED_STATE_ON; + } else { + CHARGE_LED_state = LED_STATE_OFF; + } + + if (!config.bluetooth.enabled || PAIRING_LED_starttime + 30 * 1000 < millis()) { + PAIRING_LED_state = LED_STATE_OFF; + } else if (ble_state == unpaired) { + if (slowTrack) { + PAIRING_LED_state = !PAIRING_LED_state; + slowTrack = false; + } else { + slowTrack = true; + } + } else if (ble_state == pairing) { + PAIRING_LED_state = !PAIRING_LED_state; + } else { + PAIRING_LED_state = LED_STATE_ON; + } + +#ifdef LED_CHARGE + digitalWrite(LED_CHARGE, CHARGE_LED_state); +#endif + // digitalWrite(green_LED_PIN, LED_STATE_OFF); +#ifdef LED_PAIRING + digitalWrite(LED_PAIRING, PAIRING_LED_state); +#endif + + return (my_interval); +} diff --git a/src/modules/StatusLEDModule.h b/src/modules/StatusLEDModule.h new file mode 100644 index 000000000..d9e3a4f33 --- /dev/null +++ b/src/modules/StatusLEDModule.h @@ -0,0 +1,44 @@ +#pragma once + +#include "BluetoothStatus.h" +#include "MeshModule.h" +#include "PowerStatus.h" +#include "concurrency/OSThread.h" +#include "configuration.h" +#include +#include + +class StatusLEDModule : private concurrency::OSThread +{ + bool slowTrack = false; + + public: + StatusLEDModule(); + + int handleStatusUpdate(const meshtastic::Status *); + + protected: + unsigned int my_interval = 1000; // interval in millisconds + virtual int32_t runOnce() override; + + CallbackObserver bluetoothStatusObserver = + CallbackObserver(this, &StatusLEDModule::handleStatusUpdate); + CallbackObserver powerStatusObserver = + CallbackObserver(this, &StatusLEDModule::handleStatusUpdate); + + private: + bool CHARGE_LED_state = LED_STATE_OFF; + bool PAIRING_LED_state = LED_STATE_OFF; + + uint32_t PAIRING_LED_starttime = 0; + + enum PowerState { discharging, charging, charged }; + + PowerState power_state = discharging; + + enum BLEState { unpaired, pairing, connected }; + + BLEState ble_state = unpaired; +}; + +extern StatusLEDModule *statusLEDModule; diff --git a/src/modules/StoreForwardModule.cpp b/src/modules/StoreForwardModule.cpp index 72ac99118..b8a710bf5 100644 --- a/src/modules/StoreForwardModule.cpp +++ b/src/modules/StoreForwardModule.cpp @@ -204,6 +204,10 @@ void StoreForwardModule::historyAdd(const meshtastic_MeshPacket &mp) this->packetHistory[this->packetHistoryTotalCount].payload_size = p.payload.size; this->packetHistory[this->packetHistoryTotalCount].rx_rssi = mp.rx_rssi; this->packetHistory[this->packetHistoryTotalCount].rx_snr = mp.rx_snr; + this->packetHistory[this->packetHistoryTotalCount].hop_start = mp.hop_start; + this->packetHistory[this->packetHistoryTotalCount].hop_limit = mp.hop_limit; + this->packetHistory[this->packetHistoryTotalCount].via_mqtt = mp.via_mqtt; + this->packetHistory[this->packetHistoryTotalCount].transport_mechanism = mp.transport_mechanism; memcpy(this->packetHistory[this->packetHistoryTotalCount].payload, p.payload.bytes, meshtastic_Constants_DATA_PAYLOAD_LEN); this->packetHistoryTotalCount++; @@ -256,6 +260,10 @@ meshtastic_MeshPacket *StoreForwardModule::preparePayload(NodeNum dest, uint32_t p->decoded.emoji = (uint32_t)this->packetHistory[i].emoji; p->rx_rssi = this->packetHistory[i].rx_rssi; p->rx_snr = this->packetHistory[i].rx_snr; + p->hop_start = this->packetHistory[i].hop_start; + p->hop_limit = this->packetHistory[i].hop_limit; + p->via_mqtt = this->packetHistory[i].via_mqtt; + p->transport_mechanism = (meshtastic_MeshPacket_TransportMechanism)this->packetHistory[i].transport_mechanism; // Let's assume that if the server received the S&F request that the client is in range. // TODO: Make this configurable. diff --git a/src/modules/StoreForwardModule.h b/src/modules/StoreForwardModule.h index 25836eded..148568e1b 100644 --- a/src/modules/StoreForwardModule.h +++ b/src/modules/StoreForwardModule.h @@ -21,6 +21,10 @@ struct PacketHistoryStruct { pb_size_t payload_size; int32_t rx_rssi; float rx_snr; + uint8_t hop_start; + uint8_t hop_limit; + bool via_mqtt; + uint8_t transport_mechanism; }; class StoreForwardModule : private concurrency::OSThread, public ProtobufModule diff --git a/src/modules/SystemCommandsModule.cpp b/src/modules/SystemCommandsModule.cpp index 74b9678f4..7fa4485c8 100644 --- a/src/modules/SystemCommandsModule.cpp +++ b/src/modules/SystemCommandsModule.cpp @@ -1,4 +1,5 @@ #include "SystemCommandsModule.h" +#include "input/InputBroker.h" #include "meshUtils.h" #if HAS_SCREEN #include "graphics/Screen.h" @@ -22,7 +23,7 @@ SystemCommandsModule::SystemCommandsModule() int SystemCommandsModule::handleInputEvent(const InputEvent *event) { - LOG_INFO("Input event %u! kb %u", event->inputEvent, event->kbchar); + LOG_INPUT("SystemCommands Input event %u! kb %u", event->inputEvent, event->kbchar); // System commands (all others fall through) switch (event->kbchar) { // Fn key symbols @@ -85,10 +86,8 @@ int SystemCommandsModule::handleInputEvent(const InputEvent *event) switch (event->inputEvent) { // GPS case INPUT_BROKER_GPS_TOGGLE: - LOG_WARN("GPS Toggle"); #if !MESHTASTIC_EXCLUDE_GPS if (gps) { - LOG_WARN("GPS Toggle2"); if (config.position.gps_mode == meshtastic_Config_PositionConfig_GpsMode_ENABLED && config.position.fixed_position == false) { nodeDB->clearLocalPosition(); diff --git a/src/modules/Telemetry/EnvironmentTelemetry.cpp b/src/modules/Telemetry/EnvironmentTelemetry.cpp index 95947560d..29e815092 100644 --- a/src/modules/Telemetry/EnvironmentTelemetry.cpp +++ b/src/modules/Telemetry/EnvironmentTelemetry.cpp @@ -134,6 +134,10 @@ extern void drawCommonHeader(OLEDDisplay *display, int16_t x, int16_t y, const c #include "Sensor/TSL2561Sensor.h" #endif +#if __has_include() +#include "Sensor/BH1750Sensor.h" +#endif + #define FAILED_STATE_SENSOR_READ_MULTIPLIER 10 #define DISPLAY_RECEIVEID_MEASUREMENTS_ON_SCREEN true @@ -262,6 +266,9 @@ void EnvironmentTelemetryModule::i2cScanFinished(ScanI2C *i2cScanner) #if __has_include() addSensor(i2cScanner, ScanI2C::DeviceType::NAU7802); #endif +#if __has_include() + addSensor(i2cScanner, ScanI2C::DeviceType::BH1750); +#endif #endif } @@ -361,6 +368,7 @@ bool EnvironmentTelemetryModule::wantUIFrame() return moduleConfig.telemetry.environment_screen_enabled; } +#if HAS_SCREEN void EnvironmentTelemetryModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y) { // === Setup display === @@ -509,7 +517,9 @@ void EnvironmentTelemetryModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiSt currentY += rowHeight; } + graphics::drawCommonFooter(display, x, y); } +#endif bool EnvironmentTelemetryModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshtastic_Telemetry *t) { diff --git a/src/modules/Telemetry/PowerTelemetry.cpp b/src/modules/Telemetry/PowerTelemetry.cpp index 479861a2e..29dd1def8 100644 --- a/src/modules/Telemetry/PowerTelemetry.cpp +++ b/src/modules/Telemetry/PowerTelemetry.cpp @@ -108,6 +108,7 @@ bool PowerTelemetryModule::wantUIFrame() return moduleConfig.telemetry.power_screen_enabled; } +#if HAS_SCREEN void PowerTelemetryModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y) { display->clear(); @@ -164,7 +165,9 @@ void PowerTelemetryModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiState *s if (m.has_ch3_voltage || m.has_ch3_current) { drawLine("Ch3", m.ch3_voltage, m.ch3_current); } + graphics::drawCommonFooter(display, x, y); } +#endif bool PowerTelemetryModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshtastic_Telemetry *t) { diff --git a/src/modules/Telemetry/Sensor/AHT10.cpp b/src/modules/Telemetry/Sensor/AHT10.cpp index 52fdc05c0..c38fd2a92 100644 --- a/src/modules/Telemetry/Sensor/AHT10.cpp +++ b/src/modules/Telemetry/Sensor/AHT10.cpp @@ -35,7 +35,7 @@ bool AHT10Sensor::getMetrics(meshtastic_Telemetry *measurement) // prefer other sensors like bmp280, bmp3xx if (!measurement->variant.environment_metrics.has_temperature) { measurement->variant.environment_metrics.has_temperature = true; - measurement->variant.environment_metrics.temperature = temp.temperature; + measurement->variant.environment_metrics.temperature = temp.temperature + AHT10_TEMP_OFFSET; } if (!measurement->variant.environment_metrics.has_relative_humidity) { diff --git a/src/modules/Telemetry/Sensor/AHT10.h b/src/modules/Telemetry/Sensor/AHT10.h index ab3f5806c..f85f04aa0 100644 --- a/src/modules/Telemetry/Sensor/AHT10.h +++ b/src/modules/Telemetry/Sensor/AHT10.h @@ -6,6 +6,10 @@ #if !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR && __has_include() +#ifndef AHT10_TEMP_OFFSET +#define AHT10_TEMP_OFFSET 0 +#endif + #include "../mesh/generated/meshtastic/telemetry.pb.h" #include "TelemetrySensor.h" #include diff --git a/src/modules/Telemetry/Sensor/BH1750Sensor.cpp b/src/modules/Telemetry/Sensor/BH1750Sensor.cpp new file mode 100644 index 000000000..b8790dcd5 --- /dev/null +++ b/src/modules/Telemetry/Sensor/BH1750Sensor.cpp @@ -0,0 +1,54 @@ +#include "configuration.h" + +#if !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR && __has_include() + +#include "../mesh/generated/meshtastic/telemetry.pb.h" +#include "BH1750Sensor.h" +#include "TelemetrySensor.h" +#include + +#ifndef BH1750_SENSOR_MODE +#define BH1750_SENSOR_MODE BH1750Mode::CHM +#endif + +BH1750Sensor::BH1750Sensor() : TelemetrySensor(meshtastic_TelemetrySensorType_BH1750, "BH1750") {} + +bool BH1750Sensor::initDevice(TwoWire *bus, ScanI2C::FoundDevice *dev) +{ + LOG_INFO("Init sensor: %s with mode %d", sensorName, BH1750_SENSOR_MODE); + + bh1750 = BH1750_WE(bus, dev->address.address); + status = bh1750.init(); + if (!status) { + return status; + } + + bh1750.setMode(BH1750_SENSOR_MODE); + + initI2CSensor(); + return status; +} + +bool BH1750Sensor::getMetrics(meshtastic_Telemetry *measurement) +{ + + /* An OTH and OTH_2 measurement takes ~120 ms. I suggest to wait + 140 ms to be on the safe side. + An OTL measurement takes about 16 ms. I suggest to wait 20 ms + to be on the safe side. */ + if (BH1750_SENSOR_MODE == BH1750Mode::OTH || BH1750_SENSOR_MODE == BH1750Mode::OTH_2) { + bh1750.setMode(BH1750_SENSOR_MODE); + delay(140); // wait for measurement to be completed + } else if (BH1750_SENSOR_MODE == BH1750Mode::OTL) { + bh1750.setMode(BH1750_SENSOR_MODE); + delay(20); + } + + measurement->variant.environment_metrics.has_lux = true; + float lightIntensity = bh1750.getLux(); + + measurement->variant.environment_metrics.lux = lightIntensity; + return true; +} + +#endif diff --git a/src/modules/Telemetry/Sensor/BH1750Sensor.h b/src/modules/Telemetry/Sensor/BH1750Sensor.h new file mode 100644 index 000000000..d9a4ded95 --- /dev/null +++ b/src/modules/Telemetry/Sensor/BH1750Sensor.h @@ -0,0 +1,21 @@ +#pragma once +#include "configuration.h" + +#if !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR && __has_include() + +#include "../mesh/generated/meshtastic/telemetry.pb.h" +#include "TelemetrySensor.h" +#include + +class BH1750Sensor : public TelemetrySensor +{ + private: + BH1750_WE bh1750; + + public: + BH1750Sensor(); + virtual bool getMetrics(meshtastic_Telemetry *measurement) override; + virtual bool initDevice(TwoWire *bus, ScanI2C::FoundDevice *dev) override; +}; + +#endif diff --git a/src/modules/Telemetry/Sensor/DFRobotGravitySensor.cpp b/src/modules/Telemetry/Sensor/DFRobotGravitySensor.cpp index 59a98e291..101b01f8f 100644 --- a/src/modules/Telemetry/Sensor/DFRobotGravitySensor.cpp +++ b/src/modules/Telemetry/Sensor/DFRobotGravitySensor.cpp @@ -13,7 +13,10 @@ DFRobotGravitySensor::DFRobotGravitySensor() : TelemetrySensor(meshtastic_Teleme DFRobotGravitySensor::~DFRobotGravitySensor() { if (gravity) { +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor" delete gravity; +#pragma GCC diagnostic pop gravity = nullptr; } } diff --git a/src/modules/TraceRouteModule.cpp b/src/modules/TraceRouteModule.cpp index fc2cc232b..87a2f1bd2 100644 --- a/src/modules/TraceRouteModule.cpp +++ b/src/modules/TraceRouteModule.cpp @@ -11,6 +11,113 @@ extern graphics::Screen *screen; TraceRouteModule *traceRouteModule; +void TraceRouteModule::setResultText(const String &text) +{ + resultText = text; + resultLines.clear(); + resultLinesDirty = true; +} + +void TraceRouteModule::clearResultLines() +{ + resultLines.clear(); + resultLinesDirty = false; +} +#if HAS_SCREEN +void TraceRouteModule::rebuildResultLines(OLEDDisplay *display) +{ + if (!display) { + resultLinesDirty = false; + return; + } + + resultLines.clear(); + + if (resultText.length() == 0) { + resultLinesDirty = false; + return; + } + + int maxWidth = display->getWidth() - 4; + if (maxWidth <= 0) { + resultLinesDirty = false; + return; + } + + int start = 0; + int textLength = resultText.length(); + + while (start <= textLength) { + int newlinePos = resultText.indexOf('\n', start); + String segment; + + if (newlinePos != -1) { + segment = resultText.substring(start, newlinePos); + start = newlinePos + 1; + } else { + segment = resultText.substring(start); + start = textLength + 1; + } + + if (segment.length() == 0) { + resultLines.push_back(""); + continue; + } + + if (display->getStringWidth(segment) <= maxWidth) { + resultLines.push_back(segment); + continue; + } + + String remaining = segment; + + while (remaining.length() > 0) { + String tempLine = ""; + int lastGoodBreak = -1; + bool lineComplete = false; + + for (int i = 0; i < static_cast(remaining.length()); i++) { + char ch = remaining.charAt(i); + String testLine = tempLine + ch; + + if (display->getStringWidth(testLine) > maxWidth) { + if (lastGoodBreak >= 0) { + resultLines.push_back(remaining.substring(0, lastGoodBreak + 1)); + remaining = remaining.substring(lastGoodBreak + 1); + lineComplete = true; + break; + } else if (tempLine.length() > 0) { + resultLines.push_back(tempLine); + remaining = remaining.substring(i); + lineComplete = true; + break; + } else { + resultLines.push_back(String(ch)); + remaining = remaining.substring(i + 1); + lineComplete = true; + break; + } + } else { + tempLine = testLine; + if (ch == ' ' || ch == '>' || ch == '<' || ch == '-' || ch == '(' || ch == ')' || ch == ',') { + lastGoodBreak = i; + } + } + } + + if (!lineComplete) { + if (tempLine.length() > 0) { + resultLines.push_back(tempLine); + } + break; + } + } + } + + resultLinesDirty = false; +} +#endif + bool TraceRouteModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshtastic_RouteDiscovery *r) { // We only alter the packet in alterReceivedProtobuf() @@ -21,6 +128,11 @@ void TraceRouteModule::alterReceivedProtobuf(meshtastic_MeshPacket &p, meshtasti { const meshtastic_Data &incoming = p.decoded; + // Update next-hops using returned route + if (incoming.request_id) { + updateNextHops(p, r); + } + // Insert unknown hops if necessary insertUnknownHops(p, r, !incoming.request_id); @@ -153,6 +265,65 @@ void TraceRouteModule::alterReceivedProtobuf(meshtastic_MeshPacket &p, meshtasti } } +void TraceRouteModule::updateNextHops(meshtastic_MeshPacket &p, meshtastic_RouteDiscovery *r) +{ + // E.g. if the route is A->B->C->D and we are B, we can set C as next-hop for C and D + // Similarly, if we are C, we can set D as next-hop for D + // If we are A, we can set B as next-hop for B, C and D + + // First check if we were the original sender or in the original route + int8_t nextHopIndex = -1; + if (isToUs(&p)) { + nextHopIndex = 0; // We are the original sender, next hop is first in route + } else { + // Check if we are in the original route + for (uint8_t i = 0; i < r->route_count; i++) { + if (r->route[i] == nodeDB->getNodeNum()) { + nextHopIndex = i + 1; // Next hop is the one after us + break; + } + } + } + + // If we are in the original route, update the next hops + if (nextHopIndex != -1) { + // For every node after us, we can set the next-hop to the first node after us + NodeNum nextHop; + if (nextHopIndex == r->route_count) { + nextHop = p.from; // We are the last in the route, next hop is destination + } else { + nextHop = r->route[nextHopIndex]; + } + + if (nextHop == NODENUM_BROADCAST) { + return; + } + uint8_t nextHopByte = nodeDB->getLastByteOfNodeNum(nextHop); + + // For the rest of the nodes in the route, set their next-hop + // Note: if we are the last in the route, this loop will not run + for (int8_t i = nextHopIndex; i < r->route_count; i++) { + NodeNum targetNode = r->route[i]; + maybeSetNextHop(targetNode, nextHopByte); + } + + // Also set next-hop for the destination node + maybeSetNextHop(p.from, nextHopByte); + } +} + +void TraceRouteModule::maybeSetNextHop(NodeNum target, uint8_t nextHopByte) +{ + if (target == NODENUM_BROADCAST) + return; + + meshtastic_NodeInfoLite *node = nodeDB->getMeshNode(target); + if (node && node->next_hop != nextHopByte) { + LOG_INFO("Updating next-hop for 0x%08x to 0x%02x based on traceroute", target, nextHopByte); + node->next_hop = nextHopByte; + } +} + void TraceRouteModule::processUpgradedPacket(const meshtastic_MeshPacket &mp) { if (mp.which_payload_variant != meshtastic_MeshPacket_decoded_tag || mp.decoded.portnum != meshtastic_PortNum_TRACEROUTE_APP) @@ -342,7 +513,7 @@ bool TraceRouteModule::startTraceRoute(NodeNum node) if (node == 0 || node == NODENUM_BROADCAST) { LOG_ERROR("Invalid node number for trace route: 0x%08x", node); runState = TRACEROUTE_STATE_RESULT; - resultText = "Invalid node"; + setResultText("Invalid node"); resultShowTime = millis(); tracingNode = 0; @@ -356,7 +527,7 @@ bool TraceRouteModule::startTraceRoute(NodeNum node) if (node == nodeDB->getNodeNum()) { LOG_ERROR("Cannot trace route to self: 0x%08x", node); runState = TRACEROUTE_STATE_RESULT; - resultText = "Cannot trace self"; + setResultText("Cannot trace self"); resultShowTime = millis(); tracingNode = 0; @@ -383,6 +554,8 @@ bool TraceRouteModule::startTraceRoute(NodeNum node) unsigned long wait = (cooldownMs - (now - lastTraceRouteTime)) / 1000; bannerText = String("Wait for ") + String(wait) + String("s"); runState = TRACEROUTE_STATE_COOLDOWN; + resultText = ""; + clearResultLines(); requestFocus(); UIFrameEvent e; @@ -395,6 +568,8 @@ bool TraceRouteModule::startTraceRoute(NodeNum node) tracingNode = node; lastTraceRouteTime = now; runState = TRACEROUTE_STATE_TRACKING; + resultText = ""; + clearResultLines(); bannerText = String("Tracing ") + getNodeName(node); LOG_INFO("TraceRoute UI: Starting trace route to node 0x%08x, requesting focus", node); @@ -437,7 +612,7 @@ bool TraceRouteModule::startTraceRoute(NodeNum node) } else { LOG_ERROR("MeshService is NULL!"); runState = TRACEROUTE_STATE_RESULT; - resultText = "Service unavailable"; + setResultText("Service unavailable"); resultShowTime = millis(); tracingNode = 0; @@ -450,7 +625,7 @@ bool TraceRouteModule::startTraceRoute(NodeNum node) } else { LOG_ERROR("Failed to allocate TraceRoute packet from router"); runState = TRACEROUTE_STATE_RESULT; - resultText = "Failed to send"; + setResultText("Failed to send"); resultShowTime = millis(); tracingNode = 0; @@ -468,7 +643,7 @@ void TraceRouteModule::launch(NodeNum node) if (node == 0 || node == NODENUM_BROADCAST) { LOG_ERROR("Invalid node number for trace route: 0x%08x", node); runState = TRACEROUTE_STATE_RESULT; - resultText = "Invalid node"; + setResultText("Invalid node"); resultShowTime = millis(); tracingNode = 0; @@ -482,7 +657,7 @@ void TraceRouteModule::launch(NodeNum node) if (node == nodeDB->getNodeNum()) { LOG_ERROR("Cannot trace route to self: 0x%08x", node); runState = TRACEROUTE_STATE_RESULT; - resultText = "Cannot trace self"; + setResultText("Cannot trace self"); resultShowTime = millis(); tracingNode = 0; @@ -504,6 +679,8 @@ void TraceRouteModule::launch(NodeNum node) unsigned long wait = (cooldownMs - (now - lastTraceRouteTime)) / 1000; bannerText = String("Wait for ") + String(wait) + String("s"); runState = TRACEROUTE_STATE_COOLDOWN; + resultText = ""; + clearResultLines(); requestFocus(); UIFrameEvent e; @@ -516,6 +693,8 @@ void TraceRouteModule::launch(NodeNum node) runState = TRACEROUTE_STATE_TRACKING; tracingNode = node; lastTraceRouteTime = now; + resultText = ""; + clearResultLines(); bannerText = String("Tracing ") + getNodeName(node); requestFocus(); @@ -550,14 +729,14 @@ void TraceRouteModule::launch(NodeNum node) } else { LOG_ERROR("MeshService is NULL!"); runState = TRACEROUTE_STATE_RESULT; - resultText = "Service unavailable"; + setResultText("Service unavailable"); resultShowTime = millis(); tracingNode = 0; } } else { LOG_ERROR("Failed to allocate TraceRoute packet from router"); runState = TRACEROUTE_STATE_RESULT; - resultText = "Failed to send"; + setResultText("Failed to send"); resultShowTime = millis(); tracingNode = 0; } @@ -565,7 +744,7 @@ void TraceRouteModule::launch(NodeNum node) void TraceRouteModule::handleTraceRouteResult(const String &result) { - resultText = result; + setResultText(result); runState = TRACEROUTE_STATE_RESULT; resultShowTime = millis(); tracingNode = 0; @@ -615,83 +794,15 @@ void TraceRouteModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiState *state display->setFont(FONT_SMALL); if (resultText.length() > 0) { - std::vector lines; - String currentLine = ""; - int maxWidth = display->getWidth() - 4; - - int start = 0; - int newlinePos = resultText.indexOf('\n', start); - - while (newlinePos != -1 || start < static_cast(resultText.length())) { - String segment; - if (newlinePos != -1) { - segment = resultText.substring(start, newlinePos); - start = newlinePos + 1; - newlinePos = resultText.indexOf('\n', start); - } else { - segment = resultText.substring(start); - start = resultText.length(); - } - - if (display->getStringWidth(segment) <= maxWidth) { - lines.push_back(segment); - } else { - // Try to break at better positions (space, >, <, -) - String remaining = segment; - - while (remaining.length() > 0) { - String tempLine = ""; - int lastGoodBreak = -1; - bool lineComplete = false; - - for (int i = 0; i < static_cast(remaining.length()); i++) { - char ch = remaining.charAt(i); - String testLine = tempLine + ch; - - if (display->getStringWidth(testLine) > maxWidth) { - if (lastGoodBreak >= 0) { - // Break at the last good position - lines.push_back(remaining.substring(0, lastGoodBreak + 1)); - remaining = remaining.substring(lastGoodBreak + 1); - lineComplete = true; - break; - } else if (tempLine.length() > 0) { - lines.push_back(tempLine); - remaining = remaining.substring(i); - lineComplete = true; - break; - } else { - // Single character exceeds width - lines.push_back(String(ch)); - remaining = remaining.substring(i + 1); - lineComplete = true; - break; - } - } else { - tempLine = testLine; - // Mark good break positions - if (ch == ' ' || ch == '>' || ch == '<' || ch == '-' || ch == '(' || ch == ')') { - lastGoodBreak = i; - } - } - } - - if (!lineComplete) { - // Reached end of remaining text - if (tempLine.length() > 0) { - lines.push_back(tempLine); - } - break; - } - } - } + if (resultLinesDirty) { + rebuildResultLines(display); } int lineHeight = FONT_HEIGHT_SMALL + 1; // Use proper font height with 1px spacing - for (size_t i = 0; i < lines.size(); i++) { + for (size_t i = 0; i < resultLines.size(); i++) { int lineY = contentStartY + (i * lineHeight); if (lineY + FONT_HEIGHT_SMALL <= display->getHeight()) { - display->drawString(x + 2, lineY, lines[i]); + display->drawString(x + 2, lineY, resultLines[i]); } } } @@ -715,7 +826,7 @@ int32_t TraceRouteModule::runOnce() if (runState == TRACEROUTE_STATE_TRACKING && now - lastTraceRouteTime > trackingTimeoutMs) { LOG_INFO("TraceRoute timeout, no response received"); runState = TRACEROUTE_STATE_RESULT; - resultText = "No response received"; + setResultText("No response received"); resultShowTime = now; tracingNode = 0; @@ -751,6 +862,8 @@ int32_t TraceRouteModule::runOnce() // Cooldown finished LOG_INFO("TraceRoute cooldown finished, returning to IDLE"); runState = TRACEROUTE_STATE_IDLE; + resultText = ""; + clearResultLines(); bannerText = ""; UIFrameEvent e; e.action = UIFrameEvent::Action::REGENERATE_FRAMESET; @@ -764,6 +877,7 @@ int32_t TraceRouteModule::runOnce() LOG_INFO("TraceRoute result display timeout, returning to IDLE"); runState = TRACEROUTE_STATE_IDLE; resultText = ""; + clearResultLines(); bannerText = ""; tracingNode = 0; UIFrameEvent e; diff --git a/src/modules/TraceRouteModule.h b/src/modules/TraceRouteModule.h index a069f7157..a40ed7733 100644 --- a/src/modules/TraceRouteModule.h +++ b/src/modules/TraceRouteModule.h @@ -7,6 +7,7 @@ #if HAS_SCREEN #include "OLEDDisplayUi.h" #endif +#include #define ROUTE_SIZE sizeof(((meshtastic_RouteDiscovery *)0)->route) / sizeof(((meshtastic_RouteDiscovery *)0)->route[0]) @@ -49,12 +50,23 @@ class TraceRouteModule : public ProtobufModule, virtual int32_t runOnce() override; private: + void setResultText(const String &text); + void clearResultLines(); +#if HAS_SCREEN + void rebuildResultLines(OLEDDisplay *display); +#endif // Call to add unknown hops (e.g. when a node couldn't decrypt it) to the route based on hopStart and current hopLimit void insertUnknownHops(meshtastic_MeshPacket &p, meshtastic_RouteDiscovery *r, bool isTowardsDestination); // Call to add your ID to the route array of a RouteDiscovery message void appendMyIDandSNR(meshtastic_RouteDiscovery *r, float snr, bool isTowardsDestination, bool SNRonly); + // Update next-hops in the routing table based on the returned route + void updateNextHops(meshtastic_MeshPacket &p, meshtastic_RouteDiscovery *r); + + // Helper to update next-hop for a single node + void maybeSetNextHop(NodeNum target, uint8_t nextHopByte); + /* Call to print the route array of a RouteDiscovery message. Set origin to where the request came from. Set dest to the ID of its destination, or NODENUM_BROADCAST if it has not yet arrived there. */ @@ -68,6 +80,8 @@ class TraceRouteModule : public ProtobufModule, unsigned long trackingTimeoutMs = 10000; String bannerText; String resultText; + std::vector resultLines; + bool resultLinesDirty = false; NodeNum tracingNode = 0; bool initialized = false; }; diff --git a/src/modules/esp32/PaxcounterModule.cpp b/src/modules/esp32/PaxcounterModule.cpp index 8b1fc5302..9c25177bc 100644 --- a/src/modules/esp32/PaxcounterModule.cpp +++ b/src/modules/esp32/PaxcounterModule.cpp @@ -141,6 +141,7 @@ void PaxcounterModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiState *state display->drawStringf(display->getWidth() / 2 + x, graphics::getTextPositions(display)[line++], buffer, "WiFi: %d\nBLE: %d\nUptime: %ds", count_from_libpax.wifi_count, count_from_libpax.ble_count, millis() / 1000); + graphics::drawCommonFooter(display, x, y); } #endif // HAS_SCREEN diff --git a/src/motion/BMX160Sensor.cpp b/src/motion/BMX160Sensor.cpp index 003ee850c..5888c20be 100755 --- a/src/motion/BMX160Sensor.cpp +++ b/src/motion/BMX160Sensor.cpp @@ -115,7 +115,13 @@ int32_t BMX160Sensor::runOnce() void BMX160Sensor::calibrate(uint16_t forSeconds) { #if !defined(MESHTASTIC_EXCLUDE_SCREEN) + sBmx160SensorData_t magAccel; + sBmx160SensorData_t gAccel; LOG_DEBUG("BMX160 calibration started for %is", forSeconds); + sensor.getAllData(&magAccel, NULL, &gAccel); + highestX = magAccel.x, lowestX = magAccel.x; + highestY = magAccel.y, lowestY = magAccel.y; + highestZ = magAccel.z, lowestZ = magAccel.z; doCalibration = true; uint16_t calibrateFor = forSeconds * 1000; // calibrate for seconds provided @@ -127,4 +133,4 @@ void BMX160Sensor::calibrate(uint16_t forSeconds) #endif -#endif \ No newline at end of file +#endif diff --git a/src/motion/ICM20948Sensor.cpp b/src/motion/ICM20948Sensor.cpp index 76ba8e8cf..9455eafe0 100755 --- a/src/motion/ICM20948Sensor.cpp +++ b/src/motion/ICM20948Sensor.cpp @@ -47,6 +47,21 @@ int32_t ICM20948Sensor::runOnce() int32_t ICM20948Sensor::runOnce() { #if !defined(MESHTASTIC_EXCLUDE_SCREEN) && HAS_SCREEN +#if defined(MUZI_BASE) // temporarily gated to single device due to feature freeze + if (screen && !screen->isScreenOn() && !config.display.wake_on_tap_or_motion && !config.device.double_tap_as_button_press) { + if (!isAsleep) { + LOG_DEBUG("sleeping IMU"); + sensor->sleep(true); + isAsleep = true; + } + return MOTION_SENSOR_CHECK_INTERVAL_MS; + } + if (isAsleep) { + sensor->sleep(false); + isAsleep = false; + } +#endif + float magX = 0, magY = 0, magZ = 0; if (sensor->dataReady()) { sensor->getAGMT(); @@ -156,7 +171,20 @@ int32_t ICM20948Sensor::runOnce() void ICM20948Sensor::calibrate(uint16_t forSeconds) { #if !defined(MESHTASTIC_EXCLUDE_SCREEN) && HAS_SCREEN + LOG_DEBUG("Old calibration data: highestX = %f, lowestX = %f, highestY = %f, lowestY = %f, highestZ = %f, lowestZ = %f", + highestX, lowestX, highestY, lowestY, highestZ, lowestZ); LOG_DEBUG("BMX160 calibration started for %is", forSeconds); + if (sensor->dataReady()) { + sensor->getAGMT(); + highestX = sensor->agmt.mag.axes.x; + lowestX = sensor->agmt.mag.axes.x; + highestY = sensor->agmt.mag.axes.y; + lowestY = sensor->agmt.mag.axes.y; + highestZ = sensor->agmt.mag.axes.z; + lowestZ = sensor->agmt.mag.axes.z; + } else { + highestX = 0, lowestX = 0, highestY = 0, lowestY = 0, highestZ = 0, lowestZ = 0; + } doCalibration = true; uint16_t calibrateFor = forSeconds * 1000; // calibrate for seconds provided @@ -295,4 +323,4 @@ bool ICM20948Singleton::setWakeOnMotion() return true; } -#endif \ No newline at end of file +#endif diff --git a/src/motion/ICM20948Sensor.h b/src/motion/ICM20948Sensor.h index 27ce4f451..a9b7b69d0 100755 --- a/src/motion/ICM20948Sensor.h +++ b/src/motion/ICM20948Sensor.h @@ -82,7 +82,13 @@ class ICM20948Sensor : public MotionSensor private: ICM20948Singleton *sensor = nullptr; bool showingScreen = false; +#ifdef MUZI_BASE + bool isAsleep = false; + float highestX = 449.000000, lowestX = -140.000000, highestY = 422.000000, lowestY = -232.000000, highestZ = 749.000000, + lowestZ = 98.000000; +#else float highestX = 0, lowestX = 0, highestY = 0, lowestY = 0, highestZ = 0, lowestZ = 0; +#endif public: explicit ICM20948Sensor(ScanI2C::FoundDevice foundDevice); diff --git a/src/motion/MotionSensor.cpp b/src/motion/MotionSensor.cpp index b00460aff..d0bfe4e2c 100755 --- a/src/motion/MotionSensor.cpp +++ b/src/motion/MotionSensor.cpp @@ -69,7 +69,8 @@ void MotionSensor::wakeScreen() { if (powerFSM.getState() == &stateDARK) { LOG_DEBUG("Motion wakeScreen detected"); - powerFSM.trigger(EVENT_INPUT); + if (config.display.wake_on_tap_or_motion) + powerFSM.trigger(EVENT_INPUT); } } @@ -87,4 +88,4 @@ void MotionSensor::buttonPress() {} #endif -#endif \ No newline at end of file +#endif diff --git a/src/mqtt/MQTT.cpp b/src/mqtt/MQTT.cpp index 33887557f..7c33f0360 100644 --- a/src/mqtt/MQTT.cpp +++ b/src/mqtt/MQTT.cpp @@ -51,6 +51,7 @@ constexpr int reconnectMax = 5; static uint8_t bytes[meshtastic_MqttClientProxyMessage_size + 30]; // 12 for channel name and 16 for nodeid static bool isMqttServerAddressPrivate = false; +static bool isConnected = false; inline void onReceiveProto(char *topic, byte *payload, size_t length) { @@ -59,17 +60,40 @@ inline void onReceiveProto(char *topic, byte *payload, size_t length) LOG_ERROR("Invalid MQTT service envelope, topic %s, len %u!", topic, length); return; } + const meshtastic_Channel &ch = channels.getByName(e.channel_id); + // Find channel by channel_id and check downlink_enabled + if (!(strcmp(e.channel_id, "PKI") == 0 || + (strcmp(e.channel_id, channels.getGlobalId(ch.index)) == 0 && ch.settings.downlink_enabled))) { + return; + } + + bool anyChannelHasDownlink = false; + size_t numChan = channels.getNumChannels(); + for (size_t i = 0; i < numChan; ++i) { + const auto &c = channels.getByIndex(i); + if (c.settings.downlink_enabled) { + anyChannelHasDownlink = true; + break; + } + } + + if (strcmp(e.channel_id, "PKI") == 0 && !anyChannelHasDownlink) { + return; + } // Generate node ID from nodenum for comparison std::string nodeId = nodeDB->getNodeId(); if (strcmp(e.gateway_id, nodeId.c_str()) == 0) { // Generate an implicit ACK towards ourselves (handled and processed only locally!) for this message. // We do this because packets are not rebroadcasted back into MQTT anymore and we assume that at least one node // receives it when we get our own packet back. Then we'll stop our retransmissions. - if (isFromUs(e.packet)) - routingModule->sendAckNak(meshtastic_Routing_Error_NONE, getFrom(e.packet), e.packet->id, ch.index); - else + if (isFromUs(e.packet)) { + auto pAck = routingModule->allocAckNak(meshtastic_Routing_Error_NONE, getFrom(e.packet), e.packet->id, ch.index); + pAck->transport_mechanism = meshtastic_MeshPacket_TransportMechanism_TRANSPORT_MQTT; + router->sendLocal(pAck); + } else { LOG_INFO("Ignore downlink message we originally sent"); + } return; } if (isFromUs(e.packet)) { @@ -77,11 +101,6 @@ inline void onReceiveProto(char *topic, byte *payload, size_t length) return; } - // Find channel by channel_id and check downlink_enabled - if (!(strcmp(e.channel_id, "PKI") == 0 || - (strcmp(e.channel_id, channels.getGlobalId(ch.index)) == 0 && ch.settings.downlink_enabled))) { - return; - } LOG_INFO("Received MQTT topic %s, len=%u", topic, length); if (e.packet->hop_limit > HOP_MAX || e.packet->hop_start > HOP_MAX) { LOG_INFO("Invalid hop_limit(%u) or hop_start(%u)", e.packet->hop_limit, e.packet->hop_start); @@ -305,8 +324,10 @@ bool connectPubSub(const PubSubConfig &config, PubSubClient &pubSub, Client &cli std::string nodeId = nodeDB->getNodeId(); const bool connected = pubSub.connect(nodeId.c_str(), config.mqttUsername, config.mqttPassword); if (connected) { + isConnected = true; LOG_INFO("MQTT connected"); } else { + isConnected = false; LOG_WARN("Failed to connect to MQTT server"); } return connected; @@ -492,6 +513,7 @@ bool MQTT::publish(const char *topic, const uint8_t *payload, size_t length, boo void MQTT::reconnect() { + isConnected = false; if (wantsLink()) { if (moduleConfig.mqtt.proxy_to_client_enabled) { LOG_INFO("MQTT connect via client proxy instead"); @@ -519,7 +541,7 @@ void MQTT::reconnect() runASAP = true; reconnectCount = 0; isMqttServerAddressPrivate = isPrivateIpAddress(clientConnection->remoteIP()); - + isConnected = true; publishNodeInfo(); sendSubscriptions(); } else { @@ -676,6 +698,9 @@ void MQTT::publishQueuedMessages() if (mqttQueue.isEmpty()) return; + if (!moduleConfig.mqtt.proxy_to_client_enabled && !isConnected) + return; + LOG_DEBUG("Publish enqueued MQTT message"); const std::unique_ptr entry(mqttQueue.dequeuePtr(0)); LOG_INFO("publish %s, %u bytes from queue", entry->topic.c_str(), entry->envBytes.size()); @@ -880,4 +905,4 @@ void MQTT::perhapsReportToMap() // Update the last report time last_report_to_map = millis(); -} \ No newline at end of file +} diff --git a/src/nimble/NimbleBluetooth.cpp b/src/nimble/NimbleBluetooth.cpp index 4b0c33609..3b98eca3d 100644 --- a/src/nimble/NimbleBluetooth.cpp +++ b/src/nimble/NimbleBluetooth.cpp @@ -3,12 +3,15 @@ #include "BluetoothCommon.h" #include "NimbleBluetooth.h" #include "PowerFSM.h" +#include "StaticPointerQueue.h" +#include "concurrency/OSThread.h" #include "main.h" #include "mesh/PhoneAPI.h" #include "mesh/mesh-pb-constants.h" #include "sleep.h" #include +#include #include #ifdef NIMBLE_TWO @@ -17,13 +20,14 @@ #include "PowerStatus.h" #endif -#if defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32C6) #if defined(CONFIG_NIMBLE_CPP_IDF) #include "host/ble_gap.h" #else #include "nimble/nimble/host/include/host/ble_gap.h" #endif +#if defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32C6) + namespace { constexpr uint16_t kPreferredBleMtu = 517; @@ -32,45 +36,276 @@ constexpr uint16_t kPreferredBleTxTimeUs = (kPreferredBleTxOctets + 14) * 8; } // namespace #endif +// Debugging options: careful, they slow things down quite a bit! +// #define DEBUG_NIMBLE_ON_READ_TIMING // uncomment to time onRead duration +// #define DEBUG_NIMBLE_ON_WRITE_TIMING // uncomment to time onWrite duration +// #define DEBUG_NIMBLE_NOTIFY // uncomment to enable notify logging + +#define NIMBLE_BLUETOOTH_TO_PHONE_QUEUE_SIZE 3 +#define NIMBLE_BLUETOOTH_FROM_PHONE_QUEUE_SIZE 3 + NimBLECharacteristic *fromNumCharacteristic; NimBLECharacteristic *BatteryCharacteristic; NimBLECharacteristic *logRadioCharacteristic; NimBLEServer *bleServer; static bool passkeyShowing; +static std::atomic nimbleBluetoothConnHandle{BLE_HS_CONN_HANDLE_NONE}; // BLE_HS_CONN_HANDLE_NONE means "no connection" class BluetoothPhoneAPI : public PhoneAPI, public concurrency::OSThread { + /* + CAUTION: There's a lot going on here and lots of room to break things. + + This NimbleBluetooth.cpp file does some tricky synchronization between the NimBLE FreeRTOS task (which runs the onRead and + onWrite callbacks) and the main task (which runs runOnce and the rest of PhoneAPI). + + The main idea is to add a little bit of synchronization here to make it so that the rest of the codebase doesn't have to + know about concurrency and mutexes, and can just run happily ever after as a cooperative multitasking OSThread system, where + locking isn't something that anyone has to worry about too much! :) + + We achieve this by having some queues and mutexes in this file only, and ensuring that all calls to getFromRadio and + handleToRadio are only made from the main FreeRTOS task. This way, the rest of the codebase doesn't have to worry about + being run concurrently, which would make everything else much much much more complicated. + + PHONE -> RADIO: + - [NimBLE FreeRTOS task:] onWrite callback holds fromPhoneMutex and pushes received packets into fromPhoneQueue. + - [Main task:] runOnceHandleFromPhoneQueue in main task holds fromPhoneMutex, pulls packets from fromPhoneQueue, and calls + handleToRadio **in main task**. + + RADIO -> PHONE: + - [NimBLE FreeRTOS task:] onRead callback sets onReadCallbackIsWaitingForData flag and polls in a busy loop. (unless + there's already a packet waiting in toPhoneQueue) + - [Main task:] runOnceHandleToPhoneQueue sees onReadCallbackIsWaitingForData flag, calls getFromRadio **in main task** to + get packets from radio, holds toPhoneMutex, pushes the packet into toPhoneQueue, and clears the + onReadCallbackIsWaitingForData flag. + - [NimBLE FreeRTOS task:] onRead callback sees that the onReadCallbackIsWaitingForData flag cleared, holds toPhoneMutex, + pops the packet from toPhoneQueue, and returns it to NimBLE. + + MUTEXES: + - fromPhoneMutex protects fromPhoneQueue and fromPhoneQueueSize + - toPhoneMutex protects toPhoneQueue, toPhoneQueueByteSizes, and toPhoneQueueSize + + ATOMICS: + - fromPhoneQueueSize is only increased by onWrite, and only decreased by runOnceHandleFromPhoneQueue (or onDisconnect). + - toPhoneQueueSize is only increased by runOnceHandleToPhoneQueue, and only decreased by onRead (or onDisconnect). + - onReadCallbackIsWaitingForData is a flag. It's only set by onRead, and only cleared by runOnceHandleToPhoneQueue (or + onDisconnect). + + PRELOADING: see comments in runOnceToPhoneCanPreloadNextPacket about when it's safe to preload packets from getFromRadio. + + BLE CONNECTION PARAMS: + - During config, we request a high-throughput, low-latency BLE connection for speed. + - After config, we switch to a lower-power BLE connection for steady-state use to extend battery life. + + MEMORY MANAGEMENT: + - We keep packets on the stack and do not allocate heap. + - We use std::array for fromPhoneQueue and toPhoneQueue to avoid mallocs and frees across FreeRTOS tasks. + - Yes, we have to do some copy operations on pop because of this, but it's worth it to avoid cross-task memory management. + + NOTIFY IS BROKEN: + - Adding NIMBLE_PROPERTY::NOTIFY to FromRadioCharacteristic appears to break things. It is NOT backwards compatible. + + ZERO-SIZE READS: + - Returning a zero-size read from onRead breaks some clients during the config phase. So we have to block onRead until we + have data. + - During the STATE_SEND_PACKETS phase, it's totally OK to return zero-size reads, as clients are expected to do reads + until they get a 0-byte response. + + CROSS-TASK WAKEUP: + - If you call: bluetoothPhoneAPI->setIntervalFromNow(0); to schedule immediate processing of new data, + - Then you should also call: concurrency::mainDelay.interrupt(); to wake up the main loop if it's sleeping. + - Otherwise, you're going to wait ~100ms or so until the main loop wakes up from some other cause. + */ + public: - BluetoothPhoneAPI() : concurrency::OSThread("NimbleBluetooth") { nimble_queue.resize(3); } - std::vector nimble_queue; - std::mutex nimble_mutex; - uint8_t queue_size = 0; - uint8_t fromRadioBytes[meshtastic_FromRadio_size] = {0}; - size_t numBytes = 0; - bool hasChecked = false; - bool phoneWants = false; + BluetoothPhoneAPI() : concurrency::OSThread("NimbleBluetooth") { api_type = TYPE_BLE; } + + /* Packets from phone (BLE onWrite callback) */ + std::mutex fromPhoneMutex; + std::atomic fromPhoneQueueSize{0}; + // We use array here (and pay the cost of memcpy) to avoid dynamic memory allocations and frees across FreeRTOS tasks. + std::array fromPhoneQueue{}; + + /* Packets to phone (BLE onRead callback) */ + std::mutex toPhoneMutex; + std::atomic toPhoneQueueSize{0}; + // We use array here (and pay the cost of memcpy) to avoid dynamic memory allocations and frees across FreeRTOS tasks. + std::array, NIMBLE_BLUETOOTH_TO_PHONE_QUEUE_SIZE> toPhoneQueue{}; + std::array toPhoneQueueByteSizes{}; + // The onReadCallbackIsWaitingForData flag provides synchronization between the NimBLE task's onRead callback and our main + // task's runOnce. It's only set by onRead, and only cleared by runOnce. + std::atomic onReadCallbackIsWaitingForData{false}; + + /* Statistics/logging helpers */ + std::atomic readCount{0}; + std::atomic notifyCount{0}; + std::atomic writeCount{0}; protected: virtual int32_t runOnce() override { - std::lock_guard guard(nimble_mutex); - if (queue_size > 0) { - for (uint8_t i = 0; i < queue_size; i++) { - handleToRadio(nimble_queue.at(i).data(), nimble_queue.at(i).length()); - } - LOG_DEBUG("Queue_size %u", queue_size); - queue_size = 0; - } - if (!hasChecked && phoneWants) { - // Pull fresh data while we're outside of the NimBLE callback context. - numBytes = getFromRadio(fromRadioBytes); - hasChecked = true; + while (runOnceHasWorkToDo()) { + /* + PROCESS fromPhoneQueue BEFORE toPhoneQueue: + + In normal STATE_SEND_PACKETS operation, it's unlikely that we'll have both writes and reads to process at the same + time, because either onWrite or onRead will trigger this runOnce. And in STATE_SEND_PACKETS, it's generally ok to + service either the reads or writes first. + + However, during the initial setup wantConfig packet, the clients send a write and immediately send a read, and they + expect the read will respond to the write. (This also happens when a client goes from STATE_SEND_PACKETS back to + another wantConfig, like the iOS client does when requesting the nodedb after requesting the main config only.) + + So it's safest to always service writes (fromPhoneQueue) before reads (toPhoneQueue), so that any "synchronous" + write-then-read sequences from the client work as expected, even if this means we block onRead for a while: this is + what the client wants! + */ + + // PHONE -> RADIO: + runOnceHandleFromPhoneQueue(); // pull data from onWrite to handleToRadio + + // RADIO -> PHONE: + runOnceHandleToPhoneQueue(); // push data from getFromRadio to onRead } // the run is triggered via NimbleBluetoothToRadioCallback and NimbleBluetoothFromRadioCallback return INT32_MAX; } + + virtual void onConfigStart() override + { + LOG_INFO("BLE onConfigStart"); + + // Prefer high throughput during config/setup, at the cost of high power consumption (for a few seconds) + if (bleServer && isConnected()) { + uint16_t conn_handle = nimbleBluetoothConnHandle.load(); + if (conn_handle != BLE_HS_CONN_HANDLE_NONE) { + requestHighThroughputConnection(conn_handle); + } + } + } + + virtual void onConfigComplete() override + { + LOG_INFO("BLE onConfigComplete"); + + // Switch to lower power consumption BLE connection params for steady-state use after config/setup is complete + if (bleServer && isConnected()) { + uint16_t conn_handle = nimbleBluetoothConnHandle.load(); + if (conn_handle != BLE_HS_CONN_HANDLE_NONE) { + requestLowerPowerConnection(conn_handle); + } + } + } + + bool runOnceHasWorkToDo() { return runOnceHasWorkToPhone() || runOnceHasWorkFromPhone(); } + + bool runOnceHasWorkToPhone() { return onReadCallbackIsWaitingForData || runOnceToPhoneCanPreloadNextPacket(); } + + bool runOnceToPhoneCanPreloadNextPacket() + { + /* + * PRELOADING getFromRadio RESPONSES: + * + * It's not safe to preload packets if we're in STATE_SEND_PACKETS, because there may be a while between the time we call + * getFromRadio and when the client actually reads it. If the connection drops in that time, we might lose that packet + * forever. In STATE_SEND_PACKETS, if we wait for onRead before we call getFromRadio, we minimize the time window where + * the client might disconnect before completing the read. + * + * However, if we're in the setup states (sending config, nodeinfo, etc), it's safe and beneficial to preload packets into + * toPhoneQueue because the client will just reconnect after a disconnect, losing nothing. + */ + + if (!isConnected()) { + return false; + } else if (isSendingPackets()) { + // If we're in STATE_SEND_PACKETS, we must wait for onRead before calling getFromRadio. + return false; + } else { + // In other states, we can preload as long as there's space in the toPhoneQueue. + return toPhoneQueueSize < NIMBLE_BLUETOOTH_TO_PHONE_QUEUE_SIZE; + } + } + + void runOnceHandleToPhoneQueue() + { + // Stack buffer for getFromRadio packet + uint8_t fromRadioBytes[meshtastic_FromRadio_size] = {0}; + size_t numBytes = 0; + + if (onReadCallbackIsWaitingForData || runOnceToPhoneCanPreloadNextPacket()) { + numBytes = getFromRadio(fromRadioBytes); + + if (numBytes == 0) { + /* + Client expected a read, but we have nothing to send. + + In STATE_SEND_PACKETS, it is 100% OK to return a 0-byte response, as we expect clients to do read beyond + notifies regularly, to make sure they have nothing else to read. + + In other states, this is fine **so long as we've already processed pending onWrites first**, because the client + may requesting wantConfig and immediately doing a read. + */ + } else { + // Push to toPhoneQueue, protected by toPhoneMutex. Hold the mutex as briefly as possible. + if (toPhoneQueueSize < NIMBLE_BLUETOOTH_TO_PHONE_QUEUE_SIZE) { + // Note: the comparison above is safe without a mutex because we are the only method that *increases* + // toPhoneQueueSize. (It's okay if toPhoneQueueSize *decreases* in the NimBLE task meanwhile.) + + { // scope for toPhoneMutex mutex + std::lock_guard guard(toPhoneMutex); + size_t storeAtIndex = toPhoneQueueSize.load(); + memcpy(toPhoneQueue[storeAtIndex].data(), fromRadioBytes, numBytes); + toPhoneQueueByteSizes[storeAtIndex] = numBytes; + toPhoneQueueSize++; + } +#ifdef DEBUG_NIMBLE_ON_READ_TIMING + LOG_DEBUG("BLE getFromRadio returned numBytes=%u, pushed toPhoneQueueSize=%u", numBytes, + toPhoneQueueSize.load()); +#endif + } else { + // Shouldn't happen because the onRead callback shouldn't be waiting if the queue is full! + LOG_ERROR("Shouldn't happen! Drop FromRadio packet, toPhoneQueue full (%u bytes)", numBytes); + } + } + + // Clear the onReadCallbackIsWaitingForData flag so onRead knows it can proceed. + onReadCallbackIsWaitingForData = false; // only clear this flag AFTER the push + } + } + + bool runOnceHasWorkFromPhone() { return fromPhoneQueueSize > 0; } + + void runOnceHandleFromPhoneQueue() + { + // Handle packets we received from onWrite from the phone. + if (fromPhoneQueueSize > 0) { + // Note: the comparison above is safe without a mutex because we are the only method that *decreases* + // fromPhoneQueueSize. (It's okay if fromPhoneQueueSize *increases* in the NimBLE task meanwhile.) + + LOG_DEBUG("NimbleBluetooth: handling ToRadio packet, fromPhoneQueueSize=%u", fromPhoneQueueSize.load()); + + // Pop the front of fromPhoneQueue, holding the mutex only briefly while we pop. + NimBLEAttValue val; + { // scope for fromPhoneMutex mutex + std::lock_guard guard(fromPhoneMutex); + val = fromPhoneQueue[0]; + + // Shift the rest of the queue down + for (uint8_t i = 1; i < fromPhoneQueueSize; i++) { + fromPhoneQueue[i - 1] = fromPhoneQueue[i]; + } + + // Safe decrement due to onDisconnect + if (fromPhoneQueueSize > 0) + fromPhoneQueueSize--; + } + + handleToRadio(val.data(), val.length()); + } + } + /** * Subclasses can use this as a hook to provide custom notifications for their transport (i.e. bluetooth notifies) */ @@ -78,14 +313,22 @@ class BluetoothPhoneAPI : public PhoneAPI, public concurrency::OSThread { PhoneAPI::onNowHasData(fromRadioNum); + int currentNotifyCount = notifyCount.fetch_add(1); + uint8_t cc = bleServer->getConnectedCount(); - LOG_DEBUG("BLE notify fromNum: %d connections: %d", fromRadioNum, cc); + +#ifdef DEBUG_NIMBLE_NOTIFY + // This logging slows things down when there are lots of packets going to the phone, like initial connection: + LOG_DEBUG("BLE notify(%d) fromNum: %d connections: %d", currentNotifyCount, fromRadioNum, cc); +#endif uint8_t val[4]; put_le32(val, fromRadioNum); fromNumCharacteristic->setValue(val, sizeof(val)); #ifdef NIMBLE_TWO + // NOTE: I don't have any NIMBLE_TWO devices, but this line makes me suspicious, and I suspect it needs to just be + // notify(). fromNumCharacteristic->notify(val, sizeof(val), BLE_HS_CONN_HANDLE_NONE); #else fromNumCharacteristic->notify(); @@ -94,6 +337,54 @@ class BluetoothPhoneAPI : public PhoneAPI, public concurrency::OSThread /// Check the current underlying physical link to see if the client is currently connected virtual bool checkIsConnected() { return bleServer && bleServer->getConnectedCount() > 0; } + + void requestHighThroughputConnection(uint16_t conn_handle) + { + /* Request a lower-latency, higher-throughput BLE connection. + + This comes at the cost of higher power consumption, so we may want to only use this for initial setup, and then switch to + a slower mode. + + See https://developer.apple.com/library/archive/qa/qa1931/_index.html for formulas to calculate values, iOS/macOS + constraints, and recommendations. (Android doesn't have specific constraints, but seems to be compatible with the Apple + recommendations.) + + Selected settings: + minInterval (units of 1.25ms): 7.5ms = 6 (lower than the Apple recommended minimum, but allows faster when the client + supports it.) + maxInterval (units of 1.25ms): 15ms = 12 + latency: 0 (don't allow peripheral to skip any connection events) + timeout (units of 10ms): 6 seconds = 600 (supervision timeout) + + These are intentionally aggressive to prioritize speed over power consumption, but are only used for a few seconds at + setup. Not worth adjusting much. + */ + LOG_INFO("BLE requestHighThroughputConnection"); + bleServer->updateConnParams(conn_handle, 6, 12, 0, 600); + } + + void requestLowerPowerConnection(uint16_t conn_handle) + { + /* Request a lower power consumption (but higher latency, lower throughput) BLE connection. + + This is suitable for steady-state operation after initial setup is complete. + + See https://developer.apple.com/library/archive/qa/qa1931/_index.html for formulas to calculate values, iOS/macOS + constraints, and recommendations. (Android doesn't have specific constraints, but seems to be compatible with the Apple + recommendations.) + + Selected settings: + minInterval (units of 1.25ms): 30ms = 24 + maxInterval (units of 1.25ms): 50ms = 40 + latency: 2 (allow peripheral to skip up to 2 consecutive connection events to save power) + timeout (units of 10ms): 6 seconds = 600 (supervision timeout) + + There's an opportunity for tuning here if anyone wants to do some power measurements, but these should allow 10-20 packets + per second. + */ + LOG_INFO("BLE requestLowerPowerConnection"); + bleServer->updateConnParams(conn_handle, 24, 40, 2, 600); + } }; static BluetoothPhoneAPI *bluetoothPhoneAPI; @@ -113,18 +404,45 @@ class NimbleBluetoothToRadioCallback : public NimBLECharacteristicCallbacks #endif { + // CAUTION: This callback runs in the NimBLE task!!! Don't do anything except communicate with the main task's runOnce. + // Assumption: onWrite is serialized by NimBLE, so we don't need to lock here against multiple concurrent onWrite calls. + + int currentWriteCount = bluetoothPhoneAPI->writeCount.fetch_add(1); + +#ifdef DEBUG_NIMBLE_ON_WRITE_TIMING + int startMillis = millis(); + LOG_DEBUG("BLE onWrite(%d): start millis=%d", currentWriteCount, startMillis); +#endif + auto val = pCharacteristic->getValue(); if (memcmp(lastToRadio, val.data(), val.length()) != 0) { - if (bluetoothPhoneAPI->queue_size < 3) { + if (bluetoothPhoneAPI->fromPhoneQueueSize < NIMBLE_BLUETOOTH_FROM_PHONE_QUEUE_SIZE) { + // Note: the comparison above is safe without a mutex because we are the only method that *increases* + // fromPhoneQueueSize. (It's okay if fromPhoneQueueSize *decreases* in the main task meanwhile.) memcpy(lastToRadio, val.data(), val.length()); - std::lock_guard guard(bluetoothPhoneAPI->nimble_mutex); - bluetoothPhoneAPI->nimble_queue.at(bluetoothPhoneAPI->queue_size) = val; - bluetoothPhoneAPI->queue_size++; + + { // scope for fromPhoneMutex mutex + // Append to fromPhoneQueue, protected by fromPhoneMutex. Hold the mutex as briefly as possible. + std::lock_guard guard(bluetoothPhoneAPI->fromPhoneMutex); + bluetoothPhoneAPI->fromPhoneQueue.at(bluetoothPhoneAPI->fromPhoneQueueSize) = val; + bluetoothPhoneAPI->fromPhoneQueueSize++; + } + + // After releasing the mutex, schedule immediate processing of the new packet. bluetoothPhoneAPI->setIntervalFromNow(0); + concurrency::mainDelay.interrupt(); // wake up main loop if sleeping + +#ifdef DEBUG_NIMBLE_ON_WRITE_TIMING + int finishMillis = millis(); + LOG_DEBUG("BLE onWrite(%d): append to fromPhoneQueue took %u ms. numBytes=%d", currentWriteCount, + finishMillis - startMillis, val.length()); +#endif + } else { + LOG_WARN("BLE onWrite(%d): Drop ToRadio packet, fromPhoneQueue full (%u bytes)", currentWriteCount, val.length()); } } else { - LOG_DEBUG("Drop duplicate ToRadio packet (%u bytes)", val.length()); + LOG_DEBUG("BLE onWrite(%d): Drop duplicate ToRadio packet (%u bytes)", currentWriteCount, val.length()); } } }; @@ -137,32 +455,107 @@ class NimbleBluetoothFromRadioCallback : public NimBLECharacteristicCallbacks virtual void onRead(NimBLECharacteristic *pCharacteristic) #endif { - bluetoothPhoneAPI->phoneWants = true; - bluetoothPhoneAPI->setIntervalFromNow(0); - std::lock_guard guard(bluetoothPhoneAPI->nimble_mutex); + // CAUTION: This callback runs in the NimBLE task!!! Don't do anything except communicate with the main task's runOnce. - if (!bluetoothPhoneAPI->hasChecked) { - // Fetch payload on demand; prefetch keeps this fast for the first read. - bluetoothPhoneAPI->numBytes = bluetoothPhoneAPI->getFromRadio(bluetoothPhoneAPI->fromRadioBytes); - bluetoothPhoneAPI->hasChecked = true; - } + int currentReadCount = bluetoothPhoneAPI->readCount.fetch_add(1); + int tries = 0; + int startMillis = millis(); - pCharacteristic->setValue(bluetoothPhoneAPI->fromRadioBytes, bluetoothPhoneAPI->numBytes); - - if (bluetoothPhoneAPI->numBytes != 0) { -#ifdef NIMBLE_TWO - // Notify immediately so subscribed clients see the packet without an extra read. - pCharacteristic->notify(bluetoothPhoneAPI->fromRadioBytes, bluetoothPhoneAPI->numBytes, BLE_HS_CONN_HANDLE_NONE); -#else - pCharacteristic->notify(); +#ifdef DEBUG_NIMBLE_ON_READ_TIMING + LOG_DEBUG("BLE onRead(%d): start millis=%d", currentReadCount, startMillis); #endif + + // Is there a packet ready to go, or do we have to ask the main task to get one for us? + if (bluetoothPhoneAPI->toPhoneQueueSize > 0) { + // Note: the comparison above is safe without a mutex because we are the only method that *decreases* + // toPhoneQueueSize. (It's okay if toPhoneQueueSize *increases* in the main task meanwhile.) + + // There's already a packet queued. Great! We don't need to wait for onReadCallbackIsWaitingForData. +#ifdef DEBUG_NIMBLE_ON_READ_TIMING + LOG_DEBUG("BLE onRead(%d): packet already waiting, no need to set onReadCallbackIsWaitingForData", currentReadCount); +#endif + } else { + // Tell the main task that we'd like a packet. + bluetoothPhoneAPI->onReadCallbackIsWaitingForData = true; + + // Wait for the main task to produce a packet for us, up to about 20 seconds. + // It normally takes just a few milliseconds, but at initial startup, etc, the main task can get blocked for longer + // doing various setup tasks. + while (bluetoothPhoneAPI->onReadCallbackIsWaitingForData && tries < 4000) { + // Schedule the main task runOnce to run ASAP. + bluetoothPhoneAPI->setIntervalFromNow(0); + concurrency::mainDelay.interrupt(); // wake up main loop if sleeping + + if (!bluetoothPhoneAPI->onReadCallbackIsWaitingForData) { + // we may be able to break even before a delay, if the call to interrupt woke up the main loop and it ran + // already +#ifdef DEBUG_NIMBLE_ON_READ_TIMING + LOG_DEBUG("BLE onRead(%d): broke before delay after %u ms, %d tries", currentReadCount, + millis() - startMillis, tries); +#endif + break; + } + + // This delay happens in the NimBLE FreeRTOS task, which really can't do anything until we get a value back. + // No harm in polling pretty frequently. + delay(tries < 20 ? 1 : 5); + tries++; + + if (tries == 4000) { + LOG_WARN( + "BLE onRead(%d): timeout waiting for data after %u ms, %d tries, giving up and returning 0-size response", + currentReadCount, millis() - startMillis, tries); + } + } } - if (bluetoothPhoneAPI->numBytes != 0) // if we did send something, queue it up right away to reload + // Pop from toPhoneQueue, protected by toPhoneMutex. Hold the mutex as briefly as possible. + uint8_t fromRadioBytes[meshtastic_FromRadio_size] = {0}; // Stack buffer for getFromRadio packet + size_t numBytes = 0; + { // scope for toPhoneMutex mutex + std::lock_guard guard(bluetoothPhoneAPI->toPhoneMutex); + size_t toPhoneQueueSize = bluetoothPhoneAPI->toPhoneQueueSize.load(); + if (toPhoneQueueSize > 0) { + // Copy from the front of the toPhoneQueue + memcpy(fromRadioBytes, bluetoothPhoneAPI->toPhoneQueue[0].data(), bluetoothPhoneAPI->toPhoneQueueByteSizes[0]); + numBytes = bluetoothPhoneAPI->toPhoneQueueByteSizes[0]; + + // Shift the rest of the queue down + for (uint8_t i = 1; i < toPhoneQueueSize; i++) { + memcpy(bluetoothPhoneAPI->toPhoneQueue[i - 1].data(), bluetoothPhoneAPI->toPhoneQueue[i].data(), + bluetoothPhoneAPI->toPhoneQueueByteSizes[i]); + // The above line is similar to: + // bluetoothPhoneAPI->toPhoneQueue[i - 1] = bluetoothPhoneAPI->toPhoneQueue[i] + // but is usually faster because it doesn't have to copy all the trailing bytes beyond + // toPhoneQueueByteSizes[i]. + // + // We deliberately use an array here (and pay the CPU cost of some memcpy) to avoid synchronizing dynamic + // memory allocations and frees across FreeRTOS tasks. + + bluetoothPhoneAPI->toPhoneQueueByteSizes[i - 1] = bluetoothPhoneAPI->toPhoneQueueByteSizes[i]; + } + + // Safe decrement due to onDisconnect + if (bluetoothPhoneAPI->toPhoneQueueSize > 0) + bluetoothPhoneAPI->toPhoneQueueSize--; + } else { + // nothing in the toPhoneQueue; that's fine, and we'll just have numBytes=0. + } + } + +#ifdef DEBUG_NIMBLE_ON_READ_TIMING + int finishMillis = millis(); + LOG_DEBUG("BLE onRead(%d): onReadCallbackIsWaitingForData took %u ms, %d tries. numBytes=%d", currentReadCount, + finishMillis - startMillis, tries, numBytes); +#endif + + pCharacteristic->setValue(fromRadioBytes, numBytes); + + // If we sent something, wake up the main loop if it's sleeping in case there are more packets ready to enqueue. + if (numBytes != 0) { bluetoothPhoneAPI->setIntervalFromNow(0); - bluetoothPhoneAPI->numBytes = 0; - bluetoothPhoneAPI->hasChecked = false; - bluetoothPhoneAPI->phoneWants = false; + concurrency::mainDelay.interrupt(); // wake up main loop if sleeping + } } }; @@ -244,6 +637,13 @@ class NimbleBluetoothServerCallback : public NimBLEServerCallbacks if (screen) screen->endAlert(); } + + // Store the connection handle for future use +#ifdef NIMBLE_TWO + nimbleBluetoothConnHandle = connInfo.getConnHandle(); +#else + nimbleBluetoothConnHandle = desc->conn_handle; +#endif } #ifdef NIMBLE_TWO @@ -251,8 +651,8 @@ class NimbleBluetoothServerCallback : public NimBLEServerCallbacks { LOG_INFO("BLE incoming connection %s", connInfo.getAddress().toString().c_str()); -#if defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32C6) const uint16_t connHandle = connInfo.getConnHandle(); +#if NIMBLE_ENABLE_2M_PHY && (defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32C6)) int phyResult = ble_gap_set_prefered_le_phy(connHandle, BLE_GAP_LE_PHY_2M_MASK, BLE_GAP_LE_PHY_2M_MASK, BLE_GAP_LE_PHY_CODED_ANY); if (phyResult == 0) { @@ -260,6 +660,7 @@ class NimbleBluetoothServerCallback : public NimBLEServerCallbacks } else { LOG_WARN("Failed to prefer 2M PHY for conn %u, rc=%d", connHandle, phyResult); } +#endif int dataLenResult = ble_gap_set_data_len(connHandle, kPreferredBleTxOctets, kPreferredBleTxTimeUs); if (dataLenResult == 0) { @@ -270,9 +671,10 @@ class NimbleBluetoothServerCallback : public NimBLEServerCallbacks LOG_INFO("BLE conn %u initial MTU %u (target %u)", connHandle, connInfo.getMTU(), kPreferredBleMtu); pServer->updateConnParams(connHandle, 6, 12, 0, 200); -#endif } +#endif +#ifdef NIMBLE_TWO virtual void onDisconnect(NimBLEServer *pServer, NimBLEConnInfo &connInfo, int reason) { LOG_INFO("BLE disconnect reason: %d", reason); @@ -290,16 +692,29 @@ class NimbleBluetoothServerCallback : public NimBLEServerCallbacks bluetoothStatus->updateStatus(&newStatus); if (bluetoothPhoneAPI) { - std::lock_guard guard(bluetoothPhoneAPI->nimble_mutex); bluetoothPhoneAPI->close(); - bluetoothPhoneAPI->numBytes = 0; - bluetoothPhoneAPI->queue_size = 0; - bluetoothPhoneAPI->hasChecked = false; - bluetoothPhoneAPI->phoneWants = false; + + { // scope for fromPhoneMutex mutex + std::lock_guard guard(bluetoothPhoneAPI->fromPhoneMutex); + bluetoothPhoneAPI->fromPhoneQueueSize = 0; + } + + bluetoothPhoneAPI->onReadCallbackIsWaitingForData = false; + { // scope for toPhoneMutex mutex + std::lock_guard guard(bluetoothPhoneAPI->toPhoneMutex); + bluetoothPhoneAPI->toPhoneQueueSize = 0; + } + + bluetoothPhoneAPI->readCount = 0; + bluetoothPhoneAPI->notifyCount = 0; + bluetoothPhoneAPI->writeCount = 0; } // Clear the last ToRadio packet buffer to avoid rejecting first packet from new connection memset(lastToRadio, 0, sizeof(lastToRadio)); + + nimbleBluetoothConnHandle = BLE_HS_CONN_HANDLE_NONE; // BLE_HS_CONN_HANDLE_NONE means "no connection" + #ifdef NIMBLE_TWO // Restart Advertising ble->startAdvertising(); @@ -364,16 +779,35 @@ bool NimbleBluetooth::isConnected() int NimbleBluetooth::getRssi() { - if (bleServer && isConnected()) { - auto service = bleServer->getServiceByUUID(MESH_SERVICE_UUID); - uint16_t handle = service->getHandle(); -#ifdef NIMBLE_TWO - return NimBLEDevice::getClientByHandle(handle)->getRssi(); -#else - return NimBLEDevice::getClientByID(handle)->getRssi(); -#endif +#if defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32C6) + if (!bleServer || !isConnected()) { + return 0; // No active BLE connection } - return 0; // FIXME figure out where to source this + + uint16_t connHandle = nimbleBluetoothConnHandle.load(); + + if (connHandle == BLE_HS_CONN_HANDLE_NONE) { + const auto peers = bleServer->getPeerDevices(); + if (!peers.empty()) { + connHandle = peers.front(); + nimbleBluetoothConnHandle = connHandle; + } + } + + if (connHandle == BLE_HS_CONN_HANDLE_NONE) { + return 0; // Connection handle not available yet + } + + int8_t rssi = 0; + const int rc = ble_gap_conn_rssi(connHandle, &rssi); + + if (rc == 0) { + return rssi; + } + LOG_DEBUG("BLE RSSI read failed, rc=%d", rc); +#endif + + return 0; } void NimbleBluetooth::setup() @@ -386,7 +820,7 @@ void NimbleBluetooth::setup() NimBLEDevice::init(getDeviceName()); NimBLEDevice::setPower(ESP_PWR_LVL_P9); -#if defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32C6) +#if NIMBLE_ENABLE_2M_PHY && (defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32C6)) int mtuResult = NimBLEDevice::setMTU(kPreferredBleMtu); if (mtuResult == 0) { LOG_INFO("BLE MTU request set to %u", kPreferredBleMtu); @@ -436,17 +870,15 @@ void NimbleBluetooth::setupService() if (config.bluetooth.mode == meshtastic_Config_BluetoothConfig_PairingMode_NO_PIN) { ToRadioCharacteristic = bleService->createCharacteristic(TORADIO_UUID, NIMBLE_PROPERTY::WRITE); // Allow notifications so phones can stream FromRadio without polling. - FromRadioCharacteristic = - bleService->createCharacteristic(FROMRADIO_UUID, NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::NOTIFY); + FromRadioCharacteristic = bleService->createCharacteristic(FROMRADIO_UUID, NIMBLE_PROPERTY::READ); fromNumCharacteristic = bleService->createCharacteristic(FROMNUM_UUID, NIMBLE_PROPERTY::NOTIFY | NIMBLE_PROPERTY::READ); logRadioCharacteristic = bleService->createCharacteristic(LOGRADIO_UUID, NIMBLE_PROPERTY::NOTIFY | NIMBLE_PROPERTY::READ, 512U); } else { ToRadioCharacteristic = bleService->createCharacteristic( TORADIO_UUID, NIMBLE_PROPERTY::WRITE | NIMBLE_PROPERTY::WRITE_AUTHEN | NIMBLE_PROPERTY::WRITE_ENC); - FromRadioCharacteristic = - bleService->createCharacteristic(FROMRADIO_UUID, NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::READ_AUTHEN | - NIMBLE_PROPERTY::READ_ENC | NIMBLE_PROPERTY::NOTIFY); + FromRadioCharacteristic = bleService->createCharacteristic( + FROMRADIO_UUID, NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::READ_AUTHEN | NIMBLE_PROPERTY::READ_ENC); fromNumCharacteristic = bleService->createCharacteristic(FROMNUM_UUID, NIMBLE_PROPERTY::NOTIFY | NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::READ_AUTHEN | NIMBLE_PROPERTY::READ_ENC); diff --git a/src/platform/esp32/architecture.h b/src/platform/esp32/architecture.h index 53b23124d..085692f96 100644 --- a/src/platform/esp32/architecture.h +++ b/src/platform/esp32/architecture.h @@ -101,8 +101,6 @@ #define HW_VENDOR meshtastic_HardwareModel_T_WATCH_S3 #elif defined(GENIEBLOCKS) #define HW_VENDOR meshtastic_HardwareModel_GENIEBLOCKS -#elif defined(PRIVATE_HW) -#define HW_VENDOR meshtastic_HardwareModel_PRIVATE_HW #elif defined(NANO_G1) #define HW_VENDOR meshtastic_HardwareModel_NANO_G1 #elif defined(M5STACK) @@ -191,6 +189,8 @@ #define HW_VENDOR meshtastic_HardwareModel_CROWPANEL #elif defined(RAK3312) #define HW_VENDOR meshtastic_HardwareModel_RAK3312 +#elif defined(RAK_WISMESH_TAP_V2) +#define HW_VENDOR meshtastic_HardwareModel_WISMESH_TAP_V2 #elif defined(LINK_32) #define HW_VENDOR meshtastic_HardwareModel_LINK_32 #elif defined(T_DECK_PRO) @@ -203,6 +203,8 @@ #define HW_VENDOR meshtastic_HardwareModel_M5STACK_C6L #elif defined(HELTEC_WIRELESS_TRACKER_V2) #define HW_VENDOR meshtastic_HardwareModel_HELTEC_WIRELESS_TRACKER_V2 +#else +#define HW_VENDOR meshtastic_HardwareModel_PRIVATE_HW #endif // ----------------------------------------------------------------------------- diff --git a/src/platform/extra_variants/tbeam_displayshield/variant.cpp b/src/platform/extra_variants/tbeam_displayshield/variant.cpp new file mode 100644 index 000000000..7beac2293 --- /dev/null +++ b/src/platform/extra_variants/tbeam_displayshield/variant.cpp @@ -0,0 +1,43 @@ +#include "configuration.h" + +#ifdef HAS_CST226SE + +#include "TouchDrvCSTXXX.hpp" +#include "input/TouchScreenImpl1.h" +#include + +TouchDrvCSTXXX tsPanel; +static constexpr uint8_t PossibleAddresses[2] = {CST328_ADDR, CST226SE_ADDR_ALT}; +uint8_t i2cAddress = 0; + +bool readTouch(int16_t *x, int16_t *y) +{ + int16_t x_array[1], y_array[1]; + uint8_t touched = tsPanel.getPoint(x_array, y_array, 1); + if (touched > 0) { + *y = x_array[0]; + *x = (TFT_WIDTH - y_array[0]); + // Check bounds + if (*x < 0 || *x >= TFT_WIDTH || *y < 0 || *y >= TFT_HEIGHT) { + return false; + } + return true; // Valid touch detected + } + return false; // No valid touch data +} + +void lateInitVariant() +{ + tsPanel.setTouchDrvModel(TouchDrv_CST226); + for (uint8_t addr : PossibleAddresses) { + if (tsPanel.begin(Wire, addr, I2C_SDA, I2C_SCL)) { + i2cAddress = addr; + LOG_DEBUG("CST226SE init OK at address 0x%02X", addr); + touchScreenImpl1 = new TouchScreenImpl1(TFT_WIDTH, TFT_HEIGHT, readTouch); + touchScreenImpl1->init(); + return; + } + } + LOG_ERROR("CST226SE init failed at all known addresses"); +} +#endif diff --git a/src/platform/nrf52/NRF52Bluetooth.cpp b/src/platform/nrf52/NRF52Bluetooth.cpp index 79eef8f76..4f7fb4776 100644 --- a/src/platform/nrf52/NRF52Bluetooth.cpp +++ b/src/platform/nrf52/NRF52Bluetooth.cpp @@ -48,6 +48,9 @@ class BluetoothPhoneAPI : public PhoneAPI /// Check the current underlying physical link to see if the client is currently connected virtual bool checkIsConnected() override { return Bluefruit.connected(connectionHandle); } + + public: + BluetoothPhoneAPI() { api_type = TYPE_BLE; } }; static BluetoothPhoneAPI *bluetoothPhoneAPI; diff --git a/src/platform/nrf52/architecture.h b/src/platform/nrf52/architecture.h index cee0e5a10..d4699cd8c 100644 --- a/src/platform/nrf52/architecture.h +++ b/src/platform/nrf52/architecture.h @@ -57,6 +57,8 @@ #define HW_VENDOR meshtastic_HardwareModel_NOMADSTAR_METEOR_PRO #elif defined(R1_NEO) #define HW_VENDOR meshtastic_HardwareModel_MUZI_R1_NEO +#elif defined(RAK3401) +#define HW_VENDOR meshtastic_HardwareModel_RAK3401 // MAke sure all custom RAK4630 boards are defined before the generic RAK4630 #elif defined(RAK4630) #define HW_VENDOR meshtastic_HardwareModel_RAK4631 @@ -66,6 +68,10 @@ #define HW_VENDOR meshtastic_HardwareModel_T_ECHO_LITE #elif defined(ELECROW_ThinkNode_M1) #define HW_VENDOR meshtastic_HardwareModel_THINKNODE_M1 +#elif defined(ELECROW_ThinkNode_M3) +#define HW_VENDOR meshtastic_HardwareModel_THINKNODE_M3 +#elif defined(ELECROW_ThinkNode_M6) +#define HW_VENDOR meshtastic_HardwareModel_THINKNODE_M6 #elif defined(NANO_G2_ULTRA) #define HW_VENDOR meshtastic_HardwareModel_NANO_G2_ULTRA #elif defined(CANARYONE) @@ -102,6 +108,8 @@ #define HW_VENDOR meshtastic_HardwareModel_SEEED_WIO_TRACKER_L1 #elif defined(HELTEC_MESH_SOLAR) #define HW_VENDOR meshtastic_HardwareModel_HELTEC_MESH_SOLAR +#elif defined(MUZI_BASE) +#define HW_VENDOR meshtastic_HardwareModel_MUZI_BASE #else #define HW_VENDOR meshtastic_HardwareModel_NRF52_UNKNOWN #endif @@ -126,7 +134,9 @@ #endif +#ifdef PIN_LED1 #define LED_PIN PIN_LED1 // LED1 on nrf52840-DK +#endif #ifdef PIN_BUTTON1 #define BUTTON_PIN PIN_BUTTON1 diff --git a/src/platform/nrf52/main-nrf52.cpp b/src/platform/nrf52/main-nrf52.cpp index 8ce74d5f7..472107229 100644 --- a/src/platform/nrf52/main-nrf52.cpp +++ b/src/platform/nrf52/main-nrf52.cpp @@ -4,6 +4,14 @@ #include #include #include + +#define APP_WATCHDOG_SECS 90 +#define NRFX_WDT_ENABLED 1 +#define NRFX_WDT0_ENABLED 1 +#define NRFX_WDT_CONFIG_NO_IRQ 1 +#include +#include + #include #include #include @@ -14,11 +22,22 @@ #include "error.h" #include "main.h" #include "meshUtils.h" +#include "power.h" + +#include #ifdef BQ25703A_ADDR #include "BQ25713.h" #endif +// Weak empty variant initialization function. +// May be redefined by variant files. +void variant_shutdown() __attribute__((weak)); +void variant_shutdown() {} + +static nrfx_wdt_t nrfx_wdt = NRFX_WDT_INSTANCE(0); +static nrfx_wdt_channel_id nrfx_wdt_channel_id_nrf52_main; + static inline void debugger_break(void) { __asm volatile("bkpt #0x01\n\t" @@ -202,6 +221,15 @@ void checkSDEvents() void nrf52Loop() { + { + static bool watchdog_running = false; + if (!watchdog_running) { + nrfx_wdt_enable(&nrfx_wdt); + watchdog_running = true; + } + } + nrfx_wdt_channel_feed(&nrfx_wdt, nrfx_wdt_channel_id_nrf52_main); + checkSDEvents(); reportLittleFSCorruptionOnce(); } @@ -269,6 +297,22 @@ void nrf52Setup() LOG_DEBUG("Set random seed %u", seed.seed32); randomSeed(seed.seed32); nRFCrypto.end(); + + // Set up nrfx watchdog. Do not enable the watchdog yet (we do that + // the first time through the main loop), so that other threads can + // allocate their own wdt channel to protect themselves from hangs. + nrfx_wdt_config_t wdt0_config = { + .behaviour = NRF_WDT_BEHAVIOUR_PAUSE_SLEEP_HALT, .reload_value = APP_WATCHDOG_SECS * 1000, + // Note: Not using wdt interrupts. + // .interrupt_priority = NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY + }; + nrfx_err_t r = nrfx_wdt_init(&nrfx_wdt, &wdt0_config, + nullptr // Watchdog event handler, not used, we just reset. + ); + assert(r == NRFX_SUCCESS); + + r = nrfx_wdt_channel_alloc(&nrfx_wdt, &nrfx_wdt_channel_id_nrf52_main); + assert(r == NRFX_SUCCESS); } void cpuDeepSleep(uint32_t msecToWake) @@ -291,6 +335,16 @@ void cpuDeepSleep(uint32_t msecToWake) if (Serial1) // A straightforward solution to the wake from deepsleep problem Serial1.end(); #endif + +#ifdef TTGO_T_ECHO + // To power off the T-Echo, the display must be set + // as an input pin; otherwise, there will be leakage current. + pinMode(PIN_EINK_CS, INPUT); + pinMode(PIN_EINK_DC, INPUT); + pinMode(PIN_EINK_RES, INPUT); + pinMode(PIN_EINK_BUSY, INPUT); +#endif + setBluetoothEnable(false); #ifdef RAK4630 @@ -352,6 +406,7 @@ void cpuDeepSleep(uint32_t msecToWake) NRF_GPIO->DIRCLR = (1 << pin); } #endif + variant_shutdown(); // Sleepy trackers or sensors can low power "sleep" // Don't enter this if we're sleeping portMAX_DELAY, since that's a shutdown event @@ -389,6 +444,23 @@ void cpuDeepSleep(uint32_t msecToWake) nrf_gpio_cfg_sense_set(BUTTON_PIN, sense); // Apply SENSE to wake up the device from the deep sleep #endif +#ifdef BATTERY_LPCOMP_INPUT + // Wake up if power rises again + nrf_lpcomp_config_t c; + c.reference = BATTERY_LPCOMP_THRESHOLD; + c.detection = NRF_LPCOMP_DETECT_UP; + c.hyst = NRF_LPCOMP_HYST_NOHYST; + nrf_lpcomp_configure(NRF_LPCOMP, &c); + nrf_lpcomp_input_select(NRF_LPCOMP, BATTERY_LPCOMP_INPUT); + nrf_lpcomp_enable(NRF_LPCOMP); + + battery_adcEnable(); + + nrf_lpcomp_task_trigger(NRF_LPCOMP, NRF_LPCOMP_TASK_START); + while (!nrf_lpcomp_event_check(NRF_LPCOMP, NRF_LPCOMP_EVENT_READY)) + ; +#endif + auto ok = sd_power_system_off(); if (ok != NRF_SUCCESS) { LOG_ERROR("FIXME: Ignoring soft device (EasyDMA pending?) and forcing system-off!"); @@ -420,4 +492,4 @@ void enterDfuMode() #else enterUf2Dfu(); #endif -} \ No newline at end of file +} diff --git a/src/platform/portduino/PortduinoGlue.cpp b/src/platform/portduino/PortduinoGlue.cpp index dbc90f9a4..1b601f9b4 100644 --- a/src/platform/portduino/PortduinoGlue.cpp +++ b/src/platform/portduino/PortduinoGlue.cpp @@ -29,6 +29,7 @@ portduino_config_struct portduino_config; std::ofstream traceFile; +std::ofstream JSONFile; Ch341Hal *ch341Hal = nullptr; char *configPath = nullptr; char *optionMac = nullptr; @@ -37,6 +38,8 @@ bool yamlOnly = false; const char *argp_program_version = optstr(APP_VERSION); +char stdoutBuffer[512]; + // FIXME - move setBluetoothEnable into a HALPlatform class void setBluetoothEnable(bool enable) { @@ -144,6 +147,20 @@ void getMacAddr(uint8_t *dmac) } } +std::string cleanupNameForAutoconf(std::string name) +{ + // Convert spaces -> dashes, lowercase + + std::transform(name.begin(), name.end(), name.begin(), [](unsigned char c) { + if (c == ' ') { + return '-'; + } + return (char)std::tolower(c); + }); + + return name; +} + /** apps run under portduino can optionally define a portduinoSetup() to * use portduino specific init code (such as gpioBind) to setup portduino on their host machine, * before running 'arduino' code. @@ -154,6 +171,9 @@ void portduinoSetup() std::string gpioChipName = "gpiochip"; portduino_config.displayPanel = no_screen; + // Force stdout to be line buffered + setvbuf(stdout, stdoutBuffer, _IOLBF, sizeof(stdoutBuffer)); + if (portduino_config.force_simradio == true) { portduino_config.lora_module = use_simradio; } else if (configPath != nullptr) { @@ -213,6 +233,11 @@ void portduinoSetup() // If LoRa `Module: auto` (default in config.yaml), // attempt to auto config based on Product Strings if (portduino_config.lora_module == use_autoconf) { + bool found_hat = false; + bool found_rak_eeprom = false; + bool found_ch341 = false; + + char hat_vendor[96] = {0}; char autoconf_product[96] = {0}; // Try CH341 try { @@ -222,21 +247,32 @@ void portduinoSetup() ch341Hal->getProductString(autoconf_product, 95); delete ch341Hal; std::cout << "autoconf: Found CH341 device " << autoconf_product << std::endl; + + found_ch341 = true; } catch (...) { std::cout << "autoconf: Could not locate CH341 device" << std::endl; } // Try Pi HAT+ if (strlen(autoconf_product) < 6) { std::cout << "autoconf: Looking for Pi HAT+..." << std::endl; + if (access("/proc/device-tree/hat/vendor", R_OK) == 0) { + std::ifstream hatVendorFile("/proc/device-tree/hat/vendor"); + if (hatVendorFile.is_open()) { + hatVendorFile.read(hat_vendor, 95); + hatVendorFile.close(); + } + } if (access("/proc/device-tree/hat/product", R_OK) == 0) { std::ifstream hatProductFile("/proc/device-tree/hat/product"); if (hatProductFile.is_open()) { hatProductFile.read(autoconf_product, 95); hatProductFile.close(); } - std::cout << "autoconf: Found Pi HAT+ " << autoconf_product << " at /proc/device-tree/hat/product" << std::endl; + std::cout << "autoconf: Found Pi HAT+ " << hat_vendor << " " << autoconf_product << " at /proc/device-tree/hat" + << std::endl; + found_hat = true; } else { - std::cout << "autoconf: Could not locate Pi HAT+ at /proc/device-tree/hat/product" << std::endl; + std::cout << "autoconf: Could not locate Pi HAT+ at /proc/device-tree/hat" << std::endl; } } // attempt to load autoconf data from an EEPROM on 0x50 @@ -292,6 +328,7 @@ void portduinoSetup() autoconf_product[0] = 0x0; } else { std::cout << "autoconf: Found eeprom data " << autoconf_raw << std::endl; + found_rak_eeprom = true; if (mac_start != nullptr) { std::cout << "autoconf: Found mac data " << mac_start << std::endl; if (strlen(mac_start) == 12) @@ -320,12 +357,29 @@ void portduinoSetup() if (strlen(autoconf_product) > 0) { // From configProducts map in PortduinoGlue.h std::string product_config = ""; - try { + + if (configProducts.find(autoconf_product) != configProducts.end()) { product_config = configProducts.at(autoconf_product); - } catch (std::out_of_range &e) { - std::cerr << "autoconf: Unable to find config for " << autoconf_product << std::endl; - exit(EXIT_FAILURE); + } else { + if (found_hat) { + product_config = + cleanupNameForAutoconf("lora-hat-" + std::string(hat_vendor) + "-" + autoconf_product + ".yaml"); + } else if (found_ch341) { + product_config = cleanupNameForAutoconf("lora-usb-" + std::string(autoconf_product) + ".yaml"); + } + + // Don't try to automatically find config for a device with RAK eeprom. + if (found_rak_eeprom) { + std::cerr << "autoconf: Found unknown RAK product " << autoconf_product << std::endl; + exit(EXIT_FAILURE); + } + if (access((portduino_config.available_directory + product_config).c_str(), R_OK) != 0) { + std::cerr << "autoconf: Unable to find config for " << autoconf_product << "(tried " << product_config << ")" + << std::endl; + exit(EXIT_FAILURE); + } } + if (loadConfig((portduino_config.available_directory + product_config).c_str())) { std::cout << "autoconf: Using " << product_config << " as config file for " << autoconf_product << std::endl; } else { @@ -393,17 +447,24 @@ void portduinoSetup() // Need to bind all the configured GPIO pins so they're not simulated // TODO: If one of these fails, we should log and terminate for (auto i : portduino_config.all_pins) { - if (i->enabled) + // In the case of a ch341 Lora device, we don't want to touch the system GPIO lines for Lora + // Those GPIO are handled in our usermode driver instead. + if (i->config_section == "Lora" && portduino_config.lora_spi_dev == "ch341") { + continue; + } + if (i->enabled) { if (initGPIOPin(i->pin, gpioChipName + std::to_string(i->gpiochip), i->line) != ERRNO_OK) { printf("Error setting pin number %d. It may not exist, or may already be in use.\n", i->line); exit(EXIT_FAILURE); } + } } // Only initialize the radio pins when dealing with real, kernel controlled SPI hardware if (portduino_config.lora_spi_dev != "" && portduino_config.lora_spi_dev != "ch341") { SPI.begin(portduino_config.lora_spi_dev.c_str()); } + if (portduino_config.traceFilename != "") { try { traceFile.open(portduino_config.traceFilename, std::ios::out | std::ios::app); @@ -411,6 +472,21 @@ void portduinoSetup() std::cout << "*** traceFile Exception " << e.what() << std::endl; exit(EXIT_FAILURE); } + if (!traceFile.is_open()) { + std::cout << "*** traceFile open failure" << std::endl; + exit(EXIT_FAILURE); + } + } else if (portduino_config.JSONFilename != "") { + try { + JSONFile.open(portduino_config.JSONFilename, std::ios::out | std::ios::app); + } catch (std::ofstream::failure &e) { + std::cout << "*** JSONFile Exception " << e.what() << std::endl; + exit(EXIT_FAILURE); + } + if (!JSONFile.is_open()) { + std::cout << "*** JSONFile open failure" << std::endl; + exit(EXIT_FAILURE); + } } if (verboseEnabled && portduino_config.logoutputlevel != level_trace) { portduino_config.logoutputlevel = level_debug; @@ -423,8 +499,7 @@ int initGPIOPin(int pinNum, const std::string gpioChipName, int line) { #ifdef PORTDUINO_LINUX_HARDWARE std::string gpio_name = "GPIO" + std::to_string(pinNum); - std::cout << gpio_name; - printf("\n"); + std::cout << "Initializing " << gpio_name << " on chip " << gpioChipName << std::endl; try { GPIOPin *csPin; csPin = new LinuxGPIOPin(pinNum, gpioChipName.c_str(), line, gpio_name.c_str()); @@ -459,6 +534,29 @@ bool loadConfig(const char *configPath) portduino_config.logoutputlevel = level_error; } portduino_config.traceFilename = yamlConfig["Logging"]["TraceFile"].as(""); + portduino_config.JSONFilename = yamlConfig["Logging"]["JSONFile"].as(""); + portduino_config.JSONFilter = (_meshtastic_PortNum)yamlConfig["Logging"]["JSONFilter"].as(0); + if (yamlConfig["Logging"]["JSONFilter"].as("") == "textmessage") + portduino_config.JSONFilter = meshtastic_PortNum_TEXT_MESSAGE_APP; + else if (yamlConfig["Logging"]["JSONFilter"].as("") == "telemetry") + portduino_config.JSONFilter = meshtastic_PortNum_TELEMETRY_APP; + else if (yamlConfig["Logging"]["JSONFilter"].as("") == "nodeinfo") + portduino_config.JSONFilter = meshtastic_PortNum_NODEINFO_APP; + else if (yamlConfig["Logging"]["JSONFilter"].as("") == "position") + portduino_config.JSONFilter = meshtastic_PortNum_POSITION_APP; + else if (yamlConfig["Logging"]["JSONFilter"].as("") == "waypoint") + portduino_config.JSONFilter = meshtastic_PortNum_WAYPOINT_APP; + else if (yamlConfig["Logging"]["JSONFilter"].as("") == "neighborinfo") + portduino_config.JSONFilter = meshtastic_PortNum_NEIGHBORINFO_APP; + else if (yamlConfig["Logging"]["JSONFilter"].as("") == "traceroute") + portduino_config.JSONFilter = meshtastic_PortNum_TRACEROUTE_APP; + else if (yamlConfig["Logging"]["JSONFilter"].as("") == "detection") + portduino_config.JSONFilter = meshtastic_PortNum_DETECTION_SENSOR_APP; + else if (yamlConfig["Logging"]["JSONFilter"].as("") == "paxcounter") + portduino_config.JSONFilter = meshtastic_PortNum_PAXCOUNTER_APP; + else if (yamlConfig["Logging"]["JSONFilter"].as("") == "remotehardware") + portduino_config.JSONFilter = meshtastic_PortNum_REMOTE_HARDWARE_APP; + if (yamlConfig["Logging"]["AsciiLogs"]) { // Default is !isatty(1) but can be set explicitly in config.yaml portduino_config.ascii_logs = yamlConfig["Logging"]["AsciiLogs"].as(); diff --git a/src/platform/portduino/PortduinoGlue.h b/src/platform/portduino/PortduinoGlue.h index 3fe017d5e..9335be90a 100644 --- a/src/platform/portduino/PortduinoGlue.h +++ b/src/platform/portduino/PortduinoGlue.h @@ -5,6 +5,7 @@ #include "LR11x0Interface.h" #include "Module.h" +#include "mesh/generated/meshtastic/mesh.pb.h" #include "platform/portduino/USBHal.h" #include "yaml-cpp/yaml.h" @@ -46,6 +47,8 @@ struct pinMapping { }; extern std::ofstream traceFile; +extern std::ofstream JSONFile; + extern Ch341Hal *ch341Hal; int initGPIOPin(int pinNum, std::string gpioChipname, int line); bool loadConfig(const char *configPath); @@ -148,6 +151,9 @@ extern struct portduino_config_struct { bool ascii_logs = !isatty(1); bool ascii_logs_explicit = false; + std::string JSONFilename; + meshtastic_PortNum JSONFilter = (_meshtastic_PortNum)0; + // Webserver std::string webserver_root_path = ""; std::string webserver_ssl_key_path = "/etc/meshtasticd/ssl/private_key.pem"; @@ -413,6 +419,29 @@ extern struct portduino_config_struct { } if (traceFilename != "") out << YAML::Key << "TraceFile" << YAML::Value << traceFilename; + if (JSONFilename != "") { + out << YAML::Key << "JSONFile" << YAML::Value << JSONFilename; + if (JSONFilter == meshtastic_PortNum_TEXT_MESSAGE_APP) + out << YAML::Key << "JSONFilter" << YAML::Value << "textmessage"; + else if (JSONFilter == meshtastic_PortNum_TELEMETRY_APP) + out << YAML::Key << "JSONFilter" << YAML::Value << "telemetry"; + else if (JSONFilter == meshtastic_PortNum_NODEINFO_APP) + out << YAML::Key << "JSONFilter" << YAML::Value << "nodeinfo"; + else if (JSONFilter == meshtastic_PortNum_POSITION_APP) + out << YAML::Key << "JSONFilter" << YAML::Value << "position"; + else if (JSONFilter == meshtastic_PortNum_WAYPOINT_APP) + out << YAML::Key << "JSONFilter" << YAML::Value << "waypoint"; + else if (JSONFilter == meshtastic_PortNum_NEIGHBORINFO_APP) + out << YAML::Key << "JSONFilter" << YAML::Value << "neighborinfo"; + else if (JSONFilter == meshtastic_PortNum_TRACEROUTE_APP) + out << YAML::Key << "JSONFilter" << YAML::Value << "traceroute"; + else if (JSONFilter == meshtastic_PortNum_DETECTION_SENSOR_APP) + out << YAML::Key << "JSONFilter" << YAML::Value << "detection"; + else if (JSONFilter == meshtastic_PortNum_PAXCOUNTER_APP) + out << YAML::Key << "JSONFilter" << YAML::Value << "paxcounter"; + else if (JSONFilter == meshtastic_PortNum_REMOTE_HARDWARE_APP) + out << YAML::Key << "JSONFilter" << YAML::Value << "remotehardware"; + } if (ascii_logs_explicit) { out << YAML::Key << "AsciiLogs" << YAML::Value << ascii_logs; } diff --git a/src/platform/stm32wl/main-stm32wl.cpp b/src/platform/stm32wl/main-stm32wl.cpp index 3eddbb3cf..e841f8f29 100644 --- a/src/platform/stm32wl/main-stm32wl.cpp +++ b/src/platform/stm32wl/main-stm32wl.cpp @@ -26,3 +26,31 @@ void getMacAddr(uint8_t *dmac) } void cpuDeepSleep(uint32_t msecToWake) {} + +// Hacks to force more code and data out. + +// By default __assert_func uses fiprintf which pulls in stdio. +extern "C" void __wrap___assert_func(const char *, int, const char *, const char *) +{ + while (true) + ; + return; +} + +// By default strerror has a lot of strings we probably don't use. Make it return an empty string instead. +char empty = 0; +extern "C" char *__wrap_strerror(int) +{ + return ∅ +} + +#ifdef MESHTASTIC_EXCLUDE_TZ +struct _reent; + +// Even if you don't use timezones, mktime will try to set the timezone anyway with _tzset_unlocked(), which pulls in scanf and +// friends. The timezone is initialized to UTC by default. +extern "C" void __wrap__tzset_unlocked_r(struct _reent *reent_ptr) +{ + return; +} +#endif \ No newline at end of file diff --git a/src/power.h b/src/power.h index 23eb95064..c826d98b4 100644 --- a/src/power.h +++ b/src/power.h @@ -13,6 +13,7 @@ #define NUM_OCV_POINTS 11 #endif +// Device specific curves go in variant.h #ifndef OCV_ARRAY #ifdef CELL_TYPE_LIFEPO4 #define OCV_ARRAY 3400, 3350, 3320, 3290, 3270, 3260, 3250, 3230, 3200, 3120, 3000 @@ -24,18 +25,6 @@ #define OCV_ARRAY 1400, 1300, 1280, 1270, 1260, 1250, 1240, 1230, 1210, 1150, 1000 #elif defined(CELL_TYPE_LTO) #define OCV_ARRAY 2700, 2560, 2540, 2520, 2500, 2460, 2420, 2400, 2380, 2320, 1500 -#elif defined(TRACKER_T1000_E) -#define OCV_ARRAY 4190, 4042, 3957, 3885, 3820, 3776, 3746, 3725, 3696, 3644, 3100 -#elif defined(HELTEC_MESH_POCKET_BATTERY_5000) -#define OCV_ARRAY 4300, 4240, 4120, 4000, 3888, 3800, 3740, 3698, 3655, 3580, 3400 -#elif defined(HELTEC_MESH_POCKET_BATTERY_10000) -#define OCV_ARRAY 4100, 4060, 3960, 3840, 3729, 3625, 3550, 3500, 3420, 3345, 3100 -#elif defined(SEEED_WIO_TRACKER_L1) -#define OCV_ARRAY 4200, 3876, 3826, 3763, 3713, 3660, 3573, 3485, 3422, 3359, 3300 -#elif defined(SEEED_SOLAR_NODE) -#define OCV_ARRAY 4200, 3986, 3922, 3812, 3734, 3645, 3527, 3420, 3281, 3087, 2786 -#elif defined(R1_NEO) -#define OCV_ARRAY 4330, 4292, 4254, 4216, 4178, 4140, 4102, 4064, 4026, 3988, 3950 #else // LiIon #define OCV_ARRAY 4190, 4050, 3990, 3890, 3800, 3720, 3630, 3530, 3420, 3300, 3100 #endif @@ -138,9 +127,12 @@ class Power : private concurrency::OSThread void reboot(); // open circuit voltage lookup table uint8_t low_voltage_counter; + uint32_t lastLogTime = 0; #ifdef DEBUG_HEAP uint32_t lastheap; #endif }; +void battery_adcEnable(); + extern Power *power; diff --git a/src/sleep.cpp b/src/sleep.cpp index c6efb0efd..756582c74 100644 --- a/src/sleep.cpp +++ b/src/sleep.cpp @@ -244,6 +244,10 @@ void doDeepSleep(uint32_t msecToWake, bool skipPreflight = false, bool skipSaveN // pinMode(PIN_POWER_EN1, INPUT_PULLDOWN); #endif +#ifdef RAK_WISMESH_TAP_V2 + digitalWrite(SDCARD_CS, LOW); +#endif + #ifdef TRACKER_T1000_E #ifdef GNSS_AIROHA digitalWrite(GPS_VRTC_EN, LOW); diff --git a/test/test_mqtt/MQTT.cpp b/test/test_mqtt/MQTT.cpp index 1c2f0642a..a566dabf7 100644 --- a/test/test_mqtt/MQTT.cpp +++ b/test/test_mqtt/MQTT.cpp @@ -605,12 +605,13 @@ void test_receiveAcksOwnSentMessages(void) unitTest->publish(&p, nodeDB->getNodeId().c_str()); - TEST_ASSERT_TRUE(mockRouter->packets_.empty()); - TEST_ASSERT_EQUAL(1, mockRoutingModule->ackNacks_.size()); - const auto &[err, to, idFrom, chIndex, hopLimit] = mockRoutingModule->ackNacks_.front(); - TEST_ASSERT_EQUAL(meshtastic_Routing_Error_NONE, err); - TEST_ASSERT_EQUAL(myNodeInfo.my_node_num, to); - TEST_ASSERT_EQUAL(p.id, idFrom); + // FIXME: Better assertion for this test + // TEST_ASSERT_TRUE(mockRouter->packets_.empty()); + // TEST_ASSERT_EQUAL(1, mockRoutingModule->ackNacks_.size()); + // const auto &[err, to, idFrom, chIndex, hopLimit] = mockRoutingModule->ackNacks_.front(); + // TEST_ASSERT_EQUAL(meshtastic_Routing_Error_NONE, err); + // TEST_ASSERT_EQUAL(myNodeInfo.my_node_num, to); + // TEST_ASSERT_EQUAL(p.id, idFrom); } // Should ignore our own messages from MQTT that were heard by other nodes. diff --git a/userPrefs.jsonc b/userPrefs.jsonc index 464eb968c..0c92eabcf 100644 --- a/userPrefs.jsonc +++ b/userPrefs.jsonc @@ -56,5 +56,6 @@ // "USERPREFS_MQTT_ROOT_TOPIC": "event/REPLACEME", // "USERPREFS_RINGTONE_NAG_SECS": "60", "USERPREFS_RINGTONE_RTTTL": "24:d=32,o=5,b=565:f6,p,f6,4p,p,f6,p,f6,2p,p,b6,p,b6,p,b6,p,b6,p,b,p,b,p,b,p,b,p,b,p,b,p,b,p,b,1p.,2p.,p", + // "USERPREFS_NETWORK_IPV6_ENABLED": "1", "USERPREFS_TZ_STRING": "tzplaceholder " } diff --git a/variants/esp32/betafpv_2400_tx_micro/platformio.ini b/variants/esp32/betafpv_2400_tx_micro/platformio.ini index 4d163d834..77a1f7043 100644 --- a/variants/esp32/betafpv_2400_tx_micro/platformio.ini +++ b/variants/esp32/betafpv_2400_tx_micro/platformio.ini @@ -15,4 +15,5 @@ upload_protocol = esptool upload_speed = 460800 lib_deps = ${esp32_base.lib_deps} - adafruit/Adafruit NeoPixel @ ^1.12.0 + # renovate: datasource=custom.pio depName=NeoPixel packageName=adafruit/library/Adafruit NeoPixel + adafruit/Adafruit NeoPixel@1.15.2 diff --git a/variants/esp32/betafpv_900_tx_nano/platformio.ini b/variants/esp32/betafpv_900_tx_nano/platformio.ini index 7e01fd2fa..a4ebe9694 100644 --- a/variants/esp32/betafpv_900_tx_nano/platformio.ini +++ b/variants/esp32/betafpv_900_tx_nano/platformio.ini @@ -13,5 +13,3 @@ board_build.f_cpu = 240000000L upload_protocol = esptool ;upload_port = /dev/ttyUSB0 upload_speed = 460800 -lib_deps = - ${esp32_base.lib_deps} diff --git a/variants/esp32/chatter2/platformio.ini b/variants/esp32/chatter2/platformio.ini index bf496bf26..94a846bc9 100644 --- a/variants/esp32/chatter2/platformio.ini +++ b/variants/esp32/chatter2/platformio.ini @@ -9,4 +9,5 @@ build_flags = lib_deps = ${esp32_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 diff --git a/variants/esp32/chatter2/variant.h b/variants/esp32/chatter2/variant.h index ff4f87bbe..0c1ef6967 100644 --- a/variants/esp32/chatter2/variant.h +++ b/variants/esp32/chatter2/variant.h @@ -62,10 +62,12 @@ #define TFT_OFFSET_X 0 #define TFT_OFFSET_Y 0 #define TFT_INVERT false +#define FORCE_LOW_RES 1 #define SCREEN_ROTATE #define SCREEN_TRANSITION_FRAMERATE 5 // fps #define DISPLAY_FORCE_SMALL_FONTS #define TFT_BACKLIGHT_ON LOW +#define USE_TFTDISPLAY 1 // Battery diff --git a/variants/esp32/diy/dr-dev/platformio.ini b/variants/esp32/diy/dr-dev/platformio.ini index 5461d27b3..9dd9b450b 100644 --- a/variants/esp32/diy/dr-dev/platformio.ini +++ b/variants/esp32/diy/dr-dev/platformio.ini @@ -2,6 +2,7 @@ [env:meshtastic-dr-dev] extends = esp32_base board = esp32doit-devkit-v1 +board_level = extra board_upload.maximum_size = 4194304 board_upload.maximum_ram_size = 532480 build_flags = diff --git a/arch/esp32/esp32.ini b/variants/esp32/esp32.ini similarity index 89% rename from arch/esp32/esp32.ini rename to variants/esp32/esp32.ini index 810c9780e..cde3c9740 100644 --- a/arch/esp32/esp32.ini +++ b/variants/esp32/esp32.ini @@ -2,9 +2,15 @@ [esp32_base] extends = arduino_base custom_esp32_kind = esp32 +custom_mtjson_part = platform = # renovate: datasource=custom.pio depName=platformio/espressif32 packageName=platformio/platform/espressif32 - platformio/espressif32@6.11.0 + platformio/espressif32@6.12.0 + +extra_scripts = + ${env.extra_scripts} + pre:extra_scripts/esp32_pre.py + extra_scripts/esp32_extra.py build_src_filter = ${arduino_base.build_src_filter} - - - - - @@ -47,17 +53,18 @@ build_flags = lib_deps = ${arduino_base.lib_deps} ${networking_base.lib_deps} + ${networking_extra.lib_deps} ${environmental_base.lib_deps} ${environmental_extra.lib_deps} ${radiolib_base.lib_deps} # renovate: datasource=git-refs depName=meshtastic-esp32_https_server packageName=https://github.com/meshtastic/esp32_https_server gitBranch=master https://github.com/meshtastic/esp32_https_server/archive/3223704846752e6d545139204837bdb2a55459ca.zip # renovate: datasource=custom.pio depName=NimBLE-Arduino packageName=h2zero/library/NimBLE-Arduino - h2zero/NimBLE-Arduino@^1.4.3 + h2zero/NimBLE-Arduino@1.4.3 # renovate: datasource=git-refs depName=libpax packageName=https://github.com/dbinfrago/libpax gitBranch=master https://github.com/dbinfrago/libpax/archive/3cdc0371c375676a97967547f4065607d4c53fd1.zip - # renovate: datasource=github-tags depName=XPowersLib packageName=lewisxhe/XPowersLib - https://github.com/lewisxhe/XPowersLib/archive/v0.3.1.zip + # renovate: datasource=custom.pio depName=XPowersLib packageName=lewisxhe/library/XPowersLib + lewisxhe/XPowersLib@0.3.2 # renovate: datasource=git-refs depName=meshtastic-ESP32_Codec2 packageName=https://github.com/meshtastic/ESP32_Codec2 gitBranch=master https://github.com/meshtastic/ESP32_Codec2/archive/633326c78ac251c059ab3a8c430fcdf25b41672f.zip # renovate: datasource=custom.pio depName=rweather/Crypto packageName=rweather/library/Crypto diff --git a/variants/esp32/m5stack_core/platformio.ini b/variants/esp32/m5stack_core/platformio.ini index 469d93f94..5006d62ff 100644 --- a/variants/esp32/m5stack_core/platformio.ini +++ b/variants/esp32/m5stack_core/platformio.ini @@ -7,7 +7,6 @@ build_src_filter = build_flags = ${esp32_base.build_flags} -I variants/esp32/m5stack_core - -DILI9341_DRIVER -DM5STACK -DUSER_SETUP_LOADED -DTFT_SDA_READ @@ -26,4 +25,5 @@ lib_ignore = m5stack-core lib_deps = ${esp32_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 diff --git a/variants/esp32/m5stack_core/variant.h b/variants/esp32/m5stack_core/variant.h index 72aeb160e..cf741efe3 100644 --- a/variants/esp32/m5stack_core/variant.h +++ b/variants/esp32/m5stack_core/variant.h @@ -34,11 +34,13 @@ #define GPS_RX_PIN 16 #define GPS_TX_PIN 17 +#define ILI9341_DRIVER #define TFT_HEIGHT 240 #define TFT_WIDTH 320 #define TFT_OFFSET_X 0 #define TFT_OFFSET_Y 0 #define TFT_BUSY -1 +#define USE_TFTDISPLAY 1 // LCD screens are slow, so slowdown the wipe so it looks better #define SCREEN_TRANSITION_FRAMERATE 1 // fps diff --git a/variants/esp32/m5stack_coreink/platformio.ini b/variants/esp32/m5stack_coreink/platformio.ini index 1a00788e3..057b8abd8 100644 --- a/variants/esp32/m5stack_coreink/platformio.ini +++ b/variants/esp32/m5stack_coreink/platformio.ini @@ -18,8 +18,10 @@ build_flags = -DM5STACK lib_deps = ${esp32_base.lib_deps} - zinggjm/GxEPD2@^1.6.2 - lewisxhe/PCF8563_Library@^1.0.1 + # renovate: datasource=custom.pio depName=GxEPD2 packageName=zinggjm/library/GxEPD2 + zinggjm/GxEPD2@1.6.5 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 lib_ignore = m5stack-coreink monitor_filters = esp32_exception_decoder diff --git a/variants/esp32/nano-g1-explorer/platformio.ini b/variants/esp32/nano-g1-explorer/platformio.ini index 2ba1f49e9..f40a0e06c 100644 --- a/variants/esp32/nano-g1-explorer/platformio.ini +++ b/variants/esp32/nano-g1-explorer/platformio.ini @@ -2,8 +2,6 @@ [env:nano-g1-explorer] extends = esp32_base board = ttgo-t-beam -lib_deps = - ${esp32_base.lib_deps} build_flags = ${esp32_base.build_flags} -D NANO_G1_EXPLORER diff --git a/variants/esp32/nano-g1/platformio.ini b/variants/esp32/nano-g1/platformio.ini index be8227de2..c61c9edaf 100644 --- a/variants/esp32/nano-g1/platformio.ini +++ b/variants/esp32/nano-g1/platformio.ini @@ -2,8 +2,6 @@ [env:nano-g1] extends = esp32_base board = ttgo-t-beam -lib_deps = - ${esp32_base.lib_deps} build_flags = ${esp32_base.build_flags} -D NANO_G1 diff --git a/variants/esp32/radiomaster_900_bandit/platformio.ini b/variants/esp32/radiomaster_900_bandit/platformio.ini index d9eb78a57..6729235ed 100644 --- a/variants/esp32/radiomaster_900_bandit/platformio.ini +++ b/variants/esp32/radiomaster_900_bandit/platformio.ini @@ -13,4 +13,5 @@ board_build.f_cpu = 240000000L upload_protocol = esptool lib_deps = ${esp32_base.lib_deps} + # renovate: datasource=github-tags depName=STK8xxx-Accelerometer packageName=gjelsoe/STK8xxx-Accelerometer https://github.com/gjelsoe/STK8xxx-Accelerometer/archive/v0.1.1.zip diff --git a/variants/esp32/radiomaster_900_bandit_micro/platformio.ini b/variants/esp32/radiomaster_900_bandit_micro/platformio.ini index 36a45787b..32e9280e1 100644 --- a/variants/esp32/radiomaster_900_bandit_micro/platformio.ini +++ b/variants/esp32/radiomaster_900_bandit_micro/platformio.ini @@ -15,5 +15,3 @@ build_flags = -I variants/esp32/radiomaster_900_bandit_nano board_build.f_cpu = 240000000L upload_protocol = esptool -lib_deps = - ${esp32_base.lib_deps} diff --git a/variants/esp32/radiomaster_900_bandit_nano/platformio.ini b/variants/esp32/radiomaster_900_bandit_nano/platformio.ini index 9a7fad83b..887fb7916 100644 --- a/variants/esp32/radiomaster_900_bandit_nano/platformio.ini +++ b/variants/esp32/radiomaster_900_bandit_nano/platformio.ini @@ -10,5 +10,3 @@ build_flags = -I variants/esp32/radiomaster_900_bandit_nano board_build.f_cpu = 240000000L upload_protocol = esptool -lib_deps = - ${esp32_base.lib_deps} diff --git a/variants/esp32/station-g1/platformio.ini b/variants/esp32/station-g1/platformio.ini index 693a41ae8..609d9cd8e 100644 --- a/variants/esp32/station-g1/platformio.ini +++ b/variants/esp32/station-g1/platformio.ini @@ -2,8 +2,6 @@ [env:station-g1] extends = esp32_base board = ttgo-t-beam -lib_deps = - ${esp32_base.lib_deps} build_flags = ${esp32_base.build_flags} -D STATION_G1 diff --git a/variants/esp32/tbeam/platformio.ini b/variants/esp32/tbeam/platformio.ini index e53f22d30..79fd626e9 100644 --- a/variants/esp32/tbeam/platformio.ini +++ b/variants/esp32/tbeam/platformio.ini @@ -2,14 +2,25 @@ [env:tbeam] extends = esp32_base board = ttgo-t-beam -board_level = pr +board_level = extra board_check = true -lib_deps = - ${esp32_base.lib_deps} -build_flags = - ${esp32_base.build_flags} +build_flags = ${esp32_base.build_flags} -D TBEAM_V10 -I variants/esp32/tbeam -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue upload_speed = 921600 + +[env:tbeam-displayshield] +extends = env:tbeam + +build_flags = + ${env:tbeam.build_flags} + -D USE_ST7796 + +lib_deps = + ${env:tbeam.lib_deps} + # renovate: datasource=github-tags depName=meshtastic-st7796 packageName=meshtastic/st7796 + https://github.com/meshtastic/st7796/archive/1.0.5.zip + # renovate: datasource=custom.pio depName=lewisxhe-SensorLib packageName=lewisxhe/library/SensorLib + lewisxhe/SensorLib@0.3.1 diff --git a/variants/esp32/tbeam/variant.h b/variants/esp32/tbeam/variant.h index 5b521a2de..2d144a888 100644 --- a/variants/esp32/tbeam/variant.h +++ b/variants/esp32/tbeam/variant.h @@ -42,4 +42,35 @@ #define GPS_UBLOX #define GPS_RX_PIN 34 #define GPS_TX_PIN 12 -// #define GPS_DEBUG \ No newline at end of file +// #define GPS_DEBUG + +// Used when the display shield is chosen +#ifdef USE_ST7796 + +#undef EXT_NOTIFY_OUT +#undef LED_STATE_ON +#undef LED_PIN + +#define HAS_CST226SE 1 +#define HAS_TOUCHSCREEN 1 +// #define TOUCH_IRQ 35 // broken in this version of the lib 0.3.1 +#ifndef TOUCH_IRQ +#define TOUCH_IRQ -1 +#endif +#define CANNED_MESSAGE_MODULE_ENABLE 1 +#define USE_VIRTUAL_KEYBOARD 1 + +#define ST7796_NSS 25 +#define ST7796_RS 13 // DC +#define ST7796_SDA 14 // MOSI +#define ST7796_SCK 15 +#define ST7796_RESET 2 +#define ST7796_MISO -1 +#define ST7796_BUSY -1 +#define VTFT_LEDA 4 +#define TFT_SPI_FREQUENCY 60000000 +#define TFT_HEIGHT 222 +#define TFT_WIDTH 480 +#define BRIGHTNESS_DEFAULT 100 // Medium Low Brightness +#define SCREEN_TRANSITION_FRAMERATE 5 // fps +#endif \ No newline at end of file diff --git a/variants/esp32/tlora_v2_1_16/platformio.ini b/variants/esp32/tlora_v2_1_16/platformio.ini index 6967bb480..8d5bdab9e 100644 --- a/variants/esp32/tlora_v2_1_16/platformio.ini +++ b/variants/esp32/tlora_v2_1_16/platformio.ini @@ -5,3 +5,12 @@ board_check = true build_flags = ${esp32_base.build_flags} -D TLORA_V2_1_16 -I variants/esp32/tlora_v2_1_16 upload_speed = 115200 + +[env:sugarcube] +extends = env:tlora-v2-1-1_6 +board_level = extra +build_flags = + ${env:tlora-v2-1-1_6.build_flags} + -DBUTTON_PIN=0 + -DPIN_BUZZER=25 + -DLED_PIN=-1 \ No newline at end of file diff --git a/variants/esp32/tlora_v2_1_16/variant.h b/variants/esp32/tlora_v2_1_16/variant.h index 48c069ab7..9584dd68b 100644 --- a/variants/esp32/tlora_v2_1_16/variant.h +++ b/variants/esp32/tlora_v2_1_16/variant.h @@ -8,7 +8,11 @@ #define I2C_SDA 21 // I2C pins for this board #define I2C_SCL 22 +#if defined(LED_PIN) && LED_PIN == -1 +#undef LED_PIN +#else #define LED_PIN 25 // If defined we will blink this LED +#endif #define USE_RF95 #define LORA_DIO0 26 // a No connect on the SX1262 module diff --git a/variants/esp32/wiphone/platformio.ini b/variants/esp32/wiphone/platformio.ini index 5cce94b13..fcf36a23c 100644 --- a/variants/esp32/wiphone/platformio.ini +++ b/variants/esp32/wiphone/platformio.ini @@ -10,6 +10,9 @@ build_flags = -I variants/esp32/wiphone lib_deps = ${esp32_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 - sparkfun/SX1509 IO Expander@^3.0.5 - pololu/APA102@^3.0.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 + # renovate: datasource=custom.pio depName=SX1509 IO Expander packageName=sparkfun/library/SX1509 IO Expander + sparkfun/SX1509 IO Expander@3.0.6 + # renovate: datasource=custom.pio depName=APA102 packageName=pololu/library/APA102 + pololu/APA102@3.0.0 diff --git a/variants/esp32/wiphone/variant.h b/variants/esp32/wiphone/variant.h index 70973db16..619ac622a 100644 --- a/variants/esp32/wiphone/variant.h +++ b/variants/esp32/wiphone/variant.h @@ -34,6 +34,7 @@ #define ST7789_SCK 18 #define ST7789_CS 5 #define ST7789_RS 26 +#define USE_TFTDISPLAY 1 // I don't have a 'wiphone' but this I think should not be defined this way (don't set TFT_BL if we don't have a hw way to control // it) // #define ST7789_BL -1 // EXTENDER_PIN(9) diff --git a/variants/esp32c3/diy/esp32c3_super_mini/platformio.ini b/variants/esp32c3/diy/esp32c3_super_mini/platformio.ini index c87baa7bf..2dca8e1a9 100644 --- a/variants/esp32c3/diy/esp32c3_super_mini/platformio.ini +++ b/variants/esp32c3/diy/esp32c3_super_mini/platformio.ini @@ -4,7 +4,7 @@ extends = esp32c3_base board = esp32-c3-devkitm-1 build_flags = - ${esp32_base.build_flags} + ${esp32c3_base.build_flags} -D PRIVATE_HW -I variants/esp32c3/diy/esp32c3_super_mini -D ARDUINO_USB_MODE=1 diff --git a/arch/esp32/esp32c3.ini b/variants/esp32c3/esp32c3.ini similarity index 100% rename from arch/esp32/esp32c3.ini rename to variants/esp32c3/esp32c3.ini diff --git a/variants/esp32c3/hackerboxes_esp32c3_oled/platformio.ini b/variants/esp32c3/hackerboxes_esp32c3_oled/platformio.ini index 5a72b9d74..6e31af200 100644 --- a/variants/esp32c3/hackerboxes_esp32c3_oled/platformio.ini +++ b/variants/esp32c3/hackerboxes_esp32c3_oled/platformio.ini @@ -3,7 +3,7 @@ extends = esp32c3_base board = esp32-c3-devkitm-1 board_level = extra build_flags = - ${esp32_base.build_flags} + ${esp32c3_base.build_flags} -D PRIVATE_HW -D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=1 diff --git a/variants/esp32c3/heltec_esp32c3/platformio.ini b/variants/esp32c3/heltec_esp32c3/platformio.ini index 705e2e996..ce165bd97 100644 --- a/variants/esp32c3/heltec_esp32c3/platformio.ini +++ b/variants/esp32c3/heltec_esp32c3/platformio.ini @@ -3,7 +3,7 @@ extends = esp32c3_base board = esp32-c3-devkitm-1 board_level = pr build_flags = - ${esp32_base.build_flags} + ${esp32c3_base.build_flags} -D HELTEC_HT62 -I variants/esp32c3/heltec_esp32c3 monitor_speed = 115200 diff --git a/variants/esp32c3/heltec_hru_3601/platformio.ini b/variants/esp32c3/heltec_hru_3601/platformio.ini index b5ff63eae..8200b6e87 100644 --- a/variants/esp32c3/heltec_hru_3601/platformio.ini +++ b/variants/esp32c3/heltec_hru_3601/platformio.ini @@ -2,8 +2,9 @@ extends = esp32c3_base board = adafruit_qtpy_esp32c3 build_flags = - ${esp32_base.build_flags} + ${esp32c3_base.build_flags} -D HELTEC_HRU_3601 -I variants/esp32c3/heltec_hru_3601 lib_deps = ${esp32c3_base.lib_deps} - adafruit/Adafruit NeoPixel @ ^1.12.0 + # renovate: datasource=custom.pio depName=NeoPixel packageName=adafruit/library/Adafruit NeoPixel + adafruit/Adafruit NeoPixel@1.15.2 diff --git a/variants/esp32c3/m5stack-stamp-c3/platformio.ini b/variants/esp32c3/m5stack-stamp-c3/platformio.ini index 1072df664..9ea669014 100644 --- a/variants/esp32c3/m5stack-stamp-c3/platformio.ini +++ b/variants/esp32c3/m5stack-stamp-c3/platformio.ini @@ -3,7 +3,7 @@ extends = esp32c3_base board = esp32-c3-devkitm-1 board_level = extra build_flags = - ${esp32_base.build_flags} + ${esp32c3_base.build_flags} -D PRIVATE_HW -I variants/esp32c3/m5stack-stamp-c3 monitor_speed = 115200 diff --git a/arch/esp32/esp32c6.ini b/variants/esp32c6/esp32c6.ini similarity index 98% rename from arch/esp32/esp32c6.ini rename to variants/esp32c6/esp32c6.ini index 7b06f4cd8..b07a2dcd4 100644 --- a/arch/esp32/esp32c6.ini +++ b/variants/esp32c6/esp32c6.ini @@ -28,7 +28,7 @@ lib_deps = ${environmental_extra.lib_deps} ${radiolib_base.lib_deps} # renovate: datasource=custom.pio depName=XPowersLib packageName=lewisxhe/library/XPowersLib - lewisxhe/XPowersLib@0.3.1 + lewisxhe/XPowersLib@0.3.2 # renovate: datasource=git-refs depName=meshtastic-ESP32_Codec2 packageName=https://github.com/meshtastic/ESP32_Codec2 gitBranch=master https://github.com/meshtastic/ESP32_Codec2/archive/633326c78ac251c059ab3a8c430fcdf25b41672f.zip # renovate: datasource=custom.pio depName=rweather/Crypto packageName=rweather/library/Crypto diff --git a/variants/esp32c6/m5stack_unitc6l/platformio.ini b/variants/esp32c6/m5stack_unitc6l/platformio.ini index da1c70c0a..79758dd9b 100644 --- a/variants/esp32c6/m5stack_unitc6l/platformio.ini +++ b/variants/esp32c6/m5stack_unitc6l/platformio.ini @@ -12,8 +12,10 @@ build_unflags = -D HAS_WIFI lib_deps = ${esp32c6_base.lib_deps} - adafruit/Adafruit NeoPixel@^1.12.3 - h2zero/NimBLE-Arduino@^2.3.6 + # renovate: datasource=custom.pio depName=NeoPixel packageName=adafruit/library/Adafruit NeoPixel + adafruit/Adafruit NeoPixel@1.15.2 + # renovate: datasource=custom.pio depName=NimBLE-Arduino packageName=h2zero/library/NimBLE-Arduino + h2zero/NimBLE-Arduino@2.3.7 build_flags = ${esp32c6_base.build_flags} -D M5STACK_UNITC6L @@ -22,8 +24,6 @@ build_flags = -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MODE=1 -D HAS_BLUETOOTH=1 - -D MESHTASTIC_EXCLUDE_WEBSERVER - -D MESHTASTIC_EXCLUDE_MQTT -DCONFIG_BT_NIMBLE_EXT_ADV=1 -DCONFIG_BT_NIMBLE_MAX_EXT_ADV_INSTANCES=2 -D NIMBLE_TWO diff --git a/arch/esp32/esp32s2.ini b/variants/esp32s2/esp32s2.ini similarity index 100% rename from arch/esp32/esp32s2.ini rename to variants/esp32s2/esp32s2.ini diff --git a/variants/esp32s3/ELECROW-ThinkNode-M5/platformio.ini b/variants/esp32s3/ELECROW-ThinkNode-M5/platformio.ini index 7dac6e66e..8361e2ef0 100644 --- a/variants/esp32s3/ELECROW-ThinkNode-M5/platformio.ini +++ b/variants/esp32s3/ELECROW-ThinkNode-M5/platformio.ini @@ -16,6 +16,9 @@ build_flags = -DEINK_BACKGROUND_USES_FAST ; (Optional) Use FAST refresh for both BACKGROUND and RESPONSIVE, until a limit is reached. lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/1655054ba298e0e29fc2044741940f927f9c2a43.zip - lewisxhe/PCF8563_Library@^1.0.1 - maxpromer/PCA9557-arduino @ ^1.0.0 \ No newline at end of file + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 + # renovate: datasource=custom.pio depName=PCA9557-arduino packageName=maxpromer/library/PCA9557-arduino + maxpromer/PCA9557-arduino@1.0.0 diff --git a/variants/esp32s3/ELECROW-ThinkNode-M5/variant.h b/variants/esp32s3/ELECROW-ThinkNode-M5/variant.h index a55808170..129b398e9 100644 --- a/variants/esp32s3/ELECROW-ThinkNode-M5/variant.h +++ b/variants/esp32s3/ELECROW-ThinkNode-M5/variant.h @@ -14,6 +14,8 @@ #define BATTERY_PIN 8 #define ADC_CHANNEL ADC1_GPIO8_CHANNEL +#define ADC_MULTIPLIER 2.11 // 2.0 + 10% for correction of display undervoltage. + #define PIN_BUZZER 9 // Buttons diff --git a/variants/esp32s3/bpi_picow_esp32_s3/platformio.ini b/variants/esp32s3/bpi_picow_esp32_s3/platformio.ini index 57af0da82..e8c50adcc 100644 --- a/variants/esp32s3/bpi_picow_esp32_s3/platformio.ini +++ b/variants/esp32s3/bpi_picow_esp32_s3/platformio.ini @@ -8,9 +8,10 @@ board_level = extra upload_protocol = esptool ;upload_port = /dev/ttyACM2 lib_deps = - ${esp32_base.lib_deps} - caveman99/ESP32 Codec2@^1.0.1 + ${esp32s3_base.lib_deps} + # renovate: datasource=custom.pio depName=caveman99-ESP32_Codec2 packageName=caveman99/library/ESP32 Codec2 + caveman99/ESP32 Codec2@1.0.1 build_flags = - ${esp32_base.build_flags} + ${esp32s3_base.build_flags} -D PRIVATE_HW -I variants/esp32s3/bpi_picow_esp32_s3 diff --git a/variants/esp32s3/crowpanel-esp32s3-5-epaper/platformio.ini b/variants/esp32s3/crowpanel-esp32s3-5-epaper/platformio.ini index eed21a412..315a53ffd 100644 --- a/variants/esp32s3/crowpanel-esp32s3-5-epaper/platformio.ini +++ b/variants/esp32s3/crowpanel-esp32s3-5-epaper/platformio.ini @@ -25,6 +25,7 @@ build_flags = ;-DEINK_LIMIT_RATE_RESPONSIVE_SEC=1 lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/33db3fa8ee6fc47d160bdb44f8f127c9a9203a10.zip [env:crowpanel-esp32s3-4-epaper] @@ -54,6 +55,7 @@ build_flags = ;-DEINK_LIMIT_RATE_RESPONSIVE_SEC=1 lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/33db3fa8ee6fc47d160bdb44f8f127c9a9203a10.zip [env:crowpanel-esp32s3-2-epaper] @@ -83,4 +85,5 @@ build_flags = ;-DEINK_LIMIT_RATE_RESPONSIVE_SEC=1 lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/33db3fa8ee6fc47d160bdb44f8f127c9a9203a10.zip diff --git a/variants/esp32s3/diy/my_esp32s3_diy_eink/platformio.ini b/variants/esp32s3/diy/my_esp32s3_diy_eink/platformio.ini index 267544c40..95e909b91 100644 --- a/variants/esp32s3/diy/my_esp32s3_diy_eink/platformio.ini +++ b/variants/esp32s3/diy/my_esp32s3_diy_eink/platformio.ini @@ -9,14 +9,16 @@ upload_protocol = esptool ;upload_port = /dev/ttyACM1 upload_speed = 921600 lib_deps = - ${esp32_base.lib_deps} - zinggjm/GxEPD2@^1.6.2 - adafruit/Adafruit NeoPixel @ ^1.12.0 + ${esp32s3_base.lib_deps} + # renovate: datasource=custom.pio depName=GxEPD2 packageName=zinggjm/library/GxEPD2 + zinggjm/GxEPD2@1.6.5 + # renovate: datasource=custom.pio depName=NeoPixel packageName=adafruit/library/Adafruit NeoPixel + adafruit/Adafruit NeoPixel@1.15.2 build_unflags = ${esp32s3_base.build_unflags} -DARDUINO_USB_MODE=1 build_flags = - ${esp32_base.build_flags} + ${esp32s3_base.build_flags} -D PRIVATE_HW -I variants/esp32s3/diy/my_esp32s3_diy_eink -Dmy diff --git a/variants/esp32s3/diy/my_esp32s3_diy_oled/platformio.ini b/variants/esp32s3/diy/my_esp32s3_diy_oled/platformio.ini index aa3e6e482..4f759d1e6 100644 --- a/variants/esp32s3/diy/my_esp32s3_diy_oled/platformio.ini +++ b/variants/esp32s3/diy/my_esp32s3_diy_oled/platformio.ini @@ -9,13 +9,14 @@ upload_protocol = esptool ;upload_port = /dev/ttyACM0 upload_speed = 921600 lib_deps = - ${esp32_base.lib_deps} - adafruit/Adafruit NeoPixel @ ^1.12.0 + ${esp32s3_base.lib_deps} + # renovate: datasource=custom.pio depName=NeoPixel packageName=adafruit/library/Adafruit NeoPixel + adafruit/Adafruit NeoPixel@1.15.2 build_unflags = ${esp32s3_base.build_unflags} -DARDUINO_USB_MODE=1 build_flags = - ${esp32_base.build_flags} + ${esp32s3_base.build_flags} -D PRIVATE_HW -I variants/esp32s3/diy/my_esp32s3_diy_oled -DBOARD_HAS_PSRAM diff --git a/variants/esp32s3/dreamcatcher/platformio.ini b/variants/esp32s3/dreamcatcher/platformio.ini index d088f2dac..c830346e0 100644 --- a/variants/esp32s3/dreamcatcher/platformio.ini +++ b/variants/esp32s3/dreamcatcher/platformio.ini @@ -12,8 +12,10 @@ build_flags = -D ARDUINO_USB_CDC_ON_BOOT=1 lib_deps = ${esp32s3_base.lib_deps} - earlephilhower/ESP8266Audio@^1.9.9 - earlephilhower/ESP8266SAM@^1.0.1 + # renovate: datasource=custom.pio depName=ESP8266Audio packageName=earlephilhower/library/ESP8266Audio + earlephilhower/ESP8266Audio@1.9.9 + # renovate: datasource=custom.pio depName=ESP8266SAM packageName=earlephilhower/library/ESP8266SAM + earlephilhower/ESP8266SAM@1.1.0 [env:dreamcatcher-2206] extends = esp32s3_base diff --git a/variants/esp32s3/elecrow_panel/platformio.ini b/variants/esp32s3/elecrow_panel/platformio.ini index 065f22538..3ed90f3f1 100644 --- a/variants/esp32s3/elecrow_panel/platformio.ini +++ b/variants/esp32s3/elecrow_panel/platformio.ini @@ -41,9 +41,13 @@ build_flags = ${esp32s3_base.build_flags} -Os lib_deps = ${esp32s3_base.lib_deps} ${device-ui_base.lib_deps} + # renovate: datasource=custom.pio depName=ESP8266Audio packageName=earlephilhower/library/ESP8266Audio earlephilhower/ESP8266Audio@1.9.9 + # renovate: datasource=custom.pio depName=ESP8266SAM packageName=earlephilhower/library/ESP8266SAM earlephilhower/ESP8266SAM@1.0.1 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX lovyan03/LovyanGFX@1.2.0 ; note: v1.2.7 breaks the elecrow 7" display functionality + # renovate: datasource=custom.pio depName=TCA9534 packageName=hideakitai/library/TCA9534 hideakitai/TCA9534@0.1.1 [crowpanel_small_esp32s3_base] ; 2.4, 2.8, 3.5 inch diff --git a/variants/esp32s3/esp32-s3-pico/platformio.ini b/variants/esp32s3/esp32-s3-pico/platformio.ini index 11bd4f5a3..8b65c3ca3 100644 --- a/variants/esp32s3/esp32-s3-pico/platformio.ini +++ b/variants/esp32s3/esp32-s3-pico/platformio.ini @@ -22,5 +22,7 @@ build_flags = ${esp32s3_base.build_flags} -DEINK_HEIGHT=128 lib_deps = ${esp32s3_base.lib_deps} - zinggjm/GxEPD2@^1.6.2 - adafruit/Adafruit NeoPixel @ ^1.12.0 + # renovate: datasource=custom.pio depName=GxEPD2 packageName=zinggjm/library/GxEPD2 + zinggjm/GxEPD2@1.6.5 + # renovate: datasource=custom.pio depName=NeoPixel packageName=adafruit/library/Adafruit NeoPixel + adafruit/Adafruit NeoPixel@1.15.2 diff --git a/arch/esp32/esp32s3.ini b/variants/esp32s3/esp32s3.ini similarity index 100% rename from arch/esp32/esp32s3.ini rename to variants/esp32s3/esp32s3.ini diff --git a/variants/esp32s3/hackaday-communicator/pins_arduino.h b/variants/esp32s3/hackaday-communicator/pins_arduino.h new file mode 100644 index 000000000..65d4e1751 --- /dev/null +++ b/variants/esp32s3/hackaday-communicator/pins_arduino.h @@ -0,0 +1,59 @@ +#ifndef Pins_Arduino_h +#define Pins_Arduino_h + +#include + +#define USB_VID 0x303a +#define USB_PID 0x1001 + +// static const uint8_t TX = 43; +// static const uint8_t RX = 44; + +static const uint8_t SDA = 47; +static const uint8_t SCL = 14; + +// Default SPI will be mapped to Radio +static const uint8_t SS = 17; +static const uint8_t MOSI = 3; +static const uint8_t MISO = 9; +static const uint8_t SCK = 8; + +static const uint8_t A0 = 1; +static const uint8_t A1 = 2; +static const uint8_t A2 = 3; +static const uint8_t A3 = 4; +static const uint8_t A4 = 5; +static const uint8_t A5 = 6; +static const uint8_t A6 = 7; +static const uint8_t A7 = 8; +static const uint8_t A8 = 9; +static const uint8_t A9 = 10; +static const uint8_t A10 = 11; +static const uint8_t A11 = 12; +static const uint8_t A12 = 13; +static const uint8_t A13 = 14; +static const uint8_t A14 = 15; +static const uint8_t A15 = 16; +static const uint8_t A16 = 17; +static const uint8_t A17 = 18; +static const uint8_t A18 = 19; +static const uint8_t A19 = 20; + +static const uint8_t T1 = 1; +static const uint8_t T2 = 2; +static const uint8_t T3 = 3; +static const uint8_t T4 = 4; +static const uint8_t T5 = 5; +static const uint8_t T6 = 6; +static const uint8_t T7 = 7; +static const uint8_t T8 = 8; +static const uint8_t T9 = 9; +static const uint8_t T10 = 10; +static const uint8_t T11 = 11; +static const uint8_t T12 = 12; +static const uint8_t T13 = 13; +static const uint8_t T14 = 14; + +// static const uint8_t BAT_ADC_PIN = 4; + +#endif /* Pins_Arduino_h */ diff --git a/variants/esp32s3/hackaday-communicator/platformio.ini b/variants/esp32s3/hackaday-communicator/platformio.ini new file mode 100644 index 000000000..29b2c2305 --- /dev/null +++ b/variants/esp32s3/hackaday-communicator/platformio.ini @@ -0,0 +1,16 @@ +; Hackaday Communicator +[env:hackaday-communicator] +extends = esp32s3_base +board = hackaday-communicator +board_check = true +board_build.partitions = default_16MB.csv +upload_protocol = esptool + +build_flags = ${esp32s3_base.build_flags} + -D HACKADAY_COMMUNICATOR + -D BOARD_HAS_PSRAM + -I variants/esp32s3/hackaday-communicator + +lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-Arduino_GFX packageName=https://github.com/meshtastic/Arduino_GFX gitBranch=master + https://github.com/meshtastic/Arduino_GFX/archive/054e81ffaf23784830a734e3c184346789349406.zip diff --git a/variants/esp32s3/hackaday-communicator/variant.h b/variants/esp32s3/hackaday-communicator/variant.h new file mode 100644 index 000000000..a127f548f --- /dev/null +++ b/variants/esp32s3/hackaday-communicator/variant.h @@ -0,0 +1,61 @@ +#define TFT_BL 2 +#define SPI_FREQUENCY 2000000 +#define SPI_READ_FREQUENCY 16000000 +#define TFT_HEIGHT 142 +#define TFT_WIDTH 428 +#define TFT_OFFSET_X 0 +#define TFT_OFFSET_Y 0 +#define TFT_OFFSET_ROTATION 0 +#define SCREEN_TRANSITION_FRAMERATE 5 +#define HAS_SCREEN 1 +#define TFT_BLACK 0 +#define BRIGHTNESS_DEFAULT 130 // Medium Low Brightness +#define USE_TFTDISPLAY 1 + +#define USE_POWERSAVE +#define SLEEP_TIME 120 + +#define GPS_DEFAULT_NOT_PRESENT 1 +// #define GPS_RX_PIN 44 +// #define GPS_TX_PIN 43 + +// #define BATTERY_PIN 4 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage +// ratio of voltage divider = 2.0 (RD2=100k, RD3=100k) +// #define ADC_MULTIPLIER 2.11 // 2.0 + 10% for correction of display undervoltage. +// #define ADC_CHANNEL ADC1_GPIO4_CHANNEL + +// keyboard +#define I2C_SDA 47 // I2C pins for this board +#define I2C_SCL 14 +// #define KB_POWERON -1 // must be set to HIGH +// #define KB_SLAVE_ADDRESS TDECK_KB_ADDR // 0x55 +// #define KB_BL_PIN 46 // not used for now +#define KB_INT 13 +#define CANNED_MESSAGE_MODULE_ENABLE 1 + +#define TFT_DC 39 +#define TFT_CS 41 + +// LoRa +#define USE_SX1262 + +#define LORA_SCK 8 +#define LORA_MISO 9 +#define LORA_MOSI 3 +#define LORA_CS 17 + +// #define LORA_DIO0 -1 // a No connect on the SX1262 module +#define LORA_RESET 18 +#define LORA_DIO1 16 // SX1262 IRQ +#define LORA_DIO2 15 // SX1262 BUSY +// #define LORA_DIO3 // Not connected on PCB, but internally on the TTGO SX1262, if DIO3 is high the TXCO is enabled + +#define SX126X_CS LORA_CS +#define SX126X_DIO1 LORA_DIO1 +#define SX126X_BUSY LORA_DIO2 +#define SX126X_RESET LORA_RESET + +#define SX126X_DIO2_AS_RF_SWITCH +#define SX126X_DIO3_TCXO_VOLTAGE 1.8 + +// #define LED_PIN 1 \ No newline at end of file diff --git a/variants/esp32s3/heltec_sensor_hub/platformio.ini b/variants/esp32s3/heltec_sensor_hub/platformio.ini index 92b90d9b9..ded0c22fe 100644 --- a/variants/esp32s3/heltec_sensor_hub/platformio.ini +++ b/variants/esp32s3/heltec_sensor_hub/platformio.ini @@ -9,4 +9,5 @@ build_flags = -D HELTEC_SENSOR_HUB lib_deps = ${esp32s3_base.lib_deps} - adafruit/Adafruit NeoPixel @ ^1.12.0 + # renovate: datasource=custom.pio depName=NeoPixel packageName=adafruit/library/Adafruit NeoPixel + adafruit/Adafruit NeoPixel@1.15.2 diff --git a/variants/esp32s3/heltec_v4/pins_arduino.h b/variants/esp32s3/heltec_v4/pins_arduino.h index 45561b4b5..d4485016d 100644 --- a/variants/esp32s3/heltec_v4/pins_arduino.h +++ b/variants/esp32s3/heltec_v4/pins_arduino.h @@ -13,8 +13,8 @@ static const uint8_t LED_BUILTIN = 35; static const uint8_t TX = 43; static const uint8_t RX = 44; -static const uint8_t SDA = 3; -static const uint8_t SCL = 4; +static const uint8_t SDA = 4; +static const uint8_t SCL = 3; static const uint8_t SS = 8; static const uint8_t MOSI = 10; diff --git a/variants/esp32s3/heltec_v4/platformio.ini b/variants/esp32s3/heltec_v4/platformio.ini index 7057f9646..28f7e0484 100644 --- a/variants/esp32s3/heltec_v4/platformio.ini +++ b/variants/esp32s3/heltec_v4/platformio.ini @@ -1,4 +1,4 @@ -[env:heltec-v4] +[heltec_v4_base] extends = esp32s3_base board = heltec_v4 board_check = true @@ -7,3 +7,106 @@ build_flags = ${esp32s3_base.build_flags} -D HELTEC_V4 -I variants/esp32s3/heltec_v4 + + +[env:heltec-v4] +extends = heltec_v4_base +build_flags = + ${heltec_v4_base.build_flags} + -D HELTEC_V4_OLED + -D USE_SSD1306 ; Heltec_v4 has an SSD1315 display (compatible with SSD1306 driver) + -D LED_PIN=35 + -D RESET_OLED=21 + -D I2C_SDA=17 + -D I2C_SCL=18 + -D I2C_SDA1=4 + -D I2C_SCL1=3 + +[env:heltec-v4-tft] +extends = heltec_v4_base +build_flags = + ${heltec_v4_base.build_flags} ;-Os + -D HELTEC_V4_TFT + -D I2C_SDA=4 + -D I2C_SCL=3 + -D I2C_SDA1=47 + -D I2C_SCL1=48 + -D PIN_BUTTON2=35 + -D PIN_BUZZER=6 + -D USE_PIN_BUZZER=PIN_BUZZER + -D CONFIG_ARDUHAL_LOG_COLORS + -D RADIOLIB_DEBUG_SPI=0 + -D RADIOLIB_DEBUG_PROTOCOL=0 + -D RADIOLIB_DEBUG_BASIC=0 + -D RADIOLIB_VERBOSE_ASSERT=0 + -D RADIOLIB_SPI_PARANOID=0 + -D CONFIG_DISABLE_HAL_LOCKS=1 + -D INPUTDRIVER_BUTTON_TYPE=0 + -D HAS_SCREEN=1 + -D HAS_TFT=1 + -D RAM_SIZE=1560 + -D LV_LVGL_H_INCLUDE_SIMPLE + -D LV_CONF_INCLUDE_SIMPLE + -D LV_COMP_CONF_INCLUDE_SIMPLE + -D LV_USE_SYSMON=0 + -D LV_USE_PROFILER=0 + -D LV_USE_PERF_MONITOR=0 + -D LV_USE_MEM_MONITOR=0 + -D LV_USE_LOG=0 + -D LV_BUILD_TEST=0 + -D USE_LOG_DEBUG + -D LOG_DEBUG_INC=\"DebugConfiguration.h\" + -D USE_PACKET_API + -D LGFX_DRIVER=LGFX_HELTEC_V4_TFT + -D GFX_DRIVER_INC=\"graphics/LGFX/LGFX_HELTEC_V4_TFT.h\" + -D VIEW_320x240 + -D MAP_FULL_REDRAW + -D DISPLAY_SIZE=320x240 ; landscape mode + -D LGFX_PIN_SCK=17 + -D LGFX_PIN_MOSI=33 + -D LGFX_PIN_DC=16 + -D LGFX_PIN_CS=15 + -D LGFX_PIN_BL=21 + -D LGFX_PIN_RST=18 + -D CUSTOM_TOUCH_DRIVER + -D TOUCH_SDA_PIN=I2C_SDA1 + -D TOUCH_SCL_PIN=I2C_SCL1 + -D TOUCH_INT_PIN=-1 ;45 + -D TOUCH_RST_PIN=44 +;base UI + -D TFT_CS=LGFX_PIN_CS + -D ST7789_CS=TFT_CS + -D ST7789_RS=LGFX_PIN_DC + -D ST7789_SDA=LGFX_PIN_MOSI + -D ST7789_SCK=LGFX_PIN_SCK + -D ST7789_RESET=LGFX_PIN_RST + -D ST7789_MISO=-1 + -D ST7789_BUSY=-1 + -D ST7789_BL=LGFX_PIN_BL + -D ST7789_SPI_HOST=SPI3_HOST + -D TFT_BL=ST7789_BL + -D SPI_FREQUENCY=40000000 + -D SPI_READ_FREQUENCY=4000000 + -D TFT_HEIGHT=320 + -D TFT_WIDTH=240 + -D TFT_OFFSET_X=0 + -D TFT_OFFSET_Y=0 + -D TFT_OFFSET_ROTATION=0 + -D SCREEN_ROTATE + -D SCREEN_TRANSITION_FRAMERATE=5 + -D BRIGHTNESS_DEFAULT=130 ; Medium Low Brightness + -D HAS_TOUCHSCREEN=1 + -D TOUCH_I2C_PORT=0 + -D TOUCH_SLAVE_ADDRESS=0x2E + -D SCREEN_TOUCH_INT=TOUCH_INT_PIN + -D SCREEN_TOUCH_RST=TOUCH_RST_PIN + +lib_deps = ${heltec_v4_base.lib_deps} + ; ${device-ui_base.lib_deps} + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.0 + # renovate: datasource=git-refs depName=Quency-D_chsc6x packageName=https://github.com/Quency-D/chsc6x gitBranch=master + https://github.com/Quency-D/chsc6x/archive/5cbead829d6b432a8d621ed1aafd4eb474fd4f27.zip + ; TODO revert to official device-ui (when merged) + # renovate: datasource=git-refs depName=Quency-D_device-ui packageName=https://github.com/Quency-D/device-ui gitBranch=heltec-v4-tft + https://github.com/Quency-D/device-ui/archive/7c9870b8016641190b059bdd90fe16c1012a39eb.zip diff --git a/variants/esp32s3/heltec_v4/variant.h b/variants/esp32s3/heltec_v4/variant.h index 1c9516e39..6524bbc72 100644 --- a/variants/esp32s3/heltec_v4/variant.h +++ b/variants/esp32s3/heltec_v4/variant.h @@ -1,11 +1,3 @@ -#define LED_PIN 35 - -#define USE_SSD1306 // Heltec_v4 has an SSD1315 display (compatible with SSD1306 driver) - -#define RESET_OLED 21 -#define I2C_SDA 17 // I2C pins for this board -#define I2C_SCL 18 - #define VEXT_ENABLE 36 // active low, powers the oled display and the lora antenna boost #define BUTTON_PIN 0 @@ -42,6 +34,9 @@ #define LORA_PA_EN 2 #define LORA_PA_TX_EN 46 // enable tx +#if HAS_TFT +#define USE_TFTDISPLAY 1 +#endif /* * GPS pins */ diff --git a/variants/esp32s3/heltec_vision_master_e213/platformio.ini b/variants/esp32s3/heltec_vision_master_e213/platformio.ini index 43f6199af..5109efa67 100644 --- a/variants/esp32s3/heltec_vision_master_e213/platformio.ini +++ b/variants/esp32s3/heltec_vision_master_e213/platformio.ini @@ -17,8 +17,10 @@ build_flags = -DEINK_HASQUIRK_GHOSTING ; Display model is identified as "prone to ghosting" lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/1655054ba298e0e29fc2044741940f927f9c2a43.zip - lewisxhe/PCF8563_Library@^1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 upload_speed = 115200 [env:heltec-vision-master-e213-inkhud] @@ -27,7 +29,7 @@ board = heltec_vision_master_e213 board_level = pr board_build.partitions = default_8MB.csv build_src_filter = - ${esp32_base.build_src_filter} + ${esp32s3_base.build_src_filter} ${inkhud.build_src_filter} build_flags = ${esp32s3_base.build_flags} diff --git a/variants/esp32s3/heltec_vision_master_e290/platformio.ini b/variants/esp32s3/heltec_vision_master_e290/platformio.ini index 08056b639..cd653021b 100644 --- a/variants/esp32s3/heltec_vision_master_e290/platformio.ini +++ b/variants/esp32s3/heltec_vision_master_e290/platformio.ini @@ -20,8 +20,10 @@ build_flags = lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/448c8538129fde3d02a7cb5e6fc81971ad92547f.zip - lewisxhe/PCF8563_Library@^1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 upload_speed = 115200 [env:heltec-vision-master-e290-inkhud] @@ -29,7 +31,7 @@ extends = esp32s3_base, inkhud board = heltec_vision_master_e290 board_build.partitions = default_8MB.csv build_src_filter = - ${esp32_base.build_src_filter} + ${esp32s3_base.build_src_filter} ${inkhud.build_src_filter} build_flags = ${esp32s3_base.build_flags} diff --git a/variants/esp32s3/heltec_vision_master_t190/platformio.ini b/variants/esp32s3/heltec_vision_master_t190/platformio.ini index e7e7ff4e4..c373692c1 100644 --- a/variants/esp32s3/heltec_vision_master_t190/platformio.ini +++ b/variants/esp32s3/heltec_vision_master_t190/platformio.ini @@ -8,6 +8,8 @@ build_flags = -D HELTEC_VISION_MASTER_T190 lib_deps = ${esp32s3_base.lib_deps} - lewisxhe/PCF8563_Library@^1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 + # renovate: datasource=git-refs depName=meshtastic-st7789 packageName=https://github.com/meshtastic/st7789 gitBranch=main https://github.com/meshtastic/st7789/archive/bd33ea58ddfe4a5e4a66d53300ccbd38d66ac21f.zip upload_speed = 921600 diff --git a/variants/esp32s3/heltec_wireless_paper/platformio.ini b/variants/esp32s3/heltec_wireless_paper/platformio.ini index f16dcd257..5ed039942 100644 --- a/variants/esp32s3/heltec_wireless_paper/platformio.ini +++ b/variants/esp32s3/heltec_wireless_paper/platformio.ini @@ -18,8 +18,10 @@ build_flags = -D EINK_HASQUIRK_GHOSTING ; Display model is identified as "prone to ghosting" lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/1655054ba298e0e29fc2044741940f927f9c2a43.zip - lewisxhe/PCF8563_Library@^1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 upload_speed = 115200 [env:heltec-wireless-paper-inkhud] @@ -27,7 +29,7 @@ extends = esp32s3_base, inkhud board = heltec_wifi_lora_32_V3 board_build.partitions = default_8MB.csv build_src_filter = - ${esp32_base.build_src_filter} + ${esp32s3_base.build_src_filter} ${inkhud.build_src_filter} build_flags = ${esp32s3_base.build_flags} diff --git a/variants/esp32s3/heltec_wireless_paper_v1/platformio.ini b/variants/esp32s3/heltec_wireless_paper_v1/platformio.ini index 99f2eddeb..26bf505e1 100644 --- a/variants/esp32s3/heltec_wireless_paper_v1/platformio.ini +++ b/variants/esp32s3/heltec_wireless_paper_v1/platformio.ini @@ -15,6 +15,8 @@ build_flags = -D EINK_LIMIT_GHOSTING_PX=2000 ; (Optional) How much image ghosting is tolerated lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/55f618961db45a23eff0233546430f1e5a80f63a.zip - lewisxhe/PCF8563_Library@^1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 upload_speed = 115200 diff --git a/variants/esp32s3/heltec_wireless_tracker/platformio.ini b/variants/esp32s3/heltec_wireless_tracker/platformio.ini index 3a373bf4f..45d3870fc 100644 --- a/variants/esp32s3/heltec_wireless_tracker/platformio.ini +++ b/variants/esp32s3/heltec_wireless_tracker/platformio.ini @@ -12,4 +12,5 @@ build_flags = lib_deps = ${esp32s3_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 diff --git a/variants/esp32s3/heltec_wireless_tracker/variant.h b/variants/esp32s3/heltec_wireless_tracker/variant.h index 79fa0e801..3b19f5afd 100644 --- a/variants/esp32s3/heltec_wireless_tracker/variant.h +++ b/variants/esp32s3/heltec_wireless_tracker/variant.h @@ -27,6 +27,7 @@ #define TFT_OFFSET_Y -1 #define SCREEN_TRANSITION_FRAMERATE 3 // fps #define DISPLAY_FORCE_SMALL_FONTS +#define USE_TFTDISPLAY 1 // pin 3 is Vext on v1.1 - HIGH enables LDO for Vext rail which goes to: // GPS UC6580: GPS V_DET(8), VDD_IO(7), DCDC_IN(21), pulls up RESETN(17), D_SEL(33) and BOOT_MODE(34) through 10kR diff --git a/variants/esp32s3/heltec_wireless_tracker_V1_0/platformio.ini b/variants/esp32s3/heltec_wireless_tracker_V1_0/platformio.ini index cd961533d..e3bc1c850 100644 --- a/variants/esp32s3/heltec_wireless_tracker_V1_0/platformio.ini +++ b/variants/esp32s3/heltec_wireless_tracker_V1_0/platformio.ini @@ -11,4 +11,5 @@ build_flags = ;-D DEBUG_DISABLED ; uncomment this line to disable DEBUG output lib_deps = ${esp32s3_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 diff --git a/variants/esp32s3/heltec_wireless_tracker_V1_0/variant.h b/variants/esp32s3/heltec_wireless_tracker_V1_0/variant.h index 876ff1146..df5ab4716 100644 --- a/variants/esp32s3/heltec_wireless_tracker_V1_0/variant.h +++ b/variants/esp32s3/heltec_wireless_tracker_V1_0/variant.h @@ -27,6 +27,8 @@ #define VTFT_CTRL 46 // Heltec Tracker needs this pulled low for TFT #define SCREEN_TRANSITION_FRAMERATE 3 // fps #define DISPLAY_FORCE_SMALL_FONTS +#define FORCE_LOW_RES 1 +#define USE_TFTDISPLAY 1 #define VEXT_ENABLE Vext // active low, powers the oled display and the lora antenna boost #define VEXT_ON_VALUE LOW diff --git a/variants/esp32s3/heltec_wireless_tracker_v2/platformio.ini b/variants/esp32s3/heltec_wireless_tracker_v2/platformio.ini index 0f9265f91..8bdb71541 100644 --- a/variants/esp32s3/heltec_wireless_tracker_v2/platformio.ini +++ b/variants/esp32s3/heltec_wireless_tracker_v2/platformio.ini @@ -10,4 +10,5 @@ build_flags = -D HELTEC_WIRELESS_TRACKER_V2 lib_deps = ${esp32s3_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 diff --git a/variants/esp32s3/heltec_wireless_tracker_v2/variant.h b/variants/esp32s3/heltec_wireless_tracker_v2/variant.h index 9ac064ea2..0ce6b3e00 100644 --- a/variants/esp32s3/heltec_wireless_tracker_v2/variant.h +++ b/variants/esp32s3/heltec_wireless_tracker_v2/variant.h @@ -27,6 +27,7 @@ #define TFT_INVERT false #define SCREEN_TRANSITION_FRAMERATE 3 // fps #define DISPLAY_FORCE_SMALL_FONTS +#define USE_TFTDISPLAY 1 #define VEXT_ENABLE 3 // active HIGH - powers the GPS, GPS LNA and OLED #define VEXT_ON_VALUE HIGH diff --git a/variants/esp32s3/icarus/platformio.ini b/variants/esp32s3/icarus/platformio.ini index de450da93..d73c010f2 100644 --- a/variants/esp32s3/icarus/platformio.ini +++ b/variants/esp32s3/icarus/platformio.ini @@ -7,9 +7,8 @@ board_build.mcu = esp32s3 board_build.partitions = default_8MB.csv upload_protocol = esptool upload_speed = 921600 +; TODO renovate or remove platform_packages = platformio/framework-arduinoespressif32@https://github.com/PowerFeather/powerfeather-meshtastic-arduino-lib/releases/download/2.0.16a/esp32-2.0.16.zip -lib_deps = - ${esp32s3_base.lib_deps} build_unflags = ${esp32s3_base.build_unflags} -DARDUINO_USB_MODE=1 diff --git a/variants/esp32s3/link32_s3_v1/platformio.ini b/variants/esp32s3/link32_s3_v1/platformio.ini index 8d88075c4..acce3dafb 100644 --- a/variants/esp32s3/link32_s3_v1/platformio.ini +++ b/variants/esp32s3/link32_s3_v1/platformio.ini @@ -1,8 +1,9 @@ [env:link32-s3-v1] extends = esp32s3_base board = esp32-s3-devkitc-1 +board_level = extra build_flags = - ${esp32_base.build_flags} + ${esp32s3_base.build_flags} -D LINK_32 -I variants/esp32s3/link32_s3_v1 -DARDUINO_USB_CDC_ON_BOOT diff --git a/variants/esp32s3/m5stack_cores3/platformio.ini b/variants/esp32s3/m5stack_cores3/platformio.ini index 9973abfce..6ad09a8bf 100644 --- a/variants/esp32s3/m5stack_cores3/platformio.ini +++ b/variants/esp32s3/m5stack_cores3/platformio.ini @@ -6,8 +6,7 @@ board_check = true board_build.partitions = default_16MB.csv upload_protocol = esptool build_flags = - ${esp32_base.build_flags} + ${esp32s3_base.build_flags} -D PRIVATE_HW -D M5STACK_CORES3 -I variants/esp32s3/m5stack_cores3 -lib_deps = ${esp32_base.lib_deps} diff --git a/variants/esp32s3/mesh-tab/platformio.ini b/variants/esp32s3/mesh-tab/platformio.ini index e21bc38e1..21d8fb432 100644 --- a/variants/esp32s3/mesh-tab/platformio.ini +++ b/variants/esp32s3/mesh-tab/platformio.ini @@ -46,11 +46,12 @@ build_flags = ${esp32s3_base.build_flags} -D VIEW_320x240 -D USE_PACKET_API -I variants/esp32s3/mesh-tab -build_src_filter = ${esp32_base.build_src_filter} +build_src_filter = ${esp32s3_base.build_src_filter} lib_deps = - ${esp32_base.lib_deps} + ${esp32s3_base.lib_deps} ${device-ui_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 [mesh_tab_xpt2046] extends = mesh_tab_base diff --git a/variants/esp32s3/nibble_esp32/platformio.ini b/variants/esp32s3/nibble_esp32/platformio.ini index 2f6960d2e..8e8cead16 100644 --- a/variants/esp32s3/nibble_esp32/platformio.ini +++ b/variants/esp32s3/nibble_esp32/platformio.ini @@ -3,6 +3,6 @@ extends = esp32s3_base board = esp32-s3-zero board_level = extra build_flags = - ${esp32_base.build_flags} + ${esp32s3_base.build_flags} -D PRIVATE_HW -I variants/esp32s3/nibble_esp32 diff --git a/variants/esp32s3/picomputer-s3/platformio.ini b/variants/esp32s3/picomputer-s3/platformio.ini index 4131cc30a..ccc6f7839 100644 --- a/variants/esp32s3/picomputer-s3/platformio.ini +++ b/variants/esp32s3/picomputer-s3/platformio.ini @@ -15,7 +15,8 @@ build_flags = lib_deps = ${esp32s3_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 build_src_filter = ${esp32s3_base.build_src_filter} diff --git a/variants/esp32s3/picomputer-s3/variant.h b/variants/esp32s3/picomputer-s3/variant.h index 8252e841c..275da1b61 100644 --- a/variants/esp32s3/picomputer-s3/variant.h +++ b/variants/esp32s3/picomputer-s3/variant.h @@ -32,6 +32,7 @@ #define ST7789_CS 6 #define ST7789_RS 1 #define ST7789_BL 5 +#define USE_TFTDISPLAY 1 #define ST7789_RESET -1 #define ST7789_MISO -1 diff --git a/variants/esp32s3/rak3312/platformio.ini b/variants/esp32s3/rak3312/platformio.ini index 0de36498f..65eba93e6 100644 --- a/variants/esp32s3/rak3312/platformio.ini +++ b/variants/esp32s3/rak3312/platformio.ini @@ -6,6 +6,6 @@ board_check = true upload_protocol = esptool build_flags = - ${esp32_base.build_flags} + ${esp32s3_base.build_flags} -D RAK3312 -I variants/esp32s3/rak3312 diff --git a/variants/esp32s3/rak_wismesh_tap_v2/platformio.ini b/variants/esp32s3/rak_wismesh_tap_v2/platformio.ini index de4714efa..e4ff9812c 100644 --- a/variants/esp32s3/rak_wismesh_tap_v2/platformio.ini +++ b/variants/esp32s3/rak_wismesh_tap_v2/platformio.ini @@ -8,14 +8,15 @@ upload_protocol = esptool board_build.partitions = default_8MB.csv build_flags = - ${esp32_base.build_flags} + ${esp32s3_base.build_flags} -D RAK3312 -D RAK_WISMESH_TAP_V2 -I variants/esp32s3/rak_wismesh_tap_v2 lib_deps = ${esp32s3_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 [ft5x06] extends = mesh_tab_base diff --git a/variants/esp32s3/seeed-sensecap-indicator/platformio.ini b/variants/esp32s3/seeed-sensecap-indicator/platformio.ini index 25ec3ebfc..dd9dfc668 100644 --- a/variants/esp32s3/seeed-sensecap-indicator/platformio.ini +++ b/variants/esp32s3/seeed-sensecap-indicator/platformio.ini @@ -9,7 +9,7 @@ board_check = true board_build.partitions = partition-table-8MB.csv upload_protocol = esptool -build_flags = ${esp32_base.build_flags} +build_flags = ${esp32s3_base.build_flags} -Ivariants/esp32s3/seeed-sensecap-indicator -DSENSECAP_INDICATOR -DCONFIG_ARDUHAL_LOG_COLORS @@ -24,10 +24,12 @@ build_flags = ${esp32_base.build_flags} -DUSE_ARDUINO_HAL_GPIO lib_deps = ${esp32s3_base.lib_deps} + ; TODO switch back to official LovyanGFX https://github.com/mverch67/LovyanGFX/archive/4c76238c1344162a234ae917b27651af146d6fb2.zip - earlephilhower/ESP8266Audio@^1.9.9 - earlephilhower/ESP8266SAM@^1.0.1 - + # renovate: datasource=custom.pio depName=ESP8266Audio packageName=earlephilhower/library/ESP8266Audio + earlephilhower/ESP8266Audio@1.9.9 + # renovate: datasource=custom.pio depName=ESP8266SAM packageName=earlephilhower/library/ESP8266SAM + earlephilhower/ESP8266SAM@1.1.0 [env:seeed-sensecap-indicator-tft] extends = env:seeed-sensecap-indicator @@ -64,4 +66,5 @@ build_flags = lib_deps = ${env:seeed-sensecap-indicator.lib_deps} ${device-ui_base.lib_deps} + ; TODO switch back to official bb_captouch https://github.com/mverch67/bb_captouch/archive/8626412fe650d808a267791c0eae6e5860c85a5d.zip ; alternative touch library supporting FT6x36 diff --git a/variants/esp32s3/seeed-sensecap-indicator/variant.h b/variants/esp32s3/seeed-sensecap-indicator/variant.h index 8915395f3..f946528ae 100644 --- a/variants/esp32s3/seeed-sensecap-indicator/variant.h +++ b/variants/esp32s3/seeed-sensecap-indicator/variant.h @@ -37,6 +37,7 @@ #define TFT_BL 45 #define SCREEN_ROTATE #define SCREEN_TRANSITION_FRAMERATE 5 // fps +#define USE_TFTDISPLAY 1 #define HAS_TOUCHSCREEN 1 #define SCREEN_TOUCH_INT (6 | IO_EXPANDER) diff --git a/variants/esp32s3/seeed_xiao_s3/platformio.ini b/variants/esp32s3/seeed_xiao_s3/platformio.ini index ffc6e9638..3460399d9 100644 --- a/variants/esp32s3/seeed_xiao_s3/platformio.ini +++ b/variants/esp32s3/seeed_xiao_s3/platformio.ini @@ -6,8 +6,6 @@ board_check = true board_build.partitions = default_8MB.csv upload_protocol = esptool upload_speed = 921600 -lib_deps = - ${esp32s3_base.lib_deps} build_unflags = ${esp32s3_base.build_unflags} -DARDUINO_USB_MODE=1 diff --git a/variants/esp32s3/station-g2/platformio.ini b/variants/esp32s3/station-g2/platformio.ini index 056d543d9..a528151be 100755 --- a/variants/esp32s3/station-g2/platformio.ini +++ b/variants/esp32s3/station-g2/platformio.ini @@ -8,8 +8,6 @@ board_build.mcu = esp32s3 upload_protocol = esptool ;upload_port = /dev/ttyACM0 upload_speed = 921600 -lib_deps = - ${esp32s3_base.lib_deps} build_unflags = ${esp32s3_base.build_unflags} -DARDUINO_USB_MODE=1 diff --git a/variants/esp32s3/t-deck-pro/platformio.ini b/variants/esp32s3/t-deck-pro/platformio.ini index 0b3c7843a..b97d7ac3f 100644 --- a/variants/esp32s3/t-deck-pro/platformio.ini +++ b/variants/esp32s3/t-deck-pro/platformio.ini @@ -5,7 +5,7 @@ board_check = true upload_protocol = esptool build_flags = - ${esp32_base.build_flags} -I variants/esp32s3/t-deck-pro + ${esp32s3_base.build_flags} -I variants/esp32s3/t-deck-pro -D T_DECK_PRO -D USE_EINK -D EINK_DISPLAY_MODEL=GxEPD2_310_GDEQ031T10 @@ -17,7 +17,11 @@ build_flags = lib_deps = ${esp32s3_base.lib_deps} - https://github.com/ZinggJM/GxEPD2/archive/refs/tags/1.6.4.zip + # renovate: datasource=custom.pio depName=GxEPD2 packageName=zinggjm/library/GxEPD2 + zinggjm/GxEPD2@1.6.4 + # renovate: datasource=git-refs depName=CSE_Touch packageName=https://github.com/CIRCUITSTATE/CSE_Touch gitBranch=main https://github.com/CIRCUITSTATE/CSE_Touch/archive/b44f23b6f870b848f1fbe453c190879bc6cfaafa.zip + # renovate: datasource=github-tags depName=CSE_CST328 packageName=CIRCUITSTATE/CSE_CST328 https://github.com/CIRCUITSTATE/CSE_CST328/archive/refs/tags/v0.0.4.zip + # renovate: datasource=git-refs depName=BQ27220 packageName=https://github.com/mverch67/BQ27220 gitBranch=main https://github.com/mverch67/BQ27220/archive/07d92be846abd8a0258a50c23198dac0858b22ed.zip diff --git a/variants/esp32s3/t-deck/platformio.ini b/variants/esp32s3/t-deck/platformio.ini index 9ab0756d1..c8f3c8d5e 100644 --- a/variants/esp32s3/t-deck/platformio.ini +++ b/variants/esp32s3/t-deck/platformio.ini @@ -12,9 +12,12 @@ build_flags = ${esp32s3_base.build_flags} -I variants/esp32s3/t-deck lib_deps = ${esp32s3_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 - earlephilhower/ESP8266Audio@^1.9.9 - earlephilhower/ESP8266SAM@^1.0.1 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 + # renovate: datasource=custom.pio depName=ESP8266Audio packageName=earlephilhower/library/ESP8266Audio + earlephilhower/ESP8266Audio@1.9.9 + # renovate: datasource=custom.pio depName=ESP8266SAM packageName=earlephilhower/library/ESP8266SAM + earlephilhower/ESP8266SAM@1.1.0 [env:t-deck-tft] extends = env:t-deck @@ -68,4 +71,5 @@ build_flags = lib_deps = ${env:t-deck.lib_deps} ${device-ui_base.lib_deps} + # renovate: datasource=github-tags depName=bb_captouch packageName=bitbank2/bb_captouch https://github.com/bitbank2/bb_captouch/archive/refs/tags/1.3.1.zip diff --git a/variants/esp32s3/t-deck/variant.h b/variants/esp32s3/t-deck/variant.h index 9b0de631a..ece0cdeaf 100644 --- a/variants/esp32s3/t-deck/variant.h +++ b/variants/esp32s3/t-deck/variant.h @@ -22,6 +22,7 @@ #define SCREEN_ROTATE #define SCREEN_TRANSITION_FRAMERATE 5 #define BRIGHTNESS_DEFAULT 130 // Medium Low Brightness +#define USE_TFTDISPLAY 1 #define HAS_TOUCHSCREEN 1 #define SCREEN_TOUCH_INT 16 diff --git a/variants/esp32s3/t-eth-elite/platformio.ini b/variants/esp32s3/t-eth-elite/platformio.ini index 1a5823bc3..5ed67e977 100644 --- a/variants/esp32s3/t-eth-elite/platformio.ini +++ b/variants/esp32s3/t-eth-elite/platformio.ini @@ -15,4 +15,5 @@ lib_ignore = lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=github-tags depName=ETHClass2 packageName=meshtastic/ETHClass2 https://github.com/meshtastic/ETHClass2/archive/v1.0.0.zip diff --git a/variants/esp32s3/t-watch-s3/platformio.ini b/variants/esp32s3/t-watch-s3/platformio.ini index 59ff8891d..f4a01f186 100644 --- a/variants/esp32s3/t-watch-s3/platformio.ini +++ b/variants/esp32s3/t-watch-s3/platformio.ini @@ -6,16 +6,22 @@ board_check = true board_build.partitions = default_16MB.csv upload_protocol = esptool -build_flags = ${esp32_base.build_flags} +build_flags = ${esp32s3_base.build_flags} -DT_WATCH_S3 -Ivariants/esp32s3/t-watch-s3 -DPCF8563_RTC=0x51 -DHAS_BMA423=1 lib_deps = ${esp32s3_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library lewisxhe/PCF8563_Library@1.0.1 - adafruit/Adafruit DRV2605 Library@^1.2.2 - earlephilhower/ESP8266Audio@^1.9.9 - earlephilhower/ESP8266SAM@^1.0.1 + # renovate: datasource=custom.pio depName=Adafruit DRV2605 packageName=adafruit/library/Adafruit DRV2605 Library + adafruit/Adafruit DRV2605 Library@1.2.4 + # renovate: datasource=custom.pio depName=ESP8266Audio packageName=earlephilhower/library/ESP8266Audio + earlephilhower/ESP8266Audio@1.9.9 + # renovate: datasource=custom.pio depName=ESP8266SAM packageName=earlephilhower/library/ESP8266SAM + earlephilhower/ESP8266SAM@1.1.0 + # renovate: datasource=custom.pio depName=lewisxhe-SensorLib packageName=lewisxhe/library/SensorLib lewisxhe/SensorLib@0.2.0 diff --git a/variants/esp32s3/t-watch-s3/variant.h b/variants/esp32s3/t-watch-s3/variant.h index 578c23c0a..86b0a03c8 100644 --- a/variants/esp32s3/t-watch-s3/variant.h +++ b/variants/esp32s3/t-watch-s3/variant.h @@ -18,6 +18,7 @@ #define TFT_OFFSET_ROTATION 2 #define SCREEN_ROTATE #define SCREEN_TRANSITION_FRAMERATE 5 // fps +#define USE_TFTDISPLAY 1 #define HAS_TOUCHSCREEN 1 #define SCREEN_TOUCH_INT 16 diff --git a/variants/esp32s3/tbeam-s3-core/platformio.ini b/variants/esp32s3/tbeam-s3-core/platformio.ini index fba8e4003..0f840627a 100644 --- a/variants/esp32s3/tbeam-s3-core/platformio.ini +++ b/variants/esp32s3/tbeam-s3-core/platformio.ini @@ -7,6 +7,7 @@ board_check = true lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library lewisxhe/PCF8563_Library@1.0.1 build_flags = diff --git a/variants/esp32s3/tbeam-s3-core/rfswitch.h b/variants/esp32s3/tbeam-s3-core/rfswitch.h new file mode 100644 index 000000000..19080cec6 --- /dev/null +++ b/variants/esp32s3/tbeam-s3-core/rfswitch.h @@ -0,0 +1,11 @@ +#include "RadioLib.h" + +static const uint32_t rfswitch_dio_pins[] = {RADIOLIB_LR11X0_DIO5, RADIOLIB_LR11X0_DIO6, RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC}; + +static const Module::RfSwitchMode_t rfswitch_table[] = { + // mode DIO5 DIO6 + {LR11x0::MODE_STBY, {LOW, LOW}}, {LR11x0::MODE_RX, {HIGH, LOW}}, + {LR11x0::MODE_TX, {LOW, HIGH}}, {LR11x0::MODE_TX_HP, {LOW, HIGH}}, + {LR11x0::MODE_TX_HF, {LOW, LOW}}, {LR11x0::MODE_GNSS, {LOW, LOW}}, + {LR11x0::MODE_WIFI, {LOW, LOW}}, END_OF_MODE_TABLE, +}; \ No newline at end of file diff --git a/variants/esp32s3/tbeam-s3-core/variant.h b/variants/esp32s3/tbeam-s3-core/variant.h index 40ba0307a..1d99fbf14 100644 --- a/variants/esp32s3/tbeam-s3-core/variant.h +++ b/variants/esp32s3/tbeam-s3-core/variant.h @@ -15,6 +15,7 @@ // not found then probe for SX1262 #define USE_SX1262 #define USE_SX1268 +#define USE_LR1121 #define LORA_DIO0 -1 // a No connect on the SX1262 module #define LORA_RESET 5 @@ -34,6 +35,19 @@ // code) #endif +// LR1121 +#ifdef USE_LR1121 +#define LR1121_IRQ_PIN 1 +#define LR1121_NRESET_PIN LORA_RESET +#define LR1121_BUSY_PIN 4 +#define LR1121_SPI_NSS_PIN 10 +#define LR1121_SPI_SCK_PIN 12 +#define LR1121_SPI_MOSI_PIN 11 +#define LR1121_SPI_MISO_PIN 13 +#define LR11X0_DIO3_TCXO_VOLTAGE 3.0 +#define LR11X0_DIO_AS_RF_SWITCH +#endif + // Leave undefined to disable our PMU IRQ handler. DO NOT ENABLE THIS because the pmuirq can cause sperious interrupts // and waking from light sleep // #define PMU_IRQ 40 @@ -64,4 +78,4 @@ // has 32768 Hz crystal #define HAS_32768HZ 1 -#define USE_SH1106 +#define USE_SH1106 \ No newline at end of file diff --git a/variants/esp32s3/tlora-pager/platformio.ini b/variants/esp32s3/tlora-pager/platformio.ini index d63537904..dc4104a81 100644 --- a/variants/esp32s3/tlora-pager/platformio.ini +++ b/variants/esp32s3/tlora-pager/platformio.ini @@ -17,14 +17,23 @@ build_flags = ${esp32s3_base.build_flags} -D ROTARY_BUXTRONICS lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX lovyan03/LovyanGFX@1.2.7 + # renovate: datasource=custom.pio depName=ESP8266Audio packageName=earlephilhower/library/ESP8266Audio earlephilhower/ESP8266Audio@1.9.9 + # renovate: datasource=custom.pio depName=ESP8266SAM packageName=earlephilhower/library/ESP8266SAM earlephilhower/ESP8266SAM@1.0.1 + # renovate: datasource=custom.pio depName=Adafruit DRV2605 packageName=adafruit/library/Adafruit DRV2605 Library adafruit/Adafruit DRV2605 Library@1.2.4 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library lewisxhe/PCF8563_Library@1.0.1 + # renovate: datasource=custom.pio depName=lewisxhe-SensorLib packageName=lewisxhe/library/SensorLib lewisxhe/SensorLib@0.3.1 - https://github.com/pschatzmann/arduino-audio-driver/archive/refs/tags/v0.1.3.zip + # renovate: datasource=github-tags depName=pschatzmann_arduino-audio-driver packageName=pschatzmann/arduino-audio-driver + https://github.com/pschatzmann/arduino-audio-driver/archive/v0.1.3.zip + # TODO renovate https://github.com/mverch67/BQ27220/archive/07d92be846abd8a0258a50c23198dac0858b22ed.zip + # TODO renovate https://github.com/mverch67/RotaryEncoder/archive/da958a21389cbcd485989705df602a33e092dd88.zip [env:tlora-pager-tft] diff --git a/variants/esp32s3/tlora-pager/variant.h b/variants/esp32s3/tlora-pager/variant.h index 2875f6804..fe563cded 100644 --- a/variants/esp32s3/tlora-pager/variant.h +++ b/variants/esp32s3/tlora-pager/variant.h @@ -20,6 +20,7 @@ #define SCREEN_ROTATE #define SCREEN_TRANSITION_FRAMERATE 5 #define BRIGHTNESS_DEFAULT 130 // Medium Low Brightness +#define USE_TFTDISPLAY 1 #define I2C_SDA SDA #define I2C_SCL SCL diff --git a/variants/esp32s3/tlora_t3s3_epaper/platformio.ini b/variants/esp32s3/tlora_t3s3_epaper/platformio.ini index eca052f57..18b9e136e 100644 --- a/variants/esp32s3/tlora_t3s3_epaper/platformio.ini +++ b/variants/esp32s3/tlora_t3s3_epaper/platformio.ini @@ -5,7 +5,7 @@ board_check = true upload_protocol = esptool build_flags = - ${esp32_base.build_flags} + ${esp32s3_base.build_flags} -D TLORA_T3S3_EPAPER -I variants/esp32s3/tlora_t3s3_epaper -DUSE_EINK @@ -13,10 +13,14 @@ build_flags = -DEINK_WIDTH=250 -DEINK_HEIGHT=122 -DUSE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk - -DEINK_LIMIT_FASTREFRESH=10 ; How many consecutive fast-refreshes are permitted + -DEINK_LIMIT_FASTREFRESH=20 ; How many consecutive fast-refreshes are permitted //20 + -DEINK_LIMIT_RATE_BACKGROUND_SEC=30 ; Minimum interval between BACKGROUND updates //30 + -DEINK_LIMIT_RATE_RESPONSIVE_SEC=1 ; Minimum interval between RESPONSIVE updates + -DEINK_BACKGROUND_USES_FAST ; (Optional) Use FAST refresh for both BACKGROUND and RESPONSIVE, until a limit is reached. lib_deps = ${esp32s3_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/b202ebfec6a4821e098cf7a625ba0f6f2400292d.zip [env:tlora-t3s3-epaper-inkhud] @@ -25,7 +29,7 @@ board = tlora-t3s3-v1 board_check = true upload_protocol = esptool build_src_filter = - ${esp32_base.build_src_filter} + ${esp32s3_base.build_src_filter} ${inkhud.build_src_filter} build_flags = ${esp32s3_base.build_flags} diff --git a/variants/esp32s3/tlora_t3s3_v1/platformio.ini b/variants/esp32s3/tlora_t3s3_v1/platformio.ini index 56ece0d62..7a5e3df4b 100644 --- a/variants/esp32s3/tlora_t3s3_v1/platformio.ini +++ b/variants/esp32s3/tlora_t3s3_v1/platformio.ini @@ -5,4 +5,6 @@ board_check = true upload_protocol = esptool build_flags = - ${esp32_base.build_flags} -D TLORA_T3S3_V1 -I variants/esp32s3/tlora_t3s3_v1 + ${esp32s3_base.build_flags} + -D TLORA_T3S3_V1 + -I variants/esp32s3/tlora_t3s3_v1 diff --git a/variants/esp32s3/tracksenger/internal/variant.h b/variants/esp32s3/tracksenger/internal/variant.h index 6f75ad0e2..2287dfe0b 100644 --- a/variants/esp32s3/tracksenger/internal/variant.h +++ b/variants/esp32s3/tracksenger/internal/variant.h @@ -28,6 +28,7 @@ #define TFT_OFFSET_Y -1 #define SCREEN_TRANSITION_FRAMERATE 3 // fps #define DISPLAY_FORCE_SMALL_FONTS +#define USE_TFTDISPLAY 1 #define VEXT_ENABLE 3 // active HIGH, powers the lora antenna boost #define VEXT_ON_VALUE HIGH diff --git a/variants/esp32s3/tracksenger/lcd/variant.h b/variants/esp32s3/tracksenger/lcd/variant.h index 843bf3924..f42a5b19f 100644 --- a/variants/esp32s3/tracksenger/lcd/variant.h +++ b/variants/esp32s3/tracksenger/lcd/variant.h @@ -16,6 +16,7 @@ #define ST7789_CS 38 #define ST7789_RS 40 #define ST7789_BL 21 +#define USE_TFTDISPLAY 1 // P#define TFT_BL 21 /* V1.1 PCB marking */ #define ST7789_RESET -1 diff --git a/variants/esp32s3/tracksenger/platformio.ini b/variants/esp32s3/tracksenger/platformio.ini index 213a917b1..73212c546 100644 --- a/variants/esp32s3/tracksenger/platformio.ini +++ b/variants/esp32s3/tracksenger/platformio.ini @@ -12,7 +12,8 @@ build_flags = lib_deps = ${esp32s3_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 [env:tracksenger-lcd] extends = esp32s3_base @@ -28,7 +29,8 @@ build_flags = lib_deps = ${esp32s3_base.lib_deps} - lovyan03/LovyanGFX@^1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.7 [env:tracksenger-oled] extends = esp32s3_base diff --git a/variants/esp32s3/unphone/platformio.ini b/variants/esp32s3/unphone/platformio.ini index f17a27e17..6c638af29 100644 --- a/variants/esp32s3/unphone/platformio.ini +++ b/variants/esp32s3/unphone/platformio.ini @@ -27,10 +27,12 @@ build_src_filter = +<../variants/esp32s3/unphone> lib_deps = ${esp32s3_base.lib_deps} - lovyan03/LovyanGFX@ 1.2.0 + # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX + lovyan03/LovyanGFX@1.2.0 + # TODO renovate https://gitlab.com/hamishcunningham/unphonelibrary#meshtastic@9.0.0 - adafruit/Adafruit NeoPixel @ ^1.12.0 - + # renovate: datasource=custom.pio depName=NeoPixel packageName=adafruit/library/Adafruit NeoPixel + adafruit/Adafruit NeoPixel@1.15.2 [env:unphone-tft] board_level = extra diff --git a/variants/esp32s3/unphone/variant.h b/variants/esp32s3/unphone/variant.h index 366b49233..6f0710d62 100644 --- a/variants/esp32s3/unphone/variant.h +++ b/variants/esp32s3/unphone/variant.h @@ -36,6 +36,7 @@ #define TFT_INVERT false #define SCREEN_ROTATE true #define SCREEN_TRANSITION_FRAMERATE 5 +#define USE_TFTDISPLAY 1 #define HAS_TOUCHSCREEN 1 #define USE_XPT2046 1 diff --git a/variants/native/portduino-buildroot/platformio.ini b/variants/native/portduino-buildroot/platformio.ini index a3d0f4639..a3a779aeb 100644 --- a/variants/native/portduino-buildroot/platformio.ini +++ b/variants/native/portduino-buildroot/platformio.ini @@ -5,5 +5,4 @@ extends = portduino_base build_flags = ${portduino_base.build_flags} -O0 -I variants/native/portduino-buildroot board = buildroot board_level = extra -lib_deps = ${portduino_base.lib_deps} build_src_filter = ${portduino_base.build_src_filter} \ No newline at end of file diff --git a/variants/native/portduino-buildroot/variant.h b/variants/native/portduino-buildroot/variant.h index 3e91c6820..affd83051 100644 --- a/variants/native/portduino-buildroot/variant.h +++ b/variants/native/portduino-buildroot/variant.h @@ -1,4 +1,5 @@ #define HAS_SCREEN 1 +#define USE_TFTDISPLAY 1 #define CANNED_MESSAGE_MODULE_ENABLE 1 #define HAS_GPS 1 #define MAX_RX_TOPHONE portduino_config.maxtophone diff --git a/arch/portduino/portduino.ini b/variants/native/portduino.ini similarity index 92% rename from arch/portduino/portduino.ini rename to variants/native/portduino.ini index f3fd00de7..76520091c 100644 --- a/arch/portduino/portduino.ini +++ b/variants/native/portduino.ini @@ -2,7 +2,7 @@ [portduino_base] platform = # renovate: datasource=git-refs depName=platform-native packageName=https://github.com/meshtastic/platform-native gitBranch=develop - https://github.com/meshtastic/platform-native/archive/d3f6e339534233c7217818867368767590ce549e.zip + https://github.com/meshtastic/platform-native/archive/f566d364204416cdbf298e349213f7d551f793d9.zip framework = arduino build_src_filter = @@ -21,12 +21,13 @@ build_src_filter = lib_deps = ${env.lib_deps} ${networking_base.lib_deps} + ${networking_extra.lib_deps} ${radiolib_base.lib_deps} ${environmental_base.lib_deps} # renovate: datasource=custom.pio depName=rweather/Crypto packageName=rweather/library/Crypto rweather/Crypto@0.4.0 # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX - lovyan03/LovyanGFX@^1.2.0 + lovyan03/LovyanGFX@1.2.7 # renovate: datasource=git-refs depName=libch341-spi-userspace packageName=https://github.com/pine64/libch341-spi-userspace gitBranch=main https://github.com/pine64/libch341-spi-userspace/archive/af9bc27c9c30fa90772279925b7c5913dff789b4.zip # renovate: datasource=custom.pio depName=adafruit/Adafruit seesaw Library packageName=adafruit/library/Adafruit seesaw Library diff --git a/variants/native/portduino/platformio.ini b/variants/native/portduino/platformio.ini index 4e6a592de..045e3edea 100644 --- a/variants/native/portduino/platformio.ini +++ b/variants/native/portduino/platformio.ini @@ -6,7 +6,8 @@ board = cross_platform board_level = extra lib_deps = ${portduino_base.lib_deps} - melopero/Melopero RV3028@^1.1.0 + # renovate: datasource=custom.pio depName=Melopero RV3028 packageName=melopero/library/Melopero RV3028 + melopero/Melopero RV3028@1.2.0 build_src_filter = ${portduino_base.build_src_filter} @@ -17,6 +18,8 @@ extends = native_base build_flags = ${native_base.build_flags} !pkg-config --libs libulfius --silence-errors || : !pkg-config --libs openssl --silence-errors || : + !pkg-config --cflags --libs sdl2 --silence-errors || : + !pkg-config --cflags --libs libbsd-overlay --silence-errors || : [env:native-tft] extends = native_base @@ -42,6 +45,7 @@ build_flags = ${native_base.build_flags} -Os -lX11 -linput -lxkbcommon -ffunctio !pkg-config --libs libulfius --silence-errors || : !pkg-config --libs openssl --silence-errors || : !pkg-config --cflags --libs sdl2 --silence-errors || : + !pkg-config --cflags --libs libbsd-overlay --silence-errors || : build_src_filter = ${native_base.build_src_filter} @@ -70,6 +74,7 @@ build_flags = ${native_base.build_flags} -Os -ffunction-sections -fdata-sections -D MAP_FULL_REDRAW !pkg-config --libs libulfius --silence-errors || : !pkg-config --libs openssl --silence-errors || : + !pkg-config --cflags --libs libbsd-overlay --silence-errors || : build_src_filter = ${native_base.build_src_filter} @@ -102,6 +107,7 @@ build_flags = ${native_base.build_flags} -O0 -fsanitize=address -lX11 -linput -l -D VIEW_320x240 !pkg-config --libs libulfius --silence-errors || : !pkg-config --libs openssl --silence-errors || : + !pkg-config --cflags --libs libbsd-overlay --silence-errors || : build_src_filter = ${env:native-tft.build_src_filter} [env:coverage] @@ -109,5 +115,5 @@ extends = env:native build_flags = -lgcov --coverage -fprofile-abs-path -fsanitize=address ${env:native.build_flags} ; https://docs.platformio.org/en/latest/projectconf/sections/env/options/test/test_testing_command.html test_testing_command = - ${platformio.build_dir}/${this.__env__}/program + ${platformio.build_dir}/${this.__env__}/meshtasticd -s diff --git a/variants/native/portduino/variant.h b/variants/native/portduino/variant.h index af05fcf8d..972443450 100644 --- a/variants/native/portduino/variant.h +++ b/variants/native/portduino/variant.h @@ -1,6 +1,7 @@ #ifndef HAS_SCREEN #define HAS_SCREEN 1 #endif +#define USE_TFTDISPLAY 1 #define CANNED_MESSAGE_MODULE_ENABLE 1 #define HAS_GPS 1 #define MAX_RX_TOPHONE portduino_config.maxtophone diff --git a/variants/nrf52840/Dongle_nRF52840-pca10059-v1/platformio.ini b/variants/nrf52840/Dongle_nRF52840-pca10059-v1/platformio.ini index 83044c206..880871e13 100644 --- a/variants/nrf52840/Dongle_nRF52840-pca10059-v1/platformio.ini +++ b/variants/nrf52840/Dongle_nRF52840-pca10059-v1/platformio.ini @@ -11,5 +11,6 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/Dongle_nRF52840-pca10059-v1> lib_deps = ${nrf52840_base.lib_deps} - zinggjm/GxEPD2@^1.6.2 + # renovate: datasource=custom.pio depName=GxEPD2 packageName=zinggjm/library/GxEPD2 + zinggjm/GxEPD2@1.6.5 debug_tool = jlink diff --git a/variants/nrf52840/ELECROW-ThinkNode-M1/platformio.ini b/variants/nrf52840/ELECROW-ThinkNode-M1/platformio.ini index f89b05d1f..c7522a04f 100644 --- a/variants/nrf52840/ELECROW-ThinkNode-M1/platformio.ini +++ b/variants/nrf52840/ELECROW-ThinkNode-M1/platformio.ini @@ -23,9 +23,12 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/ELECROW-ThinkNode-M1> lib_deps = ${nrf52840_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/33db3fa8ee6fc47d160bdb44f8f127c9a9203a10.zip - lewisxhe/PCF8563_Library@^1.0.1 - khoih-prog/nRF52_PWM@^1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 + # renovate: datasource=custom.pio depName=nRF52_PWM packageName=khoih-prog/library/nRF52_PWM + khoih-prog/nRF52_PWM@1.0.1 ;upload_protocol = fs [env:thinknode_m1-inkhud] @@ -45,4 +48,5 @@ build_src_filter = lib_deps = ${inkhud.lib_deps} ; InkHUD libs first, so we get GFXRoot instead of AdafruitGFX ${nrf52840_base.lib_deps} - lewisxhe/PCF8563_Library@^1.0.1 \ No newline at end of file + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 diff --git a/variants/nrf52840/ELECROW-ThinkNode-M1/variant.h b/variants/nrf52840/ELECROW-ThinkNode-M1/variant.h index 79e31c54a..e4a6c0397 100644 --- a/variants/nrf52840/ELECROW-ThinkNode-M1/variant.h +++ b/variants/nrf52840/ELECROW-ThinkNode-M1/variant.h @@ -62,17 +62,11 @@ extern "C" { /* * Buttons */ -#define PIN_BUTTON2 (32 + 10) +#define PIN_BUTTON1 (32 + 10) +#define PIN_BUTTON2 (32 + 7) #define ALT_BUTTON_PIN PIN_BUTTON2 #define ALT_BUTTON_ACTIVE_LOW true #define ALT_BUTTON_ACTIVE_PULLUP true -#define PIN_BUTTON1 (32 + 7) - -// #define PIN_BUTTON1 (0 + 11) -// #define PIN_BUTTON1 (32 + 7) - -// #define BUTTON_CLICK_MS 400 -// #define BUTTON_TOUCH_MS 200 /* * Analog pins @@ -157,15 +151,15 @@ External serial flash WP25R1635FZUIL0 #define PIN_GPS_STANDBY (32 + 2) // An output to wake GPS, low means allow sleep, high means force wake // Seems to be missing on this new board // #define PIN_GPS_PPS (32 + 4) // Pulse per second input from the GPS -#define GPS_TX_PIN (32 + 9) // This is for bits going TOWARDS the CPU -#define GPS_RX_PIN (32 + 8) // This is for bits going TOWARDS the GPS +#define GPS_TX_PIN (32 + 8) // This is for bits going TOWARDS the GPS +#define GPS_RX_PIN (32 + 9) // This is for bits going TOWARDS the CPU #define GPS_THREAD_INTERVAL 50 #define PIN_GPS_SWITCH (32 + 1) // GPS开关判断 -#define PIN_SERIAL1_RX GPS_TX_PIN -#define PIN_SERIAL1_TX GPS_RX_PIN +#define PIN_SERIAL1_TX GPS_TX_PIN +#define PIN_SERIAL1_RX GPS_RX_PIN // PCF8563 RTC Module #define PCF8563_RTC 0x51 @@ -203,4 +197,4 @@ External serial flash WP25R1635FZUIL0 } #endif -#endif \ No newline at end of file +#endif diff --git a/variants/nrf52840/ELECROW-ThinkNode-M3/platformio.ini b/variants/nrf52840/ELECROW-ThinkNode-M3/platformio.ini new file mode 100644 index 000000000..7dadc27ee --- /dev/null +++ b/variants/nrf52840/ELECROW-ThinkNode-M3/platformio.ini @@ -0,0 +1,19 @@ +[env:thinknode_m3] +extends = nrf52840_base +board = ThinkNode-M3 +board_check = true +debug_tool = jlink +build_flags = + ${nrf52840_base.build_flags} + -Ivariants/nrf52840/ELECROW-ThinkNode-M3 + -DELECROW_ThinkNode_M3 + -DGPS_POWER_TOGGLE + -D CONFIG_NFCT_PINS_AS_GPIOS=1 + -L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m4/fpv4-sp-d16-hard" +build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/ELECROW-ThinkNode-M3> +lib_deps = + ${nrf52840_base.lib_deps} + # renovate: datasource=custom.pio depName=nRF52_PWM packageName=khoih-prog/library/nRF52_PWM + khoih-prog/nRF52_PWM@1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 diff --git a/variants/nrf52840/ELECROW-ThinkNode-M3/rfswitch.h b/variants/nrf52840/ELECROW-ThinkNode-M3/rfswitch.h new file mode 100644 index 000000000..77ae9ef73 --- /dev/null +++ b/variants/nrf52840/ELECROW-ThinkNode-M3/rfswitch.h @@ -0,0 +1,15 @@ +#include "RadioLib.h" +#include "nrf.h" + +// set RF switch configuration for ELECROW ThinkNode M3 +// ELECROW ThinkNode M3 uses DIO5 and DIO6 for RF switching + +static const uint32_t rfswitch_dio_pins[] = {RADIOLIB_LR11X0_DIO5, RADIOLIB_LR11X0_DIO6, RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC}; + +static const Module::RfSwitchMode_t rfswitch_table[] = { + // mode DIO5 DIO6 + {LR11x0::MODE_STBY, {LOW, LOW}}, {LR11x0::MODE_RX, {HIGH, LOW}}, + {LR11x0::MODE_TX, {HIGH, HIGH}}, {LR11x0::MODE_TX_HP, {LOW, HIGH}}, + {LR11x0::MODE_TX_HF, {LOW, LOW}}, {LR11x0::MODE_GNSS, {LOW, LOW}}, + {LR11x0::MODE_WIFI, {LOW, LOW}}, END_OF_MODE_TABLE, +}; diff --git a/variants/nrf52840/ELECROW-ThinkNode-M3/variant.cpp b/variants/nrf52840/ELECROW-ThinkNode-M3/variant.cpp new file mode 100644 index 000000000..9769e3edd --- /dev/null +++ b/variants/nrf52840/ELECROW-ThinkNode-M3/variant.cpp @@ -0,0 +1,104 @@ +/* + Copyright (c) 2014-2015 Arduino LLC. All right reserved. + Copyright (c) 2016 Sandeep Mistry All right reserved. + Copyright (c) 2018, Adafruit Industries (adafruit.com) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include "variant.h" +#include "meshUtils.h" +#include "nrf.h" +#include "wiring_constants.h" +#include "wiring_digital.h" + +const uint32_t g_ADigitalPinMap[] = { + // P0 + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + + // P1 + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47}; + +void initVariant() +{ + pinMode(KEY_POWER, OUTPUT); + digitalWrite(KEY_POWER, HIGH); + pinMode(RGB_POWER, OUTPUT); + digitalWrite(RGB_POWER, HIGH); + pinMode(green_LED_PIN, OUTPUT); + digitalWrite(green_LED_PIN, LED_STATE_OFF); + pinMode(LED_BLUE, OUTPUT); + pinMode(PIN_POWER_USB, INPUT); + pinMode(PIN_POWER_DONE, INPUT); + pinMode(PIN_POWER_CHRG, INPUT); + pinMode(BUTTON_PIN, INPUT_PULLUP); + pinMode(EEPROM_POWER, OUTPUT); + digitalWrite(EEPROM_POWER, HIGH); + pinMode(PIN_EN1, OUTPUT); + digitalWrite(PIN_EN1, HIGH); + pinMode(PIN_EN2, OUTPUT); + digitalWrite(PIN_EN2, HIGH); + pinMode(ACC_POWER, OUTPUT); + digitalWrite(ACC_POWER, LOW); + pinMode(DHT_POWER, OUTPUT); + digitalWrite(DHT_POWER, HIGH); + pinMode(Battery_POWER, OUTPUT); + digitalWrite(Battery_POWER, HIGH); + pinMode(GPS_POWER, OUTPUT); + digitalWrite(GPS_POWER, HIGH); +} + +// called from main-nrf52.cpp during the cpuDeepSleep() function +void variant_shutdown() +{ + digitalWrite(red_LED_PIN, HIGH); + digitalWrite(green_LED_PIN, HIGH); + digitalWrite(LED_BLUE, HIGH); + + digitalWrite(PIN_EN1, LOW); + digitalWrite(PIN_EN2, LOW); + digitalWrite(EEPROM_POWER, LOW); + digitalWrite(KEY_POWER, LOW); + digitalWrite(DHT_POWER, LOW); + digitalWrite(ACC_POWER, LOW); + digitalWrite(Battery_POWER, LOW); + digitalWrite(GPS_POWER, LOW); + + // This sets the pin to OUTPUT and LOW for the pins *not* in the if block. + for (int pin = 0; pin < 48; pin++) { + if (pin == PIN_POWER_USB || pin == BUTTON_PIN || pin == PIN_EN1 || pin == PIN_EN2 || pin == DHT_POWER || + pin == ACC_POWER || pin == Battery_POWER || pin == GPS_POWER || pin == LR1110_SPI_MISO_PIN || + pin == LR1110_SPI_MOSI_PIN || pin == LR1110_SPI_SCK_PIN || pin == LR1110_SPI_NSS_PIN || pin == LR1110_BUSY_PIN || + pin == LR1110_NRESET_PIN || pin == LR1110_IRQ_PIN || pin == GPS_TX_PIN || pin == GPS_RX_PIN || pin == green_LED_PIN || + pin == red_LED_PIN || pin == LED_BLUE) { + continue; + } + pinMode(pin, OUTPUT); + digitalWrite(pin, LOW); + if (pin >= 32) { + NRF_P1->DIRCLR = (1 << (pin - 32)); + } else { + NRF_GPIO->DIRCLR = (1 << pin); + } + } + + nrf_gpio_cfg_input(BUTTON_PIN, NRF_GPIO_PIN_PULLUP); // Configure the pin to be woken up as an input + nrf_gpio_pin_sense_t sense1 = NRF_GPIO_PIN_SENSE_LOW; + nrf_gpio_cfg_sense_set(BUTTON_PIN, sense1); + + nrf_gpio_cfg_input(PIN_POWER_USB, NRF_GPIO_PIN_PULLDOWN); // Configure the pin to be woken up as an input + nrf_gpio_pin_sense_t sense2 = NRF_GPIO_PIN_SENSE_HIGH; + nrf_gpio_cfg_sense_set(PIN_POWER_USB, sense2); +} \ No newline at end of file diff --git a/variants/nrf52840/ELECROW-ThinkNode-M3/variant.h b/variants/nrf52840/ELECROW-ThinkNode-M3/variant.h new file mode 100644 index 000000000..2ad3efa27 --- /dev/null +++ b/variants/nrf52840/ELECROW-ThinkNode-M3/variant.h @@ -0,0 +1,122 @@ +/* + Copyright (c) 2014-2015 Arduino LLC. All right reserved. + Copyright (c) 2016 Sandeep Mistry All right reserved. + Copyright (c) 2018, Adafruit Industries (adafruit.com) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef _VARIANT_ELECROW_EINK_V1_0_ +#define _VARIANT_ELECROW_EINK_V1_0_ + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +#include "WVariant.h" + +#define VARIANT_MCK (64000000ul) +#define USE_LFXO // Board uses 32khz crystal for LF + +#define ELECROW_ThinkNode_M3 1 +// Number of pins defined in PinDescription array +#define PINS_COUNT (48) +#define NUM_DIGITAL_PINS (48) +#define NUM_ANALOG_INPUTS (1) +#define NUM_ANALOG_OUTPUTS (0) + +// Power Pin +#define NRF_APM +#define GPS_POWER 14 +#define PIN_POWER_USB 31 +#define EXT_PWR_DETECT PIN_POWER_USB +#define PIN_POWER_DONE 24 +#define PIN_POWER_CHRG 32 +#define KEY_POWER 16 +#define ACC_POWER 2 +#define DHT_POWER 3 +#define Battery_POWER 17 +#define RGB_POWER 29 +#define EEPROM_POWER 7 + +// LED +#define red_LED_PIN 33 +#define LED_POWER red_LED_PIN +#define LED_CHARGE LED_POWER // Signals the Status LED Module to handle this LED +#define green_LED_PIN 35 +#define LED_BLUE 37 +#define LED_PAIRING LED_BLUE // Signals the Status LED Module to handle this LED + +#define LED_BUILTIN -1 +#define LED_STATE_ON LOW +#define LED_STATE_OFF HIGH + +// BUZZER +#define PIN_BUZZER 23 +#define PIN_EN1 36 +#define PIN_EN2 34 +/*Wire Interfaces*/ +#define WIRE_INTERFACES_COUNT 1 +#define PIN_WIRE_SDA 26 +#define PIN_WIRE_SCL 27 + +// Temperature correction for sensor +#define AHT10_TEMP_OFFSET -5.0 + +/*GPS pins*/ +#define HAS_GPS 1 +#define GPS_BAUDRATE 9600 +#define PIN_GPS_RESET 25 +#define PIN_GPS_STANDBY 21 +#define GPS_TX_PIN 22 +#define GPS_RX_PIN 20 +#define GPS_THREAD_INTERVAL 50 +#define PIN_SERIAL1_TX GPS_TX_PIN +#define PIN_SERIAL1_RX GPS_RX_PIN +// Button +#define BUTTON_PIN 12 +#define BUTTON_PIN_ALT (0 + 12) +// Battery +#define BATTERY_PIN 5 +#define BATTERY_SENSE_RESOLUTION_BITS 12 +#define BATTERY_SENSE_RESOLUTION 4096.0 +#undef AREF_VOLTAGE +#define AREF_VOLTAGE 2.4 +#define VBAT_AR_INTERNAL AR_INTERNAL_2_4 +#define ADC_MULTIPLIER (1.75) +/*SPI Interfaces*/ +#define SPI_INTERFACES_COUNT 1 +#define PIN_SPI_MISO (32 + 15) // P1.15 47 +#define PIN_SPI_MOSI (32 + 14) // P1.14 46 +#define PIN_SPI_SCK (32 + 13) // P1.13 45 +#define PIN_SPI_NSS (32 + 12) // P1.12 44 +/*LORA Interfaces*/ +#define USE_LR1110 +#define LR1110_IRQ_PIN 40 +#define LR1110_NRESET_PIN 42 +#define LR1110_BUSY_PIN 43 +#define LR1110_SPI_NSS_PIN 44 +#define LR1110_SPI_SCK_PIN 45 +#define LR1110_SPI_MOSI_PIN 46 +#define LR1110_SPI_MISO_PIN 47 +#define LR11X0_DIO3_TCXO_VOLTAGE 3.3 +#define LR11X0_DIO_AS_RF_SWITCH + +// PCF8563 RTC Module +#define PCF8563_RTC 0x51 + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/variants/nrf52840/ELECROW-ThinkNode-M6/platformio.ini b/variants/nrf52840/ELECROW-ThinkNode-M6/platformio.ini new file mode 100644 index 000000000..8f1a660cd --- /dev/null +++ b/variants/nrf52840/ELECROW-ThinkNode-M6/platformio.ini @@ -0,0 +1,16 @@ +; ThinkNode M6 - Outdoor Solar Power nrf52840/sx1262 device +[env:thinknode_m6] +extends = nrf52840_base +board = ThinkNode-M6 +board_check = true +debug_tool = jlink + +build_flags = ${nrf52840_base.build_flags} + -Ivariants/nrf52840/ELECROW-ThinkNode-M6 + -DELECROW_ThinkNode_M6 + +build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/ELECROW-ThinkNode-M6> +lib_deps = + ${nrf52840_base.lib_deps} + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 diff --git a/variants/nrf52840/ELECROW-ThinkNode-M6/variant.cpp b/variants/nrf52840/ELECROW-ThinkNode-M6/variant.cpp new file mode 100644 index 000000000..09872d409 --- /dev/null +++ b/variants/nrf52840/ELECROW-ThinkNode-M6/variant.cpp @@ -0,0 +1,43 @@ +/* + Copyright (c) 2014-2015 Arduino LLC. All right reserved. + Copyright (c) 2016 Sandeep Mistry All right reserved. + Copyright (c) 2018, Adafruit Industries (adafruit.com) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include "variant.h" +#include "nrf.h" +#include "wiring_constants.h" +#include "wiring_digital.h" + +const uint32_t g_ADigitalPinMap[] = { + // P0 - pins 0 and 1 are hardwired for xtal and should never be enabled + 0xff, 0xff, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + + // P1 + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47}; + +void initVariant() +{ + pinMode(LED_CHARGE, OUTPUT); + ledOff(LED_CHARGE); + + pinMode(LED_PAIRING, OUTPUT); + ledOff(LED_PAIRING); + + pinMode(VDD_FLASH_EN, OUTPUT); + digitalWrite(VDD_FLASH_EN, HIGH); +} diff --git a/variants/nrf52840/ELECROW-ThinkNode-M6/variant.h b/variants/nrf52840/ELECROW-ThinkNode-M6/variant.h new file mode 100644 index 000000000..d30b88d66 --- /dev/null +++ b/variants/nrf52840/ELECROW-ThinkNode-M6/variant.h @@ -0,0 +1,144 @@ +/* + Copyright (c) 2014-2015 Arduino LLC. All right reserved. + Copyright (c) 2016 Sandeep Mistry All right reserved. + Copyright (c) 2018, Adafruit Industries (adafruit.com) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef _VARIANT_ELECROW_THINKNODE_M6_ +#define _VARIANT_ELECROW_THINKNODE_M6_ + +/** Master clock frequency */ +#define VARIANT_MCK (64000000ul) + +#define USE_LFXO + +/*---------------------------------------------------------------------------- + * Headers + *----------------------------------------------------------------------------*/ + +#include "WVariant.h" + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +#define PINS_COUNT (48) +#define NUM_DIGITAL_PINS (48) +#define NUM_ANALOG_INPUTS (1) +#define NUM_ANALOG_OUTPUTS (0) + +// LEDs +#define LED_BUILTIN -1 +#define LED_BLUE -1 +#define LED_CHARGE (12) +#define LED_PAIRING (7) + +#define LED_STATE_ON 1 + +// USB power detection +#define EXT_PWR_DETECT (13) + +// Button +#define PIN_BUTTON1 (17) + +// Battery ADC +#define PIN_A0 (28) +#define BATTERY_PIN PIN_A0 +#define ADC_CTRL (11) +#define ADC_CTRL_ENABLED 1 + +static const uint8_t A0 = PIN_A0; + +#define ADC_RESOLUTION 14 +#define BATTERY_SENSE_SAMPLES 30 + +#define PIN_NFC1 (9) +#define PIN_NFC2 (10) + +// I2C +#define WIRE_INTERFACES_COUNT 1 +#define PIN_WIRE_SDA (32 + 9) +#define PIN_WIRE_SCL (8) + +// Peripheral power enable +#define PIN_POWER_EN (27) + +// Solar charger status +#define EXT_CHRG_DETECT (15) +#define EXT_CHRG_DETECT_VALUE LOW + +// QSPI Flash +#define PIN_QSPI_SCK (32 + 3) +#define PIN_QSPI_CS (23) +#define PIN_QSPI_IO0 (32 + 1) +#define PIN_QSPI_IO1 (32 + 2) +#define PIN_QSPI_IO2 (32 + 4) +#define PIN_QSPI_IO3 (32 + 5) + +#define EXTERNAL_FLASH_DEVICES MX25R1635F +#define EXTERNAL_FLASH_USE_QSPI +#define VDD_FLASH_EN (21) + +// LoRa SX1262 +#define USE_SX1262 +#define SX126X_CS (32 + 12) +#define SX126X_DIO1 (32 + 6) +#define SX126X_BUSY (32 + 11) +#define SX126X_RESET (32 + 10) +#define SX126X_DIO2_AS_RF_SWITCH +#define SX126X_DIO3_TCXO_VOLTAGE 3.3 + +// GPS L76K +#define GPS_L76K +#define GPS_BAUDRATE 9600 +#define PIN_GPS_EN (6) +#define PIN_GPS_REINIT (29) +#define PIN_GPS_STANDBY (30) +#define PIN_GPS_PPS (31) +#define GPS_TX_PIN (2) +#define GPS_RX_PIN (3) +#define GPS_THREAD_INTERVAL 50 + +#define PIN_SERIAL1_TX GPS_TX_PIN +#define PIN_SERIAL1_RX GPS_RX_PIN + +// Secondary UART +#define PIN_SERIAL2_RX (22) +#define PIN_SERIAL2_TX (24) + +// PCF8563 RTC Module +#define PCF8563_RTC 0x51 + +// SPI +#define SPI_INTERFACES_COUNT 1 +#define PIN_SPI_MISO (32 + 15) +#define PIN_SPI_MOSI (32 + 14) +#define PIN_SPI_SCK (32 + 13) + +// Battery +#define BATTERY_SENSE_RESOLUTION_BITS 12 +#define BATTERY_SENSE_RESOLUTION 4096.0 +#undef AREF_VOLTAGE +#define AREF_VOLTAGE 3.0 +#define VBAT_AR_INTERNAL AR_INTERNAL_3_0 +#define ADC_MULTIPLIER (1.75F) + +#define HAS_SOLAR + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/variants/nrf52840/ME25LS01-4Y10TD/platformio.ini b/variants/nrf52840/ME25LS01-4Y10TD/platformio.ini index 1279f12c6..ef2e6e517 100644 --- a/variants/nrf52840/ME25LS01-4Y10TD/platformio.ini +++ b/variants/nrf52840/ME25LS01-4Y10TD/platformio.ini @@ -10,8 +10,6 @@ build_flags = ${nrf52840_base.build_flags} -DME25LS01_4Y10TD board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/ME25LS01-4Y10TD> -lib_deps = - ${nrf52840_base.lib_deps} ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) upload_protocol = nrfutil ;upload_port = /dev/ttyACM1 diff --git a/variants/nrf52840/ME25LS01-4Y10TD_e-ink/platformio.ini b/variants/nrf52840/ME25LS01-4Y10TD_e-ink/platformio.ini index f8d6da008..025e28078 100644 --- a/variants/nrf52840/ME25LS01-4Y10TD_e-ink/platformio.ini +++ b/variants/nrf52840/ME25LS01-4Y10TD_e-ink/platformio.ini @@ -15,7 +15,8 @@ board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/ME25LS01-4Y10TD_e-ink> lib_deps = ${nrf52840_base.lib_deps} - zinggjm/GxEPD2@^1.6.2 + # renovate: datasource=custom.pio depName=GxEPD2 packageName=zinggjm/library/GxEPD2 + zinggjm/GxEPD2@1.6.5 ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) upload_protocol = nrfutil ;upload_port = /dev/ttyACM1 diff --git a/variants/nrf52840/MS24SF1/platformio.ini b/variants/nrf52840/MS24SF1/platformio.ini index df15b5605..1cbb3a5a5 100644 --- a/variants/nrf52840/MS24SF1/platformio.ini +++ b/variants/nrf52840/MS24SF1/platformio.ini @@ -9,8 +9,6 @@ build_flags = ${nrf52840_base.build_flags} -Isrc/platform/nrf52/softdevice/nrf52 board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/MS24SF1> -lib_deps = - ${nrf52840_base.lib_deps} ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) upload_protocol = nrfutil ;upload_port = /dev/ttyACM1 diff --git a/variants/nrf52840/MakePython_nRF52840_eink/platformio.ini b/variants/nrf52840/MakePython_nRF52840_eink/platformio.ini index 50e5495f0..d823a7230 100644 --- a/variants/nrf52840/MakePython_nRF52840_eink/platformio.ini +++ b/variants/nrf52840/MakePython_nRF52840_eink/platformio.ini @@ -12,7 +12,9 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/MakePython_nRF52840_eink> lib_deps = ${nrf52840_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-ESP32_Codec2 packageName=https://github.com/meshtastic/ESP32_Codec2 gitBranch=master https://github.com/meshtastic/ESP32_Codec2/archive/633326c78ac251c059ab3a8c430fcdf25b41672f.zip - zinggjm/GxEPD2@^1.6.2 + # renovate: datasource=custom.pio depName=GxEPD2 packageName=zinggjm/library/GxEPD2 + zinggjm/GxEPD2@1.6.5 debug_tool = jlink ;upload_port = /dev/ttyACM4 \ No newline at end of file diff --git a/variants/nrf52840/MakePython_nRF52840_oled/platformio.ini b/variants/nrf52840/MakePython_nRF52840_oled/platformio.ini index c7418e53c..16cef8964 100644 --- a/variants/nrf52840/MakePython_nRF52840_oled/platformio.ini +++ b/variants/nrf52840/MakePython_nRF52840_oled/platformio.ini @@ -8,5 +8,6 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/MakePython_nRF52840_oled> lib_deps = ${nrf52840_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-ESP32_Codec2 packageName=https://github.com/meshtastic/ESP32_Codec2 gitBranch=master https://github.com/meshtastic/ESP32_Codec2/archive/633326c78ac251c059ab3a8c430fcdf25b41672f.zip debug_tool = jlink diff --git a/variants/nrf52840/TWC_mesh_v4/platformio.ini b/variants/nrf52840/TWC_mesh_v4/platformio.ini index 77aeee26e..e196029ec 100644 --- a/variants/nrf52840/TWC_mesh_v4/platformio.ini +++ b/variants/nrf52840/TWC_mesh_v4/platformio.ini @@ -8,5 +8,6 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/TWC_mesh_v4> lib_deps = ${nrf52840_base.lib_deps} - zinggjm/GxEPD2@^1.6.2 + # renovate: datasource=custom.pio depName=GxEPD2 packageName=zinggjm/library/GxEPD2 + zinggjm/GxEPD2@1.6.5 debug_tool = jlink diff --git a/variants/nrf52840/canaryone/platformio.ini b/variants/nrf52840/canaryone/platformio.ini index 251937e9c..c833fd5c7 100644 --- a/variants/nrf52840/canaryone/platformio.ini +++ b/variants/nrf52840/canaryone/platformio.ini @@ -11,5 +11,6 @@ build_flags = build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/canaryone> lib_deps = ${nrf52840_base.lib_deps} - lewisxhe/PCF8563_Library@^1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 ;upload_protocol = fs diff --git a/variants/nrf52840/canaryone/variant.h b/variants/nrf52840/canaryone/variant.h index 836fa74a3..204ca6306 100644 --- a/variants/nrf52840/canaryone/variant.h +++ b/variants/nrf52840/canaryone/variant.h @@ -128,13 +128,13 @@ static const uint8_t A0 = PIN_A0; // #define PIN_GPS_WAKE (GPIO_PORT1 + 2) // An output to wake GPS, low means allow sleep, high means force wake // Seems to be missing on this new board #define PIN_GPS_PPS (GPIO_PORT1 + 4) // Pulse per second input from the GPS -#define GPS_TX_PIN (GPIO_PORT1 + 9) // This is for bits going TOWARDS the CPU -#define GPS_RX_PIN (GPIO_PORT1 + 8) // This is for bits going TOWARDS the GPS +#define GPS_TX_PIN (GPIO_PORT1 + 8) // This is for bits going TOWARDS the GPS +#define GPS_RX_PIN (GPIO_PORT1 + 9) // This is for bits going TOWARDS the CPU #define GPS_THREAD_INTERVAL 50 -#define PIN_SERIAL1_RX GPS_TX_PIN -#define PIN_SERIAL1_TX GPS_RX_PIN +#define PIN_SERIAL1_RX GPS_RX_PIN +#define PIN_SERIAL1_TX GPS_TX_PIN #define GPS_RESET_PIN (GPIO_PORT1 + 5) // GPS reset pin diff --git a/arch/nrf52/cpp_overrides/lfs_util.h b/variants/nrf52840/cpp_overrides/lfs_util.h similarity index 100% rename from arch/nrf52/cpp_overrides/lfs_util.h rename to variants/nrf52840/cpp_overrides/lfs_util.h diff --git a/variants/nrf52840/diy/WashTastic/platformio.ini b/variants/nrf52840/diy/WashTastic/platformio.ini index 881b961e1..0e67f72ad 100644 --- a/variants/nrf52840/diy/WashTastic/platformio.ini +++ b/variants/nrf52840/diy/WashTastic/platformio.ini @@ -8,6 +8,4 @@ build_flags = ${nrf52840_base.build_flags} -D PRIVATE_HW -D EBYTE_E22_900M30S build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/diy/nrf52_promicro_diy_tcxo> -lib_deps = - ${nrf52840_base.lib_deps} debug_tool = jlink diff --git a/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/Schematic_Pro-Micro_Pinouts 2024-12-14.pdf b/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/Schematic_Pro-Micro_Pinouts 2024-12-14.pdf deleted file mode 100644 index de87af141..000000000 --- a/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/Schematic_Pro-Micro_Pinouts 2024-12-14.pdf +++ /dev/null @@ -1,9836 +0,0 @@ -%PDF-1.4 -%߬ -3 0 obj -<> -endobj -4 0 obj -<< -/Length 102720 ->> -stream -0.20 w -0 G -2 J -0 j -100 M -1.00 g -[] 0 d -0.00 826.80 1169.00 -826.80 re -f -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -216.000 806.000 m -216.000 816.000 l -216.000 20.000 m -216.000 10.000 l -412.000 806.000 m -412.000 816.000 l -412.000 20.000 m -412.000 10.000 l -608.000 806.000 m -608.000 816.000 l -608.000 20.000 m -608.000 10.000 l -804.000 806.000 m -804.000 816.000 l -804.000 20.000 m -804.000 10.000 l -1000.000 806.000 m -1000.000 816.000 l -1000.000 20.000 m -1000.000 10.000 l -20.000 610.000 m -10.000 610.000 l -1149.000 610.000 m -1159.000 610.000 l -20.000 414.000 m -10.000 414.000 l -1149.000 414.000 m -1159.000 414.000 l -20.000 218.000 m -10.000 218.000 l -1149.000 218.000 m -1159.000 218.000 l -20.000 22.000 m -10.000 22.000 l -1149.000 22.000 m -1159.000 22.000 l -S -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -11.50 708.00 Td -(A) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -1150.50 708.00 Td -(A) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -11.50 512.00 Td -(B) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -1150.50 512.00 Td -(B) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -11.50 316.00 Td -(C) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -1150.50 316.00 Td -(C) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -11.50 120.00 Td -(D) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -1150.50 120.00 Td -(D) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -118.00 807.50 Td -(1) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -118.00 11.50 Td -(1) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -314.00 807.50 Td -(2) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -314.00 11.50 Td -(2) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -510.00 807.50 Td -(3) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -510.00 11.50 Td -(3) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -706.00 807.50 Td -(4) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -706.00 11.50 Td -(4) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -902.00 807.50 Td -(5) Tj -ET -10.00 w -BT -/F1 9 Tf -9.00 TL -0.533 0.000 0.000 rg -902.00 11.50 Td -(5) Tj -ET -2 J -0 j -100 M -1.00 w -0.53 0.00 0.00 RG -[] 0 d -20.00 806.00 1129.00 -786.00 re -S -2 J -0 j -100 M -1.00 w -0.53 0.00 0.00 RG -[] 0 d -10.00 816.00 1149.00 -806.00 re -S -2 J -0 j -100 M -1.00 w -0.53 0.00 0.00 RG -[] 0 d -705.00 100.00 444.00 -80.00 re -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -0.00 g -[] 0 d -705.100 60.750 m -1148.630 60.750 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -0.00 g -[] 0 d -809.630 40.750 m -1148.630 40.750 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -0.00 g -[] 0 d -1069.610 99.930 m -1069.630 60.750 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -0.00 g -[] 0 d -1069.630 60.750 m -1069.630 40.750 l -S -10.00 w -BT -/F1 11 Tf -11.00 TL -0.533 0.000 0.000 rg -710.00 87.00 Td -(TITLE:) Tj -ET -10.00 w -BT -/F1 13 Tf -13.00 TL -0.000 0.000 1.000 rg -767.62 74.41 Td -(Pro-Micro Pinouts) Tj -ET -10.00 w -BT -/F1 11 Tf -11.00 TL -0.533 0.000 0.000 rg -1074.62 73.75 Td -(REV:) Tj -ET -10.00 w -BT -/F1 12 Tf -12.00 TL -0.000 0.000 1.000 rg -1112.62 73.75 Td -(1.0) Tj -ET -10.00 w -BT -/F1 11 Tf -11.00 TL -0.533 0.000 0.000 rg -814.62 25.00 Td -(Date:) Tj -ET -10.00 w -BT -/F1 12 Tf -12.00 TL -0.000 0.000 1.000 rg -861.62 24.52 Td -(2024-12-17) Tj -ET -10.00 w -BT -/F1 11 Tf -11.00 TL -0.533 0.000 0.000 rg -1073.62 45.00 Td -(Sheet:) Tj -ET -10.00 w -BT -/F1 12 Tf -12.00 TL -0.000 0.000 1.000 rg -1118.62 44.52 Td -(1/1) Tj -ET -10.00 w -BT -/F1 11 Tf -11.00 TL -0.533 0.000 0.000 rg -953.62 24.75 Td -(Drawn By:) Tj -ET -10.00 w -BT -/F1 11 Tf -11.00 TL -0.533 0.000 0.000 rg -814.62 46.75 Td -(Company:) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -0.00 g -[] 0 d -809.630 60.750 m -809.630 20.750 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -541.000 684.000 m -549.000 676.000 l -549.000 684.000 m -541.000 676.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -665.000 680.000 m -635.000 680.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -986.000 649.000 m -994.000 641.000 l -994.000 649.000 m -986.000 641.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -541.000 614.000 m -549.000 606.000 l -549.000 614.000 m -541.000 606.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -541.000 624.000 m -549.000 616.000 l -549.000 624.000 m -541.000 616.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -541.000 644.000 m -549.000 636.000 l -549.000 644.000 m -541.000 636.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -631.000 634.000 m -639.000 626.000 l -639.000 634.000 m -631.000 626.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 804.82 611.00 Tm -(VCC) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -830.000 615.000 m -840.000 615.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -830.000 610.000 m -830.000 620.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 797.50 621.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -830.000 625.000 m -840.000 625.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -830.000 634.000 m -830.000 616.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -828.000 631.000 m -828.000 619.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -826.000 628.000 m -826.000 622.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -824.000 626.000 m -824.000 624.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 1006.50 651.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1000.000 655.000 m -990.000 655.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1000.000 646.000 m -1000.000 664.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1002.000 649.000 m -1002.000 661.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1004.000 652.000 m -1004.000 658.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1006.000 654.000 m -1006.000 656.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 1011.94 671.15 Tm -(IRQ) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -990.000 675.000 m -995.000 680.000 l -1010.000 680.000 l -1010.000 670.000 l -995.000 670.000 l -990.000 675.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 797.25 651.75 Tm -(SCK) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -840.000 655.000 m -835.000 650.000 l -820.000 650.000 l -820.000 660.000 l -835.000 660.000 l -840.000 655.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 804.69 631.45 Tm -(CS) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -840.000 635.000 m -835.000 630.000 l -820.000 630.000 l -820.000 640.000 l -835.000 640.000 l -840.000 635.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 791.48 661.75 Tm -(MOSI) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -840.000 665.000 m -835.000 660.000 l -820.000 660.000 l -820.000 670.000 l -835.000 670.000 l -840.000 665.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 791.41 671.75 Tm -(MISO) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -840.000 675.000 m -835.000 670.000 l -820.000 670.000 l -820.000 680.000 l -835.000 680.000 l -840.000 675.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 790.06 641.57 Tm -(NRST) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -840.000 645.000 m -835.000 640.000 l -820.000 640.000 l -820.000 650.000 l -835.000 650.000 l -840.000 645.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 1011.92 661.15 Tm -(BUSY) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -990.000 665.000 m -995.000 670.000 l -1010.000 670.000 l -1010.000 660.000 l -995.000 660.000 l -990.000 665.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -908.96 708.00 Td -(Seeed-wio-SX1262) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -908.96 717.00 Td -(SEEED_WIO-SX1262) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -862.00 682.00 Td -(RF_SW) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -849.28 686.00 Td -(1) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -840.000 685.000 m -860.000 685.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -862.00 672.00 Td -(MISO) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -849.28 676.00 Td -(2) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -840.000 675.000 m -860.000 675.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -862.00 662.00 Td -(MOSI) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -849.28 666.00 Td -(3) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -840.000 665.000 m -860.000 665.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -862.00 652.00 Td -(CLK) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -849.28 656.00 Td -(4) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -840.000 655.000 m -860.000 655.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -862.00 642.00 Td -(RST) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -849.28 646.00 Td -(5) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -840.000 645.000 m -860.000 645.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -862.00 632.00 Td -(NSS) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -849.28 636.00 Td -(6) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -840.000 635.000 m -860.000 635.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -862.00 622.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -849.28 626.00 Td -(7) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -840.000 625.000 m -860.000 625.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -862.00 612.00 Td -(VCC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -849.28 616.00 Td -(8) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -840.000 615.000 m -860.000 615.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -949.58 642.00 Td -(ANT) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -975.00 646.00 Td -(9) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -990.000 645.000 m -970.000 645.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -947.36 652.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -975.00 656.00 Td -(10) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -990.000 655.000 m -970.000 655.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -943.57 662.00 Td -(BUSY) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -975.00 666.00 Td -(11) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -990.000 665.000 m -970.000 665.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -944.49 672.00 Td -(DIO1) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -975.00 676.00 Td -(12) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -990.000 675.000 m -970.000 675.000 l -S -2 J -0 j -100 M -1.00 w -0.00 G -[] 0 d -860.00 705.00 110.00 -110.00 re -S -1.00 w -0.00 G -[] 0 d -965.00 615.00 m 965.00 623.28 958.28 630.00 950.00 630.00 c -941.72 630.00 935.00 623.28 935.00 615.00 c -935.00 606.72 941.72 600.00 950.00 600.00 c -958.28 600.00 965.00 606.72 965.00 615.00 c -S -2 J -0 j -100 M -1.00 w -0.00 G -[] 0 d -930.00 635.00 40.00 -40.00 re -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -535.000 660.000 m -545.000 660.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 499.82 655.93 Tm -(VCC) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -525.000 660.000 m -535.000 660.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -525.000 655.000 m -525.000 665.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -520.000 670.000 m -545.000 670.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 652.00 699.09 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -665.000 690.000 m -665.000 680.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -674.000 690.000 m -656.000 690.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -671.000 692.000 m -659.000 692.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -668.000 694.000 m -662.000 694.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -666.000 696.000 m -664.000 696.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 507.00 689.09 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -520.000 680.000 m -520.000 670.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -529.000 680.000 m -511.000 680.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -526.000 682.000 m -514.000 682.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -523.000 684.000 m -517.000 684.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -521.000 686.000 m -519.000 686.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 622.00 582.76 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -635.000 600.000 m -635.000 610.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -626.000 600.000 m -644.000 600.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -629.000 598.000 m -641.000 598.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -632.000 596.000 m -638.000 596.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -634.000 594.000 m -636.000 594.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 656.92 616.15 Tm -(BUSY) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -635.000 620.000 m -640.000 625.000 l -655.000 625.000 l -655.000 615.000 l -640.000 615.000 l -635.000 620.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 656.55 636.15 Tm -(SCK) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -635.000 640.000 m -640.000 645.000 l -655.000 645.000 l -655.000 635.000 l -640.000 635.000 l -635.000 640.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 656.92 646.15 Tm -(MISO) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -635.000 650.000 m -640.000 655.000 l -655.000 655.000 l -655.000 645.000 l -640.000 645.000 l -635.000 650.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 656.85 656.15 Tm -(MOSI) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -635.000 660.000 m -640.000 665.000 l -655.000 665.000 l -655.000 655.000 l -640.000 655.000 l -635.000 660.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 657.00 666.45 Tm -(CS) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -635.000 670.000 m -640.000 675.000 l -655.000 675.000 l -655.000 665.000 l -640.000 665.000 l -635.000 670.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 504.19 626.40 Tm -(IRQ) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -545.000 630.000 m -540.000 625.000 l -525.000 625.000 l -525.000 635.000 l -540.000 635.000 l -545.000 630.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 495.06 646.57 Tm -(NRST) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -545.000 650.000 m -540.000 645.000 l -525.000 645.000 l -525.000 655.000 l -540.000 655.000 l -545.000 650.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -584.95 693.33 Td -(RA-01SH) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -584.95 702.33 Td -(HT-RA62) Tj -ET -2 J -0 j -100 M -1.00 w -0.53 0.00 0.00 RG -[] 0 d -557.000 690.000 m -623.000 690.000 l -624.105 690.000 625.000 689.105 625.000 688.000 c -625.000 602.000 l -625.000 600.895 623.895 600.000 623.000 600.000 c -557.000 600.000 l -555.895 600.000 555.000 601.105 555.000 602.000 c -555.000 688.000 l -555.000 689.105 556.105 690.000 557.000 690.000 c -S -1.00 w -0.53 0.00 0.00 RG -0.53 0.00 0.00 rg -[] 0 d -561.50 685.00 m 561.50 685.83 560.83 686.50 560.00 686.50 c -559.17 686.50 558.50 685.83 558.50 685.00 c -558.50 684.17 559.17 683.50 560.00 683.50 c -560.83 683.50 561.50 684.17 561.50 685.00 c -B -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -558.70 676.00 Td -(ANT) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -548.78 681.00 Td -(1) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -545.000 680.000 m -555.000 680.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 g -558.70 666.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 g -548.78 671.00 Td -(2) Tj -ET -1 J -1 j -1.00 w -0.00 G -[] 0 d -545.000 670.000 m -555.000 670.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -558.70 656.00 Td -(3.3V) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -548.78 661.00 Td -(3) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -545.000 660.000 m -555.000 660.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -558.70 646.00 Td -(RESET) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -548.78 651.00 Td -(4) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -545.000 650.000 m -555.000 650.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -558.70 636.00 Td -(TXEN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -548.78 641.00 Td -(5) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -545.000 640.000 m -555.000 640.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -558.70 626.00 Td -(DIO1) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -548.78 631.00 Td -(6) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -545.000 630.000 m -555.000 630.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -558.70 616.00 Td -(DIO2) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -548.78 621.00 Td -(7) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -545.000 620.000 m -555.000 620.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -558.70 606.00 Td -(DIO3) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -548.78 611.00 Td -(8) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -545.000 610.000 m -555.000 610.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 g -600.66 606.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 g -625.50 611.00 Td -(9) Tj -ET -1 J -1 j -1.00 w -0.00 G -[] 0 d -635.000 610.000 m -625.000 610.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -596.87 616.00 Td -(BUSY) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -625.50 621.00 Td -(10) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -635.000 620.000 m -625.000 620.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -596.46 626.00 Td -(RXEN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -625.50 631.00 Td -(11) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -635.000 630.000 m -625.000 630.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -602.64 636.00 Td -(SCK) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -625.50 641.00 Td -(12) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -635.000 640.000 m -625.000 640.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -596.71 646.00 Td -(MISO) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -625.50 651.00 Td -(13) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -635.000 650.000 m -625.000 650.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -596.71 656.00 Td -(MOSI) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -625.50 661.00 Td -(14) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -635.000 660.000 m -625.000 660.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -602.27 666.00 Td -(NSS) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -625.50 671.00 Td -(15) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -635.000 670.000 m -625.000 670.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 g -600.66 676.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 g -625.50 681.00 Td -(16) Tj -ET -1 J -1 j -1.00 w -0.00 G -[] 0 d -635.000 680.000 m -625.000 680.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -153.95 479.05 Td -(AMC-U_FL) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -153.95 488.16 Td -(U6) Tj -ET -2 J -0 j -100 M -1.00 w -0.53 0.00 0.00 RG -[] 0 d -165.00 465.00 20.00 -20.00 re -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -0.00 1.00 -1.00 0.00 174.00 434.29 Tm -(1) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -175.000 425.000 m -175.000 445.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -159.28 456.00 Td -(2) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -155.000 455.000 m -165.000 455.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -185.00 456.00 Td -(3) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -195.000 455.000 m -185.000 455.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -0.00 1.00 -1.00 0.00 174.00 465.00 Tm -(4) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -175.000 475.000 m -175.000 465.000 l -S -1.00 w -0.53 0.00 0.00 RG -[] 0 d -177.00 455.00 m 177.00 456.10 176.10 457.00 175.00 457.00 c -173.90 457.00 173.00 456.10 173.00 455.00 c -173.00 453.90 173.90 453.00 175.00 453.00 c -176.10 453.00 177.00 453.90 177.00 455.00 c -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -0.00 g -[] 0 d -175.000 453.000 m -175.000 445.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -506.000 394.000 m -514.000 386.000 l -514.000 394.000 m -506.000 386.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -646.000 394.000 m -654.000 386.000 l -654.000 394.000 m -646.000 386.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 666.50 415.93 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -660.000 420.000 m -650.000 420.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -660.000 411.000 m -660.000 429.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -662.000 414.000 m -662.000 426.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -664.000 417.000 m -664.000 423.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -666.000 419.000 m -666.000 421.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -650.000 430.000 m -650.000 400.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -796.000 389.000 m -804.000 381.000 l -804.000 389.000 m -796.000 381.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -573.96 503.33 Td -(E22-900M22S) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -573.96 512.33 Td -(E22-900M22S) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 377.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 381.00 Td -(22) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 380.000 m -530.000 380.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 387.00 Td -(ANT) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 391.00 Td -(21) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 390.000 m -530.000 390.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 397.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 401.00 Td -(20) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 400.000 m -530.000 400.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 417.00 Td -(NSS) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 421.00 Td -(19) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 420.000 m -530.000 420.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 427.00 Td -(SCK) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 431.00 Td -(18) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 430.000 m -530.000 430.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 437.00 Td -(MOSI) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 441.00 Td -(17) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 440.000 m -530.000 440.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 447.00 Td -(MISO) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 451.00 Td -(16) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 450.000 m -530.000 450.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 457.00 Td -(NRST) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 461.00 Td -(15) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 460.000 m -530.000 460.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 467.00 Td -(BUSY) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 471.00 Td -(14) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 470.000 m -530.000 470.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 477.00 Td -(DIO1) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 481.00 Td -(13) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 480.000 m -530.000 480.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -532.00 487.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -513.57 491.00 Td -(12) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -510.000 490.000 m -530.000 490.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -607.36 487.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 491.00 Td -(11) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 490.000 m -630.000 490.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -607.36 477.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 481.00 Td -(10) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 480.000 m -630.000 480.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -609.29 467.00 Td -(VCC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 471.00 Td -(9) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 470.000 m -630.000 470.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -604.49 457.00 Td -(DIO2) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 461.00 Td -(8) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 460.000 m -630.000 460.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -603.87 447.00 Td -(TXEN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 451.00 Td -(7) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 450.000 m -630.000 450.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -603.16 437.00 Td -(RXEN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 441.00 Td -(6) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 440.000 m -630.000 440.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -607.36 427.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 431.00 Td -(5) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 430.000 m -630.000 430.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -607.36 417.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 421.00 Td -(4) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 420.000 m -630.000 420.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -607.36 397.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 401.00 Td -(3) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 400.000 m -630.000 400.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -607.36 387.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 391.00 Td -(2) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 390.000 m -630.000 390.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -607.36 377.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -635.00 381.00 Td -(1) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -650.000 380.000 m -630.000 380.000 l -S -2 J -0 j -100 M -1.00 w -0.53 0.00 0.00 RG -[] 0 d -532.000 500.000 m -628.000 500.000 l -629.105 500.000 630.000 499.105 630.000 498.000 c -630.000 362.000 l -630.000 360.895 628.895 360.000 628.000 360.000 c -532.000 360.000 l -530.895 360.000 530.000 361.105 530.000 362.000 c -530.000 498.000 l -530.000 499.105 531.105 500.000 532.000 500.000 c -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -863.96 498.33 Td -(E22-900M30S) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -863.96 507.33 Td -(E22-900M30S) Tj -ET -2 J -0 j -100 M -1.00 w -0.53 0.00 0.00 RG -[] 0 d -822.000 495.000 m -918.000 495.000 l -919.105 495.000 920.000 494.105 920.000 493.000 c -920.000 357.000 l -920.000 355.895 918.895 355.000 918.000 355.000 c -822.000 355.000 l -820.895 355.000 820.000 356.105 820.000 357.000 c -820.000 493.000 l -820.000 494.105 821.105 495.000 822.000 495.000 c -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -897.36 372.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 376.00 Td -(1) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 375.000 m -920.000 375.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -897.36 382.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 386.00 Td -(2) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 385.000 m -920.000 385.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -897.36 392.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 396.00 Td -(3) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 395.000 m -920.000 395.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -897.36 412.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 416.00 Td -(4) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 415.000 m -920.000 415.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -897.36 422.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 426.00 Td -(5) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 425.000 m -920.000 425.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -893.16 432.00 Td -(RXEN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 436.00 Td -(6) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 435.000 m -920.000 435.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -893.87 442.00 Td -(TXEN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 446.00 Td -(7) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 445.000 m -920.000 445.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -894.49 452.00 Td -(DIO2) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 456.00 Td -(8) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 455.000 m -920.000 455.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -899.29 462.00 Td -(VCC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 466.00 Td -(9) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 465.000 m -920.000 465.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -899.29 472.00 Td -(VCC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 476.00 Td -(10) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 475.000 m -920.000 475.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -897.36 482.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -925.00 486.00 Td -(11) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -940.000 485.000 m -920.000 485.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 482.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 486.00 Td -(12) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 485.000 m -820.000 485.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 472.00 Td -(DIO1) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 476.00 Td -(13) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 475.000 m -820.000 475.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 462.00 Td -(BUSY) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 466.00 Td -(14) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 465.000 m -820.000 465.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 452.00 Td -(NRST) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 456.00 Td -(15) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 455.000 m -820.000 455.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 442.00 Td -(MISO) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 446.00 Td -(16) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 445.000 m -820.000 445.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 432.00 Td -(MOSI) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 436.00 Td -(17) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 435.000 m -820.000 435.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 422.00 Td -(SCK) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 426.00 Td -(18) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 425.000 m -820.000 425.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 412.00 Td -(NSS) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 416.00 Td -(19) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 415.000 m -820.000 415.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 392.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 396.00 Td -(20) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 395.000 m -820.000 395.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 382.00 Td -(ANT) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 386.00 Td -(21) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 385.000 m -820.000 385.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -822.00 372.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -803.57 376.00 Td -(22) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -800.000 375.000 m -820.000 375.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -293.99 488.33 Td -(E22-400MM22S) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -293.99 497.33 Td -(E22-900MM22S) Tj -ET -2 J -0 j -100 M -1.00 w -0.53 0.00 0.00 RG -[] 0 d -267.000 485.000 m -333.000 485.000 l -334.105 485.000 335.000 484.105 335.000 483.000 c -335.000 377.000 l -335.000 375.895 333.895 375.000 333.000 375.000 c -267.000 375.000 l -265.895 375.000 265.000 376.105 265.000 377.000 c -265.000 483.000 l -265.000 484.105 266.105 485.000 267.000 485.000 c -S -1.00 w -0.53 0.00 0.00 RG -0.53 0.00 0.00 rg -[] 0 d -271.50 480.00 m 271.50 480.83 270.83 481.50 270.00 481.50 c -269.17 481.50 268.50 480.83 268.50 480.00 c -268.50 479.17 269.17 478.50 270.00 478.50 c -270.83 478.50 271.50 479.17 271.50 480.00 c -B -BT -/F1 9 Tf -9.00 TL -1.000 0.000 0.000 rg -268.70 471.00 Td -(VCC) Tj -ET -BT -/F1 9 Tf -9.00 TL -1.000 0.000 0.000 rg -258.79 476.00 Td -(1) Tj -ET -1 J -1 j -1.00 w -1.00 0.00 0.00 RG -[] 0 d -255.000 475.000 m -265.000 475.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 g -268.70 461.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 g -258.79 466.00 Td -(2) Tj -ET -1 J -1 j -1.00 w -0.00 G -[] 0 d -255.000 465.000 m -265.000 465.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -268.70 451.00 Td -(NRST) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -258.79 456.00 Td -(3) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -255.000 455.000 m -265.000 455.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -268.70 441.00 Td -(NC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -258.79 446.00 Td -(4) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -255.000 445.000 m -265.000 445.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -268.70 431.00 Td -(NC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -258.79 436.00 Td -(5) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -255.000 435.000 m -265.000 435.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -268.70 421.00 Td -(ANT) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -258.79 426.00 Td -(6) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -255.000 425.000 m -265.000 425.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 g -268.70 411.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 g -258.79 416.00 Td -(7) Tj -ET -1 J -1 j -1.00 w -0.00 G -[] 0 d -255.000 415.000 m -265.000 415.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -268.70 401.00 Td -(NC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -258.79 406.00 Td -(8) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -255.000 405.000 m -265.000 405.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -268.70 391.00 Td -(TXEN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -258.79 396.00 Td -(9) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -255.000 395.000 m -265.000 395.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -268.70 381.00 Td -(RXEN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -253.07 386.00 Td -(10) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -255.000 385.000 m -265.000 385.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -306.87 381.00 Td -(BUSY) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -335.50 386.00 Td -(11) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -345.000 385.000 m -335.000 385.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -306.71 391.00 Td -(MISO) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -335.50 396.00 Td -(12) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -345.000 395.000 m -335.000 395.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -306.71 401.00 Td -(MOSI) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -335.50 406.00 Td -(13) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -345.000 405.000 m -335.000 405.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -312.27 411.00 Td -(NSS) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -335.50 416.00 Td -(14) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -345.000 415.000 m -335.000 415.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -312.64 421.00 Td -(SCK) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -335.50 426.00 Td -(15) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -345.000 425.000 m -335.000 425.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 g -310.66 431.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 g -335.50 436.00 Td -(16) Tj -ET -1 J -1 j -1.00 w -0.00 G -[] 0 d -345.000 435.000 m -335.000 435.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -318.29 441.00 Td -(NC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -335.50 446.00 Td -(17) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -345.000 445.000 m -335.000 445.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -307.79 451.00 Td -(DIO3) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -335.50 456.00 Td -(18) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -345.000 455.000 m -335.000 455.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -307.79 461.00 Td -(DIO2) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -335.50 466.00 Td -(19) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -345.000 465.000 m -335.000 465.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -307.79 471.00 Td -(DIO1) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -335.50 476.00 Td -(20) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -345.000 475.000 m -335.000 475.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 366.70 381.60 Tm -(BUSY) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -345.000 385.000 m -350.000 390.000 l -365.000 390.000 l -365.000 380.000 l -350.000 380.000 l -345.000 385.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 203.19 381.40 Tm -(RXEN) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -255.000 385.000 m -250.000 380.000 l -235.000 380.000 l -235.000 390.000 l -250.000 390.000 l -255.000 385.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 366.71 421.60 Tm -(SCK) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -345.000 425.000 m -350.000 430.000 l -365.000 430.000 l -365.000 420.000 l -350.000 420.000 l -345.000 425.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 367.00 391.60 Tm -(MISO) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -345.000 395.000 m -350.000 400.000 l -365.000 400.000 l -365.000 390.000 l -350.000 390.000 l -345.000 395.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 367.00 401.60 Tm -(MOSI) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -345.000 405.000 m -350.000 410.000 l -365.000 410.000 l -365.000 400.000 l -350.000 400.000 l -345.000 405.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 367.00 411.60 Tm -(CS) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -345.000 415.000 m -350.000 420.000 l -365.000 420.000 l -365.000 410.000 l -350.000 410.000 l -345.000 415.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 367.01 461.15 Tm -(DIO2) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -345.000 465.000 m -350.000 470.000 l -365.000 470.000 l -365.000 460.000 l -350.000 460.000 l -345.000 465.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 367.00 471.60 Tm -(IRQ) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -345.000 475.000 m -350.000 480.000 l -365.000 480.000 l -365.000 470.000 l -350.000 470.000 l -345.000 475.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 203.74 391.40 Tm -(TXEN) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -255.000 395.000 m -250.000 390.000 l -235.000 390.000 l -235.000 400.000 l -250.000 400.000 l -255.000 395.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 205.06 451.57 Tm -(NRST) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -255.000 455.000 m -250.000 450.000 l -235.000 450.000 l -235.000 460.000 l -250.000 460.000 l -255.000 455.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 367.01 451.15 Tm -(DIO3) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -345.000 455.000 m -350.000 460.000 l -365.000 460.000 l -365.000 450.000 l -350.000 450.000 l -345.000 455.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 460.06 456.57 Tm -(NRST) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -510.000 460.000 m -505.000 455.000 l -490.000 455.000 l -490.000 465.000 l -505.000 465.000 l -510.000 460.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 671.71 446.60 Tm -(TXEN) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -650.000 450.000 m -655.000 455.000 l -670.000 455.000 l -670.000 445.000 l -655.000 445.000 l -650.000 450.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 469.19 476.40 Tm -(IRQ) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -510.000 480.000 m -505.000 475.000 l -490.000 475.000 l -490.000 485.000 l -505.000 485.000 l -510.000 480.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 672.01 456.15 Tm -(DIO2) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -650.000 460.000 m -655.000 465.000 l -670.000 465.000 l -670.000 455.000 l -655.000 455.000 l -650.000 460.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 474.69 416.40 Tm -(CS) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -510.000 420.000 m -505.000 415.000 l -490.000 415.000 l -490.000 425.000 l -505.000 425.000 l -510.000 420.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 460.61 436.40 Tm -(MOSI) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -510.000 440.000 m -505.000 435.000 l -490.000 435.000 l -490.000 445.000 l -505.000 445.000 l -510.000 440.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 460.61 446.40 Tm -(MISO) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -510.000 450.000 m -505.000 445.000 l -490.000 445.000 l -490.000 455.000 l -505.000 455.000 l -510.000 450.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 466.77 426.40 Tm -(SCK) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -510.000 430.000 m -505.000 425.000 l -490.000 425.000 l -490.000 435.000 l -505.000 435.000 l -510.000 430.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 671.71 436.60 Tm -(RXEN) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -650.000 440.000 m -655.000 445.000 l -670.000 445.000 l -670.000 435.000 l -655.000 435.000 l -650.000 440.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 458.85 466.40 Tm -(BUSY) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -510.000 470.000 m -505.000 465.000 l -490.000 465.000 l -490.000 475.000 l -505.000 475.000 l -510.000 470.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 467.50 395.92 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -500.000 400.000 m -510.000 400.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -500.000 409.000 m -500.000 391.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -498.000 406.000 m -498.000 394.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -496.000 403.000 m -496.000 397.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -494.000 401.000 m -494.000 399.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 467.50 375.92 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -500.000 380.000 m -510.000 380.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -500.000 389.000 m -500.000 371.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -498.000 386.000 m -498.000 374.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -496.000 383.000 m -496.000 377.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -494.000 381.000 m -494.000 379.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 637.00 352.76 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -650.000 370.000 m -650.000 380.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -641.000 370.000 m -659.000 370.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -644.000 368.000 m -656.000 368.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -647.000 366.000 m -653.000 366.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -649.000 364.000 m -651.000 364.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 637.00 509.13 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -650.000 500.000 m -650.000 490.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -659.000 500.000 m -641.000 500.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -656.000 502.000 m -644.000 502.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -653.000 504.000 m -647.000 504.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -651.000 506.000 m -649.000 506.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 467.50 485.92 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -500.000 490.000 m -510.000 490.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -500.000 499.000 m -500.000 481.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -498.000 496.000 m -498.000 484.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -496.000 493.000 m -496.000 487.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -494.000 491.000 m -494.000 489.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 361.50 430.92 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -355.000 435.000 m -345.000 435.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -355.000 426.000 m -355.000 444.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -357.000 429.000 m -357.000 441.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -359.000 432.000 m -359.000 438.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -361.000 434.000 m -361.000 436.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 212.50 410.93 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -245.000 415.000 m -255.000 415.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -245.000 424.000 m -245.000 406.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -243.000 421.000 m -243.000 409.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -241.000 418.000 m -241.000 412.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -239.000 416.000 m -239.000 414.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 212.50 460.93 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -245.000 465.000 m -255.000 465.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -245.000 474.000 m -245.000 456.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -243.000 471.000 m -243.000 459.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -241.000 468.000 m -241.000 462.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -239.000 466.000 m -239.000 464.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -940.000 370.000 m -940.000 425.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 757.50 480.92 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -790.000 485.000 m -800.000 485.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -790.000 494.000 m -790.000 476.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -788.000 491.000 m -788.000 479.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -786.000 488.000 m -786.000 482.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -784.000 486.000 m -784.000 484.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 927.00 504.09 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -940.000 495.000 m -940.000 485.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -949.000 495.000 m -931.000 495.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -946.000 497.000 m -934.000 497.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -943.000 499.000 m -937.000 499.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -941.000 501.000 m -939.000 501.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 757.50 370.92 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -790.000 375.000 m -800.000 375.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -790.000 384.000 m -790.000 366.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -788.000 381.000 m -788.000 369.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -786.000 378.000 m -786.000 372.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -784.000 376.000 m -784.000 374.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 757.50 390.92 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -790.000 395.000 m -800.000 395.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -790.000 404.000 m -790.000 386.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -788.000 401.000 m -788.000 389.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -786.000 398.000 m -786.000 392.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -784.000 396.000 m -784.000 394.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 748.85 461.40 Tm -(BUSY) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -800.000 465.000 m -795.000 460.000 l -780.000 460.000 l -780.000 470.000 l -795.000 470.000 l -800.000 465.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 961.71 431.60 Tm -(RXEN) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -940.000 435.000 m -945.000 440.000 l -960.000 440.000 l -960.000 430.000 l -945.000 430.000 l -940.000 435.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 756.77 421.40 Tm -(SCK) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -800.000 425.000 m -795.000 420.000 l -780.000 420.000 l -780.000 430.000 l -795.000 430.000 l -800.000 425.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 750.61 441.40 Tm -(MISO) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -800.000 445.000 m -795.000 440.000 l -780.000 440.000 l -780.000 450.000 l -795.000 450.000 l -800.000 445.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 750.61 431.40 Tm -(MOSI) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -800.000 435.000 m -795.000 430.000 l -780.000 430.000 l -780.000 440.000 l -795.000 440.000 l -800.000 435.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 764.69 411.40 Tm -(CS) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -800.000 415.000 m -795.000 410.000 l -780.000 410.000 l -780.000 420.000 l -795.000 420.000 l -800.000 415.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 962.01 451.15 Tm -(DIO2) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -940.000 455.000 m -945.000 460.000 l -960.000 460.000 l -960.000 450.000 l -945.000 450.000 l -940.000 455.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 759.19 471.40 Tm -(IRQ) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -800.000 475.000 m -795.000 470.000 l -780.000 470.000 l -780.000 480.000 l -795.000 480.000 l -800.000 475.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 961.71 441.60 Tm -(TXEN) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -940.000 445.000 m -945.000 450.000 l -960.000 450.000 l -960.000 440.000 l -945.000 440.000 l -940.000 445.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 750.06 451.57 Tm -(NRST) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -800.000 455.000 m -795.000 450.000 l -780.000 450.000 l -780.000 460.000 l -795.000 460.000 l -800.000 455.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 927.00 342.76 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -940.000 360.000 m -940.000 370.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -931.000 360.000 m -949.000 360.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -934.000 358.000 m -946.000 358.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -937.000 356.000 m -943.000 356.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -939.000 354.000 m -941.000 354.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 243.00 487.00 Tm -(VCC) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -255.000 485.000 m -255.000 475.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -250.000 485.000 m -260.000 485.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 660.50 465.93 Tm -(VCC) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -660.000 470.000 m -650.000 470.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -660.000 475.000 m -660.000 465.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -175.000 425.000 m -210.000 425.000 l -255.000 425.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 142.00 429.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -155.000 445.000 m -155.000 455.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -146.000 445.000 m -164.000 445.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -149.000 443.000 m -161.000 443.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -152.000 441.000 m -158.000 441.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -154.000 439.000 m -156.000 439.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 182.00 428.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -195.000 445.000 m -195.000 455.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -186.000 445.000 m -204.000 445.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -189.000 443.000 m -201.000 443.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -192.000 441.000 m -198.000 441.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -194.000 439.000 m -196.000 439.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 950.50 460.92 Tm -(+5V) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -950.000 465.000 m -940.000 465.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -950.000 470.000 m -950.000 460.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -650.000 490.000 m -650.000 480.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -940.000 465.000 m -940.000 475.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -231.000 294.000 m -239.000 286.000 l -239.000 294.000 m -231.000 286.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -371.000 244.000 m -379.000 236.000 l -379.000 244.000 m -371.000 236.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -371.000 284.000 m -379.000 276.000 l -379.000 284.000 m -371.000 276.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -371.000 274.000 m -379.000 266.000 l -379.000 274.000 m -371.000 266.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -231.000 204.000 m -239.000 196.000 l -239.000 204.000 m -231.000 196.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -371.000 204.000 m -379.000 196.000 l -379.000 204.000 m -371.000 196.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 397.71 246.28 Tm -(NRST) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -375.000 250.000 m -380.000 255.000 l -395.000 255.000 l -395.000 245.000 l -380.000 245.000 l -375.000 250.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 397.00 256.60 Tm -(IRQ) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -375.000 260.000 m -380.000 265.000 l -395.000 265.000 l -395.000 255.000 l -380.000 255.000 l -375.000 260.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 183.85 236.40 Tm -(BUSY) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -235.000 240.000 m -230.000 235.000 l -215.000 235.000 l -215.000 245.000 l -230.000 245.000 l -235.000 240.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 199.69 246.40 Tm -(CS) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -235.000 250.000 m -230.000 245.000 l -215.000 245.000 l -215.000 255.000 l -230.000 255.000 l -235.000 250.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 185.61 266.40 Tm -(MOSI) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -235.000 270.000 m -230.000 265.000 l -215.000 265.000 l -215.000 275.000 l -230.000 275.000 l -235.000 270.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 191.77 256.40 Tm -(SCK) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -235.000 260.000 m -230.000 255.000 l -215.000 255.000 l -215.000 265.000 l -230.000 265.000 l -235.000 260.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 185.61 276.40 Tm -(MISO) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -235.000 280.000 m -230.000 275.000 l -215.000 275.000 l -215.000 285.000 l -230.000 285.000 l -235.000 280.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -298.96 313.33 Td -(E80-900M2213S) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -298.96 322.33 Td -(E80-900M2213S) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 187.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 191.00 Td -(22) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 190.000 m -255.000 190.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 197.00 Td -(ANT_2.4) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 201.00 Td -(21) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 200.000 m -255.000 200.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 207.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 211.00 Td -(20) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 210.000 m -255.000 210.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 227.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 231.00 Td -(19) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 230.000 m -255.000 230.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 237.00 Td -(BUSY) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 241.00 Td -(18) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 240.000 m -255.000 240.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 247.00 Td -(NSS) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 251.00 Td -(17) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 250.000 m -255.000 250.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 257.00 Td -(SCK) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 261.00 Td -(16) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 260.000 m -255.000 260.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 267.00 Td -(MOSI) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 271.00 Td -(15) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 270.000 m -255.000 270.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 277.00 Td -(MISO) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 281.00 Td -(14) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 280.000 m -255.000 280.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 287.00 Td -(NC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 291.00 Td -(13) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 290.000 m -255.000 290.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -257.00 297.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -238.57 301.00 Td -(12) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -235.000 300.000 m -255.000 300.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -332.36 297.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 301.00 Td -(11) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 300.000 m -355.000 300.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -334.29 287.00 Td -(VCC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 291.00 Td -(10) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 290.000 m -355.000 290.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -329.49 277.00 Td -(DIO7) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 281.00 Td -(9) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 280.000 m -355.000 280.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -329.49 267.00 Td -(DIO8) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 271.00 Td -(8) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 270.000 m -355.000 270.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -329.49 257.00 Td -(DIO9) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 261.00 Td -(7) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 260.000 m -355.000 260.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -328.32 247.00 Td -(NRST) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 251.00 Td -(6) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 250.000 m -355.000 250.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -339.99 237.00 Td -(NC) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 241.00 Td -(5) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 240.000 m -355.000 240.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -332.36 227.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 231.00 Td -(4) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 230.000 m -355.000 230.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -332.36 207.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 211.00 Td -(3) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 210.000 m -355.000 210.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -311.72 197.00 Td -(ANT_900) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 201.00 Td -(2) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 200.000 m -355.000 200.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -332.36 187.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -360.00 191.00 Td -(1) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -375.000 190.000 m -355.000 190.000 l -S -2 J -0 j -100 M -1.00 w -0.53 0.00 0.00 RG -[] 0 d -257.000 310.000 m -353.000 310.000 l -354.105 310.000 355.000 309.105 355.000 308.000 c -355.000 172.000 l -355.000 170.895 353.895 170.000 353.000 170.000 c -257.000 170.000 l -255.895 170.000 255.000 171.105 255.000 172.000 c -255.000 308.000 l -255.000 309.105 256.105 310.000 257.000 310.000 c -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 362.00 163.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -375.000 180.000 m -375.000 190.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -366.000 180.000 m -384.000 180.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -369.000 178.000 m -381.000 178.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -372.000 176.000 m -378.000 176.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -374.000 174.000 m -376.000 174.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 391.50 206.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -385.000 210.000 m -375.000 210.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -385.000 201.000 m -385.000 219.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -387.000 204.000 m -387.000 216.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -389.000 207.000 m -389.000 213.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -391.000 209.000 m -391.000 211.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 391.50 226.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -385.000 230.000 m -375.000 230.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -385.000 221.000 m -385.000 239.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -387.000 224.000 m -387.000 236.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -389.000 227.000 m -389.000 233.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -391.000 229.000 m -391.000 231.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 391.50 296.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -385.000 300.000 m -375.000 300.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -385.000 291.000 m -385.000 309.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -387.000 294.000 m -387.000 306.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -389.000 297.000 m -389.000 303.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -391.000 299.000 m -391.000 301.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 192.50 296.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -225.000 300.000 m -235.000 300.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -225.000 309.000 m -225.000 291.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -223.000 306.000 m -223.000 294.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -221.000 303.000 m -221.000 297.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -219.000 301.000 m -219.000 299.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 192.50 226.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -225.000 230.000 m -235.000 230.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -225.000 239.000 m -225.000 221.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -223.000 236.000 m -223.000 224.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -221.000 233.000 m -221.000 227.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -219.000 231.000 m -219.000 229.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 192.50 206.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -225.000 210.000 m -235.000 210.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -225.000 219.000 m -225.000 201.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -223.000 216.000 m -223.000 204.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -221.000 213.000 m -221.000 207.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -219.000 211.000 m -219.000 209.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 192.50 186.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -225.000 190.000 m -235.000 190.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -225.000 199.000 m -225.000 181.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -223.000 196.000 m -223.000 184.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -221.000 193.000 m -221.000 187.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -219.000 191.000 m -219.000 189.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 386.00 286.00 Tm -(VCC) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -385.000 290.000 m -375.000 290.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -385.000 295.000 m -385.000 285.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -160.000 675.000 m -160.000 680.000 l -160.000 685.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -145.000 655.000 m -160.000 655.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -145.000 645.000 m -160.000 645.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -145.000 635.000 m -160.000 635.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -145.000 625.000 m -160.000 625.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -145.000 615.000 m -160.000 615.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -145.000 605.000 m -160.000 605.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 112.70 591.40 Tm -(P1.06) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -160.000 595.000 m -155.000 590.000 l -140.000 590.000 l -140.000 600.000 l -155.000 600.000 l -160.000 595.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 112.70 701.40 Tm -(P0.06) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -160.000 705.000 m -155.000 700.000 l -140.000 700.000 l -140.000 710.000 l -155.000 710.000 l -160.000 705.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 112.70 691.40 Tm -(P0.08) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -160.000 695.000 m -155.000 690.000 l -140.000 690.000 l -140.000 700.000 l -155.000 700.000 l -160.000 695.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -417.00 632.75 Td -(1.5M) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -417.00 641.75 Td -(R2) Tj -ET -2 J -0 j -100 M -1.00 w -0.63 0.00 0.00 RG -[] 0 d -405.00 655.00 10.00 -20.00 re -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -410.000 655.000 m -410.000 665.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -410.000 635.000 m -410.000 625.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -0.00 1.00 -1.00 0.00 413.70 727.50 Tm -(Batt) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -410.000 705.000 m -405.000 710.000 l -405.000 725.000 l -415.000 725.000 l -415.000 710.000 l -410.000 705.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -186.000 549.000 m -194.000 541.000 l -194.000 549.000 m -186.000 541.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -196.000 549.000 m -204.000 541.000 l -204.000 549.000 m -196.000 541.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -206.000 549.000 m -214.000 541.000 l -214.000 549.000 m -206.000 541.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -276.000 719.000 m -284.000 711.000 l -284.000 719.000 m -276.000 711.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -156.000 719.000 m -164.000 711.000 l -164.000 719.000 m -156.000 711.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 397.00 599.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -410.000 615.000 m -410.000 625.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -401.000 615.000 m -419.000 615.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -404.000 613.000 m -416.000 613.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -407.000 611.000 m -413.000 611.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -409.000 609.000 m -411.000 609.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -410.000 665.000 m -280.000 665.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -417.00 672.75 Td -(1M) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -417.00 681.75 Td -(R1) Tj -ET -2 J -0 j -100 M -1.00 w -0.63 0.00 0.00 RG -[] 0 d -405.00 695.00 10.00 -20.00 re -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -410.000 695.000 m -410.000 705.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -410.000 675.000 m -410.000 665.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -290.000 685.000 m -280.000 685.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 312.01 681.07 Tm -(RBtn) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -290.000 685.000 m -295.000 690.000 l -310.000 690.000 l -310.000 680.000 l -295.000 680.000 l -290.000 685.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 99.24 621.60 Tm -(UBtn) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -145.000 625.000 m -140.000 620.000 l -125.000 620.000 l -125.000 630.000 l -140.000 630.000 l -145.000 625.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 117.50 676.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -150.000 680.000 m -160.000 680.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -150.000 689.000 m -150.000 671.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -148.000 686.000 m -148.000 674.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -146.000 683.000 m -146.000 677.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -144.000 681.000 m -144.000 679.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -290.000 595.000 m -280.000 595.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -290.000 655.000 m -280.000 655.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -290.000 605.000 m -280.000 605.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -290.000 625.000 m -280.000 625.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 92.64 631.40 Tm -(GPSen) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -145.000 635.000 m -140.000 630.000 l -125.000 630.000 l -125.000 640.000 l -140.000 640.000 l -145.000 635.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 93.85 651.40 Tm -(GPSrx) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -145.000 655.000 m -140.000 650.000 l -125.000 650.000 l -125.000 660.000 l -140.000 660.000 l -145.000 655.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 94.40 641.40 Tm -(GPStx) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -145.000 645.000 m -140.000 640.000 l -125.000 640.000 l -125.000 650.000 l -140.000 650.000 l -145.000 645.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -290.000 615.000 m -280.000 615.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -290.000 635.000 m -280.000 635.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -290.000 645.000 m -280.000 645.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -345.000 695.000 m -280.000 695.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -345.000 675.000 m -280.000 675.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 312.00 601.60 Tm -(IRQ) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -290.000 605.000 m -295.000 610.000 l -310.000 610.000 l -310.000 600.000 l -295.000 600.000 l -290.000 605.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 312.50 591.60 Tm -(NRST) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -290.000 595.000 m -295.000 600.000 l -310.000 600.000 l -310.000 590.000 l -295.000 590.000 l -290.000 595.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 356.00 671.00 Tm -(VCC) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -355.000 675.000 m -345.000 675.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -355.000 680.000 m -355.000 670.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 312.00 621.60 Tm -(CS) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -290.000 625.000 m -295.000 630.000 l -310.000 630.000 l -310.000 620.000 l -295.000 620.000 l -290.000 625.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 312.00 631.60 Tm -(MOSI) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -290.000 635.000 m -295.000 640.000 l -310.000 640.000 l -310.000 630.000 l -295.000 630.000 l -290.000 635.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 312.00 641.60 Tm -(MISO) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -290.000 645.000 m -295.000 650.000 l -310.000 650.000 l -310.000 640.000 l -295.000 640.000 l -290.000 645.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 311.84 611.60 Tm -(SCk) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -290.000 615.000 m -295.000 620.000 l -310.000 620.000 l -310.000 610.000 l -295.000 610.000 l -290.000 615.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 311.70 651.60 Tm -(BUSY) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -290.000 655.000 m -295.000 660.000 l -310.000 660.000 l -310.000 650.000 l -295.000 650.000 l -290.000 655.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 361.50 691.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -355.000 695.000 m -345.000 695.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -355.000 686.000 m -355.000 704.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -357.000 689.000 m -357.000 701.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -359.000 692.000 m -359.000 698.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -361.000 694.000 m -361.000 696.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 302.50 701.30 Tm -(Batt) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -280.000 705.000 m -285.000 710.000 l -300.000 710.000 l -300.000 700.000 l -285.000 700.000 l -280.000 705.000 l -S -10.00 w -BT -/F1 13 Tf -13.00 TL -0.000 0.000 1.000 rg -1015.00 25.00 Td -(Nom De Tom) Tj -ET -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 647.00 251.60 Tm -(IRQ) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -625.000 255.000 m -630.000 260.000 l -645.000 260.000 l -645.000 250.000 l -630.000 250.000 l -625.000 255.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 513.00 297.00 Tm -(VCC) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -525.000 295.000 m -525.000 285.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -520.000 295.000 m -530.000 295.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -625.000 175.000 m -625.000 215.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 612.00 149.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -625.000 165.000 m -625.000 175.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -616.000 165.000 m -634.000 165.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -619.000 163.000 m -631.000 163.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -622.000 161.000 m -628.000 161.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -624.000 159.000 m -626.000 159.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 474.33 201.85 Tm -(BUSY) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -525.000 205.000 m -520.000 200.000 l -505.000 200.000 l -505.000 210.000 l -520.000 210.000 l -525.000 205.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 473.74 191.85 Tm -(RXEN) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -525.000 195.000 m -520.000 190.000 l -505.000 190.000 l -505.000 200.000 l -520.000 200.000 l -525.000 195.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 482.41 231.85 Tm -(SCK) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -525.000 235.000 m -520.000 230.000 l -505.000 230.000 l -505.000 240.000 l -520.000 240.000 l -525.000 235.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 476.41 251.85 Tm -(MISO) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -525.000 255.000 m -520.000 250.000 l -505.000 250.000 l -505.000 260.000 l -520.000 260.000 l -525.000 255.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 476.48 241.85 Tm -(MOSI) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -525.000 245.000 m -520.000 240.000 l -505.000 240.000 l -505.000 250.000 l -520.000 250.000 l -525.000 245.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 489.69 221.45 Tm -(CS) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -525.000 225.000 m -520.000 220.000 l -505.000 220.000 l -505.000 230.000 l -520.000 230.000 l -525.000 225.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 647.01 241.15 Tm -(DIO2) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -625.000 245.000 m -630.000 250.000 l -645.000 250.000 l -645.000 240.000 l -630.000 240.000 l -625.000 245.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 474.33 181.85 Tm -(TXEN) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -525.000 185.000 m -520.000 180.000 l -505.000 180.000 l -505.000 190.000 l -520.000 190.000 l -525.000 185.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 475.06 261.57 Tm -(NRST) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -525.000 265.000 m -520.000 260.000 l -505.000 260.000 l -505.000 270.000 l -520.000 270.000 l -525.000 265.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -568.96 298.33 Td -(SX1262_MOD) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -584.58 282.00 Td -(ANT) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -610.00 286.00 Td -(16) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -625.000 285.000 m -605.000 285.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -568.96 307.33 Td -(CORE_SX1262) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -582.36 202.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -610.00 206.00 Td -(2) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -625.000 205.000 m -605.000 205.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -547.00 192.00 Td -(RXEN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -534.28 196.00 Td -(3) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -525.000 195.000 m -545.000 195.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -547.00 182.00 Td -(TXEN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -534.28 186.00 Td -(4) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -525.000 185.000 m -545.000 185.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -579.49 242.00 Td -(DIO2) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -610.00 246.00 Td -(5) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -625.000 245.000 m -605.000 245.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -579.49 252.00 Td -(DIO1) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -610.00 256.00 Td -(6) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -625.000 255.000 m -605.000 255.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -582.36 192.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -610.00 196.00 Td -(7) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -625.000 195.000 m -605.000 195.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -547.00 282.00 Td -(3V3) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -534.28 286.00 Td -(8) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -525.000 285.000 m -545.000 285.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -547.00 202.00 Td -(BUSY) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -534.28 206.00 Td -(9) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -525.000 205.000 m -545.000 205.000 l -S -1.00 w -0.53 0.00 0.00 RG -545.00 265.00 m 545.00 266.66 543.66 268.00 542.00 268.00 c -540.34 268.00 539.00 266.66 539.00 265.00 c -539.00 263.34 540.34 262.00 542.00 262.00 c -543.66 262.00 545.00 263.34 545.00 265.00 c -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -547.00 262.00 Td -(RST) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -528.57 266.00 Td -(10) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -525.000 265.000 m -539.000 265.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -547.00 252.00 Td -(MISO) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -528.57 256.00 Td -(11) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -525.000 255.000 m -545.000 255.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -547.00 242.00 Td -(MOSI) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -528.57 246.00 Td -(12) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -525.000 245.000 m -545.000 245.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -545.000 232.000 m -548.000 235.000 l -545.000 238.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -547.00 232.00 Td -(CLK) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -528.57 236.00 Td -(13) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -525.000 235.000 m -545.000 235.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -547.00 222.00 Td -(CS) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -528.57 226.00 Td -(14) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -525.000 225.000 m -545.000 225.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -582.36 182.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -610.00 186.00 Td -(15) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -625.000 185.000 m -605.000 185.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -582.36 212.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -610.00 216.00 Td -(1) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -625.000 215.000 m -605.000 215.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -0.00 g -[] 0 d -550.000 295.000 m -600.000 295.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -0.00 g -[] 0 d -605.000 290.000 m -605.000 180.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -0.00 g -[] 0 d -600.000 175.000 m -550.000 175.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -0.00 g -[] 0 d -545.000 180.000 m -545.000 290.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -545.000 290.000 m -545.000 295.000 545.000 295.000 550.000 295.000 c -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -600.000 295.000 m -605.000 295.000 605.000 295.000 605.000 290.000 c -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -605.000 180.000 m -605.000 175.000 605.000 175.000 600.000 175.000 c -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -545.000 180.000 m -545.000 175.000 545.000 175.000 550.000 175.000 c -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 737.72 681.45 Tm -(MCU_RXEN) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -820.000 685.000 m -815.000 680.000 l -800.000 680.000 l -800.000 690.000 l -815.000 690.000 l -820.000 685.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -1115.00 362.67 Td -(100uF) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -1115.00 371.67 Td -(C1) Tj -ET -1 J -1 j -1.00 w -0.63 0.00 0.00 RG -0.00 g -[] 0 d -1113.000 373.000 m -1097.000 373.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -1105.000 365.000 m -1105.000 355.000 l -S -1 J -1 j -1.00 w -0.63 0.00 0.00 RG -0.00 g -[] 0 d -1105.000 385.000 m -1105.000 377.000 l -S -1 J -1 j -1.00 w -0.63 0.00 0.00 RG -0.00 g -[] 0 d -1097.000 377.000 m -1113.000 377.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -1105.000 385.000 m -1105.000 395.000 l -S -1 J -1 j -1.00 w -0.63 0.00 0.00 RG -0.00 g -[] 0 d -1105.000 373.000 m -1105.000 365.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -1065.00 362.67 Td -(100uF) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -1065.00 371.67 Td -(C2) Tj -ET -1 J -1 j -1.00 w -0.63 0.00 0.00 RG -0.00 g -[] 0 d -1063.000 373.000 m -1047.000 373.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -1055.000 365.000 m -1055.000 355.000 l -S -1 J -1 j -1.00 w -0.63 0.00 0.00 RG -0.00 g -[] 0 d -1055.000 385.000 m -1055.000 377.000 l -S -1 J -1 j -1.00 w -0.63 0.00 0.00 RG -0.00 g -[] 0 d -1047.000 377.000 m -1063.000 377.000 l -S -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -1055.000 385.000 m -1055.000 395.000 l -S -1 J -1 j -1.00 w -0.63 0.00 0.00 RG -0.00 g -[] 0 d -1055.000 373.000 m -1055.000 365.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 1092.00 329.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1105.000 345.000 m -1105.000 355.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1096.000 345.000 m -1114.000 345.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1099.000 343.000 m -1111.000 343.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1102.000 341.000 m -1108.000 341.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1104.000 339.000 m -1106.000 339.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 1043.00 407.00 Tm -(VCC) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1055.000 405.000 m -1055.000 395.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1050.000 405.000 m -1060.000 405.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 1042.00 327.76 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1055.000 345.000 m -1055.000 355.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1046.000 345.000 m -1064.000 345.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1049.000 343.000 m -1061.000 343.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1052.000 341.000 m -1058.000 341.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1054.000 339.000 m -1056.000 339.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 1095.00 407.00 Tm -(+5V) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1105.000 405.000 m -1105.000 395.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -1100.000 405.000 m -1110.000 405.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 102.98 611.40 Tm -(SCL) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -145.000 615.000 m -140.000 610.000 l -125.000 610.000 l -125.000 620.000 l -140.000 620.000 l -145.000 615.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 101.11 601.40 Tm -(SDA) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -145.000 605.000 m -140.000 600.000 l -125.000 600.000 l -125.000 610.000 l -140.000 610.000 l -145.000 605.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -820.000 685.000 m -840.000 685.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 77.72 661.45 Tm -(MCU_RXEN) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -160.000 665.000 m -155.000 660.000 l -140.000 660.000 l -140.000 670.000 l -155.000 670.000 l -160.000 665.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -160.000 715.000 m -165.000 715.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -621.000 289.000 m -629.000 281.000 l -629.000 289.000 m -621.000 281.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -251.000 439.000 m -259.000 431.000 l -259.000 439.000 m -251.000 431.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -251.000 449.000 m -259.000 441.000 l -259.000 449.000 m -251.000 441.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -341.000 449.000 m -349.000 441.000 l -349.000 449.000 m -341.000 441.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -251.000 409.000 m -259.000 401.000 l -259.000 409.000 m -251.000 401.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -171.000 479.000 m -179.000 471.000 l -179.000 479.000 m -171.000 471.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 432.69 661.28 Tm -(ADC) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -410.000 665.000 m -415.000 670.000 l -430.000 670.000 l -430.000 660.000 l -415.000 660.000 l -410.000 665.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -213.86 728.26 Td -(PRO_MICRO_NRF52840_29P) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -213.86 737.11 Td -(PRO-MICRO) Tj -ET -2 J -0 j -100 M -1.00 w -0.55 0.14 0.14 RG -[] 0 d -180.00 725.00 80.00 -160.00 re -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -234.94 702.00 Td -(BATIN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 706.00 Td -(25) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 705.000 m -260.000 705.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -240.95 692.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 696.00 Td -(24) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 695.000 m -260.000 695.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -243.04 682.00 Td -(RST) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 686.00 Td -(23) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 685.000 m -260.000 685.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -226.28 672.00 Td -(3.3v Out) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 676.00 Td -(22) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 675.000 m -260.000 675.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -236.90 632.00 Td -(P1.15) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 636.00 Td -(18) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 635.000 m -260.000 635.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -236.90 662.00 Td -(P0.31) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 666.00 Td -(21) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 665.000 m -260.000 665.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 692.00 Td -(P0.08) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -168.28 696.00 Td -(3) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 695.000 m -180.000 695.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -236.90 622.00 Td -(P1.13) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 626.00 Td -(17) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 625.000 m -260.000 625.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -236.90 652.00 Td -(P0.29) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 656.00 Td -(20) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 655.000 m -260.000 655.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -236.90 612.00 Td -(P1.11) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 616.00 Td -(16) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 615.000 m -260.000 615.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -236.90 642.00 Td -(P0.02) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 646.00 Td -(19) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 645.000 m -260.000 645.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 682.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -168.28 686.00 Td -(4) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 685.000 m -180.000 685.000 l -S -1.00 w -0.55 0.14 0.14 RG -180.00 705.00 m 180.00 706.66 178.66 708.00 177.00 708.00 c -175.34 708.00 174.00 706.66 174.00 705.00 c -174.00 703.34 175.34 702.00 177.00 702.00 c -178.66 702.00 180.00 703.34 180.00 705.00 c -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 702.00 Td -(P0.06) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -168.28 706.00 Td -(2) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 705.000 m -174.000 705.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -236.90 592.00 Td -(P0.09) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 596.00 Td -(14) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 595.000 m -260.000 595.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -236.90 602.00 Td -(P0.10) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 606.00 Td -(15) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 605.000 m -260.000 605.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 602.00 Td -(P1.04) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -162.57 606.00 Td -(12) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 605.000 m -180.000 605.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 672.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -168.28 676.00 Td -(5) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 675.000 m -180.000 675.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 662.00 Td -(P0.17) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -168.28 666.00 Td -(6) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 665.000 m -180.000 665.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 652.00 Td -(P0.20) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -168.28 656.00 Td -(7) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 655.000 m -180.000 655.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 642.00 Td -(P0.22) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -168.28 646.00 Td -(8) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 645.000 m -180.000 645.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 632.00 Td -(P0.24) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -168.28 636.00 Td -(9) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 635.000 m -180.000 635.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 622.00 Td -(P1.00) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -162.57 626.00 Td -(10) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 625.000 m -180.000 625.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 612.00 Td -(P0.11) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -162.57 616.00 Td -(11) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 615.000 m -180.000 615.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 592.00 Td -(P1.06) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -162.57 596.00 Td -(13) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 595.000 m -180.000 595.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -0.00 1.00 -1.00 0.00 193.00 568.00 Tm -(P1.01) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -0.00 1.00 -1.00 0.00 189.00 547.57 Tm -(27) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -190.000 545.000 m -190.000 565.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -0.00 1.00 -1.00 0.00 203.00 568.00 Tm -(P1.02) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -0.00 1.00 -1.00 0.00 199.00 547.57 Tm -(28) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -200.000 545.000 m -200.000 565.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -0.00 1.00 -1.00 0.00 213.00 568.00 Tm -(P1.07) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -0.00 1.00 -1.00 0.00 209.00 547.57 Tm -(29) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -210.000 545.000 m -210.000 565.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -234.94 712.00 Td -(BATIN) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -266.00 716.00 Td -(26) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -280.000 715.000 m -260.000 715.000 l -S -BT -/F1 7 Tf -7.00 TL -0.553 0.137 0.137 rg -183.00 712.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.553 0.137 0.137 rg -168.28 716.00 Td -(1) Tj -ET -1 J -1 j -1.00 w -0.55 0.14 0.14 RG -[] 0 d -160.000 715.000 m -180.000 715.000 l -S -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -864.25 253.00 Td -(RA-02_C9900010926) Tj -ET -10.00 w -BT -/F3 9 Tf -9.00 TL -0.000 0.000 0.502 rg -864.25 262.00 Td -(RA-02) Tj -ET -2 J -0 j -100 M -1.00 w -0.53 0.00 0.00 RG -[] 0 d -837.000 250.000 m -903.000 250.000 l -904.105 250.000 905.000 249.105 905.000 248.000 c -905.000 162.000 l -905.000 160.895 903.895 160.000 903.000 160.000 c -837.000 160.000 l -835.895 160.000 835.000 161.105 835.000 162.000 c -835.000 248.000 l -835.000 249.105 836.105 250.000 837.000 250.000 c -S -1.00 w -0.53 0.00 0.00 RG -0.53 0.00 0.00 rg -[] 0 d -841.50 245.00 m 841.50 245.83 840.83 246.50 840.00 246.50 c -839.17 246.50 838.50 245.83 838.50 245.00 c -838.50 244.17 839.17 243.50 840.00 243.50 c -840.83 243.50 841.50 244.17 841.50 245.00 c -B -BT -/F1 9 Tf -9.00 TL -0.000 g -838.70 236.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 g -828.78 241.00 Td -(1) Tj -ET -1 J -1 j -1.00 w -0.00 G -[] 0 d -825.000 240.000 m -835.000 240.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 g -838.70 226.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 g -828.78 231.00 Td -(2) Tj -ET -1 J -1 j -1.00 w -0.00 G -[] 0 d -825.000 230.000 m -835.000 230.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -838.70 216.00 Td -(3.3V) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -828.78 221.00 Td -(3) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -825.000 220.000 m -835.000 220.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -838.70 206.00 Td -(RESET) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -828.78 211.00 Td -(4) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -825.000 210.000 m -835.000 210.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -838.70 196.00 Td -(DIO0) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -828.78 201.00 Td -(5) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -825.000 200.000 m -835.000 200.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -838.70 186.00 Td -(DIO1) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -828.78 191.00 Td -(6) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -825.000 190.000 m -835.000 190.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -838.70 176.00 Td -(DIO2) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -828.78 181.00 Td -(7) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -825.000 180.000 m -835.000 180.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -838.70 166.00 Td -(DIO3) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -828.78 171.00 Td -(8) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -825.000 170.000 m -835.000 170.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 g -880.66 166.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 g -905.50 171.00 Td -(9) Tj -ET -1 J -1 j -1.00 w -0.00 G -[] 0 d -915.000 170.000 m -905.000 170.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -877.79 176.00 Td -(DIO4) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -905.50 181.00 Td -(10) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -915.000 180.000 m -905.000 180.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -877.79 186.00 Td -(DIO5) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -905.50 191.00 Td -(11) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -915.000 190.000 m -905.000 190.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -882.64 196.00 Td -(SCK) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -905.50 201.00 Td -(12) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -915.000 200.000 m -905.000 200.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -876.71 206.00 Td -(MISO) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -905.50 211.00 Td -(13) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -915.000 210.000 m -905.000 210.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -876.71 216.00 Td -(MOSI) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -905.50 221.00 Td -(14) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -915.000 220.000 m -905.000 220.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -882.27 226.00 Td -(NSS) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 0.000 1.000 rg -905.50 231.00 Td -(15) Tj -ET -1 J -1 j -1.00 w -0.53 0.00 0.00 RG -[] 0 d -915.000 230.000 m -905.000 230.000 l -S -BT -/F1 9 Tf -9.00 TL -0.000 g -880.66 236.00 Td -(GND) Tj -ET -BT -/F1 9 Tf -9.00 TL -0.000 g -905.50 241.00 Td -(16) Tj -ET -1 J -1 j -1.00 w -0.00 G -[] 0 d -915.000 240.000 m -905.000 240.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 773.85 196.40 Tm -(BUSY) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -825.000 200.000 m -820.000 195.000 l -805.000 195.000 l -805.000 205.000 l -820.000 205.000 l -825.000 200.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 937.00 226.60 Tm -(CS) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -915.000 230.000 m -920.000 235.000 l -935.000 235.000 l -935.000 225.000 l -920.000 225.000 l -915.000 230.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 936.71 196.60 Tm -(SCK) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -915.000 200.000 m -920.000 205.000 l -935.000 205.000 l -935.000 195.000 l -920.000 195.000 l -915.000 200.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 937.00 216.60 Tm -(MOSI) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -915.000 220.000 m -920.000 225.000 l -935.000 225.000 l -935.000 215.000 l -920.000 215.000 l -915.000 220.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 937.00 206.60 Tm -(MISO) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -915.000 210.000 m -920.000 215.000 l -935.000 215.000 l -935.000 205.000 l -920.000 205.000 l -915.000 210.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 775.06 206.57 Tm -(NRST) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -825.000 210.000 m -820.000 205.000 l -805.000 205.000 l -805.000 215.000 l -820.000 215.000 l -825.000 210.000 l -S -BT -/F2 11 Tf -11.00 TL -0.000 0.000 1.000 rg -1.00 -0.00 0.00 1.00 784.19 186.40 Tm -(IRQ) Tj -ET -1 J -1 j -1.00 w -0.00 0.00 1.00 RG -0.00 g -[] 0 d -825.000 190.000 m -820.000 185.000 l -805.000 185.000 l -805.000 195.000 l -820.000 195.000 l -825.000 190.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 931.50 166.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -925.000 170.000 m -915.000 170.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -925.000 161.000 m -925.000 179.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -927.000 164.000 m -927.000 176.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -929.000 167.000 m -929.000 173.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -931.000 169.000 m -931.000 171.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 931.50 236.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -925.000 240.000 m -915.000 240.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -925.000 231.000 m -925.000 249.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -927.000 234.000 m -927.000 246.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -929.000 237.000 m -929.000 243.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -931.000 239.000 m -931.000 241.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 782.50 236.00 Tm -(GND) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -815.000 240.000 m -825.000 240.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -815.000 249.000 m -815.000 231.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -813.000 246.000 m -813.000 234.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -811.000 243.000 m -811.000 237.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -809.000 241.000 m -809.000 239.000 l -S -1 J -1 j -1.00 w -0.00 0.53 0.00 RG -0.00 g -[] 0 d -825.000 240.000 m -825.000 230.000 l -S -BT -/F2 12 Tf -12.00 TL -0.000 g -1.00 -0.00 0.00 1.00 789.82 216.00 Tm -(VCC) Tj -ET -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -815.000 220.000 m -825.000 220.000 l -S -1 J -1 j -1.00 w -0.00 G -0.00 g -[] 0 d -815.000 215.000 m -815.000 225.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -911.000 194.000 m -919.000 186.000 l -919.000 194.000 m -911.000 186.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -911.000 184.000 m -919.000 176.000 l -919.000 184.000 m -911.000 176.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -821.000 184.000 m -829.000 176.000 l -829.000 184.000 m -821.000 176.000 l -S -1 J -1 j -1.00 w -0.20 0.80 0.20 RG -[] 0 d -821.000 174.000 m -829.000 166.000 l -829.000 174.000 m -821.000 166.000 l -S -0.80 0.00 0.00 rg -652.50 420.00 m 652.50 421.38 651.38 422.50 650.00 422.50 c -648.62 422.50 647.50 421.38 647.50 420.00 c -647.50 418.62 648.62 417.50 650.00 417.50 c -651.38 417.50 652.50 418.62 652.50 420.00 c -f -0.80 0.00 0.00 rg -942.50 415.00 m 942.50 416.38 941.38 417.50 940.00 417.50 c -938.62 417.50 937.50 416.38 937.50 415.00 c -937.50 413.62 938.62 412.50 940.00 412.50 c -941.38 412.50 942.50 413.62 942.50 415.00 c -f -0.80 0.00 0.00 rg -942.50 395.00 m 942.50 396.38 941.38 397.50 940.00 397.50 c -938.62 397.50 937.50 396.38 937.50 395.00 c -937.50 393.62 938.62 392.50 940.00 392.50 c -941.38 392.50 942.50 393.62 942.50 395.00 c -f -0.80 0.00 0.00 rg -942.50 385.00 m 942.50 386.38 941.38 387.50 940.00 387.50 c -938.62 387.50 937.50 386.38 937.50 385.00 c -937.50 383.62 938.62 382.50 940.00 382.50 c -941.38 382.50 942.50 383.62 942.50 385.00 c -f -0.80 0.00 0.00 rg -942.50 375.00 m 942.50 376.38 941.38 377.50 940.00 377.50 c -938.62 377.50 937.50 376.38 937.50 375.00 c -937.50 373.62 938.62 372.50 940.00 372.50 c -941.38 372.50 942.50 373.62 942.50 375.00 c -f -0.80 0.00 0.00 rg -652.50 490.00 m 652.50 491.38 651.38 492.50 650.00 492.50 c -648.62 492.50 647.50 491.38 647.50 490.00 c -647.50 488.62 648.62 487.50 650.00 487.50 c -651.38 487.50 652.50 488.62 652.50 490.00 c -f -0.80 0.00 0.00 rg -942.50 465.00 m 942.50 466.38 941.38 467.50 940.00 467.50 c -938.62 467.50 937.50 466.38 937.50 465.00 c -937.50 463.62 938.62 462.50 940.00 462.50 c -941.38 462.50 942.50 463.62 942.50 465.00 c -f -0.80 0.00 0.00 rg -412.50 665.00 m 412.50 666.38 411.38 667.50 410.00 667.50 c -408.62 667.50 407.50 666.38 407.50 665.00 c -407.50 663.62 408.62 662.50 410.00 662.50 c -411.38 662.50 412.50 663.62 412.50 665.00 c -f -0.80 0.00 0.00 rg -162.50 680.00 m 162.50 681.38 161.38 682.50 160.00 682.50 c -158.62 682.50 157.50 681.38 157.50 680.00 c -157.50 678.62 158.62 677.50 160.00 677.50 c -161.38 677.50 162.50 678.62 162.50 680.00 c -f -0.80 0.00 0.00 rg -627.50 185.00 m 627.50 186.38 626.38 187.50 625.00 187.50 c -623.62 187.50 622.50 186.38 622.50 185.00 c -622.50 183.62 623.62 182.50 625.00 182.50 c -626.38 182.50 627.50 183.62 627.50 185.00 c -f -0.80 0.00 0.00 rg -627.50 195.00 m 627.50 196.38 626.38 197.50 625.00 197.50 c -623.62 197.50 622.50 196.38 622.50 195.00 c -622.50 193.62 623.62 192.50 625.00 192.50 c -626.38 192.50 627.50 193.62 627.50 195.00 c -f -0.80 0.00 0.00 rg -627.50 205.00 m 627.50 206.38 626.38 207.50 625.00 207.50 c -623.62 207.50 622.50 206.38 622.50 205.00 c -622.50 203.62 623.62 202.50 625.00 202.50 c -626.38 202.50 627.50 203.62 627.50 205.00 c -f -0.80 0.00 0.00 rg -827.50 240.00 m 827.50 241.38 826.38 242.50 825.00 242.50 c -823.62 242.50 822.50 241.38 822.50 240.00 c -822.50 238.62 823.62 237.50 825.00 237.50 c -826.38 237.50 827.50 238.62 827.50 240.00 c -f -q -102.00 0 0 20.00 706.00 30.50 cm -/I0 Do -Q -endstream -endobj -1 0 obj -<> -endobj -5 0 obj -<< -/Descent -209 -/CapHeight 727 -/StemV 0 -/Type /FontDescriptor -/Flags 32 -/FontBBox [-559 -303 1446 1050] -/FontName /Verdana -/ItalicAngle 0 -/Ascent 1005 ->> -endobj -6 0 obj -<> -endobj -7 0 obj -<< -/Type /Font -/BaseFont /Times-Roman -/Subtype /Type1 -/Encoding /WinAnsiEncoding -/FirstChar 32 -/LastChar 255 ->> -endobj -8 0 obj -<< -/Descent -325 -/CapHeight 500 -/StemV 80 -/Type /FontDescriptor -/Flags 32 -/FontBBox [-665 -325 2000 1006] -/FontName /Arial -/ItalicAngle 0 -/Ascent 1006 ->> -endobj -9 0 obj -<> -endobj -10 0 obj -<< -/Type /XObject -/Subtype /Image -/Width 520 -/Height 105 -/ColorSpace /DeviceRGB -/BitsPerComponent 8 -/DecodeParms <> -/SMask 11 0 R -/Length 6251 -/Filter /FlateDecode ->> -stream -xKqǣ{$V>:dm]uXbřZ>ـlhy-a$`!qMrN|G^_LUz8gfdf0~ SEQe"EQaAQEۢ&\gn_@QJk#o(sdAO%1GŘf!Eykn!׍&쯯),rlUӳR(p\DUnGo),m(.@Qҳ\9TEYdd#ܼsu.)rUXWqvkG<7yW(Jk)˶yns ?'ȶ섡RtOQ:oNsk(kȯ`U7(ƬjY8n+jRݠ(ʚK@+U೸֙ٚ4Bd^T7( -W ㊞g)}] 4TIQc2+D+H ]noh6<+S`?w~N*c{!q~j`z&VPRe 4hy4AQ5!vQo_}?cEQր*Q >yû(>?-hQV₞ɡ7ߦb~>HRǸ!<^}v~[TTaYUmAX$;9lφ"w9$3;yFQ<b~x-Q.}| ӱu -=9ԭ,jic>9R#bɪ|X_4eb'6~/v K!I"Nbejӎa?f򃔼b꧃1N 3ȺwErU4;q5A6<0tϤ"/R >X$%AZ1c{od6^Sr)k-䔎zD/⇺l,bzs&gGL1HXɲUS]ҋRBrēwLwX|楔]2CI2w,!S*Nf&Ybd]]9U`~qQ]e3}GؑJRYQ඾r֌.͌uNO79ĝ(0'OvJg{d ٥wq9 d+,өQBV=>qU6FB%1ڷD؈_gVPW)By24qaJԌ$pk8q]t q.!y-8́},wȷP%?C>4pTa߇8'ZNm19 m>Q eMi$- :1̱mt^"\˩ 84R!t "!W' }g>fd5hDuO3|m 0I?x]r fR4H4 8BKrYA1cL:{%o;gZpD1[{P|=`2(K^6gr_ 9Nو? 9,zYD4<*W)*/ws8y+<.E  嚞˹/u%NQA>9ϴch @93hvs~~I7k[|9)s&*þ[<#e -ٜӓ(m!èkzP\`\̞hOa^Q]Bvl:P]}~Ո~zyfduۅjz'> )o\n`i%4Nk4G RI]/[|M=.-uV'W3A̯ _:<`I-jFLP]KcH&Ϙ~ W178YnW=!l 3n4)ZPeS V5JR1=9ʾ0ɰAʛt1_d%gh l3%c -nŔZ!g?+sDNoz8'"L5(BY;q5~'ųZ"慊o?JaЛc\%\MsɔiLq]PE['Uʎ_z7(C3rt$@EBe ~9IoN@2?ԫ܍Q972ý.3@v^_}xZɶn\rR. ɳzz_MD I"t:V^Õ -2/;؁y 9 -©h  -5vWP޻H#n 6*8W$1{ eB*rb4$!&?˵bJŰr tǀYGȥI +~ǰװO -NRT62Oy\Yw񑭖C{kKl/,4_}5iCpQ ~"(Py.x1m0Mrڧ/ug]|&S_.=ę!V!t=)l7 t:ݤ'REgH&w 9Zr]3ܺrc;hH9yK *g\mcbG`M@Qj<|)~Et -8;N/$%4qI_KSp{pkx;Vi7u_N$C`F67ˣM-|2(/5)M*>] &%[aǫG$ +B=etHLEy0{oD̔KMpT 7FDA7?7nL aRq Q[^1@(R@lk7 \pRa [yC;e Dx{RSZ\;GɞJh^ipNbH݈x;^XRƼ\gbMBTK-Pp;mpP.v:j ;>*o -ĽIG1|%z((y}D -ć%O1$(wO _=Â7)^'*Bݲ#ULc 6p7nPȫN+\^y;PjG82ܚG?!Vne2doŭϼ -q1JO텘"ӻA n _5mE~qTiwu 8+i*x؆ Vu+^f|`(pp8ԔK} +Zq9= %&6紦uKe }FX\q5&HOhӴTGw;G*@ӡ`n]0ss}ZWhNѰt\\ JYEpN1'{im[/`5a!np)'6}ڟBUǭ~嗩op:Vf/fV F[ !t'<} S1ţc8}.4baΉ"+)!u(ofO| qB K?wCi!bѕ`+bjb1+ /miɭ g.X:rgUKK,3rڐf">[)˚+Dj bna 5[oL"pe|r(L^e̟gQYm5P]tݬĝ鐭xj1ՅDe\X[DV7TEF6/C@hbo1A`PoT:-݈}Vq!,J_j%D1#7;D$I(St(0'KK\SW}/;*b>)9]Jw+[CDi,ТˣRIᅖZe@l=Qbk tjAT`&wm3@] r28\ݸREMP+*zE❩{~|ԃMlwǶpZfo@3/M`cw$V LQ.%D6v]/p*4B )Ddb5~| -J -$ ۝zW3ovѨ}.R{L%o#4>݂q)C?.$a,nl&vJ,c >l*U4v)ɢ +iͿUM`娘lSƩP0؄Ha>"IUh+VQ7aJQr.6ҷǀf3@ŕ +z$e&SR#}[M"ڊPңey׀UA_bP1%2r JTd )J2&2M hIu*k -F\UQ kM}v(Fjb S(I"kc QO%)Ǧ(4L0gUwX^4'R_hXgmׯR9YiF|yLʕ.-%]g^\ϜTRSL1hAI6E  JZt)(PŠ(\@(rF- -endstream -endobj -11 0 obj -<< -/Type /XObject -/Subtype /Image -/Width 520 -/Height 105 -/ColorSpace /DeviceGray -/BitsPerComponent 8 -/DecodeParms <> -/Length 6577 -/Filter /FlateDecode ->> -stream -x] M?c=ȳJQj"*"xIJhGQ"o袌4(`B0_}{}3W3[g{{{k p*Bn"5 -߯Ds0uN\'!WfBKl5Gt\1g}vD]EԄ\᾽3珧/Sډ&B!ދIɻ:fVW&>ľ~Jz\z "`O>o/t[mGT]/u }EM4(uBW+I~ @SvXMq:~=|EP(BxF=hƕnWV/Ϗjpw,z~PvЬ]9ޕ,gv{NM[u)+++?DPɩ~^vJu? )2tGqL -Ï*ʋIȌ'#GR$$뵏[<ҡ䔊]]L'{KG9x)Lԉ -0G6.ݡ92P-b|N2NU#4}K&jG DԷc#By&ZdQ%ND#BݵԚv>)s\RPB>Wiк3k. -p5|aΈ ԈQQ5xO!XdAB"9g~2P<Z2s1v/tFtd/4Yx7wa鮋(:Bc7 E`~wa'S>{~ -0ㄠ)9Zm Δ>EE-# -_xEbeAvc]DeCӏOs@j=oj+58`~W/x} љ^VzMQv7GU| CEbTK0CEңU%ێ^NO{K-q"+W`No`VW~md1JwKf.*(c*s= -@qǭ/G|#A8 tf:Vo 2 g| <ʬ3i|r>V[%{gX7닅;%6&Z8(˰ؚ4+{> 3'HgvM=MBt:LnukTl4ӉHDuNşvGXX~!,!5 :M_cssQI>k#+0~ǎj'1\%P8ՠ* -C"hoW!;yTv9.:64lLd6cm)gӕzʅwLd`:kj/f5O'3w2^ $b^~ejS[z]*_~c#eI2[BӧC.⴨Q({z+WnݺB<=p2nCQ{w)[ב{\zZl[h.jyMt9]'pn7Fخ8Qp%| kN»3g2{ۜ#Հػ/r @`Six΀?_wijpo"9{sS]r61B)z<;h!/ eT  nGAQis79Wbp k=i~ݵ )KX[n -K3w̧$Apbz#D*J)2$)Wo&9VWeޱL\4@)69ֆՠH23`O@?zm~ GBQI ?=))Q,p1'nўXfb,̎ZY06 GYw1=n32 "0pyq0WH|,|WXm`R)^o;{ƌ&?Se * :D?d6G+RQsi9+v -EqwKmfP7JgNJ<ۀ3n-*:侟HvlwRs^0GjFy-NHu{T8xЪ̽ lmd`|8X~g.ty H/m' 4/8Nvor(dO9‹@ 1 bՄoA*e1Z쎕&L`- lR,l1xwݞ9t>D} p1~&)%,,0^j  4>N}춖1w6miW0crAI~aߊ?*{JIڢ &ѿ+qTnLdz.~vKDFyо\y%[6mjrg">tCrRY)S@ڂ`ZرB8]`.f1J|!\2Yc:H6c/Qۜvo^aL% Y"#qwǛqW_i,2Kz=◧IdV^\Y.G+ǻ6Dў4S)UrCD -7#lg]|H'bRNUt~i' n+ f&ݍPr'Rd:4".;mi氧/=j훌wJc neWCn/PA5^b6I#6O%2A|ǧ㽎ԛ^MN@e.z 1ۓ ý6(-+j 6g);8)tKTn?pgN{砱 -L!KI 4aҎ: -r \4l'qK)o5UY#/h 16ƁB2dV yK -6F8"ƍSSK_dRh4*_?LѫVS[+?޺ IzE=B"ҔH׸3n+4d(b"`W~D}Gerp{)/B"hMh@#j~4-f`IkLtؐΒԣI4&ݿ֬_7KR$hyhJw3Tu0W|P&L/Y50_d&ןZB. B4eӋPB?% -xYŰt# m#C`Xhѩp'zOCd~7 p?DQaBC%'Qn'w 9{JCitWq,YO֦ 0:෤'҉FF߹:iy* ~%k/aXxQT4 E Z%{sIb&EjMQw4붘.qT7P@j@LJ7AhY<3P`P(&ia8=n5'>t^B͗Ym\_p2]KN/*5^1@&OVJ` -hN%:OwoF|r`oX"-[ATw m0y( ǂہ[-68*6_558$Cne;h҉1c;[jȱ&gיDvoc߮I|RZ> BO>rBWȉT!9Oe 0+:BcbBP9i{6mB' e>Ty#xOZH{tT<` 3ރә@2l -&@WA>KZumx(11f8RuJWD+(f_ld9qmx1A65nd3RL~ -\rt4z*yKo܀LlYwO/;LoXeBG4WOpWCx) aR$O B?* ʹdՌ]lI yсK|3ܺ60s]n@{)R]#*1ѢX5K,-j."n^`W.8ufR;=w T"a´㓽l(.~iX\kf=Uaۏ*{IcEa1ʹTsxXQ,~Qė@梽R,@UR-J))J$}aͣ/)UXQ3[e¶5KFNe`fEїi Ċ |r|+de&4\!qaj)2Z[E] oz #HFR?2.beгPd -1^a4S)]Hph^@7 +WmNIY]|9ŋK]@toYɱJmͯ7^Al2+XWZ0^߱]^025_f4#/UGCJG[<~7ݲԎۭ5bչk}y1Ԭ0r2euZQM/6Z,`|S2ʺMJ(83w [n -}~s<_t)OΎT+(Zd%I5|`T뉃 -* ͑tb"F4 2/*>>/ԣ@ ;$X2wׂiM=agCʽFWXl˨+RT^Or Cwp]"H:u"##ҘRN/_z#)Kj=r+Vy<+Xn\G!!B_8V'w#Ev·s`EPR7«À!!ZAuTLmV#"oƐlogc"c';oHok/WE0]IXF]!wE0Xy-lx3ōaQ - tjMnUBQf<_E X4f.]A0FIϋ*> ;\DPp#AT ?7 -endstream -endobj -2 0 obj -<< -/ProcSet [/PDF /Text /ImageB /ImageC /ImageI] -/Font << -/F1 6 0 R -/F2 7 0 R -/F3 9 0 R ->> -/XObject << -/I0 10 0 R ->> ->> -endobj -12 0 obj -<< -/Producer (jsPDF 0.0.0) -/CreationDate (D:20241217154849-00'00') ->> -endobj -13 0 obj -<< -/Type /Catalog -/Pages 1 0 R -/OpenAction [3 0 R /FitH null] -/PageLayout /OneColumn ->> -endobj -xref -0 14 -0000000000 65535 f -0000102899 00000 n -0000118853 00000 n -0000000015 00000 n -0000000125 00000 n -0000102956 00000 n -0000103126 00000 n -0000104180 00000 n -0000104307 00000 n -0000104476 00000 n -0000105520 00000 n -0000112030 00000 n -0000118988 00000 n -0000119074 00000 n -trailer -<< -/Size 14 -/Root 13 0 R -/Info 12 0 R -/ID [ <906A4C76C35816C42EB6FFD13B3B7D92> <906A4C76C35816C42EB6FFD13B3B7D92> ] ->> -startxref -119178 -%%EOF \ No newline at end of file diff --git a/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/Schematic_Pro-micro_Pinouts_2025-12-04.pdf b/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/Schematic_Pro-micro_Pinouts_2025-12-04.pdf new file mode 100644 index 000000000..6fb9c11c6 --- /dev/null +++ b/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/Schematic_Pro-micro_Pinouts_2025-12-04.pdf @@ -0,0 +1,34152 @@ +%PDF-1.4 +%߬ +3 0 obj +<> +endobj +4 0 obj +<< +/Length 339732 +>> +stream +0.14 w +0 G +q +2 J +0 j +72 M +1.00 g +[] 0 d +0.00 1197.36 848.16 -1197.36 re +f +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +2.88 1194.48 842.40 -1191.60 re +S +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +10.08 1187.28 828.00 -1177.20 re +S +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +71.28 3.60 Td +<0031> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +71.28 1188.00 Td +<0031> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +211.68 3.60 Td +<0032> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +211.68 1188.00 Td +<0032> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +352.08 3.60 Td +<0033> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +352.08 1188.00 Td +<0033> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +492.48 3.60 Td +<0034> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +492.48 1188.00 Td +<0034> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +632.88 3.60 Td +<0035> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +632.88 1188.00 Td +<0035> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +773.28 3.60 Td +<0036> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +773.28 1188.00 Td +<0036> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +4.68 1042.65 Td +<0041> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +839.88 1042.65 Td +<0041> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +4.68 744.75 Td +<0042> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +839.88 744.75 Td +<0042> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +4.68 446.85 Td +<0043> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +839.88 446.85 Td +<0043> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +4.68 148.95 Td +<0044> Tj +ET +7.20 w +BT +/F1 7.199999999999999 Tf +7.20 TL +0.627 0.000 0.000 rg +839.88 148.95 Td +<0044> Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +143.280 2.880 m +143.280 10.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +143.280 1194.480 m +143.280 1187.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +283.680 2.880 m +283.680 10.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +283.680 1194.480 m +283.680 1187.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +424.080 2.880 m +424.080 10.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +424.080 1194.480 m +424.080 1187.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +564.480 2.880 m +564.480 10.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +564.480 1194.480 m +564.480 1187.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +704.880 2.880 m +704.880 10.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +704.880 1194.480 m +704.880 1187.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +2.880 896.580 m +10.080 896.580 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +845.280 896.580 m +838.080 896.580 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +2.880 598.680 m +10.080 598.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +845.280 598.680 m +838.080 598.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +2.880 300.780 m +10.080 300.780 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +845.280 300.780 m +838.080 300.780 l +S +7.20 w +BT +/F2 13.090909090909088 Tf +14.40 TL +0.000 0.000 0.502 rg +613.27 70.30 Td +(Pro-micro Pinouts) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.000 0.000 0.502 rg +793.59 43.36 Td +(1) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.000 0.000 0.502 rg +730.08 114.64 Td +(2025-11-07) Tj +ET +7.20 w +BT +/F2 13.090909090909088 Tf +14.40 TL +0.000 0.000 0.502 rg +474.65 120.70 Td +(Pro-micro_Pinouts) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.000 0.000 0.502 rg +709.35 43.36 Td +(1) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.000 0.000 0.502 rg +510.19 100.24 Td +(Sheet_1) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.000 0.000 0.502 rg +509.74 21.04 Td +(V2.0) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.000 0.000 0.502 rg +572.88 21.04 Td +(A3) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +2.88 -1170.85 Td +(1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +2.88 -1170.85 Td +(1) Tj +ET +q +1 0 0 1 0 0 cm +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +339.84 71.44 Td +(Reviewed) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +339.84 85.84 Td +(Drawn) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +509.75 42.64 Td +(VER) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +656.64 114.64 Td +(Create Date) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +656.64 100.24 Td +(Part Number) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +656.64 43.36 Td +(PAGE) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +745.92 43.36 Td +(OF) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +339.84 121.84 Td +(Schematic) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +656.64 129.04 Td +(Update Date) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +566.53 42.64 Td +(SIZE) Tj +ET +7.20 w +BT +/F2 9.818181818181817 Tf +10.80 TL +0.627 0.000 0.000 rg +341.28 100.24 Td +(Page) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +332.64 139.68 505.44 -129.60 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +548.640 10.080 m +548.640 53.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +398.880 38.880 m +398.880 139.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +649.440 139.680 m +649.440 96.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +721.440 96.480 m +721.440 139.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +491.040 96.480 m +491.040 10.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +491.040 82.080 m +332.640 82.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +838.080 125.280 m +649.440 125.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +838.080 38.880 m +332.640 38.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +838.080 96.480 m +332.640 96.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +838.080 53.280 m +332.640 53.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +491.040 67.680 m +332.640 67.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +838.080 110.880 m +332.640 110.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +606.240 53.280 m +606.240 10.080 l +S +q +0.33 0.53 1.00 rg +[] 0 d +414.402 23.650 m +414.554 23.764 414.738 23.821 414.949 23.821 c +415.233 23.821 415.536 23.720 415.859 23.524 c +416.182 23.328 416.492 23.018 416.789 22.594 c +417.936 24.359 l +417.580 24.852 417.138 25.238 416.604 25.510 c +416.070 25.782 415.503 25.915 414.910 25.915 c +414.066 25.915 413.328 25.668 412.708 25.175 c +412.088 24.681 411.778 24.036 411.778 23.252 c +411.778 22.689 411.976 22.151 412.372 21.645 c +412.655 21.285 413.169 20.848 413.908 20.342 c +414.547 19.906 414.943 19.602 415.088 19.432 c +415.233 19.261 415.305 19.096 415.305 18.932 c +415.305 18.729 415.213 18.559 415.022 18.407 c +414.831 18.261 414.580 18.186 414.264 18.186 c +413.466 18.186 412.728 18.609 412.055 19.463 c +410.572 17.806 l +411.231 17.136 411.831 16.668 412.365 16.415 c +412.899 16.162 413.499 16.035 414.152 16.035 c +415.286 16.035 416.149 16.345 416.749 16.965 c +417.349 17.585 417.646 18.249 417.646 18.945 c +417.646 19.476 417.501 19.963 417.211 20.418 c +416.920 20.867 416.314 21.411 415.391 22.044 c +414.811 22.442 414.468 22.708 414.356 22.847 c +414.237 22.986 414.178 23.125 414.178 23.265 c +414.171 23.410 414.251 23.537 414.402 23.650 c +414.402 23.650 l +f +0.33 0.53 1.00 rg +[] 0 d +423.434 20.102 m +421.528 25.674 l +419.168 25.674 l +421.924 17.559 l +419.142 12.841 l +421.680 12.841 l +429.373 25.674 l +426.782 25.674 l +423.434 20.102 l +f +0.33 0.53 1.00 rg +[] 0 d +397.908 24.093 m +393.267 24.093 l +393.650 26.731 l +393.650 26.731 398.574 26.737 398.601 26.737 c +399.247 26.737 399.774 27.243 399.774 27.863 c +399.774 28.483 399.247 28.989 398.601 28.989 c +398.581 28.989 391.455 28.989 391.455 28.989 c +389.635 16.275 l +397.098 16.275 l +397.098 16.275 l +397.724 16.288 398.231 16.781 398.231 17.382 c +398.231 17.996 397.711 18.495 397.071 18.495 c +397.045 18.495 392.443 18.489 392.443 18.489 c +392.931 21.860 l +392.931 21.860 397.658 21.854 397.697 21.854 c +398.344 21.854 398.871 22.360 398.871 22.980 c +398.884 23.543 398.462 24.005 397.908 24.093 c +397.908 24.093 l +f +0.33 0.53 1.00 rg +[] 0 d +438.576 28.982 m +438.556 28.982 431.430 28.982 431.430 28.982 c +429.624 16.282 l +437.093 16.282 l +437.093 16.282 l +437.719 16.294 438.227 16.788 438.227 17.389 c +438.227 18.002 437.706 18.502 437.066 18.502 c +437.040 18.502 432.439 18.495 432.439 18.495 c +432.926 21.867 l +432.926 21.867 437.653 21.860 437.699 21.860 c +438.345 21.860 438.873 22.366 438.873 22.986 c +438.873 23.543 438.451 24.005 437.897 24.093 c +433.256 24.093 l +433.638 26.731 l +433.638 26.731 438.563 26.737 438.589 26.737 c +439.235 26.737 439.763 27.243 439.763 27.863 c +439.749 28.476 439.229 28.982 438.576 28.982 c +438.576 28.982 l +f +0.33 0.53 1.00 rg +[] 0 d +451.912 22.898 m +451.912 24.144 451.609 25.251 451.009 26.206 c +450.409 27.161 449.631 27.863 448.669 28.306 c +447.706 28.755 446.249 28.976 444.278 28.976 c +442.182 28.976 l +440.376 16.275 l +444.489 16.275 l +446.216 16.275 447.568 16.522 448.537 17.015 c +449.506 17.509 450.317 18.293 450.956 19.362 c +451.596 20.437 451.912 21.614 451.912 22.898 c +451.912 22.898 l +448.655 20.273 m +448.174 19.577 447.541 19.084 446.750 18.799 c +446.183 18.597 445.274 18.495 444.015 18.495 c +443.197 18.495 l +444.364 26.743 l +444.990 26.743 l +446.012 26.743 446.829 26.592 447.443 26.282 c +448.056 25.972 448.530 25.535 448.873 24.966 c +449.209 24.397 449.381 23.695 449.381 22.853 c +449.374 21.835 449.137 20.969 448.655 20.273 c +448.655 20.273 l +f +0.33 0.53 1.00 rg +[] 0 d +461.702 23.043 m +460.231 22.265 l +460.113 21.241 459.203 20.450 458.109 20.450 c +456.929 20.450 455.973 21.367 455.973 22.499 c +455.973 23.631 456.929 24.549 458.109 24.549 c +458.564 24.549 458.986 24.409 459.328 24.182 c +461.154 25.149 l +460.166 28.957 l +458.076 28.957 l +450.956 16.307 l +453.619 16.307 l +455.122 19.001 l +460.357 19.001 l +461.055 16.307 l +463.455 16.307 l +461.702 23.043 l +461.702 23.043 l +f +0.33 0.53 1.00 rg +[] 0 d +457.324 22.550 m +457.324 22.113 457.693 21.759 458.148 21.759 c +458.603 21.759 458.972 22.113 458.972 22.550 c +458.972 22.986 458.603 23.340 458.148 23.340 c +457.693 23.340 457.324 22.986 457.324 22.550 c +457.324 22.550 l +f +0.33 0.53 1.00 rg +[] 0 d +408.674 24.194 m +408.674 24.194 408.674 24.201 408.674 24.194 c +407.850 24.194 l +407.764 24.346 l +407.428 24.858 407.006 25.244 406.498 25.510 c +405.984 25.776 405.173 25.908 404.567 25.908 c +403.663 25.908 402.800 25.674 401.976 25.206 c +401.152 24.738 400.493 24.087 400.005 23.246 c +399.517 22.411 399.266 21.525 399.266 20.602 c +399.266 19.387 399.649 18.325 400.413 17.408 c +401.178 16.490 402.213 16.035 403.512 16.035 c +404.079 16.035 404.586 16.124 405.041 16.313 c +405.496 16.497 405.984 16.819 406.505 17.287 c +406.505 17.287 407.118 16.775 407.124 16.781 c +407.507 16.490 407.981 16.307 408.496 16.275 c +408.733 16.275 l +408.766 16.547 l +409.603 23.309 l +409.596 23.309 409.596 23.309 409.590 23.309 c +409.590 23.796 409.181 24.188 408.674 24.194 c +408.674 24.194 l +406.749 19.659 m +406.452 19.122 406.083 18.723 405.641 18.470 c +405.199 18.217 404.685 18.091 404.092 18.091 c +403.380 18.091 402.800 18.312 402.345 18.767 c +401.890 19.217 401.666 19.811 401.666 20.545 c +401.666 21.500 401.963 22.278 402.563 22.885 c +403.162 23.492 403.888 23.790 404.745 23.790 c +405.483 23.790 406.076 23.562 406.524 23.113 c +406.973 22.657 407.197 22.063 407.197 21.316 c +407.197 20.753 407.045 20.197 406.749 19.659 c +406.749 19.659 l +f +0.33 0.53 1.00 rg +[] 0 d +381.612 27.749 m +381.118 29.008 380.314 30.140 379.252 31.057 c +377.624 32.461 375.515 33.239 373.319 33.239 c +371.421 33.239 369.608 32.670 368.079 31.595 c +367.340 31.076 366.701 30.462 366.173 29.767 c +365.844 29.811 365.508 29.836 365.165 29.836 c +363.273 29.836 361.486 29.128 360.148 27.844 c +358.810 26.560 358.072 24.852 358.072 23.031 c +358.072 21.342 358.724 19.723 359.904 18.470 c +360.840 17.477 362.053 16.775 363.391 16.446 c +363.972 14.789 365.606 13.594 367.525 13.594 c +369.931 13.594 371.889 15.472 371.889 17.781 c +371.889 17.914 371.882 18.053 371.869 18.186 c +377.993 21.272 l +376.655 23.499 l +370.801 20.551 l +370.003 21.424 368.830 21.974 367.525 21.974 c +365.633 21.974 364.018 20.810 363.411 19.191 c +361.869 19.843 360.788 21.316 360.788 23.037 c +360.788 25.352 362.745 27.237 365.165 27.237 c +366.015 27.237 366.813 27.003 367.485 26.598 c +368.296 28.944 370.603 30.640 373.319 30.640 c +376.484 30.640 379.081 28.350 379.430 25.409 c +379.542 25.421 379.655 25.428 379.767 25.428 c +381.659 25.428 383.195 23.954 383.195 22.139 c +383.195 20.418 381.817 19.008 380.063 18.862 c +378.105 18.862 l +378.020 18.881 377.927 18.888 377.835 18.888 c +377.077 18.888 376.464 18.299 376.464 17.572 c +376.464 16.883 377.018 16.320 377.723 16.263 c +377.723 16.250 l +380.063 16.250 l +380.182 16.250 l +380.301 16.263 l +381.830 16.389 383.247 17.053 384.289 18.141 c +385.337 19.235 385.917 20.652 385.917 22.139 c +385.917 24.757 384.104 26.996 381.612 27.749 c +381.612 27.749 l +367.525 19.400 m +368.454 19.400 369.212 18.673 369.212 17.781 c +369.212 16.889 368.454 16.162 367.525 16.162 c +366.595 16.162 365.837 16.889 365.837 17.781 c +365.837 18.673 366.595 19.400 367.525 19.400 c +367.525 19.400 l +f +Q +Q +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +110.88 1126.08 57.60 -115.20 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +147.04 1109.75 Td +(BATIN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1112.63 Td +(25) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1111.680 m +168.480 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +151.78 1102.55 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1105.43 Td +(24) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1104.480 m +168.480 1104.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +153.23 1095.35 Td +(RST) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1098.23 Td +(23) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1097.280 m +168.480 1097.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +141.58 1088.15 Td +(3.3v Out) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1091.03 Td +(22) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1090.080 m +168.480 1090.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +149.22 1059.35 Td +(P1.15) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1062.23 Td +(18) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1061.280 m +168.480 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +149.22 1080.95 Td +(P0.31) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1083.83 Td +(21) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1082.880 m +168.480 1082.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1102.55 Td +(P0.08) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +102.92 1105.43 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1104.480 m +110.880 1104.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +149.22 1052.15 Td +(P1.13) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1055.03 Td +(17) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1054.080 m +168.480 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +149.22 1073.75 Td +(P0.29) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1076.63 Td +(20) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1075.680 m +168.480 1075.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +149.22 1044.95 Td +(P1.11) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1047.83 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1046.880 m +168.480 1046.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +149.22 1066.55 Td +(P0.02) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1069.43 Td +(19) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1068.480 m +168.480 1068.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1095.35 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +102.92 1098.23 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1097.280 m +110.880 1097.280 l +S +0.72 w +0.63 0.00 0.00 RG +110.88 1111.68 m 110.88 1112.87 109.91 1113.84 108.72 1113.84 c +107.53 1113.84 106.56 1112.87 106.56 1111.68 c +106.56 1110.49 107.53 1109.52 108.72 1109.52 c +109.91 1109.52 110.88 1110.49 110.88 1111.68 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1109.75 Td +(P0.06) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +102.92 1112.63 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1111.680 m +106.560 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +149.22 1030.55 Td +(P0.09) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1033.43 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1032.480 m +168.480 1032.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +149.22 1037.75 Td +(P0.10) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1040.63 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1039.680 m +168.480 1039.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1037.75 Td +(P1.04) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +99.28 1040.63 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1039.680 m +110.880 1039.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1088.15 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +102.92 1091.03 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1090.080 m +110.880 1090.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1080.95 Td +(P0.17) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +102.92 1083.83 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1082.880 m +110.880 1082.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1073.75 Td +(P0.20) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +102.92 1076.63 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1075.680 m +110.880 1075.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1066.55 Td +(P0.22) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +102.92 1069.43 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1068.480 m +110.880 1068.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1059.35 Td +(P0.24) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +102.92 1062.23 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1061.280 m +110.880 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1052.15 Td +(P1.00) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +99.28 1055.03 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1054.080 m +110.880 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1044.95 Td +(P0.11) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +99.28 1047.83 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1046.880 m +110.880 1046.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1030.55 Td +(P1.06) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +99.28 1033.43 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1032.480 m +110.880 1032.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +147.04 1116.95 Td +(BATIN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.80 1119.83 Td +(26) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1118.880 m +168.480 1118.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +180.000 1121.760 m +185.760 1116.000 l +180.000 1116.000 m +185.760 1121.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +113.04 1116.95 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +102.92 1119.83 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1118.880 m +110.880 1118.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +93.600 1121.760 m +99.360 1116.000 l +93.600 1116.000 m +99.360 1121.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +135.38 1128.78 Td +(PRO_MICRO_NRF52840_26P) Tj +ET +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +67.68 248.06 Td +(Switches) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +118.080 154.080 m +118.080 161.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +111.600 154.080 m +124.560 154.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +113.760 152.640 m +122.400 152.640 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +115.920 151.200 m +120.240 151.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +117.360 149.760 m +118.800 149.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +118.080 161.280 m +118.080 161.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +108.72 142.09 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +118.080 204.480 m +118.080 211.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +111.600 204.480 m +124.560 204.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +113.760 203.040 m +122.400 203.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +115.920 201.600 m +120.240 201.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +117.360 200.160 m +118.800 200.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +118.080 211.680 m +118.080 211.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +108.72 192.49 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +74.880 161.280 m +71.280 157.680 l +60.480 157.680 l +60.480 164.880 l +71.280 164.880 l +74.880 161.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +74.880 161.280 m +74.880 161.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +42.93 158.92 Td +(RBTN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +74.880 211.680 m +71.280 208.080 l +60.480 208.080 l +60.480 215.280 l +71.280 215.280 l +74.880 211.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +74.880 211.680 m +74.880 211.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +41.22 208.96 Td +(UBTN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +96.480 165.600 m +96.480 169.200 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +107.28 161.93 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +118.080 161.280 m +103.680 161.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +82.04 161.93 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +74.880 161.280 m +89.280 161.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +88.560 165.600 m +104.400 165.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +105.12 161.28 m 105.12 162.08 104.48 162.72 103.68 162.72 c +102.88 162.72 102.24 162.08 102.24 161.28 c +102.24 160.48 102.88 159.84 103.68 159.84 c +104.48 159.84 105.12 160.48 105.12 161.28 c +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +90.72 161.28 m 90.72 162.08 90.08 162.72 89.28 162.72 c +88.48 162.72 87.84 162.08 87.84 161.28 c +87.84 160.48 88.48 159.84 89.28 159.84 c +90.08 159.84 90.72 160.48 90.72 161.28 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +89.20 178.06 Td +(RS1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +89.20 171.69 Td +(434121043816) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +96.480 216.000 m +96.480 219.600 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +107.28 212.33 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +118.080 211.680 m +103.680 211.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +82.04 212.33 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +74.880 211.680 m +89.280 211.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +88.560 216.000 m +104.400 216.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +105.12 211.68 m 105.12 212.48 104.48 213.12 103.68 213.12 c +102.88 213.12 102.24 212.48 102.24 211.68 c +102.24 210.88 102.88 210.24 103.68 210.24 c +104.48 210.24 105.12 210.88 105.12 211.68 c +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +90.72 211.68 m 90.72 212.48 90.08 213.12 89.28 213.12 c +88.48 213.12 87.84 212.48 87.84 211.68 c +87.84 210.88 88.48 210.24 89.28 210.24 c +90.08 210.24 90.72 210.88 90.72 211.68 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +89.20 228.46 Td +(US1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +89.20 222.09 Td +(434121043816) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +125.280 617.040 m +125.280 624.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +118.800 617.040 m +131.760 617.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +120.960 615.600 m +129.600 615.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +123.120 614.160 m +127.440 614.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +124.560 612.720 m +126.000 612.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +125.280 624.240 m +125.280 624.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +115.92 604.33 Td +(GND) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +103.68 631.44 14.40 -14.40 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 108.85 608.42 Tm +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +110.880 602.640 m +110.880 617.040 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +100.04 619.01 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 624.240 m +103.680 624.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +118.08 619.01 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +125.280 624.240 m +118.080 624.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 108.85 630.06 Tm +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +110.880 638.640 m +110.880 631.440 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +108.000 641.520 m +113.760 635.760 l +108.000 635.760 m +113.760 641.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +112.32 624.24 m 112.32 625.04 111.68 625.68 110.88 625.68 c +110.08 625.68 109.44 625.04 109.44 624.24 c +109.44 623.44 110.08 622.80 110.88 622.80 c +111.68 622.80 112.32 623.44 112.32 624.24 c +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +110.880 622.800 m +110.880 617.040 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +95.72 648.44 Td +(U11) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +95.72 641.89 Td +(AMC-U_FL) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +96.480 617.040 m +96.480 624.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +90.000 617.040 m +102.960 617.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +92.160 615.600 m +100.800 615.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +94.320 614.160 m +98.640 614.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +95.760 612.720 m +97.200 612.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 624.240 m +96.480 624.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +87.12 605.05 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +146.880 573.840 m +154.080 573.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +146.880 570.240 m +146.880 577.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 573.840 m +154.080 573.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +128.76 570.43 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +146.880 595.440 m +154.080 595.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +146.880 601.920 m +146.880 588.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +145.440 599.760 m +145.440 591.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +144.000 597.600 m +144.000 593.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +142.560 596.160 m +142.560 594.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 595.440 m +154.080 595.440 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +123.48 592.03 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +233.280 602.640 m +226.080 602.640 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +233.280 596.160 m +233.280 609.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +234.720 598.320 m +234.720 606.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +236.160 600.480 m +236.160 604.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +237.600 601.920 m +237.600 603.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 602.640 m +226.080 602.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +237.96 599.23 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +226.080 545.040 m +226.080 552.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +219.600 545.040 m +232.560 545.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +221.760 543.600 m +230.400 543.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +223.920 542.160 m +228.240 542.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +225.360 540.720 m +226.800 540.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 552.240 m +226.080 552.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +216.72 533.05 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +226.080 588.240 m +229.680 591.840 l +240.480 591.840 l +240.480 584.640 l +229.680 584.640 l +226.080 588.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 588.240 m +226.080 588.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +242.43 585.29 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +154.080 559.440 m +150.480 555.840 l +139.680 555.840 l +139.680 563.040 l +150.480 563.040 l +154.080 559.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 559.440 m +154.080 559.440 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +124.96 556.28 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +154.080 552.240 m +150.480 548.640 l +139.680 548.640 l +139.680 555.840 l +150.480 555.840 l +154.080 552.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 552.240 m +154.080 552.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +120.42 549.37 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +226.080 581.040 m +229.680 584.640 l +240.480 584.640 l +240.480 577.440 l +229.680 577.440 l +226.080 581.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 581.040 m +226.080 581.040 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +241.92 578.24 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +226.080 573.840 m +229.680 577.440 l +240.480 577.440 l +240.480 570.240 l +229.680 570.240 l +226.080 573.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 573.840 m +226.080 573.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +241.60 571.04 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +226.080 566.640 m +229.680 570.240 l +240.480 570.240 l +240.480 563.040 l +229.680 563.040 l +226.080 566.640 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 566.640 m +226.080 566.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +241.92 563.84 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +226.080 559.440 m +229.680 563.040 l +240.480 563.040 l +240.480 555.840 l +229.680 555.840 l +226.080 559.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 559.440 m +226.080 559.440 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +241.92 556.64 Td +(MISO) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +161.28 609.84 57.60 -64.80 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +165.96 606.24 m 165.96 606.84 165.48 607.32 164.88 607.32 c +164.28 607.32 163.80 606.84 163.80 606.24 c +163.80 605.64 164.28 605.16 164.88 605.16 c +165.48 605.16 165.96 605.64 165.96 606.24 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +201.67 549.29 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +219.24 552.89 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 552.240 m +218.880 552.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +199.49 556.49 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +219.24 560.09 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 559.440 m +218.880 559.440 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +199.49 563.69 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +219.24 567.29 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 566.640 m +218.880 566.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +202.76 570.89 Td +(SCK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +219.24 574.49 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 573.840 m +218.880 573.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +202.76 578.09 Td +(NSS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +219.24 581.69 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 581.040 m +218.880 581.040 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +189.67 585.29 Td +(NRESET) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +219.24 588.89 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 588.240 m +218.880 588.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +206.76 592.49 Td +(NC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +219.24 596.09 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 595.440 m +218.880 595.440 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +223.200 598.320 m +228.960 592.560 l +223.200 592.560 m +228.960 598.320 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +201.67 599.69 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +219.24 603.29 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 602.640 m +218.880 602.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +163.94 599.69 Td +(ANT) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +157.28 603.29 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 602.640 m +161.280 602.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +163.94 592.49 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +153.64 596.09 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 595.440 m +161.280 595.440 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +163.94 585.29 Td +(DIO3) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +153.64 588.89 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 588.240 m +161.280 588.240 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +151.200 591.120 m +156.960 585.360 l +151.200 585.360 m +156.960 591.120 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +163.94 578.09 Td +(NC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +153.64 581.69 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 581.040 m +161.280 581.040 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +151.200 583.920 m +156.960 578.160 l +151.200 578.160 m +156.960 583.920 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +163.94 570.89 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +153.64 574.49 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 573.840 m +161.280 573.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +163.94 563.69 Td +(NC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +153.64 567.29 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 566.640 m +161.280 566.640 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +151.200 569.520 m +156.960 563.760 l +151.200 563.760 m +156.960 569.520 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +163.94 556.49 Td +(DIO1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +153.64 560.09 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 559.440 m +161.280 559.440 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +163.94 549.29 Td +(BUSY) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +153.64 552.89 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +154.080 552.240 m +161.280 552.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +185.64 618.81 Td +(NICERF_LORA1262) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +185.64 612.33 Td +(LoRa1262-868) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +409.680 996.480 m +413.280 992.880 l +413.280 982.080 l +406.080 982.080 l +406.080 992.880 l +409.680 996.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +409.680 996.480 m +409.680 996.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +0.00 1.00 -1.00 0.00 410.96 961.34 Tm +(P1.02) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +416.880 996.480 m +420.480 992.880 l +420.480 982.080 l +413.280 982.080 l +413.280 992.880 l +416.880 996.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +416.880 996.480 m +416.880 996.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +0.00 1.00 -1.00 0.00 418.16 961.34 Tm +(P1.07) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +402.480 996.480 m +406.080 992.880 l +406.080 982.080 l +398.880 982.080 l +398.880 992.880 l +402.480 996.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +402.480 996.480 m +402.480 996.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +0.00 1.00 -1.00 0.00 403.76 961.34 Tm +(P1.01) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +647.280 218.880 m +654.480 218.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +647.280 215.280 m +647.280 222.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 218.880 m +654.480 218.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +629.15 215.53 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +647.280 233.280 m +654.480 233.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +647.280 239.760 m +647.280 226.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +645.840 237.600 m +645.840 228.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +644.400 235.440 m +644.400 231.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +642.960 234.000 m +642.960 232.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 233.280 m +654.480 233.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +623.88 229.93 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +726.480 233.280 m +719.280 233.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +726.480 226.800 m +726.480 239.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +727.920 228.960 m +727.920 237.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +729.360 231.120 m +729.360 235.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.800 232.560 m +730.800 234.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 233.280 m +719.280 233.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +731.16 229.93 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +726.480 182.880 m +719.280 182.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +726.480 176.400 m +726.480 189.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +727.920 178.560 m +727.920 187.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +729.360 180.720 m +729.360 185.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.800 182.160 m +730.800 183.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 182.880 m +719.280 182.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +731.16 179.53 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +654.480 197.280 m +650.880 193.680 l +640.080 193.680 l +640.080 200.880 l +650.880 200.880 l +654.480 197.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 197.280 m +654.480 197.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +627.00 194.41 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +654.480 211.680 m +650.880 208.080 l +640.080 208.080 l +640.080 215.280 l +650.880 215.280 l +654.480 211.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 211.680 m +654.480 211.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +620.82 208.93 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +719.280 211.680 m +722.880 215.280 l +733.680 215.280 l +733.680 208.080 l +722.880 208.080 l +719.280 211.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 211.680 m +719.280 211.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +735.12 208.96 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +719.280 218.880 m +722.880 222.480 l +733.680 222.480 l +733.680 215.280 l +722.880 215.280 l +719.280 218.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 218.880 m +719.280 218.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +735.12 216.16 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +719.280 204.480 m +722.880 208.080 l +733.680 208.080 l +733.680 200.880 l +722.880 200.880 l +719.280 204.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 204.480 m +719.280 204.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +734.91 201.76 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +719.280 226.080 m +722.880 229.680 l +733.680 229.680 l +733.680 222.480 l +722.880 222.480 l +719.280 226.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 226.080 m +719.280 226.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +735.12 223.36 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +654.480 204.480 m +650.880 200.880 l +640.080 200.880 l +640.080 208.080 l +650.880 208.080 l +654.480 204.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 204.480 m +654.480 204.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +620.82 201.61 Td +(BUSY) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +661.68 240.48 50.40 -64.80 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +666.36 236.88 m 666.36 237.48 665.88 237.96 665.28 237.96 c +664.68 237.96 664.20 237.48 664.20 236.88 c +664.20 236.28 664.68 235.80 665.28 235.80 c +665.88 235.80 666.36 236.28 666.36 236.88 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +664.34 230.33 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +657.68 233.93 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 233.280 m +661.680 233.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +664.34 223.13 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +657.68 226.73 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 226.080 m +661.680 226.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +664.34 215.93 Td +(3.3V) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +657.68 219.53 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 218.880 m +661.680 218.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +664.34 208.73 Td +(RESET) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +657.68 212.33 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 211.680 m +661.680 211.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +664.34 201.53 Td +(DIO0) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +657.68 205.13 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 204.480 m +661.680 204.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +664.34 194.33 Td +(DIO1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +657.68 197.93 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 197.280 m +661.680 197.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +664.34 187.13 Td +(DIO2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +657.68 190.73 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 190.080 m +661.680 190.080 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +651.600 192.960 m +657.360 187.200 l +651.600 187.200 m +657.360 192.960 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +664.34 179.93 Td +(DIO3) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +657.68 183.53 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +654.480 182.880 m +661.680 182.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +651.600 185.760 m +657.360 180.000 l +651.600 180.000 m +657.360 185.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +694.87 179.93 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +712.44 183.53 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 182.880 m +712.080 182.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +694.14 187.13 Td +(DIO4) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +712.44 190.73 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 190.080 m +712.080 190.080 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +716.400 192.960 m +722.160 187.200 l +716.400 187.200 m +722.160 192.960 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +694.14 194.33 Td +(DIO5) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +712.44 197.93 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 197.280 m +712.080 197.280 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +716.400 200.160 m +722.160 194.400 l +716.400 194.400 m +722.160 200.160 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +695.96 201.53 Td +(SCK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +712.44 205.13 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 204.480 m +712.080 204.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +692.69 208.73 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +712.44 212.33 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 211.680 m +712.080 211.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +692.69 215.93 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +712.44 219.53 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 218.880 m +712.080 218.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +695.96 223.13 Td +(NSS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +712.44 226.73 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 226.080 m +712.080 226.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +694.87 230.33 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +712.44 233.93 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +719.280 233.280 m +712.080 233.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +682.74 249.45 Td +(RA-2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +682.74 242.97 Td +(RA-02_C9900010926) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +560.880 1082.880 m +564.480 1086.480 l +575.280 1086.480 l +575.280 1079.280 l +564.480 1079.280 l +560.880 1082.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +560.880 1082.880 m +560.880 1082.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +577.22 1079.93 Td +(ADC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 1039.680 m +366.480 1036.080 l +355.680 1036.080 l +355.680 1043.280 l +366.480 1043.280 l +370.080 1039.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 1039.680 m +370.080 1039.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +340.78 1036.81 Td +(SDA) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 1046.880 m +366.480 1043.280 l +355.680 1043.280 l +355.680 1050.480 l +366.480 1050.480 l +370.080 1046.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 1046.880 m +370.080 1046.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +341.51 1044.01 Td +(SCL) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +269.280 222.480 m +269.280 215.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +265.680 222.480 m +272.880 222.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +269.280 215.280 m +269.280 215.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +262.08 223.45 Td +(+5V) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +233.280 179.280 m +233.280 186.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +226.800 179.280 m +239.760 179.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +228.960 177.840 m +237.600 177.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +231.120 176.400 m +235.440 176.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +232.560 174.960 m +234.000 174.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +233.280 186.480 m +233.280 186.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +223.92 166.39 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +233.280 222.480 m +233.280 215.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +229.680 222.480 m +236.880 222.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +233.280 215.280 m +233.280 215.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +224.64 223.45 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +269.280 179.280 m +269.280 186.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +262.800 179.280 m +275.760 179.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +264.960 177.840 m +273.600 177.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +267.120 176.400 m +271.440 176.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +268.560 174.960 m +270.000 174.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +269.280 186.480 m +269.280 186.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +259.92 167.29 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +239.040 199.440 m +227.520 199.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +233.280 186.480 m +233.280 193.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +233.280 208.080 m +233.280 202.320 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +227.520 202.320 m +239.040 202.320 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +233.280 215.280 m +233.280 208.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +233.280 199.440 m +233.280 193.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +240.48 198.81 Td +(C2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +240.48 192.33 Td +(100uF) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +275.040 199.440 m +263.520 199.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +269.280 186.480 m +269.280 193.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +269.280 208.080 m +269.280 202.320 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +263.520 202.320 m +275.040 202.320 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +269.280 215.280 m +269.280 208.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +269.280 199.440 m +269.280 193.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +276.48 198.81 Td +(C1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +276.48 192.33 Td +(100uF) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +355.680 895.680 m +352.080 892.080 l +341.280 892.080 l +341.280 899.280 l +352.080 899.280 l +355.680 895.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +355.680 895.680 m +355.680 895.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +321.66 892.84 Td +(RXEN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +467.280 1111.680 m +470.880 1115.280 l +481.680 1115.280 l +481.680 1108.080 l +470.880 1108.080 l +467.280 1111.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1111.680 m +467.280 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +483.48 1108.74 Td +(BATT) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +521.280 1104.480 m +514.080 1104.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +521.280 1098.000 m +521.280 1110.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +522.720 1100.160 m +522.720 1108.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +524.160 1102.320 m +524.160 1106.640 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +525.600 1103.760 m +525.600 1105.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +514.080 1104.480 m +514.080 1104.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +525.96 1101.13 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +474.480 1075.680 m +478.080 1079.280 l +488.880 1079.280 l +488.880 1072.080 l +478.080 1072.080 l +474.480 1075.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +474.480 1075.680 m +474.480 1075.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +490.10 1072.96 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +474.480 1046.880 m +478.080 1050.480 l +488.880 1050.480 l +488.880 1043.280 l +478.080 1043.280 l +474.480 1046.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +474.480 1046.880 m +474.480 1046.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +490.20 1044.16 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +474.480 1068.480 m +478.080 1072.080 l +488.880 1072.080 l +488.880 1064.880 l +478.080 1064.880 l +474.480 1068.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +474.480 1068.480 m +474.480 1068.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +490.32 1065.76 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +474.480 1061.280 m +478.080 1064.880 l +488.880 1064.880 l +488.880 1057.680 l +478.080 1057.680 l +474.480 1061.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +474.480 1061.280 m +474.480 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +490.32 1058.56 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +474.480 1054.080 m +478.080 1057.680 l +488.880 1057.680 l +488.880 1050.480 l +478.080 1050.480 l +474.480 1054.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +474.480 1054.080 m +474.480 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +490.32 1051.36 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +521.280 1090.080 m +514.080 1090.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +521.280 1093.680 m +521.280 1086.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +514.080 1090.080 m +514.080 1090.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +522.00 1086.73 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +474.480 1032.480 m +478.080 1036.080 l +488.880 1036.080 l +488.880 1028.880 l +478.080 1028.880 l +474.480 1032.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +474.480 1032.480 m +474.480 1032.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +490.68 1029.76 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +474.480 1039.680 m +478.080 1043.280 l +488.880 1043.280 l +488.880 1036.080 l +478.080 1036.080 l +474.480 1039.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +474.480 1039.680 m +474.480 1039.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +490.32 1036.96 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 1061.280 m +366.480 1057.680 l +355.680 1057.680 l +355.680 1064.880 l +366.480 1064.880 l +370.080 1061.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 1061.280 m +370.080 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +331.32 1058.41 Td +(GPSEN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +373.680 1093.680 m +380.880 1093.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +373.680 1100.160 m +373.680 1087.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +372.240 1098.000 m +372.240 1089.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.800 1095.840 m +370.800 1091.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +369.360 1094.400 m +369.360 1092.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1093.680 m +380.880 1093.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +350.28 1090.33 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 1054.080 m +366.480 1050.480 l +355.680 1050.480 l +355.680 1057.680 l +366.480 1057.680 l +370.080 1054.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 1054.080 m +370.080 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +336.42 1051.36 Td +(UBTN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +474.480 1097.280 m +478.080 1100.880 l +488.880 1100.880 l +488.880 1093.680 l +478.080 1093.680 l +474.480 1097.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +474.480 1097.280 m +474.480 1097.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +490.33 1094.17 Td +(RBTN) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +557.28 1104.48 7.20 -14.40 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +560.880 1111.680 m +560.880 1104.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +560.880 1082.880 m +560.880 1090.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +565.92 1095.27 Td +(R_ADC_T0) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +565.92 1088.79 Td +(1M) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +560.880 1046.880 m +560.880 1054.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +554.400 1046.880 m +567.360 1046.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +556.560 1045.440 m +565.200 1045.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +558.720 1044.000 m +563.040 1044.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +560.160 1042.560 m +561.600 1042.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +560.880 1054.080 m +560.880 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +551.52 1034.89 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +560.880 1111.680 m +557.280 1115.280 l +557.280 1126.080 l +564.480 1126.080 l +564.480 1115.280 l +560.880 1111.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +560.880 1111.680 m +560.880 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +0.00 1.00 -1.00 0.00 562.23 1126.29 Tm +(BATT) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +557.28 1075.68 7.20 -14.40 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +560.880 1082.880 m +560.880 1075.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +560.880 1054.080 m +560.880 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +565.92 1066.47 Td +(R_ADC_B0) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +565.92 1059.99 Td +(1.5M) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 1104.480 m +377.280 1100.880 l +366.480 1100.880 l +366.480 1108.080 l +377.280 1108.080 l +380.880 1104.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1104.480 m +380.880 1104.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +329.75 1101.76 Td +(SERIAL2TX) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 1111.680 m +377.280 1108.080 l +366.480 1108.080 l +366.480 1115.280 l +377.280 1115.280 l +380.880 1111.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1111.680 m +380.880 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +329.03 1108.96 Td +(SERIAL2RX) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 1032.480 m +377.280 1028.880 l +366.480 1028.880 l +366.480 1036.080 l +377.280 1036.080 l +380.880 1032.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1032.480 m +380.880 1032.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +347.94 1029.61 Td +(P1.06) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 434.880 m +730.080 434.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 438.480 m +737.280 431.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 434.880 m +730.080 434.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +738.00 431.53 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 362.880 m +629.280 362.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 369.360 m +622.080 356.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 367.200 m +620.640 358.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 365.040 m +619.200 360.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 363.600 m +617.760 362.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 362.880 m +629.280 362.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 359.53 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 377.280 m +629.280 377.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 383.760 m +622.080 370.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 381.600 m +620.640 372.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 379.440 m +619.200 375.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 378.000 m +617.760 376.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 377.280 m +629.280 377.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 373.93 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 391.680 m +629.280 391.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 398.160 m +622.080 385.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 396.000 m +620.640 387.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 393.840 m +619.200 389.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 392.400 m +617.760 390.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 391.680 m +629.280 391.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 388.33 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 442.080 m +629.280 442.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 448.560 m +622.080 435.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 446.400 m +620.640 437.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 444.240 m +619.200 439.920 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 442.800 m +617.760 441.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 442.080 m +629.280 442.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 438.73 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 442.080 m +730.080 442.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 435.600 m +737.280 448.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +738.720 437.760 m +738.720 446.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +740.160 439.920 m +740.160 444.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +741.600 441.360 m +741.600 442.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 442.080 m +730.080 442.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +741.96 438.73 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 391.680 m +730.080 391.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 385.200 m +737.280 398.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +738.720 387.360 m +738.720 396.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +740.160 389.520 m +740.160 393.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +741.600 390.960 m +741.600 392.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 391.680 m +730.080 391.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +741.96 388.33 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 377.280 m +730.080 377.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 370.800 m +737.280 383.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +738.720 372.960 m +738.720 381.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +740.160 375.120 m +740.160 379.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +741.600 376.560 m +741.600 378.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 377.280 m +730.080 377.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +741.96 373.93 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 355.680 m +730.080 362.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +723.600 355.680 m +736.560 355.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +725.760 354.240 m +734.400 354.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +727.920 352.800 m +732.240 352.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +729.360 351.360 m +730.800 351.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 362.880 m +730.080 362.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +720.72 342.97 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 360.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 363.53 Td +(22) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 362.880 m +643.680 362.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 367.85 Td +(ANT_2.4) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 370.73 Td +(21) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 370.080 m +643.680 370.080 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +626.400 372.960 m +632.160 367.200 l +626.400 367.200 m +632.160 372.960 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 375.05 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 377.93 Td +(20) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 377.280 m +643.680 377.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 389.45 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 392.33 Td +(19) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 391.680 m +643.680 391.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 396.65 Td +(BUSY) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 399.53 Td +(18) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 398.880 m +643.680 398.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 403.85 Td +(NSS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 406.73 Td +(17) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 406.080 m +643.680 406.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 411.05 Td +(SCK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 413.93 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 413.280 m +643.680 413.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 418.25 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 421.13 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 420.480 m +643.680 420.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 425.45 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 428.33 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 427.680 m +643.680 427.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 432.65 Td +(NC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 435.53 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 434.880 m +643.680 434.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +626.400 437.760 m +632.160 432.000 l +626.400 432.000 m +632.160 437.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 439.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 442.73 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 442.080 m +643.680 442.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 439.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 442.73 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 442.080 m +715.680 442.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +700.42 432.65 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 435.53 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 434.880 m +715.680 434.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.96 425.45 Td +(DIO7) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 428.33 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 427.680 m +715.680 427.680 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +727.200 430.560 m +732.960 424.800 l +727.200 424.800 m +732.960 430.560 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.96 418.25 Td +(DIO8) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 421.13 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 420.480 m +715.680 420.480 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +727.200 423.360 m +732.960 417.600 l +727.200 417.600 m +732.960 423.360 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.96 411.05 Td +(DIO9) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 413.93 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 413.280 m +715.680 413.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +696.42 403.85 Td +(NRST) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 406.73 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 406.080 m +715.680 406.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +704.79 396.65 Td +(NC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 399.53 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 398.880 m +715.680 398.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +727.200 401.760 m +732.960 396.000 l +727.200 396.000 m +732.960 401.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 389.45 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 392.33 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 391.680 m +715.680 391.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 375.05 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 377.93 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 377.280 m +715.680 377.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +686.59 367.85 Td +(ANT_900) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 370.73 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 370.080 m +715.680 370.080 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +727.200 372.960 m +732.960 367.200 l +727.200 367.200 m +732.960 372.960 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 360.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 363.53 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 362.880 m +715.680 362.880 l +S +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +643.68 449.28 72.00 -100.80 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +675.33 458.49 Td +(E80-900M2213S) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +675.33 452.01 Td +(E80-900M2213S) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 427.680 m +625.680 424.080 l +614.880 424.080 l +614.880 431.280 l +625.680 431.280 l +629.280 427.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 427.680 m +629.280 427.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +596.71 424.81 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 413.280 m +625.680 409.680 l +614.880 409.680 l +614.880 416.880 l +625.680 416.880 l +629.280 413.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 413.280 m +629.280 413.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +599.98 410.41 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 420.480 m +625.680 416.880 l +614.880 416.880 l +614.880 424.080 l +625.680 424.080 l +629.280 420.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 420.480 m +629.280 420.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +596.71 417.61 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 406.080 m +625.680 402.480 l +614.880 402.480 l +614.880 409.680 l +625.680 409.680 l +629.280 406.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 406.080 m +629.280 406.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +604.35 403.21 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 398.880 m +625.680 395.280 l +614.880 395.280 l +614.880 402.480 l +625.680 402.480 l +629.280 398.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 398.880 m +629.280 398.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +595.62 396.01 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 413.280 m +733.680 416.880 l +744.480 416.880 l +744.480 409.680 l +733.680 409.680 l +730.080 413.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 413.280 m +730.080 413.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +745.92 410.56 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 406.080 m +733.680 409.680 l +744.480 409.680 l +744.480 402.480 l +733.680 402.480 l +730.080 406.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 406.080 m +730.080 406.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +746.43 403.13 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 748.080 m +730.080 748.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 751.680 m +737.280 744.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 748.080 m +730.080 748.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +737.64 744.67 Td +(+5V) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +114.480 726.480 m +114.480 733.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +108.000 726.480 m +120.960 726.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +110.160 725.040 m +118.800 725.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +112.320 723.600 m +116.640 723.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +113.760 722.160 m +115.200 722.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +114.480 733.680 m +114.480 733.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +105.12 713.77 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +488.880 744.480 m +481.680 744.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +488.880 748.080 m +488.880 740.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 744.480 m +481.680 744.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +489.24 741.07 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +157.680 755.280 m +157.680 748.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +154.080 755.280 m +161.280 755.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 748.080 m +157.680 748.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +149.04 756.25 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 667.440 m +730.080 674.640 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +723.600 667.440 m +736.560 667.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +725.760 666.000 m +734.400 666.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +727.920 664.560 m +732.240 664.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +729.360 663.120 m +730.800 663.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 674.640 m +730.080 674.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +720.72 654.55 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 737.280 m +625.680 733.680 l +614.880 733.680 l +614.880 740.880 l +625.680 740.880 l +629.280 737.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 737.280 m +629.280 737.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +595.62 734.53 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 751.680 m +625.680 748.080 l +614.880 748.080 l +614.880 755.280 l +625.680 755.280 l +629.280 751.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 751.680 m +629.280 751.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +601.80 748.81 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 737.280 m +733.680 740.880 l +744.480 740.880 l +744.480 733.680 l +733.680 733.680 l +730.080 737.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 737.280 m +730.080 737.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +745.93 734.23 Td +(DIO2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 708.480 m +625.680 704.880 l +614.880 704.880 l +614.880 712.080 l +625.680 712.080 l +629.280 708.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 708.480 m +629.280 708.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +604.35 705.61 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 722.880 m +625.680 719.280 l +614.880 719.280 l +614.880 726.480 l +625.680 726.480 l +629.280 722.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 722.880 m +629.280 722.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +596.71 720.01 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 730.080 m +625.680 726.480 l +614.880 726.480 l +614.880 733.680 l +625.680 733.680 l +629.280 730.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 730.080 m +629.280 730.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +596.71 727.21 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 715.680 m +625.680 712.080 l +614.880 712.080 l +614.880 719.280 l +625.680 719.280 l +629.280 715.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 715.680 m +629.280 715.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +599.98 712.81 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 722.880 m +733.680 726.480 l +744.480 726.480 l +744.480 719.280 l +733.680 719.280 l +730.080 722.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 722.880 m +730.080 722.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +745.71 720.16 Td +(RXEN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 744.480 m +625.680 740.880 l +614.880 740.880 l +614.880 748.080 l +625.680 748.080 l +629.280 744.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 744.480 m +629.280 744.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +595.62 741.61 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 694.080 m +629.280 694.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 700.560 m +622.080 687.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 698.400 m +620.640 689.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 696.240 m +619.200 691.920 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 694.800 m +617.760 693.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 694.080 m +629.280 694.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 690.67 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 679.680 m +629.280 679.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 686.160 m +622.080 673.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 684.000 m +620.640 675.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 681.840 m +619.200 677.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 680.400 m +617.760 678.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 679.680 m +629.280 679.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 676.27 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 766.080 m +730.080 758.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +736.560 766.080 m +723.600 766.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +734.400 767.520 m +725.760 767.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +732.240 768.960 m +727.920 768.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.800 770.400 m +729.360 770.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 758.880 m +730.080 758.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +720.72 772.15 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 758.880 m +629.280 758.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 765.360 m +622.080 752.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 763.200 m +620.640 754.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 761.040 m +619.200 756.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 759.600 m +617.760 758.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 758.880 m +629.280 758.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 755.47 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +150.480 740.880 m +157.680 740.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +150.480 747.360 m +150.480 734.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +149.040 745.200 m +149.040 736.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +147.600 743.040 m +147.600 738.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +146.160 741.600 m +146.160 740.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 740.880 m +157.680 740.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +127.08 737.47 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +150.480 704.880 m +157.680 704.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +150.480 711.360 m +150.480 698.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +149.040 709.200 m +149.040 700.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +147.600 707.040 m +147.600 702.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +146.160 705.600 m +146.160 704.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 704.880 m +157.680 704.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +127.08 701.47 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +229.680 719.280 m +222.480 719.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +229.680 712.800 m +229.680 725.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +231.120 714.960 m +231.120 723.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +232.560 717.120 m +232.560 721.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +234.000 718.560 m +234.000 720.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 719.280 m +222.480 719.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +234.36 715.87 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +373.680 758.880 m +380.880 758.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +373.680 765.360 m +373.680 752.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +372.240 763.200 m +372.240 754.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.800 761.040 m +370.800 756.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +369.360 759.600 m +369.360 758.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 758.880 m +380.880 758.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +350.28 755.47 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +481.680 766.080 m +481.680 758.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +488.160 766.080 m +475.200 766.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +486.000 767.520 m +477.360 767.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +483.840 768.960 m +479.520 768.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +482.400 770.400 m +480.960 770.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 758.880 m +481.680 758.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +472.32 772.18 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +481.680 672.480 m +481.680 679.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +475.200 672.480 m +488.160 672.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +477.360 671.040 m +486.000 671.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +479.520 669.600 m +483.840 669.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +480.960 668.160 m +482.400 668.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 679.680 m +481.680 679.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +472.32 659.59 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +373.680 679.680 m +380.880 679.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +373.680 686.160 m +373.680 673.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +372.240 684.000 m +372.240 675.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.800 681.840 m +370.800 677.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +369.360 680.400 m +369.360 678.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 679.680 m +380.880 679.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +350.28 676.27 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +373.680 694.080 m +380.880 694.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +373.680 700.560 m +373.680 687.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +372.240 698.400 m +372.240 689.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.800 696.240 m +370.800 691.920 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +369.360 694.800 m +369.360 693.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 694.080 m +380.880 694.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +350.28 690.67 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 744.480 m +377.280 740.880 l +366.480 740.880 l +366.480 748.080 l +377.280 748.080 l +380.880 744.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 744.480 m +380.880 744.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +347.22 741.61 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +481.680 722.880 m +485.280 726.480 l +496.080 726.480 l +496.080 719.280 l +485.280 719.280 l +481.680 722.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 722.880 m +481.680 722.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +497.31 720.16 Td +(RXEN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 715.680 m +377.280 712.080 l +366.480 712.080 l +366.480 719.280 l +377.280 719.280 l +380.880 715.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 715.680 m +380.880 715.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +351.58 712.81 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 730.080 m +377.280 726.480 l +366.480 726.480 l +366.480 733.680 l +377.280 733.680 l +380.880 730.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 730.080 m +380.880 730.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +348.31 727.21 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 722.880 m +377.280 719.280 l +366.480 719.280 l +366.480 726.480 l +377.280 726.480 l +380.880 722.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 722.880 m +380.880 722.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +348.31 720.01 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 708.480 m +377.280 704.880 l +366.480 704.880 l +366.480 712.080 l +377.280 712.080 l +380.880 708.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 708.480 m +380.880 708.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +355.95 705.61 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +481.680 737.280 m +485.280 740.880 l +496.080 740.880 l +496.080 733.680 l +485.280 733.680 l +481.680 737.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 737.280 m +481.680 737.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +497.53 734.23 Td +(DIO2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 751.680 m +377.280 748.080 l +366.480 748.080 l +366.480 755.280 l +377.280 755.280 l +380.880 751.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 751.680 m +380.880 751.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +353.40 748.81 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 737.280 m +377.280 733.680 l +366.480 733.680 l +366.480 740.880 l +377.280 740.880 l +380.880 737.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 737.280 m +380.880 737.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +347.22 734.53 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +222.480 733.680 m +226.080 737.280 l +236.880 737.280 l +236.880 730.080 l +226.080 730.080 l +222.480 733.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 733.680 m +222.480 733.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +238.33 730.63 Td +(DIO3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +157.680 733.680 m +154.080 730.080 l +143.280 730.080 l +143.280 737.280 l +154.080 737.280 l +157.680 733.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 733.680 m +157.680 733.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +124.02 730.93 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +222.480 748.080 m +226.080 751.680 l +236.880 751.680 l +236.880 744.480 l +226.080 744.480 l +222.480 748.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 748.080 m +222.480 748.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +238.32 745.36 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +222.480 740.880 m +226.080 744.480 l +236.880 744.480 l +236.880 737.280 l +226.080 737.280 l +222.480 740.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 740.880 m +222.480 740.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +238.33 737.83 Td +(DIO2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +222.480 704.880 m +226.080 708.480 l +236.880 708.480 l +236.880 701.280 l +226.080 701.280 l +222.480 704.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 704.880 m +222.480 704.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +238.32 702.16 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +222.480 697.680 m +226.080 701.280 l +236.880 701.280 l +236.880 694.080 l +226.080 694.080 l +222.480 697.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 697.680 m +222.480 697.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +238.32 694.96 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +222.480 690.480 m +226.080 694.080 l +236.880 694.080 l +236.880 686.880 l +226.080 686.880 l +222.480 690.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 690.480 m +222.480 690.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +238.32 687.76 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +222.480 712.080 m +226.080 715.680 l +236.880 715.680 l +236.880 708.480 l +226.080 708.480 l +222.480 712.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 712.080 m +222.480 712.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +238.11 709.36 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +157.680 683.280 m +154.080 679.680 l +143.280 679.680 l +143.280 686.880 l +154.080 686.880 l +157.680 683.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 683.280 m +157.680 683.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +123.66 680.41 Td +(RXEN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +222.480 683.280 m +226.080 686.880 l +236.880 686.880 l +236.880 679.680 l +226.080 679.680 l +222.480 683.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 683.280 m +222.480 683.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +238.10 680.56 Td +(BUSY) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.88 755.28 50.40 -79.20 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +169.56 751.68 m 169.56 752.28 169.08 752.76 168.48 752.76 c +167.88 752.76 167.40 752.28 167.40 751.68 c +167.40 751.08 167.88 750.60 168.48 750.60 c +169.08 750.60 169.56 751.08 169.56 751.68 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +167.54 745.13 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +160.88 748.73 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 748.080 m +164.880 748.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +167.54 737.93 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +160.88 741.53 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 740.880 m +164.880 740.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +167.54 730.73 Td +(NRST) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +160.88 734.33 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 733.680 m +164.880 733.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +167.54 723.53 Td +(NC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +160.88 727.13 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 726.480 m +164.880 726.480 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +154.800 729.360 m +160.560 723.600 l +154.800 723.600 m +160.560 729.360 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +167.54 716.33 Td +(NC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +160.88 719.93 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 719.280 m +164.880 719.280 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +154.800 722.160 m +160.560 716.400 l +154.800 716.400 m +160.560 722.160 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +167.54 709.13 Td +(ANT) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +160.88 712.73 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 712.080 m +164.880 712.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +167.54 701.93 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +160.88 705.53 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 704.880 m +164.880 704.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +167.54 694.73 Td +(NC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +160.88 698.33 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 697.680 m +164.880 697.680 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +154.800 700.560 m +160.560 694.800 l +154.800 694.800 m +160.560 700.560 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +167.54 687.53 Td +(TXEN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +160.88 691.13 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 690.480 m +164.880 690.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +167.54 680.33 Td +(RXEN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +157.24 683.93 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 683.280 m +164.880 683.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +194.79 680.33 Td +(BUSY) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.64 683.93 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 683.280 m +215.280 683.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +195.89 687.53 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.64 691.13 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 690.480 m +215.280 690.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +195.89 694.73 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.64 698.33 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 697.680 m +215.280 697.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +199.16 701.93 Td +(NSS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.64 705.53 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 704.880 m +215.280 704.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +199.16 709.13 Td +(SCK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.64 712.73 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 712.080 m +215.280 712.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +198.07 716.33 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.64 719.93 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 719.280 m +215.280 719.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +203.16 723.53 Td +(NC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.64 727.13 Td +(17) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 726.480 m +215.280 726.480 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +219.600 729.360 m +225.360 723.600 l +219.600 723.600 m +225.360 729.360 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +197.34 730.73 Td +(DIO3) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.64 734.33 Td +(18) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 733.680 m +215.280 733.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +197.34 737.93 Td +(DIO2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.64 741.53 Td +(19) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 740.880 m +215.280 740.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +197.34 745.13 Td +(DIO1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.64 748.73 Td +(20) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 748.080 m +215.280 748.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +185.75 764.49 Td +(E22-900MM22S) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +185.75 758.01 Td +(E22-400MM22S) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +643.68 766.08 72.00 -100.80 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 677.45 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 680.33 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 679.680 m +715.680 679.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 684.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 687.53 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 686.880 m +715.680 686.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 691.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 694.73 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 694.080 m +715.680 694.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 706.25 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 709.13 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 708.480 m +715.680 708.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 713.45 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 716.33 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 715.680 m +715.680 715.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +696.06 720.65 Td +(RXEN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 723.53 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 722.880 m +715.680 722.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +696.78 727.85 Td +(TXEN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 730.73 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 730.080 m +715.680 730.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.96 735.05 Td +(DIO2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 737.93 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 737.280 m +715.680 737.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +700.42 742.25 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 745.13 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 744.480 m +715.680 744.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +700.42 749.45 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 752.33 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 751.680 m +715.680 751.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 756.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 759.53 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 758.880 m +715.680 758.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 756.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 759.53 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 758.880 m +643.680 758.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 749.45 Td +(DIO1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 752.33 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 751.680 m +643.680 751.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 742.25 Td +(BUSY) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 745.13 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 744.480 m +643.680 744.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 735.05 Td +(NRST) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 737.93 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 737.280 m +643.680 737.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 727.85 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 730.73 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 730.080 m +643.680 730.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 720.65 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 723.53 Td +(17) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 722.880 m +643.680 722.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 713.45 Td +(SCK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 716.33 Td +(18) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 715.680 m +643.680 715.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 706.25 Td +(NSS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 709.13 Td +(19) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 708.480 m +643.680 708.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 691.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 694.73 Td +(20) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 694.080 m +643.680 694.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 684.65 Td +(ANT) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 687.53 Td +(21) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 686.880 m +643.680 686.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +626.400 689.760 m +632.160 684.000 l +626.400 684.000 m +632.160 689.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 677.45 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 680.33 Td +(22) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 679.680 m +643.680 679.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +675.33 775.29 Td +(E22-900M30S) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +675.33 768.81 Td +(E22-900M30S) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 677.45 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 680.33 Td +(22) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 679.680 m +395.280 679.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 684.65 Td +(ANT) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 687.53 Td +(21) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 686.880 m +395.280 686.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +378.000 689.760 m +383.760 684.000 l +378.000 684.000 m +383.760 689.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 691.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 694.73 Td +(20) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 694.080 m +395.280 694.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 706.25 Td +(NSS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 709.13 Td +(19) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 708.480 m +395.280 708.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 713.45 Td +(SCK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 716.33 Td +(18) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 715.680 m +395.280 715.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 720.65 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 723.53 Td +(17) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 722.880 m +395.280 722.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 727.85 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 730.73 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 730.080 m +395.280 730.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 735.05 Td +(NRST) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 737.93 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 737.280 m +395.280 737.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 742.25 Td +(BUSY) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 745.13 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 744.480 m +395.280 744.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 749.45 Td +(DIO1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 752.33 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 751.680 m +395.280 751.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +396.72 756.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +384.40 759.53 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 758.880 m +395.280 758.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +451.30 756.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 759.53 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 758.880 m +467.280 758.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +451.30 749.45 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 752.33 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 751.680 m +467.280 751.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +452.02 742.25 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 745.13 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 744.480 m +467.280 744.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +450.56 735.05 Td +(DIO2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 737.93 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 737.280 m +467.280 737.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +448.38 727.85 Td +(TXEN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 730.73 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 730.080 m +467.280 730.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +447.66 720.65 Td +(RXEN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 723.53 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 722.880 m +467.280 722.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +451.30 713.45 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 716.33 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 715.680 m +467.280 715.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +451.30 706.25 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 709.13 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 708.480 m +467.280 708.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +451.30 691.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 694.73 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 694.080 m +467.280 694.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +451.30 684.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 687.53 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 686.880 m +467.280 686.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +451.30 677.45 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +470.88 680.33 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 679.680 m +467.280 679.680 l +S +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +395.28 766.08 72.00 -100.80 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +426.93 775.29 Td +(E22-900M22S) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +426.93 768.81 Td +(E22-900M22S) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +139.68 899.28 50.40 -64.80 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +144.36 895.68 m 144.36 896.28 143.88 896.76 143.28 896.76 c +142.68 896.76 142.20 896.28 142.20 895.68 c +142.20 895.08 142.68 894.60 143.28 894.60 c +143.88 894.60 144.36 895.08 144.36 895.68 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +142.34 889.13 Td +(ANT) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +135.68 892.73 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +132.480 892.080 m +139.680 892.080 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +129.600 894.960 m +135.360 889.200 l +129.600 889.200 m +135.360 894.960 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +142.34 881.93 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +135.68 885.53 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +132.480 884.880 m +139.680 884.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +142.34 874.73 Td +(3.3V) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +135.68 878.33 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +132.480 877.680 m +139.680 877.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +142.34 867.53 Td +(RESET) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +135.68 871.13 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +132.480 870.480 m +139.680 870.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +142.34 860.33 Td +(TXEN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +135.68 863.93 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +132.480 863.280 m +139.680 863.280 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +129.600 866.160 m +135.360 860.400 l +129.600 860.400 m +135.360 866.160 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +142.34 853.13 Td +(DIO1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +135.68 856.73 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +132.480 856.080 m +139.680 856.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +142.34 845.93 Td +(DIO2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +135.68 849.53 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +132.480 848.880 m +139.680 848.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +129.600 851.760 m +135.360 846.000 l +129.600 846.000 m +135.360 851.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +142.34 838.73 Td +(DIO3) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +135.68 842.33 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +132.480 841.680 m +139.680 841.680 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +129.600 844.560 m +135.360 838.800 l +129.600 838.800 m +135.360 844.560 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.87 838.73 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +190.44 842.33 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 841.680 m +190.080 841.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +169.59 845.93 Td +(BUSY) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +190.44 849.53 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 848.880 m +190.080 848.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +169.23 853.13 Td +(RXEN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +190.44 856.73 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 856.080 m +190.080 856.080 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +194.400 858.960 m +200.160 853.200 l +194.400 853.200 m +200.160 858.960 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +173.96 860.33 Td +(SCK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +190.44 863.93 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 863.280 m +190.080 863.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +170.69 867.53 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +190.44 871.13 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 870.480 m +190.080 870.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +170.69 874.73 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +190.44 878.33 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 877.680 m +190.080 877.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +173.96 881.93 Td +(NSS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +190.44 885.53 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 884.880 m +190.080 884.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +172.87 889.13 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +190.44 892.73 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 892.080 m +190.080 892.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +161.24 908.49 Td +(HT-RA62) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +161.24 902.01 Td +(RA-01SH) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +132.480 870.480 m +128.880 866.880 l +118.080 866.880 l +118.080 874.080 l +128.880 874.080 l +132.480 870.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +132.480 870.480 m +132.480 870.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +98.82 867.73 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +132.480 856.080 m +128.880 852.480 l +118.080 852.480 l +118.080 859.680 l +128.880 859.680 l +132.480 856.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +132.480 856.080 m +132.480 856.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +105.00 853.21 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +197.280 884.880 m +200.880 888.480 l +211.680 888.480 l +211.680 881.280 l +200.880 881.280 l +197.280 884.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 884.880 m +197.280 884.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +213.12 882.05 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +197.280 877.680 m +200.880 881.280 l +211.680 881.280 l +211.680 874.080 l +200.880 874.080 l +197.280 877.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 877.680 m +197.280 877.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +213.01 874.63 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +197.280 870.480 m +200.880 874.080 l +211.680 874.080 l +211.680 866.880 l +200.880 866.880 l +197.280 870.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 870.480 m +197.280 870.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +213.06 867.43 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +197.280 863.280 m +200.880 866.880 l +211.680 866.880 l +211.680 859.680 l +200.880 859.680 l +197.280 863.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 863.280 m +197.280 863.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +212.80 860.23 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +197.280 848.880 m +200.880 852.480 l +211.680 852.480 l +211.680 845.280 l +200.880 845.280 l +197.280 848.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 848.880 m +197.280 848.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +213.06 845.83 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +197.280 834.480 m +197.280 841.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +190.800 834.480 m +203.760 834.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +192.960 833.040 m +201.600 833.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +195.120 831.600 m +199.440 831.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +196.560 830.160 m +198.000 830.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +197.280 841.680 m +197.280 841.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +187.92 821.59 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +114.480 892.080 m +114.480 884.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +120.960 892.080 m +108.000 892.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +118.800 893.520 m +110.160 893.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +116.640 894.960 m +112.320 894.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +115.200 896.400 m +113.760 896.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +114.480 884.880 m +114.480 884.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +105.12 898.15 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +218.880 899.280 m +218.880 892.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +225.360 899.280 m +212.400 899.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +223.200 900.720 m +214.560 900.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +221.040 902.160 m +216.720 902.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +219.600 903.600 m +218.160 903.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +218.880 892.080 m +218.880 892.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +209.52 905.35 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +118.080 877.680 m +125.280 877.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +118.080 874.080 m +118.080 881.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +125.280 877.680 m +125.280 877.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +99.95 874.27 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +385.92 893.45 Td +(RF_SW) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +377.24 896.33 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 895.680 m +384.480 895.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +385.92 886.25 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +377.24 889.13 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 888.480 m +384.480 888.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +385.92 879.05 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +377.24 881.93 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 881.280 m +384.480 881.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +385.92 871.85 Td +(CLK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +377.24 874.73 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 874.080 m +384.480 874.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +385.92 864.65 Td +(RST) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +377.24 867.53 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 866.880 m +384.480 866.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +385.92 857.45 Td +(NSS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +377.24 860.33 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 859.680 m +384.480 859.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +385.92 850.25 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +377.24 853.13 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 852.480 m +384.480 852.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +385.92 843.05 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +377.24 845.93 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 845.280 m +384.480 845.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +449.15 864.65 Td +(ANT) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +467.28 867.53 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +478.080 866.880 m +463.680 866.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +475.200 869.760 m +480.960 864.000 l +475.200 864.000 m +480.960 869.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +447.70 871.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +467.28 874.73 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +478.080 874.080 m +463.680 874.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +444.42 879.05 Td +(BUSY) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +467.28 881.93 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +478.080 881.280 m +463.680 881.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +446.96 886.25 Td +(DIO1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +467.28 889.13 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +478.080 888.480 m +463.680 888.480 l +S +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +384.48 910.08 79.20 -79.20 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.08 845.28 m 460.08 851.24 455.24 856.08 449.28 856.08 c +443.32 856.08 438.48 851.24 438.48 845.28 c +438.48 839.32 443.32 834.48 449.28 834.48 c +455.24 834.48 460.08 839.32 460.08 845.28 c +S +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +434.88 859.68 28.80 -28.80 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +419.73 919.05 Td +(SEEED_WIO-SX1262) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +419.73 912.57 Td +(Seeed-wio-SX1262) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +478.080 881.280 m +481.680 884.880 l +492.480 884.880 l +492.480 877.680 l +481.680 877.680 l +478.080 881.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +478.080 881.280 m +478.080 881.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +493.86 878.23 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 866.880 m +366.480 863.280 l +355.680 863.280 l +355.680 870.480 l +366.480 870.480 l +370.080 866.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 866.880 m +370.080 866.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +336.42 864.13 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 888.480 m +366.480 884.880 l +355.680 884.880 l +355.680 892.080 l +366.480 892.080 l +370.080 888.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 888.480 m +370.080 888.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +335.10 885.86 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 881.280 m +366.480 877.680 l +355.680 877.680 l +355.680 884.880 l +366.480 884.880 l +370.080 881.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 881.280 m +370.080 881.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +335.15 878.66 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 859.680 m +366.480 856.080 l +355.680 856.080 l +355.680 863.280 l +366.480 863.280 l +370.080 859.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 859.680 m +370.080 859.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +345.15 856.85 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 874.080 m +366.480 870.480 l +355.680 870.480 l +355.680 877.680 l +366.480 877.680 l +370.080 874.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 874.080 m +370.080 874.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +339.30 871.46 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +478.080 888.480 m +481.680 892.080 l +492.480 892.080 l +492.480 884.880 l +481.680 884.880 l +478.080 888.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +478.080 888.480 m +478.080 888.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +493.88 885.43 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +485.280 874.080 m +478.080 874.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +485.280 867.600 m +485.280 880.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +486.720 869.760 m +486.720 878.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +488.160 871.920 m +488.160 876.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +489.600 873.360 m +489.600 874.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +478.080 874.080 m +478.080 874.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +489.96 870.73 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +362.880 852.480 m +370.080 852.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +362.880 858.960 m +362.880 846.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +361.440 856.800 m +361.440 848.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +360.000 854.640 m +360.000 850.320 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +358.560 853.200 m +358.560 851.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 852.480 m +370.080 852.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +339.48 849.13 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +362.880 845.280 m +370.080 845.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +362.880 841.680 m +362.880 848.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 845.280 m +370.080 845.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +344.75 841.93 Td +(VCC) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +92.88 740.88 14.40 -14.40 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 98.05 717.86 Tm +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +100.080 712.080 m +100.080 726.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +89.24 728.45 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +85.680 733.680 m +92.880 733.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +107.28 728.45 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +114.480 733.680 m +107.280 733.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 98.05 739.50 Tm +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +100.080 748.080 m +100.080 740.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +97.200 750.960 m +102.960 745.200 l +97.200 745.200 m +102.960 750.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +101.52 733.68 m 101.52 734.48 100.88 735.12 100.08 735.12 c +99.28 735.12 98.64 734.48 98.64 733.68 c +98.64 732.88 99.28 732.24 100.08 732.24 c +100.88 732.24 101.52 732.88 101.52 733.68 c +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +100.080 732.240 m +100.080 726.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +84.92 757.88 Td +(U3) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +84.92 751.33 Td +(AMC-U_FL) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +85.680 726.480 m +85.680 733.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +79.200 726.480 m +92.160 726.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +81.360 725.040 m +90.000 725.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +83.520 723.600 m +87.840 723.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +84.960 722.160 m +86.400 722.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +85.680 733.680 m +85.680 733.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +76.32 713.77 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 568.080 m +730.080 568.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 571.680 m +737.280 564.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 568.080 m +730.080 568.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +738.00 564.73 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 575.280 m +733.680 578.880 l +744.480 578.880 l +744.480 571.680 l +733.680 571.680 l +730.080 575.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 575.280 m +730.080 575.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +745.93 572.23 Td +(DIO2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 593.280 m +730.080 593.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +737.280 596.880 m +737.280 589.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 593.280 m +730.080 593.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +737.64 589.87 Td +(+5V) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 514.080 m +730.080 521.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +723.600 514.080 m +736.560 514.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +725.760 512.640 m +734.400 512.640 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +727.920 511.200 m +732.240 511.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +729.360 509.760 m +730.800 509.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 521.280 m +730.080 521.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +720.72 501.19 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 582.480 m +625.680 578.880 l +614.880 578.880 l +614.880 586.080 l +625.680 586.080 l +629.280 582.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 582.480 m +629.280 582.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +595.62 579.73 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 596.880 m +625.680 593.280 l +614.880 593.280 l +614.880 600.480 l +625.680 600.480 l +629.280 596.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 596.880 m +629.280 596.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +601.80 594.01 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 582.480 m +733.680 586.080 l +744.480 586.080 l +744.480 578.880 l +733.680 578.880 l +730.080 582.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 582.480 m +730.080 582.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +745.93 579.43 Td +(DIO2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 553.680 m +625.680 550.080 l +614.880 550.080 l +614.880 557.280 l +625.680 557.280 l +629.280 553.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 553.680 m +629.280 553.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +604.35 550.81 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 568.080 m +625.680 564.480 l +614.880 564.480 l +614.880 571.680 l +625.680 571.680 l +629.280 568.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 568.080 m +629.280 568.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +596.71 565.21 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 575.280 m +625.680 571.680 l +614.880 571.680 l +614.880 578.880 l +625.680 578.880 l +629.280 575.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 575.280 m +629.280 575.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +596.71 572.41 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 560.880 m +625.680 557.280 l +614.880 557.280 l +614.880 564.480 l +625.680 564.480 l +629.280 560.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 560.880 m +629.280 560.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +599.98 558.01 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 589.680 m +625.680 586.080 l +614.880 586.080 l +614.880 593.280 l +625.680 593.280 l +629.280 589.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 589.680 m +629.280 589.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +595.62 586.81 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 539.280 m +629.280 539.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 545.760 m +622.080 532.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 543.600 m +620.640 534.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 541.440 m +619.200 537.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 540.000 m +617.760 538.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 539.280 m +629.280 539.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 535.87 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 524.880 m +629.280 524.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 531.360 m +622.080 518.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 529.200 m +620.640 520.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 527.040 m +619.200 522.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 525.600 m +617.760 524.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 524.880 m +629.280 524.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 521.47 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 611.280 m +730.080 604.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +736.560 611.280 m +723.600 611.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +734.400 612.720 m +725.760 612.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +732.240 614.160 m +727.920 614.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.800 615.600 m +729.360 615.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 604.080 m +730.080 604.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +720.72 617.35 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 604.080 m +629.280 604.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 610.560 m +622.080 597.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 608.400 m +620.640 599.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 606.240 m +619.200 601.920 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 604.800 m +617.760 603.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 604.080 m +629.280 604.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 600.67 Td +(GND) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +643.68 611.28 72.00 -100.80 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 522.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 525.53 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 524.880 m +715.680 524.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 529.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 532.73 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 532.080 m +715.680 532.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 537.05 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 539.93 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 539.280 m +715.680 539.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 551.45 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 554.33 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 553.680 m +715.680 553.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 558.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 561.53 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 560.880 m +715.680 560.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +707.69 565.85 Td +(IN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 568.73 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 568.080 m +715.680 568.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +684.79 573.05 Td +(T/R CTRL) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 575.93 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 575.280 m +715.680 575.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.96 580.25 Td +(DIO2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 583.13 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 582.480 m +715.680 582.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +700.42 587.45 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 590.33 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 589.680 m +715.680 589.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +700.42 594.65 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 597.53 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 596.880 m +715.680 596.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +699.70 601.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +719.28 604.73 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 604.080 m +715.680 604.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 601.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 604.73 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 604.080 m +643.680 604.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 594.65 Td +(DIO1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 597.53 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 596.880 m +643.680 596.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 587.45 Td +(BUSY) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 590.33 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 589.680 m +643.680 589.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 580.25 Td +(NRST) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 583.13 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 582.480 m +643.680 582.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 573.05 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 575.93 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 575.280 m +643.680 575.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 565.85 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 568.73 Td +(17) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 568.080 m +643.680 568.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 558.65 Td +(SCK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 561.53 Td +(18) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 560.880 m +643.680 560.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 551.45 Td +(NSS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 554.33 Td +(19) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 553.680 m +643.680 553.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 537.05 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 539.93 Td +(20) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 539.280 m +643.680 539.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 529.85 Td +(ANT) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 532.73 Td +(21) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 532.080 m +643.680 532.080 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +626.400 534.960 m +632.160 529.200 l +626.400 529.200 m +632.160 534.960 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +645.12 522.65 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.80 525.53 Td +(22) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 524.880 m +643.680 524.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +672.35 613.83 Td +(E22P-868M30S) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +387.36 436.61 Td +(ANT_Lora) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +387.36 428.69 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +387.36 421.49 Td +(DIO9) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +387.36 414.29 Td +(DIO8) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +387.36 407.81 Td +(DIO7) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +387.36 400.61 Td +(NC) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +387.36 392.69 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +387.36 385.49 Td +(3V3) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +423.36 436.61 Td +(ANT_2.4) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +434.88 429.41 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +440.64 422.21 Td +(CS) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +437.04 414.29 Td +(CLK) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +432.00 407.81 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +432.00 400.61 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +428.40 392.69 Td +(RESET) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +432.00 385.49 Td +(BUSY) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +384.48 445.68 68.40 -64.80 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +389.16 442.08 m 389.16 442.68 388.68 443.16 388.08 443.16 c +387.48 443.16 387.00 442.68 387.00 442.08 c +387.00 441.48 387.48 441.00 388.08 441.00 c +388.68 441.00 389.16 441.48 389.16 442.08 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +380.12 439.13 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 438.480 m +384.480 438.480 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +374.400 441.360 m +380.160 435.600 l +374.400 435.600 m +380.160 441.360 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +380.12 431.93 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 431.280 m +384.480 431.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +380.12 424.73 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 424.080 m +384.480 424.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +380.12 417.53 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 416.880 m +384.480 416.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +374.400 419.760 m +380.160 414.000 l +374.400 414.000 m +380.160 419.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +380.12 410.33 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 409.680 m +384.480 409.680 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +374.400 412.560 m +380.160 406.800 l +374.400 406.800 m +380.160 412.560 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +380.12 403.13 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 402.480 m +384.480 402.480 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +374.400 405.360 m +380.160 399.600 l +374.400 399.600 m +380.160 405.360 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +380.12 395.93 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 395.280 m +384.480 395.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +380.12 388.73 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 388.080 m +384.480 388.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +454.32 388.73 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 388.080 m +452.880 388.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +452.88 395.93 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 395.280 m +452.880 395.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +452.88 403.13 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 402.480 m +452.880 402.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +452.88 410.33 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 409.680 m +452.880 409.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +452.88 417.53 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 416.880 m +452.880 416.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +452.88 424.73 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 424.080 m +452.880 424.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +452.88 431.93 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 431.280 m +452.880 431.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +452.88 439.13 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 438.480 m +452.880 438.480 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +457.200 441.360 m +462.960 435.600 l +457.200 435.600 m +462.960 441.360 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +388.08 453.21 Td +(WAVESHARE_LORA_CORE_1121) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +388.08 447.20 Td +(LoRa Core1121-XF) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +377.280 424.080 m +373.680 427.680 l +362.880 427.680 l +362.880 420.480 l +373.680 420.480 l +377.280 424.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 424.080 m +377.280 424.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +348.16 420.93 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +460.080 388.080 m +463.680 384.480 l +474.480 384.480 l +474.480 391.680 l +463.680 391.680 l +460.080 388.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 388.080 m +460.080 388.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +475.55 385.64 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +460.080 395.280 m +463.680 391.680 l +474.480 391.680 l +474.480 398.880 l +463.680 398.880 l +460.080 395.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 395.280 m +460.080 395.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +476.44 392.12 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 388.080 m +377.280 388.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 391.680 m +370.080 384.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 388.080 m +377.280 388.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +355.90 384.73 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +460.080 424.080 m +463.680 427.680 l +474.480 427.680 l +474.480 420.480 l +463.680 420.480 l +460.080 424.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 424.080 m +460.080 424.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +475.92 421.36 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +460.080 416.880 m +463.680 420.480 l +474.480 420.480 l +474.480 413.280 l +463.680 413.280 l +460.080 416.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 416.880 m +460.080 416.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +475.71 414.16 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +460.080 402.480 m +463.680 406.080 l +474.480 406.080 l +474.480 398.880 l +463.680 398.880 l +460.080 402.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 402.480 m +460.080 402.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +475.92 399.04 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +460.080 409.680 m +463.680 413.280 l +474.480 413.280 l +474.480 406.080 l +463.680 406.080 l +460.080 409.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 409.680 m +460.080 409.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +475.92 406.24 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 431.280 m +377.280 431.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 437.760 m +370.080 424.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +368.640 435.600 m +368.640 426.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +367.200 433.440 m +367.200 429.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +365.760 432.000 m +365.760 430.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 431.280 m +377.280 431.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +346.68 427.87 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +467.280 431.280 m +460.080 431.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +467.280 424.800 m +467.280 437.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +468.720 426.960 m +468.720 435.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +470.160 429.120 m +470.160 433.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +471.600 430.560 m +471.600 432.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +460.080 431.280 m +460.080 431.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +471.96 427.87 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 395.280 m +377.280 395.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 401.760 m +370.080 388.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +368.640 399.600 m +368.640 390.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +367.200 397.440 m +367.200 393.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +365.760 396.000 m +365.760 394.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 395.280 m +377.280 395.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +346.68 391.87 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 557.280 m +388.080 557.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 563.760 m +380.880 550.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +379.440 561.600 m +379.440 552.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +378.000 559.440 m +378.000 555.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +376.560 558.000 m +376.560 556.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 557.280 m +388.080 557.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +357.48 553.87 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +388.080 586.080 m +384.480 582.480 l +373.680 582.480 l +373.680 589.680 l +384.480 589.680 l +388.080 586.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 586.080 m +388.080 586.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +354.06 583.25 Td +(RXEN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +456.480 593.280 m +449.280 593.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +456.480 586.800 m +456.480 599.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +457.920 588.960 m +457.920 597.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +459.360 591.120 m +459.360 595.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +460.800 592.560 m +460.800 594.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 593.280 m +449.280 593.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +461.16 589.87 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 600.480 m +388.080 600.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 606.960 m +380.880 594.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +379.440 604.800 m +379.440 596.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +378.000 602.640 m +378.000 598.320 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +376.560 601.200 m +376.560 599.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 600.480 m +388.080 600.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +357.48 597.07 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 593.280 m +388.080 593.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 599.760 m +380.880 586.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +379.440 597.600 m +379.440 588.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +378.000 595.440 m +378.000 591.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +376.560 594.000 m +376.560 592.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 593.280 m +388.080 593.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +357.48 589.87 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +449.280 571.680 m +452.880 575.280 l +463.680 575.280 l +463.680 568.080 l +452.880 568.080 l +449.280 571.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 571.680 m +449.280 571.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +465.12 568.24 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +449.280 564.480 m +452.880 568.080 l +463.680 568.080 l +463.680 560.880 l +452.880 560.880 l +449.280 564.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 564.480 m +449.280 564.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +465.12 561.04 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +449.280 578.880 m +452.880 582.480 l +463.680 582.480 l +463.680 575.280 l +452.880 575.280 l +449.280 578.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 578.880 m +449.280 578.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +464.91 576.16 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +449.280 586.080 m +452.880 589.680 l +463.680 589.680 l +463.680 582.480 l +452.880 582.480 l +449.280 586.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 586.080 m +449.280 586.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +465.12 583.36 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 550.080 m +388.080 550.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +380.880 553.680 m +380.880 546.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 550.080 m +388.080 550.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +366.70 546.73 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +449.280 557.280 m +452.880 553.680 l +463.680 553.680 l +463.680 560.880 l +452.880 560.880 l +449.280 557.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 557.280 m +449.280 557.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +465.64 554.12 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +449.280 550.080 m +452.880 546.480 l +463.680 546.480 l +463.680 553.680 l +452.880 553.680 l +449.280 550.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 550.080 m +449.280 550.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +464.75 547.64 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +388.080 564.480 m +384.480 568.080 l +373.680 568.080 l +373.680 560.880 l +384.480 560.880 l +388.080 564.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 564.480 m +388.080 564.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +358.96 561.33 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +449.280 600.480 m +452.880 604.080 l +463.680 604.080 l +463.680 596.880 l +452.880 596.880 l +449.280 600.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 600.480 m +449.280 600.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +465.65 597.65 Td +(LORA_ANT) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +388.080 571.680 m +384.480 568.080 l +373.680 568.080 l +373.680 575.280 l +384.480 575.280 l +388.080 571.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 571.680 m +388.080 571.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +354.75 569.03 Td +(DIO2) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +398.16 597.89 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +398.16 590.69 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +398.16 583.49 Td +(RXEN) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +398.16 576.29 Td +(TXEN) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +398.16 569.81 Td +(DIO2) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +398.16 562.61 Td +(DIO1) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +398.16 554.69 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +398.16 547.49 Td +(3V3) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +424.80 598.61 Td +(ANT) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +424.08 591.41 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +429.84 584.21 Td +(CS) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +426.24 576.29 Td +(CLK) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +421.20 569.81 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +421.20 562.61 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +417.60 554.69 Td +(RESET) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +421.20 547.49 Td +(BUSY) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +395.28 607.68 46.80 -64.80 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +399.96 604.08 m 399.96 604.68 399.48 605.16 398.88 605.16 c +398.28 605.16 397.80 604.68 397.80 604.08 c +397.80 603.48 398.28 603.00 398.88 603.00 c +399.48 603.00 399.96 603.48 399.96 604.08 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +390.92 601.13 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 600.480 m +395.280 600.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +390.92 593.93 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 593.280 m +395.280 593.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +390.92 586.73 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 586.080 m +395.280 586.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +390.92 579.53 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 578.880 m +395.280 578.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +390.92 572.33 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 571.680 m +395.280 571.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +390.92 565.13 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 564.480 m +395.280 564.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +390.92 557.93 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 557.280 m +395.280 557.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +390.92 550.73 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 550.080 m +395.280 550.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +443.52 550.73 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 550.080 m +442.080 550.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +442.08 557.93 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 557.280 m +442.080 557.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +442.08 565.13 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 564.480 m +442.080 564.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +442.08 572.33 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 571.680 m +442.080 571.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +442.08 579.53 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 578.880 m +442.080 578.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +442.08 586.73 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 586.080 m +442.080 586.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +442.08 593.93 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 593.280 m +442.080 593.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +442.08 601.13 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +449.280 600.480 m +442.080 600.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +414.58 616.96 Td +(WAVESHARE_LORA_CORE_1262) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +414.58 610.89 Td +(LoRa Core1262-868M) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +172.08 447.84 79.20 -108.00 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +248.76 433.44 m 248.76 434.04 248.28 434.52 247.68 434.52 c +247.08 434.52 246.60 434.04 246.60 433.44 c +246.60 432.84 247.08 432.36 247.68 432.36 c +248.28 432.36 248.76 432.84 248.76 433.44 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +234.07 439.01 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +251.64 435.41 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 440.640 m +251.280 440.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +234.43 431.81 Td +(2.4G) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +251.64 428.21 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 433.440 m +251.280 433.440 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +255.600 436.320 m +261.360 430.560 l +255.600 430.560 m +261.360 436.320 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +234.07 424.61 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +251.64 421.01 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 426.240 m +251.280 426.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +223.15 406.61 Td +(LR_NSS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +251.64 403.01 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 408.240 m +251.280 408.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +223.15 399.41 Td +(LR_SCK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +251.64 395.81 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 401.040 m +251.280 401.040 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +219.88 392.21 Td +(LR_MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +251.64 388.61 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 393.840 m +251.280 393.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +219.88 385.01 Td +(LR_MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +251.64 381.41 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 386.640 m +251.280 386.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +218.79 377.81 Td +(LR_BUSY) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +251.64 374.21 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 379.440 m +251.280 379.440 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +234.07 370.61 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +251.64 367.01 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 372.240 m +251.280 372.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 232.69 341.13 Tm +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 236.29 330.82 Tm +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +229.680 332.640 m +229.680 339.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 225.49 341.13 Tm +(DIO8) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 229.09 330.82 Tm +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +222.480 332.640 m +222.480 339.840 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +219.600 335.520 m +225.360 329.760 l +219.600 329.760 m +225.360 335.520 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 218.29 341.13 Tm +(DIO9) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 221.89 330.82 Tm +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +215.280 332.640 m +215.280 339.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 211.09 341.13 Tm +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 214.69 330.82 Tm +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +208.080 332.640 m +208.080 339.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 203.89 341.13 Tm +(LR_nRST) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 207.49 330.82 Tm +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +200.880 332.640 m +200.880 339.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 196.69 341.13 Tm +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 200.29 330.82 Tm +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +193.680 332.640 m +193.680 339.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +174.74 370.61 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +164.44 367.01 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 372.240 m +172.080 372.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +174.74 377.81 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +164.44 374.21 Td +(17) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 379.440 m +172.080 379.440 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +174.74 385.01 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +164.44 381.41 Td +(18) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 386.640 m +172.080 386.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +174.74 392.21 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +164.44 388.61 Td +(19) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 393.840 m +172.080 393.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +174.74 399.41 Td +(VDD_RF) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +164.44 395.81 Td +(20) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 401.040 m +172.080 401.040 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +174.74 406.61 Td +(VDD_RF) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +164.44 403.01 Td +(21) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 408.240 m +172.080 408.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +174.74 424.61 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +164.44 421.01 Td +(22) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 426.240 m +172.080 426.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +174.74 431.81 Td +(SUBG_RF) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +164.44 428.21 Td +(23) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 433.440 m +172.080 433.440 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +162.000 436.320 m +167.760 430.560 l +162.000 430.560 m +167.760 436.320 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +174.74 439.01 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +164.44 435.41 Td +(24) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 440.640 m +172.080 440.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +205.52 456.81 Td +(Seeed_WIO-LR1121) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +205.52 450.33 Td +(Seeed_WIO-LR1121) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +265.680 426.240 m +258.480 426.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +265.680 419.760 m +265.680 432.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +267.120 421.920 m +267.120 430.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +268.560 424.080 m +268.560 428.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +270.000 425.520 m +270.000 426.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 426.240 m +258.480 426.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +270.36 422.89 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +265.680 440.640 m +258.480 440.640 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +265.680 434.160 m +265.680 447.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +267.120 436.320 m +267.120 444.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +268.560 438.480 m +268.560 442.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +270.000 439.920 m +270.000 441.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 440.640 m +258.480 440.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +270.36 437.29 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +157.680 440.640 m +164.880 440.640 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +157.680 447.120 m +157.680 434.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +156.240 444.960 m +156.240 436.320 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +154.800 442.800 m +154.800 438.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +153.360 441.360 m +153.360 439.920 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 440.640 m +164.880 440.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +134.04 437.29 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +157.680 426.240 m +164.880 426.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +157.680 432.720 m +157.680 419.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +156.240 430.560 m +156.240 421.920 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +154.800 428.400 m +154.800 424.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +153.360 426.960 m +153.360 425.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +164.880 426.240 m +164.880 426.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +134.04 422.89 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +154.080 408.240 m +161.280 408.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +154.080 404.640 m +154.080 411.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +161.280 408.240 m +161.280 408.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +135.94 404.89 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +154.080 393.840 m +161.280 393.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +154.080 400.320 m +154.080 387.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +152.640 398.160 m +152.640 389.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +151.200 396.000 m +151.200 391.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +149.760 394.560 m +149.760 393.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +161.280 393.840 m +161.280 393.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +130.44 390.49 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +258.480 365.040 m +258.480 372.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +252.000 365.040 m +264.960 365.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +254.160 363.600 m +262.800 363.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +256.320 362.160 m +260.640 362.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +257.760 360.720 m +259.200 360.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 372.240 m +258.480 372.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +249.00 351.97 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +215.280 303.840 m +218.880 307.440 l +229.680 307.440 l +229.680 300.240 l +218.880 300.240 l +215.280 303.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +215.280 303.840 m +215.280 303.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +231.68 301.41 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +258.480 379.440 m +262.080 383.040 l +272.880 383.040 l +272.880 375.840 l +262.080 375.840 l +258.480 379.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 379.440 m +258.480 379.440 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +274.10 376.72 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +240.480 321.840 m +240.480 329.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +246.960 321.840 m +234.000 321.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +244.800 320.400 m +236.160 320.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +242.640 318.960 m +238.320 318.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +241.200 317.520 m +239.760 317.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +240.480 329.040 m +240.480 329.040 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +235.17 308.77 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +193.680 303.840 m +190.080 307.440 l +179.280 307.440 l +179.280 300.240 l +190.080 300.240 l +193.680 303.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +193.680 303.840 m +193.680 303.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +157.92 301.18 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +258.480 408.240 m +262.080 404.640 l +272.880 404.640 l +272.880 411.840 l +262.080 411.840 l +258.480 408.240 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 408.240 m +258.480 408.240 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +274.28 405.44 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +258.480 401.040 m +262.080 397.440 l +272.880 397.440 l +272.880 404.640 l +262.080 404.640 l +258.480 401.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 401.040 m +258.480 401.040 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +273.07 398.24 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +258.480 393.840 m +262.080 390.240 l +272.880 390.240 l +272.880 397.440 l +262.080 397.440 l +258.480 393.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 393.840 m +258.480 393.840 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +274.72 391.04 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +258.480 386.640 m +262.080 383.040 l +272.880 383.040 l +272.880 390.240 l +262.080 390.240 l +258.480 386.640 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +258.480 386.640 m +258.480 386.640 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +274.82 383.84 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +96.480 1032.480 m +92.880 1028.880 l +82.080 1028.880 l +82.080 1036.080 l +92.880 1036.080 l +96.480 1032.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1032.480 m +96.480 1032.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +63.54 1029.61 Td +(P1.06) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +96.480 1111.680 m +92.880 1108.080 l +82.080 1108.080 l +82.080 1115.280 l +92.880 1115.280 l +96.480 1111.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1111.680 m +96.480 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +44.63 1108.96 Td +(SERIAL2RX) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +96.480 1104.480 m +92.880 1100.880 l +82.080 1100.880 l +82.080 1108.080 l +92.880 1108.080 l +96.480 1104.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1104.480 m +96.480 1104.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +45.35 1101.76 Td +(SERIAL2TX) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +272.88 1075.68 7.20 -14.40 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +276.480 1082.880 m +276.480 1075.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +276.480 1054.080 m +276.480 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +281.52 1066.47 Td +(R_ADC_B) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +281.52 1059.99 Td +(1.5M) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +276.480 1111.680 m +272.880 1115.280 l +272.880 1126.080 l +280.080 1126.080 l +280.080 1115.280 l +276.480 1111.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +276.480 1111.680 m +276.480 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +0.00 1.00 -1.00 0.00 277.83 1126.29 Tm +(BATT) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +276.480 1046.880 m +276.480 1054.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +270.000 1046.880 m +282.960 1046.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +272.160 1045.440 m +280.800 1045.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +274.320 1044.000 m +278.640 1044.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +275.760 1042.560 m +277.200 1042.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +276.480 1054.080 m +276.480 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +267.12 1034.89 Td +(GND) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +272.88 1104.48 7.20 -14.40 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +276.480 1111.680 m +276.480 1104.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +276.480 1082.880 m +276.480 1090.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +281.52 1095.27 Td +(R_ADC_T) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +281.52 1088.79 Td +(1M) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +190.080 1097.280 m +193.680 1100.880 l +204.480 1100.880 l +204.480 1093.680 l +193.680 1093.680 l +190.080 1097.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +190.080 1097.280 m +190.080 1097.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +205.93 1094.17 Td +(RBTN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +85.680 1054.080 m +82.080 1050.480 l +71.280 1050.480 l +71.280 1057.680 l +82.080 1057.680 l +85.680 1054.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +85.680 1054.080 m +85.680 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +52.02 1051.36 Td +(UBTN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +89.280 1093.680 m +96.480 1093.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +89.280 1100.160 m +89.280 1087.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +87.840 1098.000 m +87.840 1089.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +86.400 1095.840 m +86.400 1091.520 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +84.960 1094.400 m +84.960 1092.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +96.480 1093.680 m +96.480 1093.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +65.88 1090.33 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +85.680 1061.280 m +82.080 1057.680 l +71.280 1057.680 l +71.280 1064.880 l +82.080 1064.880 l +85.680 1061.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +85.680 1061.280 m +85.680 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +46.92 1058.41 Td +(GPSEN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +85.680 1068.480 m +82.080 1072.080 l +71.280 1072.080 l +71.280 1064.880 l +82.080 1064.880 l +85.680 1068.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +85.680 1068.480 m +85.680 1068.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +46.92 1066.77 Td +(GPSRX) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +85.680 1075.680 m +82.080 1079.280 l +71.280 1079.280 l +71.280 1072.080 l +82.080 1072.080 l +85.680 1075.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +85.680 1075.680 m +85.680 1075.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +47.65 1073.97 Td +(GPSTX) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +190.080 1039.680 m +193.680 1043.280 l +204.480 1043.280 l +204.480 1036.080 l +193.680 1036.080 l +190.080 1039.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +190.080 1039.680 m +190.080 1039.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +205.92 1036.96 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +190.080 1032.480 m +193.680 1036.080 l +204.480 1036.080 l +204.480 1028.880 l +193.680 1028.880 l +190.080 1032.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +190.080 1032.480 m +190.080 1032.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +206.28 1029.76 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +236.880 1090.080 m +229.680 1090.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +236.880 1093.680 m +236.880 1086.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +229.680 1090.080 m +229.680 1090.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +237.60 1086.73 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +190.080 1054.080 m +193.680 1057.680 l +204.480 1057.680 l +204.480 1050.480 l +193.680 1050.480 l +190.080 1054.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +190.080 1054.080 m +190.080 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +205.92 1051.36 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +190.080 1061.280 m +193.680 1064.880 l +204.480 1064.880 l +204.480 1057.680 l +193.680 1057.680 l +190.080 1061.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +190.080 1061.280 m +190.080 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +205.92 1058.56 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +190.080 1068.480 m +193.680 1072.080 l +204.480 1072.080 l +204.480 1064.880 l +193.680 1064.880 l +190.080 1068.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +190.080 1068.480 m +190.080 1068.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +205.92 1065.76 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +190.080 1046.880 m +193.680 1050.480 l +204.480 1050.480 l +204.480 1043.280 l +193.680 1043.280 l +190.080 1046.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +190.080 1046.880 m +190.080 1046.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +205.80 1044.16 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +190.080 1075.680 m +193.680 1079.280 l +204.480 1079.280 l +204.480 1072.080 l +193.680 1072.080 l +190.080 1075.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +190.080 1075.680 m +190.080 1075.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +205.70 1072.96 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +236.880 1104.480 m +229.680 1104.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +236.880 1098.000 m +236.880 1110.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +238.320 1100.160 m +238.320 1108.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +239.760 1102.320 m +239.760 1106.640 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +241.200 1103.760 m +241.200 1105.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +229.680 1104.480 m +229.680 1104.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +241.56 1101.13 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +182.880 1111.680 m +186.480 1115.280 l +197.280 1115.280 l +197.280 1108.080 l +186.480 1108.080 l +182.880 1111.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +182.880 1111.680 m +182.880 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +199.08 1108.74 Td +(BATT) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +85.680 1046.880 m +82.080 1043.280 l +71.280 1043.280 l +71.280 1050.480 l +82.080 1050.480 l +85.680 1046.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +85.680 1046.880 m +85.680 1046.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +57.11 1044.01 Td +(SCL) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +85.680 1039.680 m +82.080 1036.080 l +71.280 1036.080 l +71.280 1043.280 l +82.080 1043.280 l +85.680 1039.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +85.680 1039.680 m +85.680 1039.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +56.38 1036.81 Td +(SDA) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +276.480 1082.880 m +280.080 1086.480 l +290.880 1086.480 l +290.880 1079.280 l +280.080 1079.280 l +276.480 1082.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +276.480 1082.880 m +276.480 1082.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +292.82 1079.93 Td +(ADC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +661.680 1111.680 m +658.080 1115.280 l +658.080 1126.080 l +665.280 1126.080 l +665.280 1115.280 l +661.680 1111.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +661.680 1111.680 m +661.680 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +0.00 1.00 -1.00 0.00 663.03 1126.29 Tm +(BATT) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +661.680 1046.880 m +661.680 1054.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +655.200 1046.880 m +668.160 1046.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +657.360 1045.440 m +666.000 1045.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +659.520 1044.000 m +663.840 1044.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +660.960 1042.560 m +662.400 1042.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +661.680 1054.080 m +661.680 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +652.32 1034.89 Td +(GND) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +658.08 1104.48 7.20 -14.40 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +661.680 1111.680 m +661.680 1104.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +661.680 1082.880 m +661.680 1090.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +666.72 1095.27 Td +(R_ADC_T1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +666.72 1088.79 Td +(220k) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +658.08 1075.68 7.20 -14.40 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +661.680 1082.880 m +661.680 1075.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +661.680 1054.080 m +661.680 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +666.72 1066.47 Td +(R_ADC_B1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +666.72 1059.99 Td +(330k) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +712.08 1104.48 7.20 -14.40 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +715.680 1111.680 m +715.680 1104.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +715.680 1082.880 m +715.680 1090.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +720.72 1095.27 Td +(R_ADC_T2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +720.72 1088.79 Td +(680k) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +712.08 1075.68 7.20 -14.40 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +715.680 1082.880 m +715.680 1075.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +715.680 1054.080 m +715.680 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +720.72 1066.47 Td +(R_ADC_B2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +720.72 1059.99 Td +(1M) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +715.680 1082.880 m +719.280 1086.480 l +730.080 1086.480 l +730.080 1079.280 l +719.280 1079.280 l +715.680 1082.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +715.680 1082.880 m +715.680 1082.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +732.02 1079.93 Td +(ADC) Tj +ET +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +640.08 1151.66 Td +(Alternative ADC resistors) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +715.680 1111.680 m +712.080 1115.280 l +712.080 1126.080 l +719.280 1126.080 l +719.280 1115.280 l +715.680 1111.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +715.680 1111.680 m +715.680 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +0.00 1.00 -1.00 0.00 717.03 1126.29 Tm +(BATT) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +715.680 1046.880 m +715.680 1054.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +709.200 1046.880 m +722.160 1046.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +711.360 1045.440 m +720.000 1045.440 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +713.520 1044.000 m +717.840 1044.000 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +714.960 1042.560 m +716.400 1042.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +715.680 1054.080 m +715.680 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +706.32 1034.89 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +661.680 1082.880 m +665.280 1086.480 l +676.080 1086.480 l +676.080 1079.280 l +665.280 1079.280 l +661.680 1082.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +661.680 1082.880 m +661.680 1082.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +678.02 1079.93 Td +(ADC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +92.880 1082.880 m +89.280 1079.280 l +78.480 1079.280 l +78.480 1086.480 l +89.280 1086.480 l +92.880 1082.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +92.880 1082.880 m +92.880 1082.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +58.86 1080.01 Td +(RXEN) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +377.280 1082.880 m +373.680 1079.280 l +362.880 1079.280 l +362.880 1086.480 l +373.680 1086.480 l +377.280 1082.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +377.280 1082.880 m +377.280 1082.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +343.26 1080.01 Td +(RXEN) Tj +ET +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +218.88 248.06 Td +(Bulk Capacitors) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +157.680 690.480 m +154.080 686.880 l +143.280 686.880 l +143.280 694.080 l +154.080 694.080 l +157.680 690.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +157.680 690.480 m +157.680 690.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +124.34 687.64 Td +(DIO2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +481.680 730.080 m +485.280 733.680 l +496.080 733.680 l +496.080 726.480 l +485.280 726.480 l +481.680 730.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +481.680 730.080 m +481.680 730.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +497.53 727.03 Td +(DIO2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 730.080 m +733.680 733.680 l +744.480 733.680 l +744.480 726.480 l +733.680 726.480 l +730.080 730.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +730.080 730.080 m +730.080 730.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +745.93 727.03 Td +(DIO2) Tj +ET +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +366.48 820.46 Td +(NB// Ant pin is not connected, ) Tj +T* (except on non-ipex version) Tj +ET +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +150.48 289.82 Td +(NB// Ant pin is not connected, ) Tj +T* (except on non-ipex version) Tj +ET +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +157.68 665.66 Td +(NB// Non-TCXO!) Tj +ET +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +114.48 809.66 Td +(NB// RA-01SH is Non-TCXO!) Tj +ET +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +632.88 161.66 Td +(NB// SX1276 - non-preferred!) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +35.28 476.64 777.60 -208.80 re +S +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +46.08 459.02 Td +(LR1121 Modules) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +388.080 578.880 m +384.480 575.280 l +373.680 575.280 l +373.680 582.480 l +384.480 582.480 l +388.080 578.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +388.080 578.880 m +388.080 578.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +354.75 576.23 Td +(DIO2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 859.680 m +722.880 859.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 863.280 m +730.080 856.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 859.680 m +722.880 859.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +730.44 856.27 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +722.880 866.880 m +726.480 870.480 l +737.280 870.480 l +737.280 863.280 l +726.480 863.280 l +722.880 866.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 866.880 m +722.880 866.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +738.72 863.93 Td +(DIO2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 852.480 m +625.680 848.880 l +614.880 848.880 l +614.880 856.080 l +625.680 856.080 l +629.280 852.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 852.480 m +629.280 852.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +595.95 849.54 Td +(DIO2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 863.280 m +629.280 863.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 869.760 m +622.080 856.800 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +620.640 867.600 m +620.640 858.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +619.200 865.440 m +619.200 861.120 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +617.760 864.000 m +617.760 862.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 863.280 m +629.280 863.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +598.68 859.87 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 884.880 m +722.880 884.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +730.080 878.400 m +730.080 891.360 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +731.520 880.560 m +731.520 889.200 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +732.960 882.720 m +732.960 887.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +734.400 884.160 m +734.400 885.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 884.880 m +722.880 884.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +734.76 881.47 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +722.880 809.280 m +722.880 816.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +716.400 809.280 m +729.360 809.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +718.560 807.840 m +727.200 807.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +720.720 806.400 m +725.040 806.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +722.160 804.960 m +723.600 804.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 816.480 m +722.880 816.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +713.52 797.29 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 845.280 m +625.680 841.680 l +614.880 841.680 l +614.880 848.880 l +625.680 848.880 l +629.280 845.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 845.280 m +629.280 845.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +600.16 842.12 Td +(IRQ) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 838.080 m +625.680 834.480 l +614.880 834.480 l +614.880 841.680 l +625.680 841.680 l +629.280 838.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 838.080 m +629.280 838.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +593.11 834.92 Td +(BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 830.880 m +625.680 834.480 l +614.880 834.480 l +614.880 827.280 l +625.680 827.280 l +629.280 830.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 830.880 m +629.280 830.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +593.65 828.45 Td +(NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 902.880 m +629.280 902.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +622.080 899.280 m +622.080 906.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 902.880 m +629.280 902.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +602.58 899.53 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 895.680 m +625.680 892.080 l +614.880 892.080 l +614.880 899.280 l +625.680 899.280 l +629.280 895.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 895.680 m +629.280 895.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +604.35 892.81 Td +(CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 888.480 m +625.680 884.880 l +614.880 884.880 l +614.880 892.080 l +625.680 892.080 l +629.280 888.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 888.480 m +629.280 888.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +599.98 885.61 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 874.080 m +625.680 877.680 l +614.880 877.680 l +614.880 870.480 l +625.680 870.480 l +629.280 874.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 874.080 m +629.280 874.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +596.71 870.64 Td +(MISO) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +629.280 881.280 m +625.680 884.880 l +614.880 884.880 l +614.880 877.680 l +625.680 877.680 l +629.280 881.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 881.280 m +629.280 881.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +596.71 877.84 Td +(MOSI) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +636.48 910.08 79.20 -86.40 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +639.14 899.93 Td +(VDD) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.48 903.53 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 902.880 m +636.480 902.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +639.14 892.73 Td +(CS) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.48 896.33 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 895.680 m +636.480 895.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +639.14 885.53 Td +(SCK) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.48 889.13 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 888.480 m +636.480 888.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +639.14 878.33 Td +(MOSI) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.48 881.93 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 881.280 m +636.480 881.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +639.14 871.13 Td +(MISO) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.48 874.73 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 874.080 m +636.480 874.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +639.14 860.33 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +632.48 863.93 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 863.280 m +636.480 863.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +638.64 850.25 Td +(DIO2) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +633.20 853.13 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 852.480 m +636.480 852.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +638.64 843.05 Td +(DIO1) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +633.20 845.93 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 845.280 m +636.480 845.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +638.64 835.85 Td +(Busy) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +633.20 838.73 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 838.080 m +636.480 838.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +638.64 828.65 Td +(NRst) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +629.56 831.53 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +629.280 830.880 m +636.480 830.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +703.70 900.65 Td +(Ant) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +715.32 903.53 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 902.880 m +715.680 902.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.98 889.85 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +715.32 892.73 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 892.080 m +715.680 892.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.47 881.93 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +716.04 885.53 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 884.880 m +715.680 884.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.47 874.73 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +716.04 878.33 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 877.680 m +715.680 877.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +679.19 863.93 Td +(TX_RX_EN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +716.04 867.53 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 866.880 m +715.680 866.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +685.01 856.73 Td +(VDD_SW) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +716.04 860.33 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 859.680 m +715.680 859.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.47 845.93 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +716.04 849.53 Td +(17) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 848.880 m +715.680 848.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.47 838.73 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +716.04 842.33 Td +(18) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 841.680 m +715.680 841.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.47 832.97 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +716.04 835.13 Td +(19) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 834.480 m +715.680 834.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +698.47 825.77 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +716.04 827.93 Td +(20) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +722.880 827.280 m +715.680 827.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 665.41 824.97 Tm +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 663.25 814.66 Tm +(21) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +665.280 816.480 m +665.280 823.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 672.61 824.97 Tm +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 670.45 814.66 Tm +(22) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +672.480 816.480 m +672.480 823.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 679.81 824.97 Tm +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 677.65 814.66 Tm +(23) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +679.680 816.480 m +679.680 823.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 687.01 824.97 Tm +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 684.85 814.66 Tm +(24) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +686.880 816.480 m +686.880 823.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +672.16 919.36 Td +(ELECROW_LR1262) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +672.16 913.29 Td +(LR1262 Transceiver) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +751.680 917.280 m +751.680 924.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +745.200 917.280 m +758.160 917.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +747.360 915.840 m +756.000 915.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +749.520 914.400 m +753.840 914.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +750.960 912.960 m +752.400 912.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +751.680 924.480 m +751.680 924.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +742.32 904.57 Td +(GND) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +758.88 931.68 14.40 -14.40 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 764.05 908.66 Tm +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +766.080 902.880 m +766.080 917.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +755.24 919.25 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +751.680 924.480 m +758.880 924.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +773.28 919.25 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +780.480 924.480 m +773.280 924.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 764.05 930.30 Tm +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +766.080 938.880 m +766.080 931.680 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +763.200 941.760 m +768.960 936.000 l +763.200 936.000 m +768.960 941.760 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +767.52 924.48 m 767.52 925.28 766.88 925.92 766.08 925.92 c +765.28 925.92 764.64 925.28 764.64 924.48 c +764.64 923.68 765.28 923.04 766.08 923.04 c +766.88 923.04 767.52 923.68 767.52 924.48 c +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +766.080 923.040 m +766.080 917.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 0.502 rg +750.92 948.68 Td +(U4) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +750.92 942.13 Td +(AMC-U_FL) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +780.480 917.280 m +780.480 924.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +774.000 917.280 m +786.960 917.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +776.160 915.840 m +784.800 915.840 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +778.320 914.400 m +782.640 914.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +779.760 912.960 m +781.200 912.960 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +780.480 924.480 m +780.480 924.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +771.12 904.57 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +110.880 602.640 m +154.080 602.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +110.880 602.640 m +154.080 602.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +654.480 233.280 m +654.480 226.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +654.480 233.280 m +654.480 226.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 895.680 m +355.680 895.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 895.680 m +355.680 895.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1090.080 m +514.080 1090.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1090.080 m +514.080 1090.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1104.480 m +514.080 1104.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1104.480 m +514.080 1104.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1068.480 m +474.480 1068.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1068.480 m +474.480 1068.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1061.280 m +474.480 1061.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1061.280 m +474.480 1061.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1046.880 m +474.480 1046.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1046.880 m +474.480 1046.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1054.080 m +474.480 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1054.080 m +474.480 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1039.680 m +474.480 1039.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1039.680 m +474.480 1039.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1075.680 m +474.480 1075.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1075.680 m +474.480 1075.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1032.480 m +474.480 1032.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1032.480 m +474.480 1032.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1097.280 m +474.480 1097.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1097.280 m +474.480 1097.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1082.880 m +560.880 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1082.880 m +560.880 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1039.680 m +370.080 1039.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1039.680 m +370.080 1039.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1046.880 m +370.080 1046.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1046.880 m +370.080 1046.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1054.080 m +370.080 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1054.080 m +370.080 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1061.280 m +370.080 1061.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1061.280 m +370.080 1061.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1068.480 m +370.080 1068.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1068.480 m +370.080 1068.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1075.680 m +370.080 1075.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1075.680 m +370.080 1075.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1093.680 m +380.880 1090.080 l +S +380.880 1097.280 m +380.880 1093.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1093.680 m +380.880 1090.080 l +S +380.880 1097.280 m +380.880 1093.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 748.080 m +730.080 751.680 l +S +730.080 748.080 m +730.080 744.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 748.080 m +730.080 751.680 l +S +730.080 748.080 m +730.080 744.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 758.880 m +481.680 751.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 758.880 m +481.680 751.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 712.080 m +100.080 712.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 712.080 m +100.080 712.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 679.680 m +730.080 674.640 l +S +730.080 715.680 m +730.080 708.480 l +S +730.080 694.080 m +730.080 708.480 l +S +730.080 686.880 m +730.080 694.080 l +S +730.080 679.680 m +730.080 686.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 679.680 m +730.080 674.640 l +S +730.080 715.680 m +730.080 708.480 l +S +730.080 694.080 m +730.080 708.480 l +S +730.080 686.880 m +730.080 694.080 l +S +730.080 679.680 m +730.080 686.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 679.680 m +481.680 686.880 l +S +481.680 694.080 m +481.680 686.880 l +S +481.680 694.080 m +481.680 708.480 l +S +481.680 715.680 m +481.680 708.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 679.680 m +481.680 686.880 l +S +481.680 694.080 m +481.680 686.880 l +S +481.680 694.080 m +481.680 708.480 l +S +481.680 715.680 m +481.680 708.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +132.480 884.880 m +114.480 884.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +132.480 884.880 m +114.480 884.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +132.480 877.680 m +125.280 877.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +132.480 877.680 m +125.280 877.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 892.080 m +218.880 892.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 892.080 m +218.880 892.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 589.680 m +730.080 593.280 l +S +730.080 593.280 m +730.080 596.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 589.680 m +730.080 593.280 l +S +730.080 593.280 m +730.080 596.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 524.880 m +730.080 532.080 l +S +730.080 532.080 m +730.080 539.280 l +S +730.080 539.280 m +730.080 553.680 l +S +730.080 560.880 m +730.080 553.680 l +S +730.080 524.880 m +730.080 521.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 524.880 m +730.080 532.080 l +S +730.080 532.080 m +730.080 539.280 l +S +730.080 539.280 m +730.080 553.680 l +S +730.080 560.880 m +730.080 553.680 l +S +730.080 524.880 m +730.080 521.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +215.280 303.840 m +215.280 332.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +215.280 303.840 m +215.280 332.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +193.680 303.840 m +200.880 303.840 l +S +200.880 303.840 m +200.880 332.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +193.680 303.840 m +200.880 303.840 l +S +200.880 303.840 m +200.880 332.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +164.880 401.040 m +161.280 401.040 l +S +161.280 401.040 m +161.280 408.240 l +S +161.280 408.240 m +164.880 408.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +164.880 401.040 m +161.280 401.040 l +S +161.280 401.040 m +161.280 408.240 l +S +161.280 408.240 m +164.880 408.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +161.280 386.640 m +161.280 393.840 l +S +161.280 393.840 m +164.880 393.840 l +S +161.280 379.440 m +161.280 386.640 l +S +164.880 386.640 m +161.280 386.640 l +S +164.880 372.240 m +161.280 372.240 l +S +161.280 372.240 m +161.280 379.440 l +S +164.880 379.440 m +161.280 379.440 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +161.280 386.640 m +161.280 393.840 l +S +161.280 393.840 m +164.880 393.840 l +S +161.280 379.440 m +161.280 386.640 l +S +164.880 386.640 m +161.280 386.640 l +S +164.880 372.240 m +161.280 372.240 l +S +161.280 372.240 m +161.280 379.440 l +S +164.880 379.440 m +161.280 379.440 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1090.080 m +96.480 1093.680 l +S +96.480 1093.680 m +96.480 1097.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1090.080 m +96.480 1093.680 l +S +96.480 1093.680 m +96.480 1097.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +85.680 1061.280 m +96.480 1061.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +85.680 1061.280 m +96.480 1061.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +85.680 1054.080 m +96.480 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +85.680 1054.080 m +96.480 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +85.680 1046.880 m +96.480 1046.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +85.680 1046.880 m +96.480 1046.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +85.680 1039.680 m +96.480 1039.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +85.680 1039.680 m +96.480 1039.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +276.480 1082.880 m +182.880 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +276.480 1082.880 m +182.880 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1097.280 m +182.880 1097.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1097.280 m +182.880 1097.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1032.480 m +182.880 1032.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1032.480 m +182.880 1032.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1075.680 m +182.880 1075.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1075.680 m +182.880 1075.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1039.680 m +182.880 1039.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1039.680 m +182.880 1039.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1054.080 m +182.880 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1054.080 m +182.880 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1046.880 m +182.880 1046.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1046.880 m +182.880 1046.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1061.280 m +182.880 1061.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1061.280 m +182.880 1061.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1068.480 m +182.880 1068.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +190.080 1068.480 m +182.880 1068.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +229.680 1104.480 m +182.880 1104.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +229.680 1104.480 m +182.880 1104.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +229.680 1090.080 m +182.880 1090.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +229.680 1090.080 m +182.880 1090.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +92.880 1082.880 m +96.480 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +92.880 1082.880 m +96.480 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1082.880 m +377.280 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1082.880 m +377.280 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +722.880 841.680 m +722.880 848.880 l +S +722.880 834.480 m +722.880 841.680 l +S +722.880 827.280 m +722.880 834.480 l +S +722.880 827.280 m +722.880 816.480 l +S +722.880 816.480 m +686.880 816.480 l +S +686.880 816.480 m +679.680 816.480 l +S +679.680 816.480 m +672.480 816.480 l +S +672.480 816.480 m +665.280 816.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +722.880 841.680 m +722.880 848.880 l +S +722.880 834.480 m +722.880 841.680 l +S +722.880 827.280 m +722.880 834.480 l +S +722.880 827.280 m +722.880 816.480 l +S +722.880 816.480 m +686.880 816.480 l +S +686.880 816.480 m +679.680 816.480 l +S +679.680 816.480 m +672.480 816.480 l +S +672.480 816.480 m +665.280 816.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +722.880 884.880 m +722.880 892.080 l +S +722.880 877.680 m +722.880 884.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +722.880 884.880 m +722.880 892.080 l +S +722.880 877.680 m +722.880 884.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +766.080 902.880 m +722.880 902.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +766.080 902.880 m +722.880 902.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +229.680 329.040 m +229.680 332.640 l +S +193.680 332.640 m +193.680 329.040 l +S +193.680 329.040 m +208.080 329.040 l +S +208.080 332.640 m +208.080 329.040 l +S +208.080 329.040 m +229.680 329.040 l +S +240.480 329.040 m +229.680 329.040 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +229.680 329.040 m +229.680 332.640 l +S +193.680 332.640 m +193.680 329.040 l +S +193.680 329.040 m +208.080 329.040 l +S +208.080 332.640 m +208.080 329.040 l +S +208.080 329.040 m +229.680 329.040 l +S +240.480 329.040 m +229.680 329.040 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1111.680 m +467.280 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +467.280 1111.680 m +467.280 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1104.480 m +380.880 1104.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1104.480 m +380.880 1104.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1111.680 m +380.880 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1111.680 m +380.880 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1032.480 m +380.880 1032.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 1032.480 m +380.880 1032.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +402.480 996.480 m +402.480 996.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +402.480 996.480 m +402.480 996.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +409.680 996.480 m +409.680 996.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +409.680 996.480 m +409.680 996.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +416.880 996.480 m +416.880 996.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +416.880 996.480 m +416.880 996.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +182.880 1111.680 m +182.880 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +182.880 1111.680 m +182.880 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1104.480 m +96.480 1104.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1104.480 m +96.480 1104.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1111.680 m +96.480 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1111.680 m +96.480 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1032.480 m +96.480 1032.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1032.480 m +96.480 1032.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +118.080 161.280 m +118.080 161.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +118.080 161.280 m +118.080 161.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +118.080 211.680 m +118.080 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +118.080 211.680 m +118.080 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +74.880 161.280 m +74.880 161.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +74.880 161.280 m +74.880 161.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +74.880 211.680 m +74.880 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +74.880 211.680 m +74.880 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +125.280 624.240 m +125.280 624.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +125.280 624.240 m +125.280 624.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 624.240 m +96.480 624.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 624.240 m +96.480 624.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +154.080 573.840 m +154.080 573.840 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +154.080 573.840 m +154.080 573.840 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +154.080 595.440 m +154.080 595.440 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +154.080 595.440 m +154.080 595.440 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 602.640 m +226.080 602.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 602.640 m +226.080 602.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 552.240 m +226.080 552.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 552.240 m +226.080 552.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 588.240 m +226.080 588.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 588.240 m +226.080 588.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +154.080 559.440 m +154.080 559.440 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +154.080 559.440 m +154.080 559.440 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +154.080 552.240 m +154.080 552.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +154.080 552.240 m +154.080 552.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 581.040 m +226.080 581.040 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 581.040 m +226.080 581.040 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 573.840 m +226.080 573.840 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 573.840 m +226.080 573.840 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 566.640 m +226.080 566.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 566.640 m +226.080 566.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 559.440 m +226.080 559.440 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 559.440 m +226.080 559.440 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +654.480 218.880 m +654.480 218.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +654.480 218.880 m +654.480 218.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 233.280 m +719.280 233.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 233.280 m +719.280 233.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 182.880 m +719.280 182.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 182.880 m +719.280 182.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +654.480 197.280 m +654.480 197.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +654.480 197.280 m +654.480 197.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +654.480 211.680 m +654.480 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +654.480 211.680 m +654.480 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 211.680 m +719.280 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 211.680 m +719.280 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 218.880 m +719.280 218.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 218.880 m +719.280 218.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 204.480 m +719.280 204.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 204.480 m +719.280 204.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 226.080 m +719.280 226.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +719.280 226.080 m +719.280 226.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +654.480 204.480 m +654.480 204.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +654.480 204.480 m +654.480 204.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +269.280 215.280 m +269.280 215.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +269.280 215.280 m +269.280 215.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +233.280 186.480 m +233.280 186.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +233.280 186.480 m +233.280 186.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +233.280 215.280 m +233.280 215.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +233.280 215.280 m +233.280 215.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +269.280 186.480 m +269.280 186.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +269.280 186.480 m +269.280 186.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +560.880 1111.680 m +560.880 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +560.880 1111.680 m +560.880 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +560.880 1054.080 m +560.880 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +560.880 1054.080 m +560.880 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 434.880 m +730.080 434.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 434.880 m +730.080 434.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 362.880 m +629.280 362.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 362.880 m +629.280 362.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 377.280 m +629.280 377.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 377.280 m +629.280 377.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 391.680 m +629.280 391.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 391.680 m +629.280 391.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 442.080 m +629.280 442.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 442.080 m +629.280 442.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 442.080 m +730.080 442.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 442.080 m +730.080 442.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 391.680 m +730.080 391.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 391.680 m +730.080 391.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 377.280 m +730.080 377.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 377.280 m +730.080 377.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 362.880 m +730.080 362.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 362.880 m +730.080 362.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 398.880 m +629.280 398.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 398.880 m +629.280 398.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 406.080 m +629.280 406.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 406.080 m +629.280 406.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 413.280 m +629.280 413.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 413.280 m +629.280 413.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 420.480 m +629.280 420.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 420.480 m +629.280 420.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 427.680 m +629.280 427.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 427.680 m +629.280 427.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 413.280 m +730.080 413.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 413.280 m +730.080 413.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 406.080 m +730.080 406.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 406.080 m +730.080 406.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +114.480 733.680 m +114.480 733.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +114.480 733.680 m +114.480 733.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 744.480 m +481.680 744.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 744.480 m +481.680 744.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 748.080 m +157.680 748.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 748.080 m +157.680 748.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 737.280 m +629.280 737.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 737.280 m +629.280 737.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 751.680 m +629.280 751.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 751.680 m +629.280 751.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 737.280 m +730.080 737.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 737.280 m +730.080 737.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 708.480 m +629.280 708.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 708.480 m +629.280 708.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 722.880 m +629.280 722.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 722.880 m +629.280 722.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 730.080 m +629.280 730.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 730.080 m +629.280 730.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 715.680 m +629.280 715.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 715.680 m +629.280 715.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 722.880 m +730.080 722.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 722.880 m +730.080 722.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 744.480 m +629.280 744.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 744.480 m +629.280 744.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 694.080 m +629.280 694.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 694.080 m +629.280 694.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 679.680 m +629.280 679.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 679.680 m +629.280 679.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 758.880 m +730.080 758.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 758.880 m +730.080 758.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 758.880 m +629.280 758.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 758.880 m +629.280 758.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 740.880 m +157.680 740.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 740.880 m +157.680 740.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 704.880 m +157.680 704.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 704.880 m +157.680 704.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 719.280 m +222.480 719.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 719.280 m +222.480 719.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 758.880 m +380.880 758.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 758.880 m +380.880 758.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 679.680 m +380.880 679.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 679.680 m +380.880 679.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 694.080 m +380.880 694.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 694.080 m +380.880 694.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 744.480 m +380.880 744.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 744.480 m +380.880 744.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 722.880 m +481.680 722.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 722.880 m +481.680 722.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 715.680 m +380.880 715.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 715.680 m +380.880 715.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 730.080 m +380.880 730.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 730.080 m +380.880 730.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 722.880 m +380.880 722.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 722.880 m +380.880 722.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 708.480 m +380.880 708.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 708.480 m +380.880 708.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 737.280 m +481.680 737.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 737.280 m +481.680 737.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 751.680 m +380.880 751.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 751.680 m +380.880 751.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 737.280 m +380.880 737.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +380.880 737.280 m +380.880 737.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 733.680 m +222.480 733.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 733.680 m +222.480 733.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 733.680 m +157.680 733.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 733.680 m +157.680 733.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 748.080 m +222.480 748.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 748.080 m +222.480 748.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 740.880 m +222.480 740.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 740.880 m +222.480 740.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 704.880 m +222.480 704.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 704.880 m +222.480 704.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 697.680 m +222.480 697.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 697.680 m +222.480 697.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 690.480 m +222.480 690.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 690.480 m +222.480 690.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 712.080 m +222.480 712.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 712.080 m +222.480 712.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 683.280 m +157.680 683.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 683.280 m +157.680 683.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 683.280 m +222.480 683.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +222.480 683.280 m +222.480 683.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 690.480 m +157.680 690.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +157.680 690.480 m +157.680 690.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 730.080 m +730.080 730.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 730.080 m +730.080 730.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 730.080 m +481.680 730.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +481.680 730.080 m +481.680 730.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +132.480 870.480 m +132.480 870.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +132.480 870.480 m +132.480 870.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +132.480 856.080 m +132.480 856.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +132.480 856.080 m +132.480 856.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 841.680 m +197.280 841.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 841.680 m +197.280 841.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 848.880 m +197.280 848.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 848.880 m +197.280 848.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 863.280 m +197.280 863.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 863.280 m +197.280 863.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 870.480 m +197.280 870.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 870.480 m +197.280 870.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 877.680 m +197.280 877.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 877.680 m +197.280 877.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 884.880 m +197.280 884.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +197.280 884.880 m +197.280 884.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 888.480 m +370.080 888.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 888.480 m +370.080 888.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 881.280 m +370.080 881.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 881.280 m +370.080 881.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 874.080 m +370.080 874.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 874.080 m +370.080 874.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 866.880 m +370.080 866.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 866.880 m +370.080 866.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 859.680 m +370.080 859.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 859.680 m +370.080 859.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 852.480 m +370.080 852.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 852.480 m +370.080 852.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 845.280 m +370.080 845.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +370.080 845.280 m +370.080 845.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +478.080 874.080 m +478.080 874.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +478.080 874.080 m +478.080 874.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +478.080 881.280 m +478.080 881.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +478.080 881.280 m +478.080 881.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +478.080 888.480 m +478.080 888.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +478.080 888.480 m +478.080 888.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +85.680 733.680 m +85.680 733.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +85.680 733.680 m +85.680 733.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 568.080 m +730.080 568.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 568.080 m +730.080 568.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 575.280 m +730.080 575.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 575.280 m +730.080 575.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 582.480 m +629.280 582.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 582.480 m +629.280 582.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 596.880 m +629.280 596.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 596.880 m +629.280 596.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 582.480 m +730.080 582.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 582.480 m +730.080 582.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 553.680 m +629.280 553.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 553.680 m +629.280 553.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 568.080 m +629.280 568.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 568.080 m +629.280 568.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 575.280 m +629.280 575.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 575.280 m +629.280 575.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 560.880 m +629.280 560.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 560.880 m +629.280 560.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 589.680 m +629.280 589.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 589.680 m +629.280 589.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 539.280 m +629.280 539.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 539.280 m +629.280 539.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 524.880 m +629.280 524.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 524.880 m +629.280 524.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 604.080 m +730.080 604.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +730.080 604.080 m +730.080 604.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 604.080 m +629.280 604.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 604.080 m +629.280 604.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +377.280 431.280 m +377.280 431.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +377.280 431.280 m +377.280 431.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +377.280 424.080 m +377.280 424.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +377.280 424.080 m +377.280 424.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +377.280 395.280 m +377.280 395.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +377.280 395.280 m +377.280 395.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +377.280 388.080 m +377.280 388.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +377.280 388.080 m +377.280 388.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 388.080 m +460.080 388.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 388.080 m +460.080 388.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 395.280 m +460.080 395.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 395.280 m +460.080 395.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 402.480 m +460.080 402.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 402.480 m +460.080 402.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 409.680 m +460.080 409.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 409.680 m +460.080 409.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 416.880 m +460.080 416.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 416.880 m +460.080 416.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 424.080 m +460.080 424.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 424.080 m +460.080 424.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 431.280 m +460.080 431.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +460.080 431.280 m +460.080 431.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 557.280 m +388.080 557.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 557.280 m +388.080 557.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 586.080 m +388.080 586.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 586.080 m +388.080 586.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 593.280 m +449.280 593.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 593.280 m +449.280 593.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 600.480 m +388.080 600.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 600.480 m +388.080 600.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 593.280 m +388.080 593.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 593.280 m +388.080 593.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 571.680 m +449.280 571.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 571.680 m +449.280 571.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 564.480 m +449.280 564.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 564.480 m +449.280 564.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 578.880 m +449.280 578.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 578.880 m +449.280 578.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 586.080 m +449.280 586.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 586.080 m +449.280 586.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 550.080 m +388.080 550.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 550.080 m +388.080 550.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 557.280 m +449.280 557.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 557.280 m +449.280 557.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 550.080 m +449.280 550.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 550.080 m +449.280 550.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 564.480 m +388.080 564.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 564.480 m +388.080 564.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 600.480 m +449.280 600.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +449.280 600.480 m +449.280 600.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 571.680 m +388.080 571.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 571.680 m +388.080 571.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 578.880 m +388.080 578.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +388.080 578.880 m +388.080 578.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 440.640 m +258.480 440.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 440.640 m +258.480 440.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 426.240 m +258.480 426.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 426.240 m +258.480 426.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 408.240 m +258.480 408.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 408.240 m +258.480 408.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 401.040 m +258.480 401.040 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 401.040 m +258.480 401.040 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 393.840 m +258.480 393.840 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 393.840 m +258.480 393.840 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 386.640 m +258.480 386.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 386.640 m +258.480 386.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 379.440 m +258.480 379.440 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 379.440 m +258.480 379.440 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 372.240 m +258.480 372.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +258.480 372.240 m +258.480 372.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +164.880 426.240 m +164.880 426.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +164.880 426.240 m +164.880 426.240 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +164.880 440.640 m +164.880 440.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +164.880 440.640 m +164.880 440.640 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +276.480 1054.080 m +276.480 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +276.480 1054.080 m +276.480 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +276.480 1111.680 m +276.480 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +276.480 1111.680 m +276.480 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +661.680 1111.680 m +661.680 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +661.680 1111.680 m +661.680 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +661.680 1054.080 m +661.680 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +661.680 1054.080 m +661.680 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +661.680 1082.880 m +661.680 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +661.680 1082.880 m +661.680 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +715.680 1111.680 m +715.680 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +715.680 1111.680 m +715.680 1111.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +715.680 1082.880 m +715.680 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +715.680 1082.880 m +715.680 1082.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +715.680 1054.080 m +715.680 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +715.680 1054.080 m +715.680 1054.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +722.880 859.680 m +722.880 859.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +722.880 859.680 m +722.880 859.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +722.880 866.880 m +722.880 866.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +722.880 866.880 m +722.880 866.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 852.480 m +629.280 852.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 852.480 m +629.280 852.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 863.280 m +629.280 863.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 863.280 m +629.280 863.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 845.280 m +629.280 845.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 845.280 m +629.280 845.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 838.080 m +629.280 838.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 838.080 m +629.280 838.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 830.880 m +629.280 830.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 830.880 m +629.280 830.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 902.880 m +629.280 902.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 902.880 m +629.280 902.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 895.680 m +629.280 895.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 895.680 m +629.280 895.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 888.480 m +629.280 888.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 888.480 m +629.280 888.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 874.080 m +629.280 874.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 874.080 m +629.280 874.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 881.280 m +629.280 881.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +629.280 881.280 m +629.280 881.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +751.680 924.480 m +751.680 924.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +751.680 924.480 m +751.680 924.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +780.480 924.480 m +780.480 924.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +780.480 924.480 m +780.480 924.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +424.080 226.080 m +420.480 222.480 l +409.680 222.480 l +409.680 229.680 l +420.480 229.680 l +424.080 226.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 226.080 m +424.080 226.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +365.70 223.79 Td +(E_INK_BUSY) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +424.080 218.880 m +420.480 215.280 l +409.680 215.280 l +409.680 222.480 l +420.480 222.480 l +424.080 218.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 218.880 m +424.080 218.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +366.48 216.59 Td +(E_INK_NRST) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +424.080 211.680 m +420.480 208.080 l +409.680 208.080 l +409.680 215.280 l +420.480 215.280 l +424.080 211.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 211.680 m +424.080 211.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +370.08 209.39 Td +(E_INK_D/C) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +424.080 204.480 m +420.480 200.880 l +409.680 200.880 l +409.680 208.080 l +420.480 208.080 l +424.080 204.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 204.480 m +424.080 204.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +373.68 202.19 Td +(E_INK_CS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +424.080 197.280 m +420.480 193.680 l +409.680 193.680 l +409.680 200.880 l +420.480 200.880 l +424.080 197.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 197.280 m +424.080 197.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +391.68 194.99 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +424.080 190.080 m +420.480 186.480 l +409.680 186.480 l +409.680 193.680 l +420.480 193.680 l +424.080 190.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 190.080 m +424.080 190.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +388.08 187.79 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +413.280 175.680 m +420.480 175.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +413.280 172.080 m +413.280 179.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +420.480 175.680 m +420.480 175.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +398.88 173.39 Td +(3V3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +416.880 182.880 m +424.080 182.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +416.880 189.360 m +416.880 176.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +415.440 187.200 m +415.440 178.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +414.000 185.040 m +414.000 180.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +412.560 183.600 m +412.560 182.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 182.880 m +424.080 182.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +391.68 180.59 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +438.480 211.680 m +442.080 215.280 l +452.880 215.280 l +452.880 208.080 l +442.080 208.080 l +438.480 211.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 211.680 m +438.480 211.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +457.38 209.39 Td +(P1.02) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +438.480 204.480 m +442.080 208.080 l +452.880 208.080 l +452.880 200.880 l +442.080 200.880 l +438.480 204.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 204.480 m +438.480 204.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +457.38 202.19 Td +(P1.07) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +438.480 218.880 m +442.080 222.480 l +452.880 222.480 l +452.880 215.280 l +442.080 215.280 l +438.480 218.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 218.880 m +438.480 218.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +457.38 216.59 Td +(P1.01) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +438.480 226.080 m +442.080 229.680 l +452.880 229.680 l +452.880 222.480 l +442.080 222.480 l +438.480 226.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 226.080 m +438.480 226.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +456.48 223.79 Td +(P1.06) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 226.080 m +434.880 226.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 226.080 m +427.680 226.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +427.680 226.080 m +431.280 228.240 l +434.880 226.080 l +431.280 223.920 l +427.680 226.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 226.080 m +424.080 226.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 226.080 m +424.080 226.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 218.880 m +434.880 218.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 218.880 m +427.680 218.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +427.680 218.880 m +431.280 221.040 l +434.880 218.880 l +431.280 216.720 l +427.680 218.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 218.880 m +424.080 218.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 218.880 m +424.080 218.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 211.680 m +434.880 211.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 211.680 m +427.680 211.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +427.680 211.680 m +431.280 213.840 l +434.880 211.680 l +431.280 209.520 l +427.680 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 211.680 m +424.080 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 211.680 m +424.080 211.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 204.480 m +434.880 204.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 204.480 m +427.680 204.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +427.680 204.480 m +431.280 206.640 l +434.880 204.480 l +431.280 202.320 l +427.680 204.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 204.480 m +424.080 204.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 204.480 m +424.080 204.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 197.280 m +434.880 197.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 197.280 m +427.680 197.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +427.680 197.280 m +431.280 199.440 l +434.880 197.280 l +431.280 195.120 l +427.680 197.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 197.280 m +424.080 197.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 197.280 m +424.080 197.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 190.080 m +434.880 190.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 190.080 m +427.680 190.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +427.680 190.080 m +431.280 192.240 l +434.880 190.080 l +431.280 187.920 l +427.680 190.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 190.080 m +424.080 190.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 190.080 m +424.080 190.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 182.880 m +434.880 182.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 182.880 m +427.680 182.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +427.680 182.880 m +431.280 185.040 l +434.880 182.880 l +431.280 180.720 l +427.680 182.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 182.880 m +424.080 182.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 182.880 m +424.080 182.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 175.680 m +434.880 175.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +424.080 175.680 m +427.680 175.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +427.680 175.680 m +431.280 177.840 l +434.880 175.680 l +431.280 173.520 l +427.680 175.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 175.680 m +420.480 175.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +424.080 175.680 m +420.480 175.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +449.280 175.680 m +442.080 175.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +449.280 179.280 m +449.280 172.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +442.080 175.680 m +442.080 175.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +452.88 173.39 Td +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +445.680 182.880 m +438.480 182.880 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +445.680 189.360 m +445.680 176.400 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +447.120 187.200 m +447.120 178.560 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +448.560 185.040 m +448.560 180.720 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +450.000 183.600 m +450.000 182.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 182.880 m +438.480 182.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +452.74 180.59 Td +(GND) Tj +ET +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 182.880 m +438.480 182.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 182.880 m +438.480 182.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 175.680 m +442.080 175.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 175.680 m +442.080 175.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 226.080 m +438.480 226.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 226.080 m +438.480 226.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 218.880 m +438.480 218.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 218.880 m +438.480 218.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 211.680 m +438.480 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 211.680 m +438.480 211.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 204.480 m +438.480 204.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 204.480 m +438.480 204.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +438.480 197.280 m +442.080 200.880 l +452.880 200.880 l +452.880 193.680 l +442.080 193.680 l +438.480 197.280 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 197.280 m +438.480 197.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +457.42 194.99 Td +(SCK) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +438.480 190.080 m +442.080 193.680 l +452.880 193.680 l +452.880 186.480 l +442.080 186.480 l +438.480 190.080 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +438.480 190.080 m +438.480 190.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +456.36 188.47 Td +(MOSI) Tj +ET +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 197.280 m +438.480 197.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 197.280 m +438.480 197.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 190.080 m +438.480 190.080 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +438.480 190.080 m +438.480 190.080 l +S +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +395.28 249.32 Td +(E-Ink Connections) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +395.28 1126.08 57.60 -115.20 re +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +431.44 1109.75 Td +(BATIN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1112.63 Td +(25) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1111.680 m +452.880 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +436.18 1102.55 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1105.43 Td +(24) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1104.480 m +452.880 1104.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +437.63 1095.35 Td +(RST) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1098.23 Td +(23) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1097.280 m +452.880 1097.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +425.98 1088.15 Td +(3.3v Out) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1091.03 Td +(22) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1090.080 m +452.880 1090.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +433.62 1059.35 Td +(P1.15) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1062.23 Td +(18) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1061.280 m +452.880 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +433.62 1080.95 Td +(P0.31) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1083.83 Td +(21) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1082.880 m +452.880 1082.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1102.55 Td +(P0.08) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +387.32 1105.43 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1104.480 m +395.280 1104.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +433.62 1052.15 Td +(P1.13) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1055.03 Td +(17) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1054.080 m +452.880 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +433.62 1073.75 Td +(P0.29) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1076.63 Td +(20) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1075.680 m +452.880 1075.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +433.62 1044.95 Td +(P1.11) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1047.83 Td +(16) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1046.880 m +452.880 1046.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +433.62 1066.55 Td +(P0.02) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1069.43 Td +(19) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1068.480 m +452.880 1068.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1095.35 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +387.32 1098.23 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1097.280 m +395.280 1097.280 l +S +0.72 w +0.63 0.00 0.00 RG +395.28 1111.68 m 395.28 1112.87 394.31 1113.84 393.12 1113.84 c +391.93 1113.84 390.96 1112.87 390.96 1111.68 c +390.96 1110.49 391.93 1109.52 393.12 1109.52 c +394.31 1109.52 395.28 1110.49 395.28 1111.68 c +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1109.75 Td +(P0.06) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +387.32 1112.63 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1111.680 m +390.960 1111.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +433.62 1030.55 Td +(P0.09) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1033.43 Td +(14) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1032.480 m +452.880 1032.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +433.62 1037.75 Td +(P0.10) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1040.63 Td +(15) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1039.680 m +452.880 1039.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1037.75 Td +(P1.04) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +383.68 1040.63 Td +(12) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1039.680 m +395.280 1039.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1088.15 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +387.32 1091.03 Td +(5) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1090.080 m +395.280 1090.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1080.95 Td +(P0.17) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +387.32 1083.83 Td +(6) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1082.880 m +395.280 1082.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1073.75 Td +(P0.20) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +387.32 1076.63 Td +(7) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1075.680 m +395.280 1075.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1066.55 Td +(P0.22) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +387.32 1069.43 Td +(8) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1068.480 m +395.280 1068.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1059.35 Td +(P0.24) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +387.32 1062.23 Td +(9) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1061.280 m +395.280 1061.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1052.15 Td +(P1.00) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +383.68 1055.03 Td +(10) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1054.080 m +395.280 1054.080 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1044.95 Td +(P0.11) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +383.68 1047.83 Td +(11) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1046.880 m +395.280 1046.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1030.55 Td +(P1.06) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +383.68 1033.43 Td +(13) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1032.480 m +395.280 1032.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 403.33 1011.96 Tm +(P1.01) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 400.45 998.20 Tm +(27) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +402.480 996.480 m +402.480 1010.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 410.53 1011.96 Tm +(P1.02) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 407.65 998.20 Tm +(28) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +409.680 996.480 m +409.680 1010.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 417.73 1011.96 Tm +(P1.07) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +0.00 1.00 -1.00 0.00 414.85 998.20 Tm +(29) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +416.880 996.480 m +416.880 1010.880 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +431.44 1116.95 Td +(BATIN) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +457.20 1119.83 Td +(26) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +467.280 1118.880 m +452.880 1118.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +464.400 1121.760 m +470.160 1116.000 l +464.400 1116.000 m +470.160 1121.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +397.44 1116.95 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +387.32 1119.83 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +380.880 1118.880 m +395.280 1118.880 l +S +1 J +1 j +0.72 w +0.20 0.80 0.20 RG +[] 0 d +378.000 1121.760 m +383.760 1116.000 l +378.000 1116.000 m +383.760 1121.760 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +419.78 1128.78 Td +(PRO_MICRO_NRF52840_29P) Tj +ET +q +1 0 0 1 762.48 1112.40 cm +1.0000 0.0000 0.0000 1.0000 0 0 cm +1 0 0 1 0.00 0.00 cm +72.00 0 0 72.00 0 0 cm +/I0 Do +Q +q +0.16 0.16 0.23 rg +[] 0 d +348.612 35.359 m +470.980 35.359 l +470.980 11.520 l +348.612 11.520 l +348.612 35.359 l +f +0.40 0.92 0.58 rg +[] 0 d +381.817 11.520 m +351.787 11.520 l +349.935 11.520 348.480 12.977 348.480 14.831 c +348.480 32.048 l +348.480 33.902 349.935 35.359 351.787 35.359 c +381.817 35.359 l +381.817 11.520 l +f +0.16 0.16 0.23 rg +[] 0 d +368.720 30.591 m +368.720 30.591 l +368.588 30.591 l +368.588 30.591 l +368.588 30.591 l +368.456 30.591 l +368.456 30.458 l +368.456 30.458 l +368.456 30.458 l +368.323 30.458 l +368.323 30.326 368.323 30.326 368.323 30.326 c +368.191 30.326 l +368.191 30.326 l +368.191 30.326 368.191 30.326 368.191 30.326 c +368.191 30.326 l +368.059 30.194 l +368.059 30.194 l +368.059 30.194 368.059 30.194 368.059 30.194 c +368.059 30.194 l +368.059 30.061 l +368.059 30.061 368.059 30.061 367.927 30.061 c +367.927 30.061 l +367.927 29.929 l +367.927 29.929 l +367.927 29.929 367.927 29.929 367.927 29.929 c +367.794 29.796 l +367.794 29.796 l +367.794 29.664 l +367.794 29.664 367.794 29.664 367.662 29.664 c +367.662 29.664 l +367.662 29.664 l +367.662 29.531 367.662 29.531 367.662 29.531 c +367.662 29.531 l +367.662 29.531 l +367.530 29.531 l +367.530 29.399 367.530 29.399 367.530 29.399 c +367.530 29.399 l +367.397 29.266 l +367.397 29.266 l +367.397 29.134 367.397 29.134 367.397 29.266 c +367.397 29.134 l +367.397 29.134 l +367.397 29.134 367.397 29.134 367.265 29.134 c +367.265 29.002 l +367.265 29.002 l +367.265 29.002 l +367.133 28.869 l +367.133 28.869 l +367.133 28.737 l +367.133 28.737 367.133 28.737 367.133 28.737 c +367.001 28.737 l +367.001 28.604 l +367.001 28.604 l +367.001 28.604 367.001 28.604 367.001 28.604 c +366.868 28.472 l +366.868 28.472 l +366.868 28.339 l +366.868 28.339 l +366.868 28.339 366.868 28.339 366.736 28.339 c +366.736 28.339 l +366.736 28.207 366.736 28.207 366.736 28.207 c +366.736 28.207 l +366.736 28.207 l +366.736 28.075 l +366.736 28.075 366.736 28.075 366.604 28.075 c +366.604 28.075 l +366.604 27.942 l +366.471 27.942 l +366.471 27.810 l +366.471 27.810 366.471 27.810 366.471 27.810 c +366.471 27.810 l +366.471 27.810 366.471 27.810 366.471 27.810 c +366.339 27.677 l +366.339 27.677 l +366.339 27.677 l +366.339 27.545 366.339 27.545 366.339 27.545 c +366.339 27.545 l +366.207 27.545 l +366.207 27.412 l +366.207 27.412 366.207 27.412 366.207 27.412 c +366.074 27.412 l +366.074 27.280 l +366.074 27.280 366.207 27.280 366.074 27.280 c +366.074 27.280 l +366.074 27.280 l +366.074 27.148 l +366.074 27.148 366.074 27.148 365.942 27.148 c +365.942 27.015 l +365.942 27.015 l +365.942 26.883 l +365.942 26.883 365.942 26.883 365.810 26.883 c +365.810 26.883 l +365.810 26.883 l +365.810 26.750 365.810 26.750 365.810 26.750 c +365.678 26.750 l +365.678 26.750 l +365.678 26.618 l +365.678 26.618 l +365.545 26.485 l +365.545 26.485 l +365.545 26.353 365.545 26.485 365.545 26.485 c +365.545 26.353 l +365.545 26.353 l +365.413 26.353 l +365.413 26.220 365.413 26.220 365.413 26.220 c +365.413 26.220 l +365.281 26.220 l +365.281 26.088 l +365.281 26.088 l +365.281 25.956 365.281 25.956 365.281 25.956 c +365.281 25.956 l +365.281 25.956 365.281 25.956 365.148 25.956 c +365.148 25.956 l +365.148 25.823 l +365.148 25.823 l +365.148 25.823 365.148 25.823 365.148 25.823 c +365.016 25.691 l +365.016 25.691 l +365.016 25.558 l +364.884 25.558 l +364.884 25.558 365.016 25.558 364.884 25.558 c +364.884 25.558 l +364.884 25.426 364.884 25.426 364.884 25.426 c +364.884 25.426 l +364.884 25.426 l +364.752 25.293 l +364.752 25.293 364.752 25.293 364.752 25.293 c +364.752 25.293 l +364.752 25.161 l +364.619 25.161 l +364.619 25.029 364.619 25.029 364.619 25.029 c +364.619 25.029 l +364.619 25.029 l +364.619 25.029 364.619 25.029 364.487 25.029 c +364.487 24.896 l +364.487 24.896 l +364.487 24.896 l +364.487 24.764 364.487 24.896 364.487 24.896 c +364.355 24.764 l +364.355 24.764 l +364.355 24.631 l +364.355 24.631 364.355 24.631 364.355 24.631 c +364.222 24.631 l +364.222 24.499 l +364.222 24.499 364.222 24.499 364.222 24.499 c +364.222 24.499 l +364.090 24.366 l +364.090 24.366 l +364.090 24.234 l +364.090 24.234 l +363.958 24.234 l +363.958 24.101 364.090 24.101 363.958 24.101 c +363.958 24.101 l +363.958 24.101 l +363.958 23.969 l +363.958 23.969 363.958 23.969 363.826 23.969 c +363.826 23.969 l +363.826 23.837 l +363.693 23.837 l +363.693 23.704 l +363.693 23.704 l +363.693 23.572 363.693 23.704 363.693 23.704 c +363.561 23.572 l +363.561 23.572 l +363.561 23.572 l +363.561 23.439 363.561 23.439 363.561 23.439 c +363.561 23.439 l +363.429 23.439 l +363.429 23.307 l +363.429 23.307 l +363.429 23.174 363.429 23.174 363.296 23.174 c +363.296 23.174 l +363.296 23.174 363.429 23.174 363.296 23.174 c +363.296 23.174 l +363.296 23.042 l +363.296 23.042 l +363.296 23.042 363.296 23.042 363.164 23.042 c +363.164 22.910 l +363.164 22.910 l +363.164 22.777 l +363.164 22.777 363.164 22.777 363.032 22.777 c +363.032 22.777 l +363.032 22.777 l +363.032 22.645 363.032 22.645 363.032 22.645 c +362.900 22.645 l +362.900 22.645 l +362.900 22.645 l +362.900 22.512 362.900 22.512 362.900 22.512 c +362.900 22.512 l +362.767 22.380 l +362.767 22.380 l +362.767 22.247 362.767 22.247 362.767 22.380 c +362.767 22.247 l +362.767 22.247 l +362.767 22.247 362.767 22.247 362.635 22.247 c +362.635 22.115 l +362.635 22.115 l +362.503 22.115 l +362.503 21.982 l +362.503 21.982 l +362.503 21.850 l +362.503 21.850 362.503 21.850 362.370 21.850 c +362.370 21.850 l +362.370 21.718 l +362.370 21.718 l +362.370 21.718 362.370 21.718 362.370 21.718 c +362.238 21.585 l +362.238 21.585 l +362.238 21.453 l +362.106 21.453 l +362.106 21.453 l +362.106 21.320 362.106 21.320 362.106 21.320 c +362.106 21.320 l +362.106 21.320 l +361.974 21.188 l +361.974 21.188 362.106 21.188 361.974 21.188 c +361.974 21.188 l +361.974 21.055 l +361.841 21.055 l +361.841 20.923 l +361.841 20.923 361.841 20.923 361.841 20.923 c +361.841 20.923 l +361.841 20.923 361.841 20.923 361.709 20.923 c +361.709 20.791 l +361.709 20.791 l +361.709 20.791 l +361.709 20.658 361.709 20.658 361.709 20.658 c +361.577 20.658 l +361.577 20.658 l +361.577 20.526 l +361.577 20.526 361.577 20.526 361.577 20.526 c +361.444 20.526 l +361.444 20.393 l +361.444 20.393 361.444 20.393 361.444 20.393 c +361.444 20.393 l +361.444 20.393 l +361.312 20.261 l +361.444 20.261 361.444 20.261 361.312 20.261 c +361.312 20.128 l +361.312 20.128 l +361.180 19.996 l +361.180 19.996 361.312 19.996 361.180 19.996 c +361.180 19.996 l +361.180 19.996 l +361.180 19.863 361.180 19.863 361.180 19.863 c +361.047 19.863 l +361.047 19.863 l +361.047 19.731 l +360.915 19.731 l +360.915 19.599 l +360.915 19.599 l +360.915 19.466 360.915 19.599 360.915 19.599 c +360.783 19.466 l +360.783 19.466 l +360.783 19.466 l +360.783 19.334 360.783 19.334 360.783 19.334 c +360.783 19.334 l +360.651 19.334 l +360.651 19.201 l +360.651 19.201 l +360.651 19.069 l +360.651 19.069 360.651 19.069 360.518 19.069 c +360.518 19.069 l +360.518 18.936 l +360.518 18.936 l +360.518 18.936 360.518 18.936 360.386 18.936 c +360.386 18.804 l +360.386 18.804 l +360.386 18.672 l +360.254 18.672 l +360.254 18.672 360.254 18.672 360.254 18.672 c +360.254 18.672 l +360.254 18.539 360.254 18.539 360.254 18.539 c +360.121 18.539 l +360.121 18.539 l +360.121 18.407 l +360.121 18.407 360.121 18.407 360.121 18.407 c +360.121 18.407 l +359.989 18.274 l +359.989 18.274 l +359.989 18.142 359.989 18.142 359.989 18.142 c +359.989 18.142 l +359.989 18.142 l +359.989 18.142 359.989 18.142 359.857 18.142 c +359.857 18.009 l +359.857 18.009 l +359.857 18.009 l +359.857 17.877 359.857 18.009 359.725 18.009 c +359.725 17.877 l +359.725 17.877 l +359.725 17.745 l +359.725 17.745 359.725 17.745 359.592 17.745 c +359.592 17.745 l +359.592 17.612 l +359.592 17.612 359.592 17.612 359.592 17.612 c +359.592 17.612 l +359.592 17.612 l +359.592 17.480 l +359.592 17.480 l +359.725 17.480 359.592 17.480 359.592 17.347 c +359.725 17.347 l +359.725 17.347 l +359.725 17.347 359.725 17.347 359.725 17.347 c +359.725 17.215 l +359.857 17.215 l +359.857 17.215 l +359.989 17.215 l +359.989 17.082 l +360.121 17.082 359.989 17.215 359.989 17.082 c +360.121 17.082 l +360.121 17.082 360.121 17.082 360.121 17.082 c +360.121 17.082 l +360.121 17.082 l +360.254 16.950 l +360.254 16.950 360.254 16.950 360.254 16.950 c +360.386 16.950 l +360.386 16.817 l +360.386 16.817 l +360.518 16.817 l +360.518 16.817 360.518 16.817 360.518 16.817 c +360.518 16.817 l +360.651 16.817 360.651 16.817 360.518 16.685 c +360.651 16.685 l +360.651 16.685 l +360.651 16.685 l +360.783 16.685 360.783 16.685 360.783 16.685 c +360.783 16.553 l +360.783 16.553 l +360.915 16.553 l +360.915 16.420 l +361.047 16.420 361.047 16.553 361.047 16.420 c +361.047 16.420 l +361.047 16.420 361.047 16.420 361.047 16.420 c +361.047 16.420 l +361.180 16.420 l +361.180 16.288 l +361.180 16.288 361.180 16.288 361.180 16.288 c +361.312 16.288 l +361.312 16.155 l +361.312 16.155 l +361.444 16.155 l +361.444 16.288 l +361.577 16.288 l +361.577 16.420 l +361.577 16.420 361.577 16.420 361.577 16.420 c +361.577 16.420 l +361.577 16.420 l +361.577 16.553 361.577 16.553 361.709 16.553 c +361.709 16.553 l +361.709 16.685 l +361.709 16.685 l +361.841 16.685 l +361.841 16.817 l +361.841 16.817 361.841 16.817 361.841 16.817 c +361.841 16.817 l +361.841 16.950 361.841 16.950 361.974 16.817 c +361.974 16.950 l +361.974 16.950 l +361.974 16.950 l +361.974 17.082 361.974 17.082 361.974 17.082 c +362.106 17.082 l +362.106 17.082 l +362.106 17.215 l +362.106 17.215 l +362.106 17.347 362.106 17.347 362.238 17.347 c +362.238 17.347 l +362.238 17.347 362.238 17.347 362.238 17.347 c +362.238 17.347 l +362.238 17.480 l +362.370 17.480 l +362.370 17.480 362.238 17.480 362.370 17.480 c +362.370 17.612 l +362.370 17.612 l +362.503 17.745 l +362.503 17.745 l +362.503 17.745 362.503 17.745 362.503 17.745 c +362.503 17.745 l +362.503 17.877 362.503 17.877 362.503 17.877 c +362.635 17.877 l +362.635 17.877 l +362.635 18.009 l +362.635 18.009 362.635 18.009 362.635 18.009 c +362.767 18.009 l +362.767 18.142 l +362.767 18.142 l +362.767 18.142 l +362.767 18.274 362.767 18.274 362.900 18.274 c +362.900 18.274 l +362.900 18.274 362.900 18.274 362.900 18.274 c +362.900 18.407 l +362.900 18.407 l +363.032 18.539 l +363.032 18.539 l +363.032 18.539 l +363.164 18.672 l +363.032 18.672 363.032 18.672 363.164 18.672 c +363.164 18.672 l +363.164 18.804 l +363.164 18.804 363.164 18.804 363.164 18.804 c +363.296 18.804 l +363.296 18.936 l +363.296 18.936 l +363.296 19.069 l +363.429 19.069 l +363.429 19.069 363.429 19.069 363.429 19.069 c +363.429 19.201 l +363.429 19.201 363.429 19.201 363.429 19.201 c +363.561 19.201 l +363.561 19.201 l +363.561 19.334 l +363.561 19.334 363.561 19.334 363.561 19.334 c +363.561 19.334 l +363.693 19.466 l +363.693 19.466 l +363.693 19.599 l +363.693 19.599 363.693 19.599 363.693 19.599 c +363.693 19.599 l +363.693 19.731 363.693 19.599 363.826 19.599 c +363.826 19.731 l +363.826 19.731 l +363.826 19.731 l +363.826 19.863 363.826 19.863 363.958 19.863 c +363.958 19.863 l +363.958 19.863 l +363.958 19.996 l +364.090 19.996 l +364.090 20.128 364.090 20.128 364.090 20.128 c +364.090 20.128 l +364.090 20.128 364.090 20.128 364.090 20.128 c +364.090 20.128 l +364.090 20.261 l +364.222 20.261 l +364.222 20.261 364.222 20.261 364.222 20.261 c +364.222 20.393 l +364.355 20.393 l +364.355 20.393 l +364.355 20.526 l +364.355 20.526 364.355 20.526 364.355 20.526 c +364.355 20.526 l +364.355 20.658 364.355 20.658 364.487 20.658 c +364.487 20.658 l +364.487 20.791 l +364.487 20.791 l +364.619 20.791 l +364.619 20.923 l +364.619 20.923 l +364.619 21.055 364.619 21.055 364.752 21.055 c +364.752 21.055 l +364.752 21.055 l +364.752 21.055 364.752 21.055 364.752 21.055 c +364.752 21.188 l +364.884 21.188 l +364.884 21.188 l +364.884 21.320 l +364.884 21.320 l +364.884 21.453 364.884 21.453 365.016 21.453 c +365.016 21.453 l +365.016 21.453 365.016 21.453 365.016 21.453 c +365.016 21.453 l +365.016 21.585 l +365.016 21.585 365.016 21.585 365.148 21.585 c +365.148 21.585 l +365.148 21.718 l +365.148 21.718 l +365.281 21.850 l +365.281 21.850 l +365.281 21.850 365.281 21.850 365.281 21.850 c +365.281 21.850 l +365.281 21.982 365.281 21.982 365.281 21.982 c +365.413 21.982 l +365.413 21.982 l +365.413 22.115 l +365.413 22.115 365.413 22.115 365.413 22.115 c +365.545 22.115 l +365.545 22.247 l +365.545 22.247 l +365.545 22.380 l +365.545 22.380 365.545 22.380 365.678 22.380 c +365.678 22.380 l +365.678 22.512 365.545 22.380 365.678 22.380 c +365.678 22.512 l +365.678 22.512 l +365.678 22.512 l +365.678 22.645 365.678 22.645 365.810 22.645 c +365.810 22.645 l +365.810 22.645 l +365.942 22.777 l +365.942 22.777 l +365.942 22.910 365.942 22.910 365.942 22.910 c +365.942 22.910 l +365.942 22.910 365.942 22.910 365.942 22.910 c +366.074 22.910 l +366.074 23.042 l +366.074 23.042 l +366.074 23.174 l +366.207 23.174 l +366.207 23.307 l +366.207 23.307 366.207 23.307 366.207 23.307 c +366.339 23.307 l +366.339 23.307 l +366.339 23.439 366.207 23.439 366.339 23.439 c +366.339 23.439 l +366.339 23.439 l +366.471 23.572 l +366.471 23.572 l +366.471 23.704 l +366.471 23.704 l +366.471 23.837 366.471 23.837 366.604 23.704 c +366.604 23.837 l +366.604 23.837 l +366.604 23.837 366.604 23.837 366.604 23.837 c +366.736 23.969 l +366.736 23.969 l +366.736 23.969 l +366.736 24.101 l +366.868 24.101 l +366.868 24.234 366.736 24.234 366.868 24.234 c +366.868 24.234 l +366.868 24.234 366.868 24.234 366.868 24.234 c +366.868 24.234 l +366.868 24.366 l +367.001 24.366 l +367.001 24.366 367.001 24.366 367.001 24.366 c +367.001 24.499 l +367.133 24.499 l +367.133 24.631 l +367.133 24.631 l +367.133 24.631 367.133 24.631 367.133 24.631 c +367.133 24.631 l +367.133 24.764 367.133 24.764 367.265 24.764 c +367.265 24.764 l +367.265 24.764 l +367.265 24.896 l +367.265 24.896 367.265 24.896 367.265 24.896 c +367.397 24.896 l +367.397 25.029 l +367.397 25.029 l +367.530 25.029 l +367.530 25.161 367.397 25.161 367.530 25.161 c +367.530 25.161 l +367.530 25.161 367.530 25.161 367.530 25.161 c +367.530 25.293 l +367.530 25.293 l +367.662 25.293 l +367.662 25.426 367.530 25.426 367.662 25.426 c +367.662 25.426 l +367.662 25.426 l +367.794 25.558 l +367.794 25.558 367.794 25.558 367.794 25.558 c +367.794 25.558 l +367.794 25.691 l +367.794 25.691 367.794 25.691 367.927 25.691 c +367.927 25.691 l +367.927 25.823 l +367.927 25.823 l +368.059 25.956 l +368.059 25.956 l +368.059 26.088 l +368.059 26.088 368.059 26.088 368.059 26.088 c +368.191 26.088 l +368.191 26.088 l +368.191 26.220 368.191 26.220 368.191 26.220 c +368.191 26.220 l +368.191 26.220 l +368.323 26.353 l +368.323 26.353 l +368.323 26.485 l +368.323 26.485 368.323 26.485 368.456 26.485 c +368.456 26.485 l +368.456 26.618 368.323 26.485 368.456 26.485 c +368.456 26.618 l +368.456 26.618 l +368.456 26.618 l +368.456 26.750 368.456 26.750 368.588 26.750 c +368.588 26.750 l +368.588 26.750 l +368.720 26.883 l +368.720 26.883 l +368.720 27.015 368.720 27.015 368.720 27.015 c +368.720 27.015 l +368.720 27.015 368.720 27.015 368.720 27.015 c +368.853 27.015 l +368.853 27.148 l +368.853 27.148 l +368.853 27.148 368.853 27.148 368.853 27.148 c +368.853 27.280 l +368.985 27.280 l +368.985 27.280 l +368.985 27.412 l +368.985 27.412 368.985 27.412 369.117 27.412 c +369.117 27.412 l +369.117 27.545 l +369.117 27.545 l +369.117 27.545 l +369.249 27.412 l +369.249 27.412 l +369.249 27.412 369.249 27.412 369.249 27.412 c +369.249 27.280 l +369.249 27.280 l +369.382 27.280 369.382 27.280 369.382 27.280 c +369.382 27.148 l +369.382 27.148 l +369.514 27.015 l +369.514 27.015 369.514 27.015 369.514 27.015 c +369.514 27.015 l +369.514 27.015 l +369.514 26.883 l +369.646 26.883 369.646 26.883 369.646 26.883 c +369.646 26.750 l +369.646 26.750 l +369.646 26.750 l +369.779 26.750 369.779 26.750 369.779 26.618 c +369.779 26.618 l +369.779 26.618 l +369.779 26.485 l +369.911 26.485 369.911 26.618 369.911 26.485 c +369.911 26.485 l +369.911 26.485 369.911 26.485 369.911 26.485 c +369.911 26.353 l +369.911 26.353 l +370.043 26.220 l +370.043 26.220 l +370.043 26.220 l +370.175 26.220 370.043 26.220 370.043 26.088 c +370.043 26.088 l +370.175 26.088 l +370.175 26.088 370.175 26.088 370.175 26.088 c +370.175 25.956 l +370.308 25.956 l +370.308 25.823 l +370.308 25.823 370.308 25.823 370.308 25.823 c +370.308 25.691 l +370.308 25.691 l +370.440 25.691 l +370.440 25.691 370.440 25.691 370.440 25.691 c +370.440 25.558 l +370.440 25.558 l +370.572 25.426 l +370.572 25.426 370.572 25.426 370.572 25.426 c +370.572 25.426 l +370.572 25.293 l +370.705 25.293 l +370.705 25.293 370.705 25.293 370.705 25.293 c +370.705 25.293 l +370.705 25.293 370.705 25.293 370.705 25.161 c +370.705 25.161 l +370.837 25.161 l +370.837 25.029 l +370.837 25.029 l +370.969 25.029 370.837 25.029 370.837 24.896 c +370.969 24.896 l +370.969 24.896 l +370.969 24.896 l +370.969 24.896 370.969 24.896 370.969 24.764 c +370.969 24.764 l +371.101 24.631 l +371.101 24.631 l +371.101 24.631 371.101 24.631 371.101 24.631 c +371.234 24.499 l +371.234 24.499 l +371.234 24.499 l +371.234 24.499 371.234 24.499 371.234 24.366 c +371.234 24.366 l +371.366 24.366 l +371.366 24.234 l +371.366 24.234 l +371.366 24.101 l +371.498 24.101 l +371.498 24.101 371.498 24.101 371.498 24.101 c +371.498 23.969 l +371.498 23.969 371.498 24.101 371.498 23.969 c +371.631 23.969 l +371.631 23.837 l +371.631 23.837 l +371.631 23.837 l +371.763 23.837 371.763 23.837 371.763 23.704 c +371.763 23.704 l +371.763 23.704 l +371.763 23.572 l +371.895 23.572 371.895 23.704 371.895 23.572 c +371.895 23.439 l +371.895 23.439 l +371.895 23.439 l +372.027 23.439 372.027 23.439 372.027 23.307 c +372.027 23.307 l +372.027 23.307 l +372.027 23.307 l +372.160 23.307 372.027 23.307 372.027 23.174 c +372.160 23.174 l +372.160 23.042 l +372.160 23.042 l +372.292 23.042 l +372.292 22.910 l +372.292 22.910 l +372.292 22.910 372.292 22.910 372.292 22.777 c +372.292 22.777 l +372.424 22.777 l +372.424 22.777 372.424 22.777 372.424 22.777 c +372.424 22.645 l +372.424 22.645 l +372.557 22.512 l +372.557 22.512 372.557 22.512 372.557 22.512 c +372.557 22.512 l +372.557 22.380 l +372.689 22.380 l +372.689 22.380 372.689 22.380 372.689 22.380 c +372.689 22.247 l +372.689 22.247 l +372.821 22.115 l +372.821 22.115 372.821 22.247 372.821 22.115 c +372.821 22.115 l +372.821 22.115 l +372.821 21.982 l +372.954 21.982 372.954 21.982 372.954 21.982 c +372.954 21.982 l +372.954 21.982 372.954 21.982 372.954 21.850 c +372.954 21.850 l +372.954 21.850 l +373.086 21.718 l +373.086 21.718 l +373.086 21.585 l +373.218 21.718 373.218 21.718 373.218 21.585 c +373.218 21.585 l +373.218 21.585 l +373.218 21.585 373.218 21.585 373.218 21.453 c +373.218 21.453 l +373.350 21.453 l +373.350 21.320 l +373.350 21.320 373.350 21.320 373.350 21.320 c +373.350 21.188 l +373.350 21.188 l +373.483 21.188 l +373.483 21.188 373.483 21.188 373.483 21.188 c +373.483 21.055 l +373.615 21.055 l +373.615 20.923 l +373.615 20.923 373.615 20.923 373.615 20.923 c +373.615 20.923 l +373.615 20.791 l +373.747 20.791 l +373.747 20.791 373.747 20.791 373.747 20.791 c +373.747 20.791 l +373.747 20.791 373.747 20.791 373.747 20.658 c +373.747 20.658 l +373.880 20.526 l +373.880 20.526 l +373.880 20.526 l +374.012 20.393 l +374.012 20.393 374.012 20.393 374.012 20.393 c +374.012 20.393 l +374.012 20.393 l +374.144 20.393 374.012 20.393 374.012 20.261 c +374.144 20.261 l +374.144 20.128 l +374.144 20.128 l +374.276 20.128 374.276 20.128 374.144 19.996 c +374.276 19.996 l +374.276 19.996 l +374.276 19.996 l +374.276 19.996 374.276 19.996 374.276 19.863 c +374.409 19.863 l +374.409 19.731 l +374.409 19.731 l +374.541 19.731 374.409 19.731 374.409 19.731 c +374.541 19.599 l +374.541 19.599 l +374.541 19.599 l +374.541 19.599 374.541 19.599 374.541 19.599 c +374.541 19.466 l +374.673 19.466 374.673 19.466 374.541 19.466 c +374.673 19.466 l +374.673 19.334 l +374.673 19.334 l +374.806 19.201 l +374.806 19.201 l +374.806 19.201 374.806 19.201 374.806 19.201 c +374.806 19.201 l +374.806 19.069 l +374.938 19.069 374.938 19.069 374.938 19.069 c +374.938 18.936 l +374.938 18.936 l +374.938 18.936 l +375.070 18.936 375.070 18.936 375.070 18.804 c +375.070 18.804 l +375.070 18.804 l +375.070 18.672 l +375.202 18.672 375.202 18.804 375.202 18.672 c +375.202 18.672 l +375.202 18.539 l +375.202 18.539 l +375.335 18.539 375.335 18.539 375.335 18.407 c +375.335 18.407 l +375.335 18.407 l +375.335 18.407 l +375.467 18.407 375.335 18.407 375.335 18.274 c +375.335 18.274 l +375.467 18.274 375.467 18.274 375.467 18.274 c +375.467 18.142 l +375.467 18.142 l +375.599 18.142 l +375.599 18.009 l +375.599 18.009 375.599 18.009 375.599 18.009 c +375.599 18.009 l +375.599 17.877 l +375.732 17.877 l +375.732 17.877 375.732 17.877 375.732 17.877 c +375.732 17.745 l +375.732 17.745 l +375.864 17.612 l +375.864 17.612 375.864 17.612 375.864 17.612 c +375.864 17.612 l +375.864 17.480 l +375.996 17.480 l +375.996 17.480 375.996 17.480 375.996 17.480 c +375.996 17.347 l +375.996 17.347 l +376.128 17.347 l +376.128 17.215 l +376.128 17.215 l +376.128 17.082 l +376.261 17.082 376.261 17.215 376.261 17.082 c +376.261 17.082 l +376.261 17.082 376.261 17.082 376.261 17.082 c +376.261 16.950 l +376.393 16.950 l +376.393 16.817 l +376.393 16.817 l +376.525 16.817 376.393 16.817 376.393 16.817 c +376.525 16.685 l +376.525 16.685 l +376.525 16.685 l +376.525 16.685 376.525 16.685 376.525 16.685 c +376.525 16.553 l +376.658 16.553 l +376.658 16.420 l +376.658 16.420 376.658 16.420 376.658 16.420 c +376.790 16.288 l +376.790 16.288 l +376.790 16.288 l +376.790 16.288 376.790 16.288 376.790 16.288 c +376.790 16.155 l +376.922 16.155 l +376.922 16.155 l +376.922 16.288 376.922 16.288 376.922 16.288 c +377.054 16.288 l +377.054 16.288 l +377.054 16.288 l +377.054 16.420 377.054 16.420 377.187 16.420 c +377.187 16.420 l +377.187 16.420 l +377.319 16.420 l +377.319 16.553 377.319 16.553 377.319 16.553 c +377.451 16.553 l +377.451 16.553 l +377.451 16.553 l +377.451 16.685 377.451 16.685 377.451 16.685 c +377.451 16.685 l +377.451 16.685 377.451 16.685 377.584 16.685 c +377.584 16.685 l +377.716 16.685 l +377.716 16.817 l +377.716 16.817 l +377.716 16.817 377.716 16.817 377.848 16.817 c +377.848 16.817 l +377.848 16.817 l +377.981 16.950 l +377.848 16.950 377.848 16.950 377.981 16.950 c +377.981 16.950 l +378.113 17.082 l +378.113 17.082 l +378.113 17.082 378.113 17.082 378.113 17.082 c +378.245 17.082 l +378.245 17.082 l +378.245 17.215 l +378.245 17.215 378.245 17.215 378.377 17.215 c +378.377 17.215 l +378.377 17.347 l +378.510 17.347 l +378.510 17.347 378.510 17.347 378.510 17.347 c +378.642 17.347 l +378.642 17.347 l +378.642 17.480 l +378.642 17.480 378.642 17.480 378.642 17.480 c +378.642 17.480 l +378.774 17.480 378.774 17.480 378.774 17.612 c +378.774 17.612 l +378.642 17.612 378.774 17.612 378.774 17.612 c +378.642 17.612 l +378.642 17.745 l +378.642 17.745 l +378.510 17.877 l +378.510 17.877 l +378.510 17.877 378.510 17.877 378.510 17.877 c +378.510 18.009 l +378.510 18.009 l +378.377 18.009 378.377 18.009 378.377 18.009 c +378.377 18.142 l +378.377 18.142 l +378.377 18.142 l +378.245 18.142 378.245 18.142 378.245 18.274 c +378.245 18.274 l +378.245 18.274 l +378.245 18.407 l +378.113 18.407 378.113 18.274 378.113 18.407 c +378.113 18.407 l +378.113 18.407 378.113 18.407 378.113 18.407 c +378.113 18.539 l +378.113 18.539 l +377.981 18.672 l +377.981 18.672 l +377.981 18.672 l +377.848 18.672 377.981 18.672 377.981 18.804 c +377.981 18.804 l +377.848 18.804 377.848 18.804 377.848 18.804 c +377.848 18.936 l +377.848 18.936 l +377.716 18.936 l +377.716 19.069 l +377.716 19.069 l +377.716 19.069 377.716 19.069 377.716 19.201 c +377.716 19.201 l +377.584 19.201 l +377.584 19.201 377.584 19.201 377.584 19.201 c +377.584 19.334 l +377.584 19.334 l +377.451 19.466 l +377.451 19.466 377.451 19.466 377.451 19.466 c +377.451 19.466 l +377.451 19.599 l +377.319 19.599 l +377.319 19.599 377.319 19.599 377.319 19.599 c +377.319 19.599 l +377.319 19.599 377.319 19.599 377.319 19.731 c +377.319 19.731 l +377.187 19.863 l +377.187 19.863 l +377.187 19.863 l +377.187 19.996 l +377.054 19.996 377.054 19.996 377.054 19.996 c +377.054 19.996 l +377.054 19.996 377.054 19.996 377.054 20.128 c +377.054 20.128 l +376.922 20.128 l +376.922 20.261 l +376.922 20.261 l +376.922 20.261 l +376.790 20.261 376.790 20.261 376.790 20.393 c +376.790 20.393 l +376.790 20.393 l +376.790 20.393 376.790 20.393 376.790 20.526 c +376.790 20.526 l +376.658 20.526 l +376.658 20.658 l +376.658 20.658 376.658 20.658 376.658 20.658 c +376.525 20.791 l +376.525 20.791 l +376.525 20.791 l +376.525 20.791 376.525 20.791 376.525 20.791 c +376.525 20.923 l +376.525 20.923 376.525 20.791 376.525 20.923 c +376.393 20.923 l +376.393 21.055 l +376.393 21.055 l +376.393 21.188 l +376.261 21.188 l +376.261 21.188 376.261 21.188 376.261 21.188 c +376.261 21.188 l +376.261 21.188 376.261 21.188 376.261 21.320 c +376.128 21.320 l +376.128 21.453 l +376.128 21.453 l +376.128 21.453 l +375.996 21.453 375.996 21.453 375.996 21.585 c +375.996 21.585 l +375.996 21.585 l +375.996 21.585 l +375.864 21.585 375.864 21.585 375.996 21.718 c +375.864 21.718 l +375.864 21.850 l +375.864 21.850 l +375.732 21.850 375.732 21.850 375.732 21.850 c +375.732 21.982 l +375.732 21.982 l +375.732 21.982 l +375.732 21.982 375.732 21.982 375.732 22.115 c +375.732 22.115 l +375.599 22.115 375.599 22.115 375.599 22.115 c +375.599 22.115 l +375.599 22.247 l +375.599 22.247 l +375.467 22.380 l +375.467 22.380 l +375.467 22.380 375.467 22.380 375.467 22.380 c +375.467 22.512 l +375.335 22.512 375.335 22.512 375.467 22.512 c +375.335 22.512 l +375.335 22.645 l +375.335 22.645 l +375.202 22.777 l +375.202 22.777 375.202 22.645 375.202 22.777 c +375.202 22.777 l +375.202 22.777 l +375.202 22.910 l +375.070 22.910 375.070 22.910 375.070 22.910 c +375.070 23.042 l +375.070 23.042 l +374.938 23.042 l +374.938 23.042 374.938 23.042 374.938 23.174 c +374.938 23.174 l +374.938 23.174 l +374.938 23.307 l +374.806 23.174 374.806 23.174 374.806 23.307 c +374.806 23.307 l +374.806 23.307 374.806 23.307 374.806 23.307 c +374.806 23.439 l +374.806 23.439 l +374.673 23.439 l +374.673 23.572 l +374.673 23.572 l +374.541 23.572 374.541 23.572 374.541 23.704 c +374.541 23.704 l +374.541 23.704 374.541 23.704 374.541 23.704 c +374.541 23.837 l +374.541 23.837 l +374.409 23.837 l +374.409 23.969 l +374.409 23.969 374.409 23.969 374.409 23.969 c +374.409 23.969 l +374.409 24.101 l +374.276 24.101 l +374.276 24.101 374.276 24.101 374.276 24.101 c +374.276 24.234 l +374.144 24.234 l +374.144 24.366 l +374.144 24.366 l +374.144 24.366 l +374.012 24.499 l +374.012 24.499 374.012 24.499 374.012 24.499 c +374.012 24.499 l +374.012 24.499 374.012 24.499 374.012 24.631 c +374.012 24.631 l +373.880 24.631 l +373.880 24.764 l +373.880 24.764 l +373.880 24.896 l +373.747 24.896 373.747 24.764 373.747 24.896 c +373.747 24.896 l +373.747 24.896 l +373.615 24.896 373.747 24.896 373.747 25.029 c +373.615 25.029 l +373.615 25.161 l +373.615 25.161 l +373.483 25.161 373.615 25.161 373.615 25.161 c +373.483 25.293 l +373.483 25.293 l +373.483 25.293 l +373.483 25.293 373.483 25.293 373.483 25.293 c +373.483 25.426 l +373.350 25.426 373.350 25.426 373.350 25.426 c +373.350 25.426 l +373.350 25.558 l +373.350 25.558 l +373.218 25.691 l +373.218 25.691 l +373.218 25.691 373.218 25.691 373.218 25.691 c +373.218 25.691 l +373.086 25.691 373.218 25.691 373.218 25.823 c +373.086 25.823 l +373.086 25.956 l +373.086 25.956 l +373.086 26.088 l +372.954 26.088 l +372.954 26.088 372.954 26.088 372.954 26.088 c +372.954 26.088 l +372.954 26.220 l +372.821 26.220 372.821 26.088 372.821 26.220 c +372.821 26.220 l +372.821 26.353 l +372.821 26.353 l +372.689 26.353 372.689 26.353 372.689 26.485 c +372.689 26.485 l +372.689 26.485 l +372.689 26.485 l +372.557 26.485 372.557 26.485 372.557 26.618 c +372.557 26.618 l +372.557 26.618 372.557 26.618 372.557 26.618 c +372.557 26.750 l +372.557 26.750 l +372.424 26.750 l +372.424 26.883 l +372.424 26.883 l +372.292 26.883 372.424 26.883 372.424 27.015 c +372.424 27.015 l +372.292 27.015 372.292 27.015 372.292 27.015 c +372.292 27.015 l +372.292 27.148 l +372.160 27.148 l +372.160 27.280 l +372.160 27.280 372.160 27.280 372.160 27.280 c +372.160 27.280 l +372.160 27.412 l +372.027 27.412 l +372.027 27.412 372.027 27.412 372.027 27.412 c +372.027 27.545 l +372.027 27.545 l +371.895 27.545 l +371.895 27.545 371.895 27.545 371.895 27.677 c +371.895 27.677 l +371.895 27.677 l +371.763 27.810 l +371.763 27.810 371.763 27.677 371.763 27.810 c +371.763 27.810 l +371.763 27.810 371.763 27.810 371.763 27.810 c +371.763 27.942 l +371.631 27.942 l +371.631 28.075 l +371.631 28.075 l +371.631 28.075 l +371.498 28.075 371.498 28.075 371.498 28.207 c +371.498 28.207 l +371.498 28.207 371.498 28.207 371.498 28.207 c +371.498 28.339 l +371.498 28.339 l +371.366 28.339 l +371.366 28.472 l +371.366 28.472 371.366 28.472 371.366 28.472 c +371.234 28.604 l +371.234 28.604 l +371.234 28.604 l +371.234 28.604 371.234 28.604 371.234 28.604 c +371.234 28.737 l +371.101 28.737 l +371.101 28.869 l +371.101 28.869 371.101 28.869 371.101 28.869 c +371.101 28.869 l +371.101 29.002 l +370.969 29.002 l +370.969 29.002 370.969 29.002 370.969 29.002 c +370.969 29.002 l +370.969 29.002 370.969 29.002 370.969 29.134 c +370.837 29.134 l +370.837 29.266 l +370.837 29.266 l +370.837 29.266 l +370.705 29.399 l +370.705 29.399 370.705 29.399 370.705 29.399 c +370.705 29.399 l +370.705 29.399 370.705 29.399 370.705 29.531 c +370.705 29.531 l +370.572 29.531 l +370.572 29.664 l +370.572 29.664 l +370.440 29.664 370.440 29.664 370.440 29.664 c +370.440 29.796 l +370.440 29.796 l +370.440 29.796 l +370.308 29.796 370.440 29.796 370.440 29.929 c +370.308 29.929 l +370.308 29.929 l +370.308 30.061 l +370.308 30.061 l +370.175 30.061 370.175 30.061 370.175 30.194 c +370.175 30.194 l +370.043 30.326 l +370.043 30.326 l +369.911 30.326 369.911 30.326 369.911 30.326 c +369.911 30.458 l +369.911 30.458 l +369.911 30.458 l +369.779 30.458 l +369.779 30.458 l +369.646 30.458 369.779 30.458 369.779 30.591 c +369.646 30.591 l +369.646 30.591 l +369.646 30.591 l +369.514 30.591 l +369.514 30.591 l +369.382 30.591 l +369.249 30.591 l +368.985 30.591 l +368.853 30.591 l +368.720 30.591 l +f +0.16 0.16 0.23 rg +[] 0 d +360.254 30.723 m +360.254 30.723 360.254 30.723 360.254 30.723 c +360.254 30.723 l +360.121 30.591 l +360.254 30.591 360.254 30.591 360.121 30.591 c +360.121 30.591 l +360.121 30.458 l +359.989 30.458 l +359.989 30.458 l +359.989 30.326 l +359.989 30.326 359.989 30.326 359.989 30.326 c +359.989 30.326 l +359.989 30.194 359.989 30.194 359.857 30.194 c +359.857 30.194 l +359.857 30.194 l +359.857 30.194 l +359.857 30.061 359.857 30.061 359.725 30.061 c +359.725 30.061 l +359.725 29.929 l +359.725 29.929 l +359.725 29.796 359.725 29.929 359.592 29.929 c +359.592 29.796 l +359.592 29.796 l +359.592 29.796 l +359.592 29.664 359.592 29.664 359.592 29.664 c +359.460 29.664 l +359.460 29.664 l +359.460 29.531 l +359.460 29.531 359.460 29.531 359.460 29.531 c +359.328 29.399 l +359.328 29.399 l +359.328 29.399 l +359.328 29.266 359.328 29.399 359.328 29.399 c +359.195 29.266 l +359.195 29.266 l +359.195 29.134 l +359.195 29.134 359.195 29.134 359.195 29.134 c +359.063 29.134 l +359.063 29.002 l +359.063 29.002 l +359.063 29.002 359.063 29.002 359.063 29.002 c +359.063 28.869 l +358.931 28.869 l +358.931 28.869 l +358.931 28.737 l +358.931 28.737 358.931 28.737 358.799 28.737 c +358.799 28.737 l +358.799 28.604 358.931 28.604 358.799 28.604 c +358.799 28.604 l +358.799 28.604 l +358.666 28.472 l +358.666 28.472 l +358.666 28.339 l +358.666 28.339 358.666 28.339 358.666 28.339 c +358.666 28.339 l +358.666 28.207 358.666 28.339 358.534 28.339 c +358.534 28.207 l +358.534 28.207 l +358.534 28.207 l +358.534 28.075 358.534 28.075 358.402 28.075 c +358.402 28.075 l +358.402 28.075 l +358.402 27.942 l +358.402 27.942 358.402 27.942 358.269 27.942 c +358.269 27.810 l +358.269 27.810 l +358.269 27.810 l +358.269 27.677 358.269 27.810 358.137 27.810 c +358.137 27.677 l +358.137 27.677 l +358.137 27.545 l +358.137 27.545 358.137 27.545 358.005 27.545 c +358.005 27.545 l +358.005 27.412 l +358.005 27.412 l +358.005 27.412 358.005 27.412 358.005 27.412 c +357.873 27.280 l +357.873 27.280 l +357.873 27.148 l +357.873 27.148 357.873 27.148 357.873 27.148 c +357.740 27.148 l +357.740 27.148 l +357.740 27.015 357.740 27.015 357.740 27.015 c +357.740 27.015 l +357.608 26.883 l +357.608 26.883 l +357.608 26.883 l +357.608 26.750 l +357.608 26.750 357.608 26.750 357.476 26.750 c +357.476 26.750 l +357.476 26.618 357.476 26.618 357.476 26.750 c +357.476 26.618 l +357.476 26.618 l +357.343 26.485 l +357.343 26.485 l +357.343 26.485 l +357.343 26.353 357.343 26.353 357.211 26.353 c +357.211 26.353 l +357.211 26.353 357.343 26.353 357.211 26.353 c +357.211 26.220 l +357.211 26.220 l +357.211 26.220 l +357.211 26.088 357.211 26.220 357.079 26.220 c +357.079 26.088 l +357.079 26.088 l +357.079 25.956 l +357.079 25.956 357.079 25.956 356.947 25.956 c +356.947 25.956 l +356.947 25.823 l +356.947 25.823 l +356.947 25.823 356.947 25.823 356.814 25.823 c +356.814 25.691 l +356.814 25.691 l +356.814 25.558 l +356.814 25.558 356.814 25.558 356.682 25.558 c +356.682 25.558 l +356.682 25.558 l +356.682 25.426 l +356.682 25.426 356.682 25.426 356.682 25.426 c +356.550 25.293 l +356.550 25.293 l +356.550 25.293 l +356.550 25.161 356.550 25.161 356.417 25.161 c +356.417 25.161 l +356.417 25.161 l +356.417 25.029 356.417 25.029 356.417 25.161 c +356.417 25.029 l +356.285 25.029 l +356.285 24.896 l +356.285 24.896 l +356.153 24.896 l +356.285 24.764 356.285 24.764 356.153 24.764 c +356.153 24.764 l +356.153 24.764 356.153 24.764 356.153 24.764 c +356.153 24.631 l +356.153 24.631 l +356.020 24.631 l +356.020 24.499 356.153 24.631 356.020 24.631 c +356.020 24.499 l +356.020 24.499 l +355.888 24.366 l +355.888 24.366 355.888 24.366 355.888 24.366 c +355.888 24.366 l +355.888 24.234 l +355.888 24.234 l +355.888 24.234 355.888 24.234 355.756 24.234 c +355.756 24.101 l +355.756 24.101 l +355.624 23.969 l +355.624 23.969 355.756 23.969 355.624 23.969 c +355.624 23.969 l +355.624 23.969 l +355.624 23.837 l +355.624 23.837 355.624 23.837 355.491 23.837 c +355.491 23.704 l +355.491 23.704 l +355.491 23.704 l +355.491 23.572 355.491 23.572 355.359 23.572 c +355.359 23.572 l +355.359 23.572 l +355.359 23.439 355.359 23.439 355.359 23.572 c +355.227 23.439 l +355.227 23.439 l +355.227 23.307 l +355.227 23.307 l +355.094 23.307 l +355.094 23.174 355.094 23.174 355.094 23.174 c +355.094 23.174 l +355.094 23.174 355.094 23.174 355.094 23.174 c +354.962 23.042 l +354.962 23.042 l +354.962 23.042 l +354.962 22.910 l +354.830 22.910 l +354.830 22.777 354.962 22.777 354.830 22.777 c +354.830 22.777 l +354.830 22.777 354.830 22.777 354.830 22.777 c +354.830 22.777 l +354.830 22.645 l +354.698 22.645 l +354.698 22.645 354.698 22.645 354.698 22.645 c +354.698 22.512 l +354.565 22.512 l +354.565 22.380 l +354.565 22.380 354.565 22.380 354.565 22.380 c +354.565 22.380 l +354.565 22.380 l +354.433 22.247 l +354.433 22.247 354.565 22.247 354.433 22.247 c +354.433 22.115 l +354.433 22.115 l +354.301 22.115 l +354.301 21.982 354.433 21.982 354.301 21.982 c +354.301 21.982 l +354.301 21.982 l +354.301 21.850 l +354.301 21.850 354.301 21.850 354.168 21.850 c +354.168 21.850 l +354.168 21.718 l +354.036 21.718 l +354.168 21.585 354.168 21.585 354.036 21.585 c +354.036 21.585 l +354.036 21.585 l +354.036 21.585 354.036 21.585 354.036 21.585 c +353.904 21.453 l +353.904 21.453 l +353.904 21.453 l +353.904 21.320 l +353.772 21.320 l +353.772 21.188 353.772 21.188 353.772 21.188 c +353.772 21.188 l +353.772 21.188 353.772 21.188 353.772 21.188 c +353.639 21.188 l +353.639 21.055 l +353.639 21.055 l +353.639 20.923 l +353.507 20.923 l +353.507 20.791 l +353.507 20.791 353.507 20.791 353.507 20.791 c +353.507 20.791 l +353.507 20.791 l +353.375 20.658 l +353.375 20.658 353.375 20.658 353.375 20.658 c +353.375 20.526 l +353.242 20.526 l +353.242 20.526 l +353.242 20.393 353.242 20.393 353.242 20.393 c +353.242 20.393 l +353.242 20.393 l +353.110 20.261 l +353.110 20.261 353.110 20.261 353.110 20.261 c +353.110 20.261 l +352.978 20.128 l +352.978 20.128 l +352.978 19.996 352.978 19.996 352.978 19.996 c +352.978 19.996 l +352.978 19.996 l +352.846 19.996 l +352.846 19.863 352.978 19.863 352.846 19.863 c +352.846 19.863 l +352.846 19.863 l +352.713 19.731 l +352.713 19.731 l +352.713 19.599 352.713 19.599 352.713 19.599 c +352.713 19.599 l +352.713 19.599 352.713 19.599 352.713 19.599 c +352.581 19.599 l +352.581 19.466 l +352.581 19.466 l +352.449 19.334 l +352.449 19.334 l +352.449 19.201 352.449 19.334 352.449 19.334 c +352.449 19.201 l +352.449 19.201 352.449 19.201 352.449 19.201 c +352.316 19.201 l +352.316 19.201 l +352.316 19.069 l +352.316 19.069 352.316 19.069 352.316 19.069 c +352.316 18.936 l +352.184 18.936 l +352.184 18.936 l +352.184 18.804 352.184 18.804 352.184 18.804 c +352.052 18.804 l +352.052 18.804 l +352.052 18.672 l +352.052 18.672 352.052 18.672 352.052 18.672 c +352.052 18.672 l +351.920 18.539 l +351.920 18.539 l +351.920 18.407 351.920 18.407 351.920 18.407 c +351.920 18.407 l +351.920 18.407 l +351.787 18.407 l +351.787 18.274 351.787 18.274 351.787 18.274 c +351.787 18.274 l +351.655 18.274 l +351.655 18.142 l +351.655 18.009 351.655 18.142 351.655 18.142 c +351.655 18.009 l +351.655 18.009 l +351.655 18.009 351.655 18.009 351.523 18.009 c +351.523 18.009 l +351.523 17.877 l +351.523 17.877 l +351.390 17.745 l +351.390 17.745 l +351.390 17.612 351.390 17.745 351.390 17.745 c +351.390 17.612 l +351.390 17.612 351.390 17.612 351.258 17.612 c +351.258 17.612 l +351.258 17.612 l +351.258 17.480 351.258 17.480 351.258 17.480 c +351.390 17.480 351.390 17.480 351.390 17.480 c +351.390 17.347 l +351.523 17.347 l +351.523 17.347 351.523 17.347 351.523 17.347 c +351.523 17.347 l +351.655 17.347 351.523 17.347 351.523 17.347 c +351.655 17.215 l +351.655 17.215 l +351.655 17.215 l +351.787 17.215 351.787 17.215 351.787 17.215 c +351.787 17.082 l +351.787 17.082 l +351.920 17.082 l +351.920 17.082 351.920 17.082 351.920 17.082 c +351.920 16.950 l +352.052 16.950 l +352.052 16.950 l +352.052 16.950 352.052 16.950 352.052 16.950 c +352.184 16.817 l +352.184 16.817 l +352.184 16.817 l +352.316 16.817 l +352.316 16.817 352.316 16.817 352.316 16.685 c +352.316 16.685 l +352.449 16.685 352.449 16.685 352.449 16.685 c +352.449 16.685 l +352.449 16.685 l +352.581 16.553 l +352.581 16.553 l +352.713 16.553 l +352.713 16.553 352.713 16.553 352.713 16.420 c +352.713 16.420 l +352.713 16.420 352.713 16.420 352.713 16.420 c +352.846 16.420 l +352.846 16.420 l +352.846 16.288 l +352.978 16.288 l +353.110 16.288 352.978 16.155 353.110 16.288 c +353.110 16.420 l +353.110 16.420 l +353.242 16.420 l +353.242 16.553 353.110 16.553 353.242 16.553 c +353.242 16.553 l +353.242 16.553 l +353.242 16.685 l +353.242 16.685 353.242 16.685 353.375 16.685 c +353.375 16.685 l +353.375 16.817 l +353.507 16.817 l +353.507 16.817 l +353.507 16.950 353.507 16.950 353.507 16.950 c +353.507 16.950 l +353.507 16.950 353.507 16.950 353.507 16.950 c +353.639 17.082 l +353.639 17.082 l +353.639 17.082 l +353.639 17.215 l +353.772 17.215 l +353.772 17.347 353.772 17.347 353.772 17.347 c +353.772 17.347 l +353.772 17.347 353.772 17.347 353.772 17.347 c +353.904 17.347 l +353.904 17.480 l +353.904 17.480 l +353.904 17.612 l +354.036 17.612 l +354.036 17.612 353.904 17.612 354.036 17.612 c +354.036 17.745 l +354.036 17.745 354.036 17.745 354.036 17.745 c +354.036 17.745 l +354.036 17.745 l +354.168 17.877 l +354.168 17.877 354.168 17.877 354.168 17.877 c +354.168 18.009 l +354.301 18.009 l +354.301 18.009 l +354.301 18.142 354.301 18.142 354.301 18.142 c +354.301 18.142 l +354.301 18.142 l +354.433 18.274 l +354.433 18.274 354.301 18.274 354.433 18.274 c +354.433 18.274 l +354.433 18.407 l +354.565 18.407 l +354.565 18.539 354.565 18.539 354.565 18.539 c +354.565 18.539 l +354.565 18.539 l +354.698 18.539 l +354.698 18.672 354.565 18.672 354.698 18.672 c +354.698 18.672 l +354.698 18.672 l +354.830 18.804 l +354.830 18.804 l +354.830 18.936 354.830 18.936 354.830 18.936 c +354.830 18.936 l +354.830 18.936 354.830 18.936 354.830 18.936 c +354.962 18.936 l +354.962 19.069 l +354.962 19.069 l +355.094 19.201 l +355.094 19.201 l +355.094 19.201 355.094 19.201 355.094 19.201 c +355.094 19.334 l +355.094 19.334 355.094 19.334 355.094 19.334 c +355.227 19.334 l +355.227 19.466 l +355.227 19.466 l +355.227 19.599 l +355.359 19.599 l +355.359 19.599 355.359 19.599 355.359 19.599 c +355.359 19.599 l +355.359 19.731 355.359 19.731 355.359 19.731 c +355.491 19.731 l +355.491 19.731 l +355.491 19.863 l +355.491 19.863 355.491 19.863 355.491 19.863 c +355.491 19.863 l +355.624 19.996 l +355.624 19.996 l +355.624 20.128 355.624 20.128 355.624 20.128 c +355.624 20.128 l +355.624 20.128 l +355.756 20.128 l +355.756 20.261 355.756 20.261 355.756 20.261 c +355.756 20.261 l +355.888 20.261 l +355.888 20.393 l +355.888 20.393 355.888 20.393 355.888 20.393 c +355.888 20.526 l +355.888 20.526 l +355.888 20.526 355.888 20.526 356.020 20.526 c +356.020 20.526 l +356.020 20.658 l +356.020 20.658 l +356.153 20.791 l +356.153 20.791 l +356.153 20.791 356.153 20.791 356.153 20.791 c +356.153 20.923 l +356.153 20.923 356.153 20.923 356.285 20.923 c +356.285 20.923 l +356.285 21.055 l +356.285 21.055 l +356.417 21.188 l +356.417 21.188 l +356.417 21.188 356.417 21.188 356.417 21.188 c +356.417 21.188 l +356.417 21.320 356.417 21.320 356.417 21.320 c +356.550 21.320 l +356.550 21.320 l +356.550 21.453 l +356.550 21.453 356.550 21.453 356.550 21.453 c +356.682 21.453 l +356.682 21.585 l +356.682 21.585 356.682 21.585 356.682 21.585 c +356.682 21.585 l +356.682 21.718 356.682 21.718 356.682 21.718 c +356.814 21.718 l +356.814 21.718 l +356.814 21.718 l +356.814 21.850 356.814 21.850 356.814 21.850 c +356.814 21.850 l +356.947 21.850 l +356.947 21.982 l +356.947 21.982 356.947 21.982 356.947 21.982 c +357.079 22.115 l +357.079 22.115 l +357.079 22.115 l +357.079 22.247 357.079 22.115 357.079 22.115 c +357.079 22.247 l +357.211 22.247 l +357.211 22.380 l +357.211 22.380 l +357.211 22.512 357.211 22.380 357.211 22.380 c +357.211 22.512 l +357.211 22.512 357.211 22.512 357.343 22.512 c +357.343 22.512 l +357.343 22.645 l +357.476 22.645 l +357.476 22.777 l +357.476 22.777 l +357.476 22.777 357.476 22.777 357.476 22.777 c +357.476 22.777 l +357.476 22.910 357.476 22.910 357.608 22.910 c +357.608 22.910 l +357.608 23.042 l +357.608 23.042 l +357.740 23.042 l +357.740 23.174 l +357.740 23.174 357.740 23.174 357.740 23.174 c +357.740 23.174 l +357.740 23.307 357.740 23.307 357.873 23.307 c +357.873 23.307 l +357.873 23.307 l +357.873 23.307 l +357.873 23.439 357.873 23.439 357.873 23.439 c +358.005 23.439 l +358.005 23.439 l +358.005 23.572 l +358.005 23.704 358.005 23.572 358.005 23.572 c +358.137 23.704 l +358.137 23.704 l +358.137 23.704 l +358.137 23.837 358.137 23.837 358.137 23.837 c +358.137 23.837 l +358.269 23.837 l +358.269 23.969 l +358.269 23.969 358.269 23.969 358.269 23.969 c +358.402 23.969 l +358.402 24.101 l +358.402 24.101 358.269 24.101 358.402 24.101 c +358.402 24.101 l +358.402 24.234 l +358.534 24.234 l +358.534 24.366 l +358.534 24.366 l +358.534 24.366 358.534 24.366 358.534 24.366 c +358.534 24.366 l +358.534 24.499 358.534 24.499 358.666 24.499 c +358.666 24.499 l +358.666 24.631 l +358.799 24.631 l +358.799 24.631 l +358.799 24.764 l +358.799 24.764 358.799 24.764 358.799 24.764 c +358.799 24.764 l +358.799 24.896 358.799 24.896 358.931 24.896 c +358.931 24.896 l +358.931 24.896 l +359.063 25.029 l +359.063 25.029 l +359.063 25.161 l +359.063 25.161 359.063 25.161 359.063 25.161 c +359.063 25.161 l +359.063 25.293 359.063 25.161 359.195 25.161 c +359.195 25.293 l +359.195 25.293 l +359.195 25.293 l +359.195 25.426 359.195 25.426 359.195 25.426 c +359.328 25.426 l +359.328 25.426 l +359.328 25.558 l +359.328 25.558 359.328 25.558 359.328 25.558 c +359.460 25.558 l +359.460 25.691 l +359.460 25.691 l +359.460 25.691 359.460 25.691 359.460 25.691 c +359.592 25.823 l +359.592 25.823 l +359.592 25.956 l +359.592 25.956 l +359.592 25.956 359.592 25.956 359.725 25.956 c +359.725 25.956 l +359.725 26.088 359.725 26.088 359.725 26.088 c +359.725 26.088 l +359.725 26.220 l +359.857 26.220 l +359.857 26.220 l +359.857 26.353 l +359.857 26.353 359.857 26.353 359.989 26.353 c +359.989 26.353 l +359.989 26.485 359.857 26.485 359.989 26.485 c +359.989 26.485 l +359.989 26.485 l +360.121 26.618 l +360.121 26.618 l +360.121 26.750 l +360.121 26.750 360.121 26.750 360.121 26.750 c +360.121 26.750 l +360.121 26.883 360.121 26.750 360.254 26.750 c +360.254 26.883 l +360.254 26.883 l +360.254 26.883 l +360.254 27.015 360.254 27.015 360.386 27.015 c +360.386 27.015 l +360.386 27.015 l +360.386 27.148 l +360.386 27.148 360.386 27.148 360.518 27.148 c +360.518 27.148 l +360.518 27.280 l +360.518 27.280 l +360.518 27.280 360.518 27.280 360.518 27.280 c +360.651 27.412 l +360.651 27.412 l +360.651 27.545 l +360.651 27.545 360.651 27.545 360.783 27.545 c +360.783 27.545 l +360.783 27.545 l +360.783 27.677 360.783 27.677 360.783 27.677 c +360.783 27.677 l +360.915 27.810 l +360.915 27.810 l +360.915 27.810 l +361.047 27.942 l +360.915 27.942 360.915 27.942 361.047 27.942 c +361.047 27.942 l +361.047 28.075 361.047 28.075 361.047 28.075 c +361.047 28.075 l +361.180 28.075 l +361.180 28.207 l +361.180 28.207 l +361.180 28.339 l +361.180 28.339 361.180 28.339 361.312 28.339 c +361.312 28.339 l +361.312 28.339 361.312 28.339 361.312 28.339 c +361.312 28.472 l +361.312 28.472 l +361.444 28.604 l +361.444 28.604 l +361.444 28.604 l +361.444 28.737 361.444 28.737 361.577 28.737 c +361.577 28.737 l +361.577 28.737 361.444 28.737 361.577 28.737 c +361.577 28.737 l +361.577 28.869 l +361.577 28.869 l +361.577 28.869 361.577 28.869 361.709 28.869 c +361.709 29.002 l +361.709 29.002 l +361.709 29.134 l +361.709 29.134 361.709 29.134 361.841 29.134 c +361.841 29.134 l +361.841 29.134 l +361.841 29.266 l +361.841 29.266 361.841 29.266 361.974 29.266 c +361.974 29.399 l +361.974 29.399 l +361.974 29.531 l +361.974 29.531 361.974 29.531 362.106 29.531 c +362.106 29.531 l +362.106 29.531 l +361.974 29.531 361.974 29.531 361.974 29.664 c +361.974 29.664 l +361.974 29.664 l +361.974 29.664 l +361.841 29.664 361.841 29.664 361.841 29.664 c +361.841 29.796 l +361.709 29.796 l +361.709 29.796 l +361.709 29.796 361.709 29.796 361.709 29.929 c +361.577 29.929 l +361.577 29.929 l +361.577 29.929 l +361.444 29.929 361.577 29.929 361.577 29.929 c +361.444 30.061 l +361.444 30.061 l +361.312 30.061 l +361.312 30.061 361.312 30.061 361.312 30.194 c +361.312 30.194 l +361.180 30.194 l +361.180 30.194 l +361.180 30.194 361.180 30.194 361.180 30.194 c +361.047 30.326 l +361.047 30.326 l +360.915 30.326 l +360.915 30.326 360.915 30.326 360.915 30.326 c +360.915 30.458 l +360.915 30.458 l +360.783 30.458 360.783 30.458 360.783 30.458 c +360.783 30.458 l +360.783 30.458 l +360.783 30.591 l +360.651 30.591 360.651 30.458 360.651 30.591 c +360.651 30.591 l +360.651 30.591 l +360.518 30.723 l +360.518 30.723 360.518 30.723 360.518 30.723 c +360.386 30.723 l +360.386 30.723 l +360.386 30.856 l +360.254 30.856 360.386 30.723 360.386 30.856 c +360.254 30.723 l +f +1.00 g +[] 0 d +389.093 30.591 m +391.077 30.591 392.665 30.194 393.855 29.399 c +394.914 28.737 395.443 27.545 395.443 25.823 c +395.443 25.029 395.310 24.234 395.046 23.704 c +394.781 23.042 394.384 22.645 393.723 22.247 c +393.194 21.850 392.532 21.585 391.739 21.320 c +390.813 21.188 389.887 21.055 388.828 21.055 c +387.638 21.055 l +387.638 16.023 l +384.992 16.023 l +384.992 30.194 l +385.521 30.326 386.182 30.458 386.976 30.458 c +387.770 30.591 388.431 30.591 389.093 30.591 c +389.093 30.591 l +389.225 28.339 m +388.564 28.339 388.034 28.339 387.638 28.207 c +387.638 23.307 l +388.828 23.307 l +390.151 23.307 391.077 23.572 391.739 23.837 c +392.400 24.234 392.797 24.896 392.797 25.823 c +392.797 26.353 392.665 26.750 392.532 27.015 c +392.268 27.412 392.003 27.677 391.739 27.810 c +391.474 27.942 391.077 28.075 390.680 28.207 c +390.151 28.339 389.754 28.339 389.225 28.339 c +389.225 28.339 l +f +1.00 g +[] 0 d +407.216 21.453 m +407.216 20.658 407.084 19.863 406.820 19.069 c +406.555 18.407 406.290 17.877 405.761 17.347 c +405.364 16.817 404.835 16.420 404.174 16.155 c +403.512 15.890 402.719 15.758 402.057 15.758 c +401.263 15.758 400.470 15.890 399.941 16.155 c +399.279 16.420 398.750 16.817 398.221 17.347 c +397.824 17.877 397.427 18.407 397.162 19.069 c +396.898 19.863 396.766 20.658 396.766 21.453 c +396.766 22.380 396.898 23.174 397.162 23.837 c +397.427 24.499 397.824 25.161 398.221 25.558 c +398.750 26.088 399.279 26.485 399.941 26.750 c +400.602 27.015 401.263 27.148 402.057 27.148 c +402.719 27.148 403.512 27.015 404.042 26.750 c +404.703 26.485 405.364 26.088 405.761 25.558 c +406.158 25.161 406.555 24.499 406.820 23.837 c +407.084 23.174 407.216 22.380 407.216 21.453 c +407.216 21.453 l +404.571 21.453 m +404.571 22.512 404.438 23.439 403.909 24.101 c +403.512 24.631 402.851 25.029 402.057 25.029 c +401.131 25.029 400.470 24.631 400.073 24.101 c +399.544 23.439 399.411 22.512 399.411 21.453 c +399.411 20.393 399.544 19.466 400.073 18.936 c +400.470 18.274 401.131 17.877 402.057 17.877 c +402.851 17.877 403.512 18.274 403.909 18.936 c +404.438 19.466 404.571 20.393 404.571 21.453 c +404.571 21.453 l +f +1.00 g +[] 0 d +416.080 22.910 m +415.683 21.718 415.418 20.526 415.022 19.334 c +414.625 18.142 414.360 17.082 413.963 16.023 c +411.847 16.023 l +411.582 16.685 411.317 17.347 411.053 18.274 c +410.656 19.069 410.391 19.863 410.127 20.791 c +409.730 21.718 409.465 22.777 409.201 23.704 c +408.936 24.764 408.539 25.823 408.275 26.883 c +410.921 26.883 l +411.053 26.353 411.185 25.691 411.450 25.029 c +411.582 24.366 411.714 23.704 411.847 22.910 c +412.111 22.247 412.243 21.585 412.508 20.923 c +412.640 20.261 412.905 19.599 413.037 19.069 c +413.302 19.731 413.434 20.393 413.699 21.055 c +413.831 21.718 414.095 22.380 414.228 23.042 c +414.360 23.837 414.625 24.499 414.757 25.029 c +414.889 25.691 415.022 26.353 415.154 26.883 c +417.138 26.883 l +417.270 26.353 417.403 25.691 417.535 25.029 c +417.667 24.499 417.800 23.837 418.064 23.042 c +418.196 22.380 418.329 21.718 418.593 21.055 c +418.726 20.393 418.990 19.731 419.122 19.069 c +419.387 19.599 419.519 20.261 419.784 20.923 c +419.916 21.585 420.181 22.247 420.313 22.910 c +420.445 23.704 420.710 24.366 420.842 25.029 c +420.975 25.691 421.107 26.353 421.239 26.883 c +423.885 26.883 l +423.620 25.823 423.356 24.764 422.959 23.704 c +422.694 22.777 422.430 21.718 422.033 20.791 c +421.768 19.863 421.504 19.069 421.107 18.274 c +420.842 17.347 420.578 16.685 420.313 16.023 c +418.196 16.023 l +417.800 17.082 417.535 18.142 417.138 19.334 c +416.741 20.526 416.344 21.718 416.080 22.910 c +416.080 22.910 l +f +1.00 g +[] 0 d +425.208 21.453 m +425.208 22.380 425.340 23.174 425.605 23.969 c +425.869 24.631 426.266 25.293 426.663 25.691 c +427.192 26.220 427.721 26.618 428.383 26.750 c +428.912 27.015 429.573 27.148 430.235 27.148 c +431.690 27.148 432.881 26.750 433.674 25.823 c +434.600 24.896 434.997 23.439 434.997 21.585 c +434.997 21.453 434.997 21.320 434.997 21.188 c +434.997 20.923 434.997 20.791 434.865 20.658 c +427.721 20.658 l +427.854 19.863 428.118 19.201 428.647 18.672 c +429.176 18.142 429.970 18.009 431.029 18.009 c +431.690 18.009 432.219 18.009 432.748 18.142 c +433.277 18.274 433.674 18.407 433.939 18.407 c +434.203 16.420 l +434.071 16.288 433.939 16.288 433.674 16.155 c +433.410 16.155 433.145 16.023 432.881 16.023 c +432.484 15.890 432.219 15.890 431.822 15.890 c +431.425 15.758 431.161 15.758 430.764 15.758 c +429.838 15.758 428.912 15.890 428.250 16.155 c +427.589 16.420 426.928 16.817 426.531 17.347 c +426.002 17.877 425.737 18.539 425.472 19.201 c +425.340 19.863 425.208 20.658 425.208 21.453 c +425.208 21.453 l +432.484 22.512 m +432.484 22.910 432.351 23.174 432.351 23.572 c +432.219 23.837 432.087 24.101 431.822 24.366 c +431.690 24.631 431.425 24.764 431.161 24.896 c +430.896 25.029 430.632 25.029 430.235 25.029 c +429.838 25.029 429.441 25.029 429.176 24.896 c +428.912 24.764 428.647 24.499 428.515 24.234 c +428.250 24.101 428.118 23.837 427.986 23.439 c +427.854 23.174 427.854 22.910 427.721 22.512 c +432.484 22.512 l +f +1.00 g +[] 0 d +443.861 24.631 m +443.596 24.764 443.331 24.764 442.935 24.896 c +442.538 24.896 442.141 25.029 441.612 25.029 c +441.347 25.029 441.083 24.896 440.818 24.896 c +440.421 24.896 440.289 24.764 440.156 24.764 c +440.156 16.023 l +437.643 16.023 l +437.643 26.353 l +438.040 26.618 438.701 26.750 439.495 26.883 c +440.156 27.015 440.950 27.148 441.876 27.148 c +442.009 27.148 442.273 27.148 442.405 27.148 c +442.670 27.148 442.935 27.015 443.067 27.015 c +443.331 27.015 443.596 26.883 443.728 26.883 c +443.993 26.883 444.125 26.750 444.257 26.750 c +443.861 24.631 l +f +1.00 g +[] 0 d +445.448 21.453 m +445.448 22.380 445.580 23.174 445.845 23.969 c +446.109 24.631 446.506 25.293 446.903 25.691 c +447.432 26.220 447.962 26.618 448.623 26.750 c +449.152 27.015 449.814 27.148 450.475 27.148 c +451.930 27.148 453.121 26.750 453.915 25.823 c +454.708 24.896 455.237 23.439 455.237 21.585 c +455.237 21.453 455.237 21.320 455.105 21.188 c +455.105 20.923 455.105 20.791 455.105 20.658 c +447.962 20.658 l +448.094 19.863 448.358 19.201 448.888 18.672 c +449.417 18.142 450.210 18.009 451.269 18.009 c +451.930 18.009 452.459 18.009 452.989 18.142 c +453.518 18.274 453.915 18.407 454.179 18.407 c +454.444 16.420 l +454.311 16.288 454.179 16.288 453.915 16.155 c +453.650 16.155 453.385 16.023 453.121 16.023 c +452.724 15.890 452.459 15.890 452.063 15.890 c +451.666 15.758 451.401 15.758 451.004 15.758 c +449.946 15.758 449.152 15.890 448.491 16.155 c +447.829 16.420 447.168 16.817 446.771 17.347 c +446.242 17.877 445.977 18.539 445.713 19.201 c +445.448 19.863 445.448 20.658 445.448 21.453 c +445.448 21.453 l +452.724 22.512 m +452.724 22.910 452.592 23.174 452.459 23.572 c +452.459 23.837 452.327 24.101 452.063 24.366 c +451.930 24.631 451.666 24.764 451.401 24.896 c +451.136 25.029 450.872 25.029 450.475 25.029 c +450.078 25.029 449.681 25.029 449.417 24.896 c +449.152 24.764 448.888 24.499 448.755 24.234 c +448.491 24.101 448.358 23.837 448.226 23.439 c +448.094 23.174 448.094 22.910 447.962 22.512 c +452.724 22.512 l +f +1.00 g +[] 0 d +459.868 21.453 m +459.868 20.393 460.132 19.466 460.661 18.936 c +461.058 18.274 461.852 18.009 462.778 18.009 c +463.175 18.009 463.572 18.009 463.836 18.009 c +464.101 18.009 464.365 18.009 464.498 18.142 c +464.498 24.366 l +464.233 24.499 463.969 24.631 463.572 24.764 c +463.307 24.896 462.910 25.029 462.381 25.029 c +461.587 25.029 460.926 24.631 460.397 24.101 c +460.000 23.439 459.868 22.512 459.868 21.453 c +459.868 21.453 l +467.011 16.420 m +466.482 16.155 465.953 16.023 465.159 15.890 c +464.365 15.890 463.572 15.758 462.778 15.758 c +461.852 15.758 461.190 15.890 460.397 16.155 c +459.735 16.420 459.206 16.817 458.677 17.347 c +458.280 17.745 457.883 18.407 457.619 19.069 c +457.354 19.731 457.222 20.526 457.222 21.453 c +457.222 22.247 457.354 23.042 457.619 23.837 c +457.751 24.499 458.148 25.029 458.545 25.558 c +458.942 26.088 459.471 26.485 460.000 26.750 c +460.661 27.015 461.323 27.148 462.117 27.148 c +462.646 27.148 463.043 27.015 463.439 26.883 c +463.836 26.883 464.233 26.750 464.498 26.485 c +464.498 31.783 l +467.011 32.180 l +467.011 16.420 l +f +Q +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +1.000 0.000 0.000 rg +784.08 720.59 Td +(Note!) Tj +ET +1 J +1 j +0.72 w +0.80 0.00 0.00 RG +0.00 g +[] 0 d +780.480 722.880 m +766.080 722.880 l +769.680 726.480 l +S +1 J +1 j +0.72 w +0.80 0.00 0.00 RG +0.00 g +[] 0 d +766.080 722.880 m +769.680 719.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +1.000 0.000 0.000 rg +784.08 563.63 Td +(Note!) Tj +ET +1 J +1 j +0.72 w +0.80 0.00 0.00 RG +0.00 g +[] 0 d +780.480 565.920 m +766.080 565.920 l +769.680 569.520 l +S +1 J +1 j +0.72 w +0.80 0.00 0.00 RG +0.00 g +[] 0 d +766.080 565.920 m +769.680 562.320 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +672.48 619.79 Td +(E22P-915M30S) Tj +ET +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1075.680 m +85.680 1075.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1075.680 m +85.680 1075.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1068.480 m +85.680 1068.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +96.480 1068.480 m +85.680 1068.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 1068.480 m +366.480 1072.080 l +355.680 1072.080 l +355.680 1064.880 l +366.480 1064.880 l +370.080 1068.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 1068.480 m +370.080 1068.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +331.32 1066.77 Td +(GPSRX) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +370.080 1075.680 m +366.480 1079.280 l +355.680 1079.280 l +355.680 1072.080 l +366.480 1072.080 l +370.080 1075.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +370.080 1075.680 m +370.080 1075.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +332.05 1073.97 Td +(GPSTX) Tj +ET +7.20 w +BT +/F2 8.181818181818182 Tf +9.00 TL +0.000 g +150.48 112.52 Td +(Example GNSS) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +226.080 60.480 m +229.680 56.880 l +240.480 56.880 l +240.480 64.080 l +229.680 64.080 l +226.080 60.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 60.480 m +226.080 60.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +241.92 57.61 Td +(GPSRX) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +226.080 67.680 m +229.680 64.080 l +240.480 64.080 l +240.480 71.280 l +229.680 71.280 l +226.080 67.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 67.680 m +226.080 67.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +241.92 64.81 Td +(GPSTX) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +229.680 85.680 m +229.680 78.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +226.080 85.680 m +233.280 85.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +229.680 78.480 m +229.680 78.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +0.00 1.00 -1.00 0.00 233.03 86.40 Tm +(VCC) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +229.680 42.480 m +229.680 49.680 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +223.200 42.480 m +236.160 42.480 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +225.360 41.040 m +234.000 41.040 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +227.520 39.600 m +231.840 39.600 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +0.00 g +[] 0 d +228.960 38.160 m +230.400 38.160 l +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +229.680 49.680 m +229.680 49.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 0.000 1.000 rg +0.00 1.00 -1.00 0.00 230.91 23.26 Tm +(GND) Tj +ET +7.20 w +BT +/F2 6.363634909090909 Tf +7.00 TL +0.627 0.000 0.000 rg +150.93 28.72 Td +(NEO-6M) Tj +ET +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +144.72 84.24 33.12 -43.20 re +S +q +1 0 0 1 177.84 51.12 cm +-0.0000 -1.0000 1.0000 -0.0000 0 0 cm +1 0 0 1 -33.12 -33.12 cm +43.20 0 0 33.12 0 0 cm +/I1 Do +Q +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +210.24 28.08 m 210.24 30.07 208.63 31.68 206.64 31.68 c +204.65 31.68 203.04 30.07 203.04 28.08 c +203.04 26.09 204.65 24.48 206.64 24.48 c +208.63 24.48 210.24 26.09 210.24 28.08 c +S +2 J +0 j +72 M +0.72 w +0.63 0.00 0.00 RG +[] 0 d +110.88 102.24 100.80 -79.20 re +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +210.24 97.20 m 210.24 99.19 208.63 100.80 206.64 100.80 c +204.65 100.80 203.04 99.19 203.04 97.20 c +203.04 95.21 204.65 93.60 206.64 93.60 c +208.63 93.60 210.24 95.21 210.24 97.20 c +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +119.52 28.08 m 119.52 30.07 117.91 31.68 115.92 31.68 c +113.93 31.68 112.32 30.07 112.32 28.08 c +112.32 26.09 113.93 24.48 115.92 24.48 c +117.91 24.48 119.52 26.09 119.52 28.08 c +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +119.52 97.20 m 119.52 99.19 117.91 100.80 115.92 100.80 c +113.93 100.80 112.32 99.19 112.32 97.20 c +112.32 95.21 113.93 93.60 115.92 93.60 c +117.91 93.60 119.52 95.21 119.52 97.20 c +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +119.88 36.00 m 119.88 36.99 119.07 37.80 118.08 37.80 c +117.09 37.80 116.28 36.99 116.28 36.00 c +116.28 35.01 117.09 34.20 118.08 34.20 c +119.07 34.20 119.88 35.01 119.88 36.00 c +S +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +200.16 95.04 m 200.16 97.43 198.23 99.36 195.84 99.36 c +193.45 99.36 191.52 97.43 191.52 95.04 c +191.52 92.65 193.45 90.72 195.84 90.72 c +198.23 90.72 200.16 92.65 200.16 95.04 c +S +7.20 w +BT +/F2 3.6363665454545444 Tf +4.00 TL +0.627 0.000 0.000 rg +178.56 94.04 Td +(Battery) Tj +ET +7.20 w +BT +/F2 3.6363665454545444 Tf +4.00 TL +0.627 0.000 0.000 rg +0.00 1.00 -1.00 0.00 119.00 39.48 Tm +(Antenna) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +194.98 50.99 Td +(GND) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.28 54.59 Td +(1) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 53.280 m +211.680 53.280 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +201.15 58.19 Td +(TX) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.28 61.79 Td +(2) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 60.480 m +211.680 60.480 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +200.43 65.39 Td +(RX) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.28 68.99 Td +(3) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 67.680 m +211.680 67.680 l +S +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +1.000 0.000 0.000 rg +195.70 72.59 Td +(VCC) Tj +ET +7.20 w +BT +/F2 6.545454545454544 Tf +7.20 TL +0.000 g +215.28 76.19 Td +(4) Tj +ET +1 J +1 j +0.72 w +0.63 0.00 0.00 RG +[] 0 d +226.080 74.880 m +211.680 74.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +229.680 78.480 m +229.680 74.880 l +S +229.680 74.880 m +226.080 74.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +229.680 78.480 m +229.680 74.880 l +S +229.680 74.880 m +226.080 74.880 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +229.680 49.680 m +229.680 53.280 l +S +229.680 53.280 m +226.080 53.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +229.680 49.680 m +229.680 53.280 l +S +229.680 53.280 m +226.080 53.280 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 67.680 m +226.080 67.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 67.680 m +226.080 67.680 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 60.480 m +226.080 60.480 l +S +1 J +1 j +0.72 w +0.00 0.53 0.00 RG +0.00 g +[] 0 d +226.080 60.480 m +226.080 60.480 l +S +7.20 w +BT +/F2 10.307802433786685 Tf +11.34 TL +0.000 g +730.08 127.34 Td +(2025-12-04) Tj +ET +0.80 0.00 0.00 rg +656.28 233.28 m 656.28 234.27 655.47 235.08 654.48 235.08 c +653.49 235.08 652.68 234.27 652.68 233.28 c +652.68 232.29 653.49 231.48 654.48 231.48 c +655.47 231.48 656.28 232.29 656.28 233.28 c +f +0.80 0.00 0.00 rg +562.68 1082.88 m 562.68 1083.87 561.87 1084.68 560.88 1084.68 c +559.89 1084.68 559.08 1083.87 559.08 1082.88 c +559.08 1081.89 559.89 1081.08 560.88 1081.08 c +561.87 1081.08 562.68 1081.89 562.68 1082.88 c +f +0.80 0.00 0.00 rg +382.68 1093.68 m 382.68 1094.67 381.87 1095.48 380.88 1095.48 c +379.89 1095.48 379.08 1094.67 379.08 1093.68 c +379.08 1092.69 379.89 1091.88 380.88 1091.88 c +381.87 1091.88 382.68 1092.69 382.68 1093.68 c +f +0.80 0.00 0.00 rg +731.88 748.08 m 731.88 749.07 731.07 749.88 730.08 749.88 c +729.09 749.88 728.28 749.07 728.28 748.08 c +728.28 747.09 729.09 746.28 730.08 746.28 c +731.07 746.28 731.88 747.09 731.88 748.08 c +f +0.80 0.00 0.00 rg +483.48 758.88 m 483.48 759.87 482.67 760.68 481.68 760.68 c +480.69 760.68 479.88 759.87 479.88 758.88 c +479.88 757.89 480.69 757.08 481.68 757.08 c +482.67 757.08 483.48 757.89 483.48 758.88 c +f +0.80 0.00 0.00 rg +731.88 679.68 m 731.88 680.67 731.07 681.48 730.08 681.48 c +729.09 681.48 728.28 680.67 728.28 679.68 c +728.28 678.69 729.09 677.88 730.08 677.88 c +731.07 677.88 731.88 678.69 731.88 679.68 c +f +0.80 0.00 0.00 rg +731.88 708.48 m 731.88 709.47 731.07 710.28 730.08 710.28 c +729.09 710.28 728.28 709.47 728.28 708.48 c +728.28 707.49 729.09 706.68 730.08 706.68 c +731.07 706.68 731.88 707.49 731.88 708.48 c +f +0.80 0.00 0.00 rg +731.88 694.08 m 731.88 695.07 731.07 695.88 730.08 695.88 c +729.09 695.88 728.28 695.07 728.28 694.08 c +728.28 693.09 729.09 692.28 730.08 692.28 c +731.07 692.28 731.88 693.09 731.88 694.08 c +f +0.80 0.00 0.00 rg +731.88 686.88 m 731.88 687.87 731.07 688.68 730.08 688.68 c +729.09 688.68 728.28 687.87 728.28 686.88 c +728.28 685.89 729.09 685.08 730.08 685.08 c +731.07 685.08 731.88 685.89 731.88 686.88 c +f +0.80 0.00 0.00 rg +483.48 679.68 m 483.48 680.67 482.67 681.48 481.68 681.48 c +480.69 681.48 479.88 680.67 479.88 679.68 c +479.88 678.69 480.69 677.88 481.68 677.88 c +482.67 677.88 483.48 678.69 483.48 679.68 c +f +0.80 0.00 0.00 rg +483.48 686.88 m 483.48 687.87 482.67 688.68 481.68 688.68 c +480.69 688.68 479.88 687.87 479.88 686.88 c +479.88 685.89 480.69 685.08 481.68 685.08 c +482.67 685.08 483.48 685.89 483.48 686.88 c +f +0.80 0.00 0.00 rg +483.48 694.08 m 483.48 695.07 482.67 695.88 481.68 695.88 c +480.69 695.88 479.88 695.07 479.88 694.08 c +479.88 693.09 480.69 692.28 481.68 692.28 c +482.67 692.28 483.48 693.09 483.48 694.08 c +f +0.80 0.00 0.00 rg +483.48 708.48 m 483.48 709.47 482.67 710.28 481.68 710.28 c +480.69 710.28 479.88 709.47 479.88 708.48 c +479.88 707.49 480.69 706.68 481.68 706.68 c +482.67 706.68 483.48 707.49 483.48 708.48 c +f +0.80 0.00 0.00 rg +731.88 593.28 m 731.88 594.27 731.07 595.08 730.08 595.08 c +729.09 595.08 728.28 594.27 728.28 593.28 c +728.28 592.29 729.09 591.48 730.08 591.48 c +731.07 591.48 731.88 592.29 731.88 593.28 c +f +0.80 0.00 0.00 rg +731.88 524.88 m 731.88 525.87 731.07 526.68 730.08 526.68 c +729.09 526.68 728.28 525.87 728.28 524.88 c +728.28 523.89 729.09 523.08 730.08 523.08 c +731.07 523.08 731.88 523.89 731.88 524.88 c +f +0.80 0.00 0.00 rg +731.88 532.08 m 731.88 533.07 731.07 533.88 730.08 533.88 c +729.09 533.88 728.28 533.07 728.28 532.08 c +728.28 531.09 729.09 530.28 730.08 530.28 c +731.07 530.28 731.88 531.09 731.88 532.08 c +f +0.80 0.00 0.00 rg +731.88 539.28 m 731.88 540.27 731.07 541.08 730.08 541.08 c +729.09 541.08 728.28 540.27 728.28 539.28 c +728.28 538.29 729.09 537.48 730.08 537.48 c +731.07 537.48 731.88 538.29 731.88 539.28 c +f +0.80 0.00 0.00 rg +731.88 553.68 m 731.88 554.67 731.07 555.48 730.08 555.48 c +729.09 555.48 728.28 554.67 728.28 553.68 c +728.28 552.69 729.09 551.88 730.08 551.88 c +731.07 551.88 731.88 552.69 731.88 553.68 c +f +0.80 0.00 0.00 rg +163.08 408.24 m 163.08 409.23 162.27 410.04 161.28 410.04 c +160.29 410.04 159.48 409.23 159.48 408.24 c +159.48 407.25 160.29 406.44 161.28 406.44 c +162.27 406.44 163.08 407.25 163.08 408.24 c +f +0.80 0.00 0.00 rg +163.08 386.64 m 163.08 387.63 162.27 388.44 161.28 388.44 c +160.29 388.44 159.48 387.63 159.48 386.64 c +159.48 385.65 160.29 384.84 161.28 384.84 c +162.27 384.84 163.08 385.65 163.08 386.64 c +f +0.80 0.00 0.00 rg +163.08 393.84 m 163.08 394.83 162.27 395.64 161.28 395.64 c +160.29 395.64 159.48 394.83 159.48 393.84 c +159.48 392.85 160.29 392.04 161.28 392.04 c +162.27 392.04 163.08 392.85 163.08 393.84 c +f +0.80 0.00 0.00 rg +163.08 379.44 m 163.08 380.43 162.27 381.24 161.28 381.24 c +160.29 381.24 159.48 380.43 159.48 379.44 c +159.48 378.45 160.29 377.64 161.28 377.64 c +162.27 377.64 163.08 378.45 163.08 379.44 c +f +0.80 0.00 0.00 rg +98.28 1093.68 m 98.28 1094.67 97.47 1095.48 96.48 1095.48 c +95.49 1095.48 94.68 1094.67 94.68 1093.68 c +94.68 1092.69 95.49 1091.88 96.48 1091.88 c +97.47 1091.88 98.28 1092.69 98.28 1093.68 c +f +0.80 0.00 0.00 rg +278.28 1082.88 m 278.28 1083.87 277.47 1084.68 276.48 1084.68 c +275.49 1084.68 274.68 1083.87 274.68 1082.88 c +274.68 1081.89 275.49 1081.08 276.48 1081.08 c +277.47 1081.08 278.28 1081.89 278.28 1082.88 c +f +0.80 0.00 0.00 rg +724.68 841.68 m 724.68 842.67 723.87 843.48 722.88 843.48 c +721.89 843.48 721.08 842.67 721.08 841.68 c +721.08 840.69 721.89 839.88 722.88 839.88 c +723.87 839.88 724.68 840.69 724.68 841.68 c +f +0.80 0.00 0.00 rg +724.68 834.48 m 724.68 835.47 723.87 836.28 722.88 836.28 c +721.89 836.28 721.08 835.47 721.08 834.48 c +721.08 833.49 721.89 832.68 722.88 832.68 c +723.87 832.68 724.68 833.49 724.68 834.48 c +f +0.80 0.00 0.00 rg +724.68 827.28 m 724.68 828.27 723.87 829.08 722.88 829.08 c +721.89 829.08 721.08 828.27 721.08 827.28 c +721.08 826.29 721.89 825.48 722.88 825.48 c +723.87 825.48 724.68 826.29 724.68 827.28 c +f +0.80 0.00 0.00 rg +724.68 816.48 m 724.68 817.47 723.87 818.28 722.88 818.28 c +721.89 818.28 721.08 817.47 721.08 816.48 c +721.08 815.49 721.89 814.68 722.88 814.68 c +723.87 814.68 724.68 815.49 724.68 816.48 c +f +0.80 0.00 0.00 rg +688.68 816.48 m 688.68 817.47 687.87 818.28 686.88 818.28 c +685.89 818.28 685.08 817.47 685.08 816.48 c +685.08 815.49 685.89 814.68 686.88 814.68 c +687.87 814.68 688.68 815.49 688.68 816.48 c +f +0.80 0.00 0.00 rg +681.48 816.48 m 681.48 817.47 680.67 818.28 679.68 818.28 c +678.69 818.28 677.88 817.47 677.88 816.48 c +677.88 815.49 678.69 814.68 679.68 814.68 c +680.67 814.68 681.48 815.49 681.48 816.48 c +f +0.80 0.00 0.00 rg +674.28 816.48 m 674.28 817.47 673.47 818.28 672.48 818.28 c +671.49 818.28 670.68 817.47 670.68 816.48 c +670.68 815.49 671.49 814.68 672.48 814.68 c +673.47 814.68 674.28 815.49 674.28 816.48 c +f +0.80 0.00 0.00 rg +724.68 884.88 m 724.68 885.87 723.87 886.68 722.88 886.68 c +721.89 886.68 721.08 885.87 721.08 884.88 c +721.08 883.89 721.89 883.08 722.88 883.08 c +723.87 883.08 724.68 883.89 724.68 884.88 c +f +0.80 0.00 0.00 rg +231.48 329.04 m 231.48 330.03 230.67 330.84 229.68 330.84 c +228.69 330.84 227.88 330.03 227.88 329.04 c +227.88 328.05 228.69 327.24 229.68 327.24 c +230.67 327.24 231.48 328.05 231.48 329.04 c +f +0.80 0.00 0.00 rg +209.88 329.04 m 209.88 330.03 209.07 330.84 208.08 330.84 c +207.09 330.84 206.28 330.03 206.28 329.04 c +206.28 328.05 207.09 327.24 208.08 327.24 c +209.07 327.24 209.88 328.05 209.88 329.04 c +f +0.80 0.00 0.00 rg +663.48 1082.88 m 663.48 1083.87 662.67 1084.68 661.68 1084.68 c +660.69 1084.68 659.88 1083.87 659.88 1082.88 c +659.88 1081.89 660.69 1081.08 661.68 1081.08 c +662.67 1081.08 663.48 1081.89 663.48 1082.88 c +f +0.80 0.00 0.00 rg +717.48 1082.88 m 717.48 1083.87 716.67 1084.68 715.68 1084.68 c +714.69 1084.68 713.88 1083.87 713.88 1082.88 c +713.88 1081.89 714.69 1081.08 715.68 1081.08 c +716.67 1081.08 717.48 1081.89 717.48 1082.88 c +f +Q +endstream +endobj +1 0 obj +<> +endobj +5 0 obj +<< +/Type /FontDescriptor +/FontName /SimSun +/FontBBox [-8 -145 1000 859] +/Flags 32 +/StemV 0 +/ItalicAngle 0 +/Ascent 859 +/Descent -141 +/CapHeight 175 +>> +endobj +6 0 obj +<< +/Type /Font +/BaseFont /SimSun +/FontDescriptor 5 0 R +/W [1 95 500] +/Subtype /CIDFontType2 +/CIDSystemInfo +<< +/Ordering (GB1) +/Registry (Adobe) +/Supplement 2 +>> +>> +endobj +7 0 obj +<< +/Type /Font +/Subtype /Type0 +/BaseFont /SimSun +/Encoding /UniGB-UCS2-H +/DescendantFonts [6 0 R] +>> +endobj +8 0 obj +<< +/Descent -325 +/CapHeight 500 +/StemV 80 +/Type /FontDescriptor +/Flags 32 +/FontBBox [-665 -325 2000 1006] +/FontName /Arial +/ItalicAngle 0 +/Ascent 1006 +>> +endobj +9 0 obj +<> +endobj +10 0 obj +<< +/Type /XObject +/Subtype /Image +/Width 1024 +/Height 1024 +/ColorSpace /DeviceRGB +/BitsPerComponent 8 +/DecodeParms <> +/SMask 11 0 R +/Length 56607 +/Filter /FlateDecode +>> +stream +x{\w]))D{ErNs!c9Ω-gCưp/& cMCJF4sHrӜ)6ms\B)onÕ>xwzs]+Ah! @C0 a4h! @C0 a4h! @C0 a4h! @C0 a4h! @C0 a4h! @C0 a4h! @C0 a4h! @C0 a4h! @C0 a4.<8wܙ3g._|IݻwFN…WdI%J899UPN`HJKKKѣGO:pBNNt/^\+V^*Udff&ݥE |u}ܹs݇tt… רQA5rwwwtt. +@LJJڰamrrrvvt8995nܸe˖mڴ)Ut)csέ[.11q۶mqt:WWW//m6hЀ .\W_ڵ[ꫯvСs01 HOOV^)^rrrׯ_ʕ[esCIhK%0dȐҥKKܹv9*X`׮]jԨ!bLzvZhhhxx8P N׶mI&I Q^+MvM<\vmc|(ҰaW^]:DEOؾ}N:%ðx&Mdii)ݢ + ?ܸqcذa111!0jժEFF֯__:D7vѣ0a#G2et$whA,YRre1?S.]:$ckk'"C`=z^0w\ H@W>}qrrr[ q+V(StHsNn֭['y_uzCŋ}||>,ڵtH>HMM_C.:nĉ!A+ 11K.!PϞ=L:$oibXGYYY!P5??ŋL,]w!0>>>qqqVVV!y@DD'^\f֮]kcc#'Ly̝;wС&/iiiUTyt?񉊊05K9s=Z7 0O 7otә?~„ Fԁ~'鐧sttC鐧mmmCɓ'W›A,_PB!5`DT+:գGH ZfC`ggwbŊI#ǏW^=''G: Æ #oo޺uK: &M8qt?R?tƍGIW7kѢEzztȟΜ9cmm-tiiiNNNk^zEEEt:a֭m۶̔SDDD@@tөzO4IOڵ[rt۽{woJ*?:1믿JI&6lS4HOk׮x +%KSUVݽ{tѨQ>?m6!!A);4i$]++={ԬYS:ϒݬY;vHvrr;'O*i[pa߾}+|ϟwuuztoUxbѣGϘ1C7]vJLLVërʝ>}@!OPvttT_{J@AAAٸqcV+iӦ֭[KWl{I@?YYYu=rt+}]pt8﯆ϙ3GsN׺ErJe3Ju@keʔvlFR?f h"Wڶm+]' D5-^X=w!@.\v_"P޽dJuwߍmhܸqRRNKR^X*//e+knTPٳCժUKꚒ"sF6<pر5j6kn͚5 0˗6L0aɲ k̘1cѲ gxI>^'ԩ~Rod6o,[hQ߾}.] @fffѢE322mִiS\VVV*UΜ9#ذ|.]<{n4h@i @,0tٳg <  O0y֭[eʔTہN+ :ZJt++K.q_SեK8 (pƍ"EH<Pt+WHtR۵k'e˖-Z<//_^0`^^^Sٯ8O6m̘1R?#uzRΟ?onn.|0lذO?Tݻ/YD2N:n8Ӈ "KS;חl3^vȑ#R?Э[e˖IئMKv]… ˔)#]0>,UԵkDNHOO/X鏩eԨQرc"G[YY) +*$r:wׯ? ,XSRRND ''Gy)r͛E-[nݺo}Ϟ=mllD&c…:=..SNR?prIKoFTbŘww|N۷SRRΞ={[n=hѢvvvʷ/Zҥtĉ_]QFI*;<<}<*3f͚QF>DxmҥWg*@LLL^N~zbŤNXfff_ )qJ*P<_rիO<2_RJ۷СuH$$$~zS2eĉEvrr:sf̘1ӧOԩS +J6mڮ] ]]]_goܸqʓUVE~L 00p޼y"G+/>>^hcǎM>|PW֭###˖-GUв/O>9}tޝR|#F 8P,[[n"G)R"G?ЩS+W=zGy֭[j_Ǖ,YRy־}{CGAӒ?ǽk~)w͑#G322,--NE%Yf~၁"Gxwދ/~гg>H"Jf]|yԨQK..]9::ݾ}[\/^*K)߬_KhZC/u*Tof%%%uUR_~e֭(^7D*@ٲe/]$r2<" ŋ...%{F5ydN })φ~ѣdKt:]PPPHHl `jժ"ם ۶mkڴяb.\޽{"G_|TR"GP||| ~54gg%K(°_&,##GRF{*__B +I&e˖[l9zժU]S077233 eܹC ɋlee|"Gϟ?"G?"?n޼YX1˖-{?~G}ou9""B5` HW<_nݾK +uyÚ;wAD~D~988䔻xvz7?˗Te/jCLʄ 6bux*T7x޽zԩ?Z 2d_>|!/|˖-M4LLJ~8ydg̘1rHa0|տ  +ԨQ#&&Fw֭5k={V:D?KNII)Yt`"vYFǏpPի2+r7\zt`"F9;;_rE:͛7*WtժU:t ]{}L@__uIWQq|+{ NNN\t`DDDO׹sy/^\:yKySV +/ww۷(P@:0n I Ojvҥ###C>JWԩS} +1$1Ӗgt 9sԽɑZVtðعsgݺuC#LۤI+^TjՖ,Y*C2U\0 I d4o|!vZ___ +ŋׯ_oWݥCLFHH| ]aHЃ흘("VZ{-Xt`i8|p w:0$1㒙Y^Ω… Φ1z-z+a I @G ooDCZltp]WWSNIÇW\Y:Tn֬Y#F0=zHW@?ϗ0۷o/Pt  ]qW_MII)VtqF///',3mڴ1cHWbjeeeW6oܼysիΗ/_15vSt  رcM&]aHF + ~t']aUvkkk@@P;w6iĔ9x𠕕thѢ}JW#FIW +!ciiwޚ5kJ@gΜQ~n߾-bx_4 P>}+ IiѢŷ~+bSRR/.+$6W~뭷+ c۶m\иIWhEnݾK + _1$1UQ~K:;;+Jݑ#GCcǎթS'##C:DC; 뛐 bHK,޽tY~}eIhKѢEK GxxA+ C+W~ƌ3}t +-ܴiN@P5==]:`ʖ-boo/=gˬY &]$ٍ7޻wtt///?kt,--,9$'N2et! 6l֬YO߾}-Z$]u۳gOC8pQFYYY!SjՃZ[[K@k֬i߾t~3nܸ>H[ I @ݻwk׮}IعsgݺuC4gg+WH7fff[nmҤtKWRHHرc+;~SŊmmmCmذm۶}vnk\ Q +]~,X ]$ %--!cccsʕ+K@p͚5ܹ#ԩt'yn٧O +!''y۷oӕ(Q"55t!1$17|sԩSǍ']giݺubb"aHbU)!%%E\~H9͛;HWYNNNf͒C F{{{K@uMMM.\СCUT  )S}Eu/VTe[t)"JX+vGDulDQ+*؂ HߵDckdwy~s<<w?g??;wr͖,^`BIaaa +Gz[v->իW!D@ 2,///5q999!))h4CHEgd88L&??^rB2}O7R$"0aN$-СCك/HM88Lܹs]t?ē-QLLo,ջwXt@ǏߴiHHD& N ̄C˒X"_JCDMHH;vm-[HD&пC+uVLุ8t(+WmРA^^˯.VZABE88D۵k׈#Jҥ˩SxkR˲yǣ+ڳgϐ!C?$qzyQt@ _ӻw!Q`]6:dw8:D^z8޼yK.Eݻ *=$"qFcN!J:|?E>žQ+iV^n۶kPUUT)77Wz'E8+V={6BIG駟$n>g_~-??UѮ]2eʠCJHOOϢ"tb6l[bEtɐa aaas{7e\rƌ +@ `0Ch.]Ծ}{tPPP =_o%vӦ2%{{4'''tlHD"L2eÆ +%͛7o +g +Qlmm{N{iLe˖ʕC@ . +ruuMII)[,:dP㰄 ,ZsɣG[tt(#Р+@ R֛7o{AW}.$"<~Xӽz +UzCH'OhZ5=KܹsJ7JMfœǁ  ,HD0/^D()::_~ +AWRJnnnK?/,,lӦ4k2?믿F3$"EYfڴi +% 6l׮] +Gp߸qݽ@$s%!!2%$/wMǏ_~qssGrȑ/:WVsK "@ Bh4 .CHvڥCDS`Vڗ)عsK.}2O[F$/4cƌիW+4s+V+H[ )=z^~47...y3$/q???5]XUV!33ӧOQ 6(5 4+s]d ?@ *5Zڵk:B2绺޾}"Jͳʕ+W߿CfB\t}@TjCUmw֭[7et3a„t(mڴ_~-maÆ+VD$9zh޽Jj߾K4 :d #̟?_WG駟D>>h4xt qIQV*zJۧR +LpJg@ |s]lBI?Ú5k$Ϻuq +g{=ggߛ[իWE3q q}&鍳}jo˖-322D_QIh%FEE{ddرcQ/^}uZ +@۵kQ P;|0B +*dgg7mTʕ+6hBֈ/-\pѢE +%h׮]#F@W9ftQxM0B@ 233?}Q m=z^~%00666>ydt@W6mQ ...wA(DFSN QjԨa0j׮g;unݤ'$ƍuVt,Y2w\tɳzjuߪ}AW|'OhW^CDiٲeff:џz|On޼VPPeĈ;v@WhڴiDW@ 7]o/B377"/*UmȐ!CWhΟ?߱cGtY $۷#GJڶmۨQ$̙3WZE:ʼp႟:4޾}i*7]]! @ 2%D(|YYY͚5C ՟Yh!t(ҥK۷G +q qu0`@tt4BI7o7nY|9s8q"88]!֋/t:QF999)PTT԰aJ + <}4gY*OOO5]1cDFF+Lܹs]tc=*ɔ88ڨs{5j0 kF TÆ sss&L@Wd !@ b4;w|%t:Էo_t#]]!8zmt(q21$*V9s&BI#Gܾ};IJJرeΜ9K.EWZffO!|wǏGWzp qqㆻ{AA:D1 6ɩT:dx!8;;Y-ZqOGFWJp qP)ŋ:t@<Æ BWbooj!žQ*TݴiStY rmgYXcǎ ]!,:u*޽{*wRRR2e!d88HoW~~~FT>}@(Fќ?cǎg +Qlmm!NzEj۶mzz::D^Jg֬Y+WDW(iVBW<.\ȋ`E+,í[;|}}/],H2;UVA}+555b1֯_?uTt@#*8H&>|pqqQ57]&JCH߿]!4G[n$}nN>/V$wލPҚ5kTv-#k.ݙd@ 8vX^JMHHh4ɓ'A˗/!^_B}&/aƌ*@ =Z':D1%RiUTGXA8p]! +/YFT@zuԩS%۷O:P@W<7nT1ґMMK3q q +lڴiĉ +%暖ݻ...>|@rt\|cǎF"ʰavڅ s@_~qssG(nݺzZj]viiiQԩc0TԩSׯ_(::_~ +2kHdѤm^v  tɳpBKzxxH +"JժUz}z!d88Ȣ͟?ɒ% +%M2eݺu +'33ӧOQ&MPOOϢ"t(gϞ?@ ˕뫦hB:,W:dwuu}6:D͛KˣCThŊgFWq &+Lq qsqq_!KNN@6)) B,w}wItv9|ptɳo߾!C+ CWX/^t"JFrrr*V!3@%22rر +%ѣ +ګW!wܹ.] +đ^lق 3@޽{߿G(VZAB2H]v=s :D %,,L݇'NFW@ KQ\\ܾ}tblllN<٭[7tɳ~S+ׯ5k4 27Hd) ]oڴ ]AܺuǏQBCCKwѣDZcd88"deeyyyMI&َ'=="Jݺu CժU!Vm…h}SLHdkq[[+WxzzCHy-]]!FGX;igk.-- "J +6m!0$2Ǐ߼y3BIK$OJJeԩk׮EWߜ?|˼@ 3K㹻_zwW,yyywAҢErʡCۼy-[l +B@ sTP!++oA]!I3>|pqq{.:DujժC88 -_\eg$KX*Z=zHӽ~"J``ӧyNKNNС/Aۻwtl//"tb5jSbEt`4;w|%t(5j0 <'R̚5kʕ +7h tBF#DoBHoӧOGWt>}+s}'##"Jʕz}!d:HdV&OPQ/pTj7otss+((@2bĈ;v+HaGt( B&@~-I WWTײi&77"+*U!֭[?+ZvԩSd"Hd&޼ytbʗ/ټystɣ5ͅ !T1C׮]Ϝ9ڵk:B@fbDW(iӦMǏGW++YfR^hh޽{JZ~ɓ$>^˜1c"##d +?-%%BJ@  AW(SN} 0]A\rOMA/a˖-CWxB>}"Jƍsrr! $2p(?x`}3%TٳAAAC qƍyft)L֭[nnn?~D(nݺzZjgذaQQQ +QxA*n݊ɓݻwGW88}||tb4M||?:9vX^]vԩ +Bsuus:DZjzB88̙[J/*5^Z':D__߄iC,33ӧOQxku@ ђ;t蠦\l2##\r'88FWRr C,Lcǎ#F@W@ 򜝝޽Q}ZZ:ٺuqEEE+\kNzB蘝ݤIt 5rȝ;w+jժӧ+H{ICQzyQt~Mz"J۶m˔)R@ q?.+Ԯ]X痔VZABf'""b„ +/_>k,t "=t:ݳg!9jɒ%GWbccsnݺCIqqqQ쒓=<w :,͛7?~SNDѠCq q"Μ9ӵkWYA>>>/_M-޽S!֬Y3m4t@֭2e +}/^hڧOCSBMCHM6M8]!Oq/g4.^>==]zWB?@/׷o_]{a#GDW<E {AW<~X:>~5:D --lٲ;Hm6ftzq1tɣPPN˜R7dt@g^l} ߠ!U^G=).\bnt$<E\xC88ԌFcǎ/_Qɓ'w y233tx7:͛7:ÇQ6lSR%t5$*%K̟?]qm޼]A绺޾}"JͥS|yt[8#Gܾ};NVVwQQ:D17qttD<'NܴiB[[6mڠCH&O/:to߾ + HT +ׯ_G(F:̺r劧':䉏 hѢ +Hz^B5 Cڵ!T~pB]A f77;;;t\vv~[B``ӧyls@rg<̲P FWR|f͚C*,]t޼y +6o>BgooO?###+ڻw/uٳgߧAqq~J-ىZr%u@sEEE!m۶w!: +/BڼysPPuSSST*>|HŠcvvvVCmmm_~M +p\o@0O9rDb=z p_љ>}zjj*u+FFF}K[lYp!uCׯ_|9u.RTݻS?~~~ رc?ٳ!Q JLSSѣ/_L"CyzzRW?UUU})u+ΝëR~g_~aܼ0 JLll,w|||+n5*##:;.]P#ǎ`$:Ybg\.tFBK.N+:x3+t% keeu])J'77wذaRp'O{ t,ڌ OףG__ߤ$ +!,^[CX177/--ūR vW^tFK@ wq!Cdffr' `׮]ZZZR@銋 8 J:Nzw166VTxVtN<9i$ +6lذl2 +aHNb/..2 JL7x߿_|A]TWWsCѣG!8;;_rUV! + +ZnM"Y0tٖ-[.\H]!)S>|x:u#G+Xi۶myyy޽CC]ʕ++$ κ~ׯC{Ԯ]+ڽ{?u3f+X/_6lu4aPMEEE!dgϞuss~Ջ/CX4iǩ+XyR駟CXٳgEE% &5CBBbcc+#F\r:N:jc,fϰ3k֬;wRWH% 7tP)kܼА:Y~}hh(uC2e +us .ܲe uCSN J7iCKh;v젮￧acǎjK.!@ @H^Kׯ_|9uS__RCXٳgeeevC4_aܹs=0(a'NxxxPW W%KPW+nZvի+  J!E*''gRJ3֭д&,VK"0tĉO:E]!{RW?/^P*ݣaʪwt[˗!QH% ?w\ +!yxx;vxKLL`E__‚:LBB'ÝJN@ @HW2;wVC} +ŋSW:u#G+XQ(999= J8dȐdӧOS?FTJS(phr:Xuu5#Vz]^^޶m[q yk֬҂ }0aܨ+X166裏Cɓ''MD]~? JVZZ@"~qPmڴ~)f+ٳwI] +^~0$6667nܠBupp~)ft?ލjuC +͛7oB ~$ip|$2D70*--͍ L@ٸH2ԩSƍRaaaQQQ %&&PW% IQ*>Qyyy>}CڠA~WV͛m6 +\TTDŠqEEwJC">0$i驩BJHH~j5u+zĥ666uuu! <833/P@ @zv=k, +!M8ĉۢE+XQ(ك ͛7SW0_/]Bd0(aH ŋ!ԩZ*tҘ1cCXYz5Տ.vƍw9V ---Cp'[#Fr +uN<9a +J!nݚ:@4~g/Pbnn^ZZj``@"0dݺuVR```||..Nf`{߾}#FP% ix捃.P(Cɿ?rHL&ϟ[ZZ޻w:333JejjJ"0!88xB +~Ϟ=KŠIeee=CD,;;E·JNN Jp1cƐ- Ʀ@OO:ٺukPPuCϩ+Doɒ%111 :tӓBaPgϞ)ʟ~:D0mڴ)++OC۷o[YYz:ɓ'9r@ +T*u+&&&?]ݩC% 1cw}G]!m۶͛7ill}ݝ:% +kk[nQF__Ғ:Q*>afO:]T:PK]!%KPWo)))Ӈ:R^^СCzx3}ѣG+`PBǏB2dHFF~*:III ᖜjժuQW0l+4 XXXpqeeG}DTUU)ʧORz9LFIJkF7PbP*Ä Μ9C"d/// +৩iԨQ!tQVw҅:|Vٶmۂ +4y#GPWo111FJJʴiӨ+EQW0k=n߾mee+ D~oC]pLƍ;wu+EEEJ:DC0(ahRF&9sfر!OCCSII u+fff.555~g 'OP2`#7%###+G]IM._ti!BG2e +uCK.믩+46澓SCCu`_ZZjhhHHzۺ@¼O]\.x񢋋 us0ܼy:D0 +;~$MsssnksRy}Vt䝊0&$$PWiݺu[@@]+X/,,dgg>:D +0(a:;\SW2'ON4 6,[ÝRW0t!OOO +0(aV*=QEEE޽C )})6] + =*:{!`P 4uT$k۴i>L]J۶m˱Kիvvvo޼ae.\d!L`PH]!I&?~xf۬Y+. 6X-[,X J$ܹceeKtYRQ}-Aq߃ܗ/CX.#GfffRb``PRR2`aPgϞڵ Q*>aW^R:aPФ H2{;Xt)w`E._|yذa!QiiinnngVSWƤ]^^u𓓓3|oRn: + 0o'ON0B04Cz/Mۗ:yⅥݻwCX*,,2x͍7CX0(ah>/??D +VMdJKKtf&Nx +`P]ٳR9q?3<<<+Yx1uXf uC;w1(av]KKK)icǎjK.!OuuǏCX2dHff\.b:##>}P JLI婩SN&Lpi +V+++?# +o߶~%u+NNNYYYZi9 JL_>44BHHرcΜ9 %%%y{{SWپ}y+Zr%uEaP`b+u`ps%s玕q1 +:~SPS% FIZM"\1tP৩%++:Ν;shC@HO/--544i JlܸBHaaa[TTߎLvԩqQς+Z .]3fLSSu`lllqs%)//4hއܹs}Ox3gܳgu+2̙3cǎ ={fiiy}!އL^***xZ++[nQҵkWJաC~0(a.77wĉO<͛+7i_CPdee9::R >۷!L̜9sƍm% =zp=… qŋRoT?9@BCCׯ_O]!N:g!-@ νBBB^~Mrݻws玏Onn.uૡٹ:D0wڵ+uH aP`ڵk^^^eee!-wM>WcccLLLxx4> @p?mmmCޗW_},1(aƝ{{롯޽{+@0I7CW\\cDiƍ!!!!99o߾! fp^"J255!EDDDGG#GLOO/w~yꐖP(ikddu0(ah˗/,Ycꐿ'/]4|p`ŋUUU!TVVу:DJRtիWRR3u`0(ahѣG̙SSSC.˗/ޥ=<((h߾}!8p?;rԩS+x޶m[۶mC@ @Ns ())100RSSΝ+_M:::00:! J~@ի[5tЌ \N]]ZZJ'6oL]qFzM% mPTTĝ{ݼyWׯ7KڴiCT__oooVCCOOoʕqUV-aPuuu+Vؼy3՗ц9;B3p@ + 7J777߷o5u`P*.\𡆟wʔ)"m[~}hh(aL&={7|SvbP6Qĉ{nݺT*\_IKK9slmmqKfMMM#Fr +ɳw=11Ņ aPNH\.OOO|ٳg4mڴ)++O4++/^hyM}v% u]l)@RSS̙SM>֭[ϟggϞ3gj錍l奱g60۷opFN277/))144d %Ӎ=… 2L3OӧjF 333 <stooׯ >,Ho y5'211QTݻwg,TSST*^`͚5K.]w0(aB]]]DDDtt7,ܰaòe˄z4?7G=šC<===>;1:=طo1X<`PtA2xL]!**jڵo߾Xn޼y۷o1ryPPPttt֭}d .\ظ/P袂Q֭Z6551z͍7z@nbbСCz@i FyU0ĝ :i&AM&={MGx P[nm׮?`P{%}ѣGY$n:̙33s"-h5kDDD#tiǎB%I % x6mڴ|tURuЁiǏ_ZZ+hll*A x߿QP۳h۷o[YYzehhW_f&@ @޼yf͚HhPP͛5V:eLZr%$+Crrr߾}%I% ɸt钟_UU՟+--mӦ@}gcvv6H ډ;M0̙3W* +222ROOOa@ @J?p?^F;*:88TzWEEŻ2##>}h +3%Rw5zJJJrvvX`PԹs>y?vUV&'  d@ 8q.#fϞkdd* I?oFF;99eee-@"//\]]ϝ;(ݻٟΠv9~x" UܗVBBBXXXnn.b^xt;vرZҥ U/^ufʔ)۷ofU@ @ڸV۶m+u9sL66 aÆ}}x{mfϞ}I??={PbŊ줤?E0(apG<1u o Z!R@ 4 h% 0 Ja0@0(aaP @ 4 h% 0 Ja0@0(aaP @ 4 h% 0 Ja0@0(aaP @ 4 h% 0 J}Eu \;-(n̵>F'؏X{vPX (s8ZC.g@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0@0$+++ooo)MDIIIRFC@r(GA@r(GA@r(GA@r(GA@r(GA@r(GA@r(GA@r(GA@r(GA@r(Gd77sIi$Zjw)M# R׿o4                                                                    @9D{ݿٹo߾[G 襥p?&&gRRwA Ȕ߹s'99c@0&%4! (O?\2##` +9rӦMEC@P@ +@ +@ +@ +@ +@ +@ +@ +@n޽{GofBBBrrrJJʛ7o233gZZڛB| TTB +UVRJŊmmm?9;;j~8::J7T + K(D}Oz'Ʀ~ 6.ԨQ#)=@@8_~=&&~OMڵkҥZ@@fĈ۷o(TBvcРA>eP//ٽg̘1VVV| ("NNNÆ Cv__033޽9sZj%/k(ҹsiӦuMvG@ 1Ѱa9s @mI6met6*h4h 88]v;60{nO@P@dwAP@rL +۰aÈ#dw> +@ms0)\.`ƍÇ(ڔ`R=֭[(#P +A0);wewJBP@ +*9rsβ; qppvZZdw ײeWPAvG (ֶ?mll̼gK?To.|@mx_cSӧO/]tcǎq_:uܹsBLsx(Ç[n]~˗/Umlذaj6e(hXlٝ;wkɓ'UTQ ڔAӧiˎV5kL0A#)@ݻw[dI~~>mڴt)@ HOO[ӧ - zAP@#$::իW|.[lڴi|k^@@89߻w8lժ˗9}!(zɓ's,hiiammͱ&@m)Ж֭[Ǐsy͛s,gϞ%%%St,D^=^:mVVV ::?}vZ*NNN..._U&.+++''=ݻw 1K$t ŋM淚FE{-ut&֖v=e@@ƘI^^^yyy +[nرEH._LZ335jԪUI&>>>;vӹv3g~q?͛7Ғv4HF7nܰaCjP@S?PRRRvv6ahV^No|AG/TNÿ@vNhk9w܃bccuRJ4h hiX.ÈrLT {[_€cӦM[jղe뛛ko@m,:44WѣGoذW5.?~gϞSN?''KM$ЧO/ԔKYhЦ{тN*uB=sR(rjG ^3{,,,(y/N<^ei,۫PJKKwcbb藛7o({+yzz6+D#<988poẼ߿ٳ\jaE={RӐĉOYJFBa޺vڕzBP@ 4ر#jt0pj,GCU)77}Rj۶$0eʔUVסW>ym/~^z4S?ZǟXcRR.vϝ;wҮ^+SL>KVTS]xܹsqqq;[}*T߇\T;vՓRծ]{4T|NjzCBBB?A E' :s1@>3:q)Eq#:gNނw%OOϙ3g:T'Nt҅K7o6nܘK));SzK4bvvvfӲe+W 4 +Ypyh۽{U,???::4⧘D[ʕ+GFF6h@XYYY7nj?sĈ3f̨QFjժ05/Pݺu'LVX@m2~L#`WE@GVƍy.77Zj:޽^GwÇ{>&44믿fC~ + + +vEݻw5Zok֬{ձcÏ?&;377{222V\I^N"g + +v=3g1D@C'RF6FN>˫xUÇ'MwF#jբCI߾}W_рN``Ν;(//^YtQ‚ wcx˗/jՊ.^JEdd洨Z%KF-.^q4hΝ;jBYq۶m4V0y{{oܸL|wT&j; +Qt\MLLd hmx.]x\ask׮[~.W]]]E~x4ܩS3g-Zvc: +xʂ>3fP~B)o˖-r' YHH?6oUpɓoܸj+zdڴiƍcv$ZXJEc2q)I?~GtTBs}v\J={ÃKOZbnŊis@VV=UAm߾K7|c7T^}ǎr'S|?a&v޽ +HNN2 `4j(::K):8K)-h7YtY UB٣n#:۶m&//o;0773gb333vN{O:Fq^F\ҳgϔ@0 :tk˗O:K6l؁Tm/777hB&&Ozj:e^G.../^PrN8c>f޼yO=(_ŋUeJ* n++ 5&8Xv@a,,,hp6i$)),,lРAP`zL6mٲe\Jɓ'ۇׄJ*Ve.3ɔ]ve =z _vū?Z|'Od,B/**K>DZ9%@F<.27o~UeO#WUgnԨQt4ف3'Nϗ  A>}x]PWy??u4Fq:;::_233KII0MFRA#t7!sΛ7KJb=M...aaa~3VB j|#Gɓ'}bӮ]}U^]vG׏C@-@@rڵnݺ= +QFhx:bTM\\\͚5cnܸѬY3:[fS±cWRJ/_\ #8/^̱` 64r:p5JhMm! HP~.OtR.;{lϞ=ue.\Hae׮];a:fhc";w ҟS *MzۗѿF˖-#""̎jR@tt4t|iӦ&z_"$$de}! }s)Ee::s)UѣGZz5߲r~-ߚ&ر#%.:ZZ}\}ւݻ 8pǎ\S$11 6gʕbn([RJ&>rH^uzC^ڸqcM9sC]  ڻwlllx-}/޽{kkk/r8.+VHqʊKJwހ:ϥ]͚5!!!CoRNSP)h{^kYhQ@vxݜy֭͗"5*FÐW @0޽+ 6=W޽{*hP<<z((5~'z +w1+"QnݺYl +lْk%}||жmدsɑc FW͓Q Xz:t.*Uh^?ܩ)~͍t6665QG>s"&hOJJb9( +W@#Dȑ) =4^N!M4a]*UpwwYe\\ܳgbcc+Tp*e2P:ӡ>P.]*ךe:ҠAO.]ԦM.iժJ+țݻS 7Ew޿_>̞={jTlmmͬ\r*U(ѧAjժ^bUhӭ[7OOOpKݻw۷~5fp7ٳ:t^{J իHRjjB޽ exY8.DϺu블yNlٲeƍKkt}add$ =5צM^| +;`q3f8W, Rc}P::;;3iiE^N@a@={^:--cO(Ӑk7P@kԨBgq I}x/ } +N:ҽ<,E>D>}=⢎/H}۶m!!!|GkT}ɓ/UI [nUݽ(C&''߾} +ѹI.  ߛ۷oy:tڣ}6ZjztPŋc\J=}F!uhlҍ-Z;u':qr,sN;iTMuu딆n{eC(mݺ@тWzӮ];# GFF^,kRWZn U;w7o;v,Gb6m4|p{]Æ UmתUk|󍂩 h4җ! MgX^ᇅ 2]s7 Pg͚r1賣#[iFw.>s,2Q1z>ڱdr,1z72ٲe N.߿?ߑV\XɓF5=۷UKPa嬬3g;vv@___u޼yCǁ/^XŊ̙3}toVZ5{l^>VK(9s&1g[ys>! hıٳg;vX$44u۶m:uR}:ǻ'N~Z˗/F#5{$'4TRƲ #lB1Ypp1cT3)|JsSCu4 ?w +5'''N4jԈWAa4uۺu!C*vzQ[A{5[FAAZg͚ű! o߾skccZB"tkҤ giG;ǚo޼ <|0ǚ+W hK=z{unܸA{&O}^;;;f8")3g7oT+ :Bİ޻wˋT $y\Q=y$lj +4?ާO.VթS6)kqLJN|PDM6㏴WC @SN}WhՋEL^Nǚ޽A9֜6mڲe ΤaÆw[\~iӦ ytȑExMѶm[:&OڵF#))M6Ϟ=c/5|pPNٳԨ]6/jժťZ z:Thhh~ױcG.O ܲeXL/2A @uW\>eppq4jԈOOO\]]y,2@@@Dž+Ws;;;Rݺu;vcJ|a2N.@ }v"&۷/1~QFq)UӧO666({jj*{):"ݸq}--M|r:={{9ۍ7XݻwB #F? #G 43VVV NS™3gO.!///^'{ൾ5kp8pcA777ڤY*|:up|~3+@Zh^GcܸqׯU8^7ӧY^=" صk{gx-𞑑>)v}ցhRx[OLt:x H ^eL!(M ^sȑnݺT+g:\JtU2(6===[ 6RFtc,yfm߼yCd9HxxW_}^G4!cKKK)"] z^ёb07_ .KiҥK\wrۗW5] (M 4>s֭[CCC!JJwEΝqIM=zTR%.t{i.xMe2P: =z3& ֬YKRYf„ \Jo߾},xMJhc-۷nnn^bq FO4cSN1.99KhΛu[Pڔ@[QDDĮ]CDҠ=E7n|mqꇮ\Һuk.*VJ?pYr4c\G#$$ԓZA/_d)ҪU˗/w@D9R2qゃGømUT)66D:uzt655esƍf͚1Yp?X$??ٙ1HC+kiz1 6u]@øKڵk^gĉ˗O6̙3-ZX#@^^^111/ (ЙVQhwj]ٳ' Ȇ Ǝ˥?\nV͛sمyye +ccchAںu2 'gϞa,Bh[bAoooi+.jw1cҥKP~ F.]XCΝc,n:^W6m4|p.6Qt7#???##~{= iğsݻwa{I:\pQƳgϸܯ }\ސZj=}ų3)ӐB5,Fѽ{w_~3:uʕ+x.>>^02d+bN:>d,qj}լYNm,*Vkoe.GGG爜 +ơRJ7odKʬ,. Cwjp͛ի' "00pΝ,(i;88Pf)2cƌŋT`NZly(yf˟˖-c3yu?[Eh_>KJˉ0) \8S@mfdd$R?.l޺Rf~1cưd۷oRE5\\\\Mׯ_S0f}sa,ÇԩXd u;h :7nhҤ {VX>;tP=<..Ã,@@Eʕ+N^[nGaÈm&Gp.oAb޼ysUrМ-7'4\f:~Raѣݻwg,Bn޼ٸqc: + K.dz?Iŋ/40?kQVT@m4$zu[[[.(KpYlÆ Gf\̩W޽{$''רQB2u׮]㸜vV4iwԉ!B[\V;2MFFIHߕw eytXf,k.]e<)x % JҀ2 + h`R8ӧo/eҤ$ggg:x!mjjjooޥv1.iiiIR/X%vvv)@ݻwW|U{e/൐3(FDDwF6mDFFTuMX@VVVժUHa̤pzGGG"}aYŏ˚&^ `%}4jQ{^pѫWp:N!˖- + +b,²ŽBgqQm3.C)%%i›h<,2~W",}:MxL(xn{ek("4x捾U< gڵA4 RAS4a˗/5sN X)~odY{J,FF6m< )`̘1t `\]T .={6{:%ZI~;v`C~ 0QΈFi?_z`&MܸqCW=xqKKK:~VZFXXX޽K.q)x5׌iii^ժU+>&P1)_~J{.(_re˖uζaeY{ .WOKhXv-f7A&&&DULo[uڕq "ӱLehd;֥K.5(Fnᵒ#b':!(My ݺu[|9zZ;,,NBBy^˗/Ԯ]}A}%W1ܹӰaC}:pf*nWm6x`^B[; 4U$88xܸq,̚5kѢE\J={p)eQFѲ{a(qF.sI :b + hS~ hݺ+W}ښ/\sɸL0AsY]1[[[J5DDԊ?ݗ?lذ-[srrmi\\(yf.KHc NNN))){a(O ԃٓb + hS7Ν;zh h~111EhH;.Yf +nCP^^9{r)???"/^l۶_d%n|3foW811Q;8y?EY ׯ\FtX&ssseP<~>h/9s%K;@:!(qz'OL㭊+l466#6|ٳu222/UiVxyw\Rb){*ۺ}4ee*hyG2&W2/zMYqƍ&M(x!5kְw@3i + hcQFAAArAk-0:t۶m,έ쉺++[F,]t:u>x@&~:uX*סC .VщuY# {a@Ξ=lYѣGoܸ2b + hcdpљ]vPbŜ"`nݺť? 2du'O0y GTT({ cǎݰa^5i$ex׮]=r G %n B +vD":lj9:i`6A. `޽u_Q hc.)I&+'ׯUPP@ꤤ$ +~r$ 1c$[ӷfq`BƌTKɓ'}}}2JiVv/ aX\b + hɓW^^<,]*cǎgϞeE͚5?pddo>h -Aw߿[nǎSPSrtX +,o> qIc \VY|dnn޸qce=tPϞ=0|p.+6-[,((Ax< ,KOHh3g.YDjtNNNvttה=1򱷑}Y4>`.K+c \-e͛76m^C\&P @m۱c,ZƝuP쇦OtR:jѢŵkX*|l:u<|PR:u:s'ٳ,g֫W/ +s>}8q00z7סEk=|!( w쳰kX<*?ܹsXbʔ)uJ>И1c>\uշ˧NɿFRo"2d{[[d=Wq oE04C:Q4XG{iZ(6ܥV^}C-pt?_)U||;䔘Xbŋz.Soݟ?odyyy,G|77oVrcժUcCyu[6μy\(<==L@Ȑ!C(6juh2 kjjJ@Uu/GΝСcͺui ֫I)x--ڑiwַNq޽;KxXJ*iiiܗ(5ܻwAu T),2j(y!(  uV:7n9r${FoS)uXj-F%MNNQFAA^Ethʖݽ~z&Mfu4(QTq~۷εkך5k^8kϷw999ц]<*748q"{$YOT#( ݠ {=zσn֬Y-b3tА:ZMzq򸸸ႲY/\Ю];ik}[;wyv,G\ԂךDjXiӦMdd${ ^WpLԜ$~D@(w_޼ys:։3I֩SѣG֬Y3a:)[^W}|ݻwײnGevҫҨQϢ?Pgh;#3#4\3 {ŋϘ1N{;;o߲ݻu@@@ t^zzz:{);'t¥T[VTvZƘ1k֬DÆ ۲e^/?e^Q4/4MժUKJJP\ANNN,h>yv\zUqضmСCԫWOjƤm۶uh׋l>~@@(^ÃyիWxx8{ggDwx-??_qOOOͬ4*0`/W0`ff&% SZjҤI&˦;vݺu_;J7od3{ 1FʥԥK,m4͛O?q)%NR!( J6m~q)4hЀe0]D)&K=}4KMÃޱc^/ze*Umk׮ǏU>>>&$$ԬYH{َ;*~M|r:+W~!̑% @7muʨk׮hтK) [nկ_K5!( J^xQF .?jKkРA;wRr)I[loY*,X ((H_~q< V899y,{;l` &L`hwOyڵ\J;v݌e5:wxEAP]I9=߿ۛsss:::Effsvv +͚5[hb׭[7vX-*sO8Q~a…_,wޱB.1_\2۷/REGG˝SAÇs={UM + h]zyyݹsҒK5yׄm۶eG_]*rNbbF;w|}_w9!ݻwE~Oɓ\Jծ]͛\Q]\\`c"FDC#w 6ꡱ m߿RMee\_yxO>W_lѤpo:u+[sQӦMy}O# +fxUڵkxx2&On۶W515k*(CEAPˣG*W̥v϶oҥK\?RJ\(//-99Yd!˗)S9v铖/_>uT-{Օ +N8qռ9FΞ=ë}df%iDȫիW ̙3;wUּ +vXQzΤpe˖;W<3]iQw'O;de:"yyy=~W*U\pApCXX@P@i&::W.]8p@ }ojjOOO^uժU+aq5j6cǎ kݻw9E٘BetRK_|Ņc2_~XNF!!!6AP%tm*TXSSbXP/u,%@pp0iii\&m|~g1dѨrŰa84|.\СߚW^-[ -??A\ֲ)ҷoߝ;wZYYqI)W5MMM7oα^ϟ?w\ qGGGaI666/^5\tw|gt,2i{5C0)\YGN)҈6s777 taPPoGP@o>d5۴i+7oތ7ɥZ>}Y_jp2NHH7|åvMnݺU@C⬾k֬[ŵKKK ߳gϱc( YJS:Rqliiw͟?_|Ϟ=۽{͛ + +|]y-ZqTlٲm>sMA@@:7nΝ;|˺Yܺuk|0)MOڵk׎tFZpG###W999\i!}aTL4RW娙3g֮][&3g{ɢ,TN̊+T*N;է$ ;|:ҦBCEoԸC+J*M8ۈ6bP_4K˖-ӧ۾};~KPceo3F&8dzƫZ(= +AE;ښ^hPEo!Cu9BsΝ={~},Yķ ]&ik>>\TՁ4+ܬY/>>^[ WE6lxm-r_!;wx쎨ܟcdɒ3gQ_︗Φ.888P[ŤԩЄ9q℟M`"uP+ihĉŏeA ͛'&&7n9r^"99f͚E3?ܵk&MZj֬YC} V^M,U(gϞbl1??wުNe8C@"""|||zw}w!a<ȷJh߿o߾޺uK 3tm۶Ocǎ]nM@^zղeKA c_E_mڴ{vC J2b5&G>:Gtfݻ7ߚ*윞αyiaȑ[ln:tp9U(/ҘF/1cv>}J۪Q>S`P::2})޽[幻+T^/LzjZj)))6QIݺu>ĬQݻ ~ +Y0>Lݷor3|ڬY-ZīZNΜ9ëZ:ԳgO^ժT@?yTUcz)pխ8fVׯϟ?/jC 9}t@@P0eʔ˗=9/qqqkuەhիW\M0a͚5\J @i:ucΝСzL +g9r F#jNNСCCCCeu@U! '{ca|^^J^߯X,/JJxEPPжmۤ=h b;v޽; `'OA;R +.Zhذa;„ fb`nnsggg^]n̘1KZj=~X +||rt)s3纹ǫWT׮]Rp)2Q]PP7}["chm6:jY!ClݺUv/z'CCCicT. Ѓ`ŋxBb7h8w\ ԫoeYmJ֞ꚜUT+n޼r;v>>>cƌݻ7D5]AAÇiFQv_=tCm׮쾔.'''$$d=899Pϯk׮fn(@&- \VVڵk.]k.Hݙ77n4kLkmG _UkLb +1111˖-۷o_FF/7i҄FrC s.hB1`ժUgϞ5hccӱcGSPݝO@FTzuR:tԩSF$ά eBNNɓ'nJG^SիWoذatN*Ou|ƹs]/Gj׮ͻG"//{ٻwoBB>ЛE ___::88l@/^:}txxd=V^R%J }ܿtJ)1oܸ1g˖-ԩc ȄERRehUfkk^KKK w.\w`4mF<^,vvv_}kaaλ;ޢCѮqڵlUsssA? 5(NV3)ƆK +BNx{TZZZAZرc-T+Ld +TGvêGшiZ_2!ͥB7nP stZZ*~Gb)htirګgݺu5P$###PddӧOXbvpp-6`4ߘFZ矚wʕ+wG#{1?)@&0ntzJJJٛ7o2 /4wtt/t-+P#P $11%gVV)4Ȱ133/Κ Trr2m*ϟ?_4 m'/_\+ +*FD "0C۸8ziKMMIOOΦ_ͤ]bED;=Ommm %le Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȅ!Ȕ$igϞIi$;w4|SJiZC~xkԨ ihƌK.ڵk{)Mk666RVZJJ@)SZJJ6l=z5| )MW\933SJ ッ4e˖aÆIiZC~ (Hi:77JJ K``ݻ4k׮HiZ Mvv4 >}ZJӧ5 "&&&Ji:::[J K&Mnݺ%3gtIJ6lx)M߿wRY_z%i6h@J|||Ξ=+%KIi̴zbbM $|סR9rƍ4 Rܾ}qƲZɩPM $7nRn߾4 RܹsРAR6i "o_*{⅔@Yf-ZHJuԹD odKGGGY`z +t׮]=*".\СCY8p_V ~Ji_4] @||֧Lb +YH=ҥKO.u *U͕zƍo޼)i?1b u ~111R633?ʃرCVnjԨ5 % 8p׮]ZzAAA,--߼ycee%".\8{lY+WnZVѲZ/b(СC={պcbb4:uʕ+e>xm۶j8ꫯ$vTWfM.^xƌZ/b(pQ^Yc;wjvȑ=zH'$v@À@>}8 ukkkvvv:;댹yZZZ*Udue˖I͛ddddgg@ӦM_. (DDDmVbZh%׏7Nb&Nzj(b@ 77jժ999pԩ/;׭[{K@ +sgΜSn֭Æ SSDggg}(bX`ҥҧF/xnÆ ޽+{ 8.U#,2P +Ԕ*oh2)X6Y2@HT25HMPS1F&b ;Q +=z0>z~sv.hPQQ~= /r~~l%77744Taƌ͓mJ[@qww?t`hܶm[޽`ۧO۷fl޼900P* tنK2 C ǎstt͸Js@ megg+h'O>-1nܸ˗6\Osl6?C%ѵkJ `Ҥ+ZhWin(111˖-ho,ZH-QVV6`"|Q'''ٌiq 6LIym6VǏŸ`6]]]?.c֭;v@3̘1#))IN ھo.^X+WJW~!C444H֭CC`Ϟ=ǐ=zȑ#!͞=ߗFX\\,]qd*++X,!C_^:"xwwwiwdeeEGGKW\hٴi,X ]qСC +pG}ĉ!W 6lڵy:qDkVZ5zhFhw(f͚7ot5#"]憇k<<1cIW(!!Am ScǎN:UUUuY:l`ڵbH(:::55I:@wcbbftȍ̙3w\[DFFXB!:`ӧkUUU?߽Cᑗ#`Ξ=rJblc(qqq3Liii!laaai?w:H܆ ^zHThhhjj/`ϟ?/rSQQQg3@INNNHH=zddd 8P:~SLϗgyL- g޽!K/}gnnn!~ҥfs`ظqcPPtHP֮];rHk߾}BB{צM/L4L:"##+銦Wsss+? %UUU|AVVMT;w{]J4 #Gx{{:uJ:z[oEDD888Hhځ>/RO[*JFFFlltE^k۶t TTT,\0''A~z  69T{-lݺuS122K@^MMMnnnvvMl\j2{)<69?w'Oi'|244TݻKk ?:;wN:&L ]l:q3ftqpp + + +~}Y'''"ĉ?Caau;&sGFj*銖DGGgeeIWXGtuu.Sf~۱cGII?{n"eꨦ^T.]CZ¶ٳg~KX_ǎ=<)Sku=sk׮ԩt]a@IOO8q")BBBڵk'rPV\e6Ci#Goڴi#rb(W &888H]zʎ;F_I@[ ٳΝ+r/h(6Z!Њ6m,[,""B:PN>=v^:v횗 rn(%GӧO@zַo_uwss8.+((7nӧC ..nɒ%NNN!~RYYV^^.{CK.7nt ]… sINN@zЯ_1z_>**;18yd~z +?>_tW^_|EPPt<[W_=ttqҤIIII&IE7:w\bb"W??}Jhq-[C<@bbbllt0nJ3 n@Snzҥt1n699yѢEgΜn QF-XSEMrO?tm4hPRRR~C jP;wNW 2dܹ!l555<8 @h>|̙3/bK-t…O>d׮]-r}N:M0֭[rrr^֧OHb 먩Q`奥#xyyI<>|8??o-))...Ç qttα ek֬),,ܴiS]]t6l:_cu6lPK`ƍ;wX,E8x`u֭t=cS555[l))))..޾}Sd899yyy 0 @{!] I޹sgyyyEEž}> +/Length 2967 +/Filter /FlateDecode +>> +stream +x?#j]0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L& a0@ L&== +endstream +endobj +12 0 obj +<< +/Type /XObject +/Subtype /Image +/Width 645 +/Height 455 +/ColorSpace /DeviceRGB +/BitsPerComponent 8 +/Length 67274 +/Filter /DCTDecode +>> +stream +JFIFHHExifMM* + (12BCiAppleiPhone 8HH11.2.62018:03:08 17:52:25<D"'d0221L` +t| + +  +|8848840100Ǣ2T3t4"z 2018:03:08 17:52:252018:03:08 17:52:25 ood2Apple iOSMM  .h     + +         bplist00O%&*07:33-0)+" ##&() ! + +NO_D@^M?ntHq s@Y]4b j  M<!# 4% "'M!"/<Cs#Ew2()'" Np bplist00UflagsUvalueYtimescaleUepoch|3;'-/8= ?`Mmey!wq825sdd  AppleiPhone 8 back camera 3.99mm f/1.8 +http://ns.adobe.com/xap/1.0/ 8Photoshop 3.08BIM8BIM%ُ B~4ICC_PROFILE$applmntrRGB XYZ   acspAPPLAPPL-appl%M8 +descecprtd#wtptrXYZgXYZbXYZrTRC chad,bTRC gTRC desc Display P3textCopyright Apple Inc., 2017XYZ QXYZ =XYZ J7 +XYZ (8 ȹparaff Y +[sf32 B&n" + }!1AQa"q2#BR$3br +%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz + w!1AQaq"2B #3Rbr +$4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzC C  ) ?cط? jf"HL,} Tco^(XIlz2ՌWesR~Ԙu3 zT8FiƛeEcaE^5 ✨E$U +J󩼳@B +pLCgq j Xw֡ѹQE]IՂ7?Q~ՑkVj5Lԕ:Tl)ihO;TE8RY&sKEoș7 +("0)O>ͭKR]HAjit~mW?l +wAQE"g)A\vP>uvsRI!|Fڌ^I#=+o'/-i[Y">4*Rz#rXSn&H]=EICm1-MPީ̮QES(= 0}ihإs1rsJsږ9=iQZBhPя`b}h斊=[h$(* Ũek c/xԲ0?Wց^P0I 2+|>]R=*=^|E`3jI<~5v'YncMBpr~k/# wV!(~o +e,zz܍ںB?F_B◂|C2]9WgE.ʀPك +v:G8MPG緮qv.v)4RG޾f=a֓b횊IK@EX[([P^]\"倪xSeNXODeXG4^qLVUau`pVaQKc)EJ|UXו64rqRhCNC]]Raih10* +Q|b3Uܙ_ɧymt9SqR/--Tȼ?*QL;CVbjcF.R&"# +~I?@*mV yyjA/~ӟq㻫]Mw,Ļ`I|}cUIn<76nkW;| FiZlcwIJ(c=:WGk[\d,x w5oY˫!3l2^|og \Iah*=x#񯱾9H?Ң 3jRP#oJKr/9VVU}gVL3O fY? +WTYQ cwk ߋA|yDj`O1z_}sURQ<*I N?%Q{F.Gr(he}(Sh=夢 wGM wIQG*夢"h;h)QN~jeq7Cnlq;;Y.8XԱ>¿,5|leKÛI*J6Tzw?3{#>,Ԟ-y4cqʿ>f)G0B2~4|v¯KNdH!P&~\e-N.Y^3!wW)|cON~.9IYaN+W}[nhqVxmXm"(U2ݰP937y3˖>szx3ZP`cP+0ZF9!Σ>̴mW*}L}̊\}gNZ@S˨?һz'?_LeU O^;UFFhu9bͯoM|!dڟ }[LQv<`{`zױ"j?ߴkvbfufI\[y71fi*dFS';O?bo-L23 +ҿǟ \N>"|8'חDŽ5x2X"TPe+Zif?c~}%@czyqtҴ E7m`jMy¿ZŌ" +9+ӼuV.VUJ_, +Z]\諴UGU--GN4$J@tIMI Bqɮ_֡l^cE'ξ6#\>UfjM*WOۣLm3AeApSm}"&C{z +)MgW6̖rq?:tjʎZѣ{ ;'K ##V߷~c WĐ|? `."e6Ҹ"(ji6AñTѴ[Q1~BO[;~, :{Wm|$`lҚIm-ݣtg*ې|b+96:#(? V7>CYv A'5:y?041;v'ŏ7?*RƱoitgewFN}+Ǎ^gʑS)TQ4WF4{D-eWi'ھ~|2xcWf3  =kz*E^Q7]V*>碹c6Z6&;8~G~uPg+^/Žͬ#) +Tu'ފIAu-6>~5U?g2okw={Ks u#$]Jb %II-O^E#Xڡx;nR3^sG.Ì^n@ `Gݬd3=z1|IL1 PG r}E{/_ ~ߟ'̰޿z?L##\hĄ8d=_爼ksAR6e;(|½V2Wci˞<>S|)֕_ hB%Lzvߵ<)¸$1b֍o'޸X|GxJKSp +m#@>oqRI$-y2X㐡E*Kؕw{L> :k^;Agy%9RH?f~Ѵ{TEҾYbY4|eWŠ(yEPEPEPEPEPEP^Jm )+H>^* 5rW ;Op+R?mG^l?k Tpk4^\XZĶ"~rG+BMkk?hTtRk M,<}N\p@Zԏ!Pv㿱&_W>3buS_]Q6(%GHV;g +C?aoڳc \Ƽ/ +G|_Eyaigm=#GnXaNLu5Mө8* + ~?l_ +i J=Cy摉u޿/~u-PM!8!18R~^_.f?~7Od@# Uyy9U5*CCS/Ex\usWiooGglcB7MHuBV>z~Q$5E$=LƧ5vvfV%[;/)j\?n*o>97A=d>i`Guټ=WVSx+I׊;[eZ]jR_F~=k\ N] +ʩ.W#u:oXW +{ٶ4] Y61>0x~ SoyOjR_ xUԼ`ٶI7IH=jeF2sz O/# @i$@z_ǿ:W' 9sԞWo5 tt:dB;K ׵vm +$Ҧ7fb%U  +륆p=L:Og%jK$/ao _%D[ no$$!*w*G?<9em[x8'2ʝV9Ψ'x_'\ogc|V&,L.2s5dM4qt/E^ +$u#$Ư.UcY-fk%>6O?4X@Q:W!P W؊۸"W!Zah-QYHQE(ik%΁cľUōbYQ'}3ҿ)oċ]RM,`%#X3NdGCT0_iǚ0$pWZ텬0%&M8gʊcO&ڍNP2egRxmQ[Q<p_qm#/:?i)|_/5iL%SRzOQ~ ܐbF8ힵ [?>9 ftE=0?: F+V3Yɲ~&}+K_|p[_ۙ5v\O.E"n#v!mEs~HW'oǏD';YA`;zGor#xNԭULolJtt>Qxn㶝whoPÆn+,*p1]3iWaƷ 암$4xzQuV ⿮ e~;48IJg!߶=\8]\':krFX*vdo{zq[$t0~?>xcTzЂ1He9+oM' 7oM$ǀڿ%O|W2[c(Y9OZʽ*-0]G?7»m[WédV.sǵ~F#R^Mr\HϦϠYO6Tcx=鉨5ȡR*ƥJ1eةʧ,%w{~ڟŽηsNdp2\zg 㿆Ѧ0+/9ۭul\Zս.a!_?Ofv<|y݈S*Sԝ:ցL{߆A3VјvkFyn_OosJɯ..,YʦAڿ)>(˦uGZH_88x_ GZ[]YlhQ[FrKSC!ß>ib+kV1d`׭AޣoU֛e&]3_)bfQ/lNĝ{_ƾaPNnB*t~[i?ILP`p0[y|}JHQ]z`պ :)=ERqQEH(((((('8>IASp> +2Iuٗ +Hzh H݆ +:FwNUf)NC?^i-l Sk4*}NI4϶൞$oiIqc0?ޟZ."xf.|ː +ٟ%NV 㑁`OZf^A!;ҼL*nPUPFUP~Ed?fSR2#"L㏩c5?>h, UG= (Ӛcb-Q9W~ؚumZ'6WyO"ǯt?7\~2Cmm{1'#?E֛4Vy)f  ޿ړ o|D|BBο{WS0Wwq?"'#;^KfL_ዟ# +3x6Jιd 3JVK|_èkۛqhʄ˳!3_?Eض/؈ID۸1^uHʌ> @Mѭ`]jVlj|ԝ߶I$`G8k5KTm;),ntr 05\ˡф)O#kfw VGsV<}:WiOYx;IU Nx"߱u톨>(|>s$Y\/x;z={̠R9Y?gRI/* ڹM_' -N|enĀ2Mn/SMV4IMLMJ5ՕyZ>hz|8$fmoڂ?_ϦOHfvI|(0u޿@_WFn4,1=;/$/3xb.{`dž}A⽼5շ{#PT =';|;ـ d(fwM~OOK 8:qZ^Z]y܏[WdTTZ]Z]_Ռy橼_&x#4')\ @2q_;ITW#+yJRُ !{ҿ2@:_ޡac"8(>k(w+zWg(Ęu|zYv*ɳn1OՁ_5ZR?u5Pk!AVn&n"`Ka8=*WEbbetH♶`{8f4vTٿc6o,^?1 wvA5?~֟ht 3*{0'|]Kz=O~\8tyq+75HbW[C{ux唂t# yoǫ/Ha_\} 𮬱V"PCt +S bEkfӗtQF?Z\/oI۪?;5j9b>rUFќ|aΈjOL,8 N~5qL*W3|eY)pwL zWGtpʜff9*;?7~h!O>T,KX)w\/!u(/4KmM U-վj] Ś3Vmβ#0W߲AKkŃ>RqQ"4J:&qgGݮoh"Ƀ; m>[~73(%N9$WjEEPƛ+K_H/~#'WhZ59^_TZpEIz)m}[#*\Od6guoD7VB[8?ZTx/MW-`q__4~?n/|UiD؎?5 s{|t> =So{?4?,Zd+,@_߶[ +@q6xt1_ɮos޷RO?~<5k}I x[FtXDVQ|O +W[7.69ۂ+sQEj鎖i1[}㟅7h%6mfg{VNoIFP$0jW󸚉͸,O)M;\AEO['qWuS$BQ#KE&z*r$ֳ,QEQEQEQEQE*Ի֡KKÿs1Xh#ky"~sOGN*sRGw|d~7]xM.Lg +k߈3k7@BpN3zt/0\[kZ|fiAÅ7ڿ/ڇyuow&i#8?*jU>FLu|9Έ?+bL0Iw_o߁:%{<(^0]^-Β 8U䩕E;7Z1db&,?ݧ߄*|3f dq'As~Ь^5"Y{ +-製\s-گ>g&2A]J$u;wŸ|Dkr<#}7: DCnUW/|/xZ=7E`%8J胁W-YJyo~D`b.H2栢0K7DNU+axQo|>.4'nq5Cuu <8joS ΓџŧV~ ]_M: ~| &4G%.OJY5|cR5)7`|)ҽMS`js_<1q%oi +͸l.5uy0Gh9Z/2LQ&{ *r2(#? !ux<^4$~(_k7 +*CRп7 >-s#&w`HdQõwPҖ ?Hi.ZOrw'~ etwG +Qw.#Gq-& |6]6{~">|O~ AT.9l҅ztkchQVU+iҵ3`'~xsZ?t}UQU +08#`+QIswgbq&7b袵J(QE(5zy8Z=_ ~_{Baھw +4]R2?C_;LqXzdh&kG2û84/įj_ uҵ4*aI=xBC#_}5įG%șNX1 WWBD<+w\~6eSӯJrSB"&F)#;JtKa]$pj2; +#VjI-Ƥl| +^-f070'6{׫|\2YĒm*A#'H|9{ƕKmymc?kUC ^?ϯ>}_>5uyM!\B.n+?7v8o7n!m>%xj q!,[#>#2Dz87/j*u#kl>6ʖWVQ}CQԵEr3u +("*7IE&ez\s.9ū +7E+3X4SL..IR EEJ "X)PNhشҖ$nţbӨuPEPEPA(6@EGS?ݨk9 +(@??'ީh4t")eLvQA!EPNSm& )I045_RZ*}|/>p: γ1UJNFuԨ~V&`--EgSZI p)J3S`SPFmܯEX2QE@Q@HO ET {kVmZe]M{VRVļ*p#QP-8QHWЋ#ҙhh(XJ *ZL +Z +(Q@Q@\N7;Z}|UEư3?RJT1w1u"Wk+ ;~[[+_LQdb?>Z>|E͸~2~ ZHs:@lKyp>4FVsQ`zU^HTԑM:69j毂|7-: ڡFƿW㵅Svd>`0U9v?0ߥg 5OLѠXQF9+:T8(Y̸EJu*;#%FߓRS8Š((e"W\SkER(j>M[G` +(((((?J~e0 +(ZN-kچPD +((('ީ5m ( +( +(WCPTL(((r}ꚡOSV(*&m ( +( +( +(?ӭKQ椯:(Q\uդEV 5:RֆsŠ(<(,+0jL,:@sKH(?J~+)A!(jMKԹXY}ꚣU ԕYQUfaEQfaERQEQE1TU+)ETRI֥ PjEP@QEQE8)#4Ҹ5Bzc(((CPT硨+:QEfEPEPT +}ꚶQEPQY6EVeQ@Q@Q@IQTs<@QE +(CԌk *&`VNnbSӗQjI썚+^ȿN>}rv+ʁp(-~VttTp{©*։s\;mP۶Z)kcEסi{QN [Qw¥6QE?Jjujd2JB$[Vi>ԄӚ{,{X4<麾A.x#7F~TW<<$^ȣ?RR<7zkQcqNV{Sx=TPN92V0J UWnHɩxez w89YR"R֚āJFhf +2iJZ]#,z׍jkUvmYעcZt Gwk(]5ҊGEEVhc4# Tl9-% r 56ڿ/NZI*׉x#'Sxoݭ6ϖEzVR2ZJu"u Ƞ ^fv ,?yC{ZVPd׉+ XG4HѦVV+AX,BTQ>o fzS}*@Cq]P(b0Rj*8<#颇7ڴ$pYNj;ù;E]RN*Q`xw:\-zA[Ҕb7 biQT`Š(((= ASQEQ@Q@N-DjZQE@QEgPQYQEQEQEH,t=#xOQ_(Fot?5_6?g_.?Gٝ:ŤhV0FzWݿUx[8fLImU=GU?\x1\,,In8$F9Z+˰tG[eh1ѡnqXVZRPoIV%Luk95WVq^瓍:59qj[a=i4:9ȫo|z?_ u/xxXf7'Oc~m,W;Rs*\nFprQWqUฎ ` 4!S{ -PDLBI=Lo]VZ&s9W?gًX~q9Hꤎ M%Lrxo2q2ˌ7qSz^0KV{Gc(2뒣X 1N+?'J|%wwMȎߓkw_Nҡ7ɂ1Ack#ÿk:\p6xo^BH_Jq䓇cQ? _P/۫/ËF?k[ofsֿAu{i\]gTN +?n7O~yM[,X0+AVmeݔ`E +|$owT N1+  ?|F~bq5 2A4|w߄:g<;j#lOإFdt Z0别-ǣ\kJTew_oGN sڸxß=s\-zK`?_A?nYԑw)F28=MeR+l߷> | +x6UNߘ׍x]?`ǖ]][$_.@u${wя7{᷂_|Fa[RS2ܓ\GF7K&YH ϥtbq*3tGK5=Gǿ/_zRZA>4[9fhċxk +kKԬZ}3ǡ5`GA+vaT?Fįٮ]VgQf۱}~'5ܿ{oO_ug$kuSP+^].y|\(B((ݨjI;Tu(((ZN-m ( +(m ( +( +( +(?X=EAڦ'_*X.Cmћ̴ep8c3_q_Ϗm("zWRX|lT3<;v8{ Ode MkfImYp/:{E{xg#j1N8>\ßkO\F@\,8e{96xoyG1xȅA߈zWG|aտ,\jJ Fٴ;:CޖkARGXfΫ&$r#G>O<ol8M2/Ŷ|wo?j?-o%nU'.}}1d12x6%$B2}@jeN=EFG $d/6 yoqm@GXw@zwoSJԗy":#xgQa,</*4ɹߊ:Q?7jQ},M2*?JO37P.q2M vl`p 䑢}JU[kʩը=ӋJ /TŮ#X/?o#7JOv&#u_J-τ?+7L$PSۧ[e)FN=YY=~G }~vӢ$q_GW MMMzl =SJk%USCP3vU.B5v%V&!!;x_G%aWBʜ/ï?ַ(I#xX*㴂= evhr+ӄg[ 8AɯT`M|,o38V׿_7vg$u@2#\%)Ս*xT^><]?dMt9َ1_]/|E|`|*[k}e_j +o1miv~ЗOD8'Lk 7t!tC! 35URmb:^ges-}]]\8ʌ_U2फ़*mٯ9PO''ֿIoo²Gm+z`!=+|U)ijȲ%ƹWӌхӗmRfreK \v ?W~Ė_GgY(_;፵y- Ew;sUcB69= #IՆW8N]rzkIl?n'u7x{WJc!c_?DZ<]FvӔl_'*1<؟ 'ke:ޝos ’`b8kT?a/^5ob"#2+Oꦻ3 +5㟉<.<1++ਿO#s<=-*Q<W@~+ĸ7ga9k96xٞqgjxQȘ^0G)ɦ~`}Q|YׯJm_]K*MzW~?P[?/1$5Q<̌X6܏JS*qeդc[O]cRyVʼn0J:+SS +d,dgYFCM5 + C*:oBE簝WtbNF z*N'v=e fD'gW[[\ '*H~ +_ tgKV貂m('Zj?⿋ 񇇴[QT02LkFXۡt}=S_~ͺ;HV` R#ҿL~ 5I|Qiy#7*Ah  G>\jcgQ.=ž"JXr0aLKv>2`?,xBե +j_*6гג@=%sxo٭7>3iײ.KmXF8nYJHpoԮE_m:a")^u[_}f-dkxt>5x_ 귂9>SA'Jj> |UZ1k". r +PÎ'G>VkQjp~by=G2Tt{C_Cqg o~ПQRtK BNzW;?<+VǒJ7s~ml-X ?d},}KUO㗩ϜQZcΆET;QY(NLvEV`QEQE=:ԵuI[` +(QYOshlQEAAEPEPEPX`ӳ7@hPO>Z6~vV.aO#*?~5:Gb0 mOhxk3-luھ2?_ +e?xh;UJq9NTa"#!G9 -jq2^),Ϝ1⿡98bh yTg*orJ&^(/ś +|YJTo =Uf?C_3|ZX?%>]C3𦐁-S~S? \韷C1&3򜎹9H[#;TQP8M:ǚq{9 =y^3c̖Q/uֻ*j#{UPvF"k6Oz<i ź 8:澢?~ǚp-e|lNJ|x?^kd# mi2[lh>q `לIOB~8xYTZZ<^B,>_k:42]` Ì:Z}?iVgqmfiSĀ_ y=nƫP+>| ow!tv{>P?OrtK:E +@|c㫿)5׈gS͍ҬFp}C2F1^3QxxF}P>ɟ<-IыUr`3%JnxJiR`xWFVVӿhO~Kݖyqй't8¿{{x-0xO$ƹgגw'- +uh븰'}S?߰!-ϮUqm\?pAOŵDQIʜ^ƿ {Ha[x" @k> +όkHݑC:tQU*YI- 8h^%Gr$m#es~|"u^I:=r2{Ix_GO͔VP.њ8rg>+0stR!m,M%V)k +']:Ox;[h]2GnƿtsR:,UAZ|09smo(ׅ-/ŭgq%1} ov~/Igk"a![@)Cp8~g fKהD? meЭcCg3Z"oN8Oԡ/bYPV֬M%b|6a!/ g^f6-7^)MJ.ſ/|B>:$p VŇIxν/Gj?X-hB;6 x,ޕ7zn’+6/ ~n"IrkWcY]O'߱muYv*qοC~ȞҭWJH|'ϵ~q:Q{-zȔrk; A(|@|5a.©=8Z \Ʈ?Rр{s~O#g/_?()#$!i~qE(#B0*JQܷdQE`QE +(g5(kچ*0j&J(((Hԕ^V(jQE#EQE +(QE+ (ȗ&ʊFhS];%E-!n"jP01KS(S>V#f`qnf~[]r &= #u1~Q.-E )j29;S2GJ{|( Yɣ83ieI Yᛯ +ELG=>i-S6mEU,y y$?O}OjV9nQiÂ# +F`'ue!g(SYeG[;N**qIɶC(a𰂕MY8~i]=_zI}ZV|T9⾸<|vk[ٵڀVba@9w濼٣Ƿ~cڮ>}c͏~'9LSٞNMxhϊu[+@#AnyV>3+ql=R@m=cs ;`H(Ća&1*gM62HLFKmF/l"V^Ak~= +g_ _zV5Xos?|M+º,z]9As޿_+Q~l3LQUCnX!+z NUf=ſp,>{V)PUؽIaouK_JZ.Yݎ~"~ӿ]ٛįj0`u;_f{??{/p +W7}ko!/gJZIT.r{Q y Np=_wu~kچ=op1+I;ҺaMsGc/MfG;#ccTĎ+ۮk  }/iW&r?/ʿJ%owݻ =5Ikz-̡ ÀI4z5V RgW.*9H#ie8UZbn~F?l='; }{^΍d%)s43Ej J>imFX%8vW7 $n7WO>#lU ^٣$FEҿO~~+תkT}8\bϏw?u{^+c_p +;g񯸼O | +sR 8RS^[8iPf<)r-O7? +4tukNvn!FTg_xN~36Gv>''&Ү9\'s"b~5ux#+(?m.>(i=~_@~'gQG`%gy?฿&!YrCo!vɰXP9VW⥀}N~5xtfk0r2WuY^?kNZ=!L\/糸\$J8j1y*{52qQ=*F$nU@R^>cQZ rA$ϜeAPj1j/)WjWiQOQE()I]%p+& +(PaHFF)i?, + "S.zɏٲ +*|-!E4rva XQNlQE\$(uQE (((dөQ<?e5'ύ| ~:V] w]A JzO_#?W.-6Tq!㞆*2̽m1[ +/ux4kW(B6n;tcZ|6vi 3å,A/SO_mZ?^'k oa +[C&=DͪҁG3:BD9myesi>;|!?mMsQD]azb0|u/m:'mENxB0q:MA(A?cyR!\s,' k We [+4tF(@5[i:lڅ. +HY|"ڳ_q+%5]]m"`3) +W#߶ĺmWKtRtWg?jyZUM["lx7"Ëώ>򠺄 Mr0z[ ҄h}?7].ϰC5:Γ6m_W-؀+[ ~76^>}t +WJ6Ugw/ +'|dL7y˓{da{+JRZ@n=y3#~lƷ[;Ÿr$Q|ᦏm23ZupF ؠs[JT{(g? &c%Vv $yH$o +s"~+eO0`Gđ+d= ~|cnÌ9qJP'dlh|Y#UAۃ¿i9~ɺr:~~'ӵufh3K1 q_Y/zW]KhN +L4=,o~Oſſ¨WBZ8s 9Wm/ ՜VdW_8x/čoŞ8K٬g3Jg:?f Hzg6׷,E9W5>?fKw۸nS/< +~We.J_n%/$^9[QoN n1\{;1jWrKȉ { +'?_?l/ek#Zi.J(Ċ?? V|MZMؒ0+l/~5[/Y$~fr#\sgGk :eeeOW +}8G₿?-4ںćʴML_#JK_h:7=r'xH&C(q\ZjL2NiU,=Y)F3%Ʊ)IJ6 + ~_/ Wkh"m89ȯ}m-'2\vȒ ƅvZ.Fu=Gd >׿E#UkV%,'2P'*=|")>LJ?g$2mI +?n;ƾ1~h[cX-'߄,k]\4HKcxTӕ.in#F$^CW˿eZ-NjoqI}xƓGh +3޿8cmΝfuwh~J{ +ՕZ90yzu4>>|A5` gsӁֿlm/K9Ie>ƿs5{oګE4+HllPIӳt]sfLF}5*RWl04xG]Zx\ůFy需3UnA>|M%!;ҿ'?/4ڛBo8d0N~%{UQRtomOֶ"X |P~ҞM ȹp y?J]}K+gW6):ʲ3arr0zv\xjEN][Kcൿ hOֿ=R68R2 #~0EgUa99Hkm ?[0Fk=h5YdHjr迭~`2b?it?7s8~kq couK&<oz&FYurёC_WŸ$WڝߋŮ$/bFᾁxsZvfF*1\ÖKٻ^24MT+YQŧ1/W20ߏLWwH cLcerq_6Fj PCp3s[}i?hiC~c_ _??Q Gw ;b?Sg_\|vS_"uܧ ~~̟ %Q[EmBX%*03W???k |aoCERՆPXzl{~eM&L;[?3z___> ״((3Ӏ5' 4Ԡբ q6go5:NӼi[30ڄ: b|ʮsS*ѣ5?ho ¿_Ie_D\1?/N ?n~ۿnu !7_}}:zWY~ǿٶs]L,~W9V&?g5{h&f%B=q? ^ +N +TagKGOzg|?izfyQ.Bk<ffoğy8%>|~8@[Mr*'k B?|U6<ǩbSZRQSS0).u;{wͶv,'^+ ?3GV|[$a<;׭Q^J}<VM r 2ʮ~q<42ILc8*3=kO=M:qtϻ n9_~5N\xgĐ-ťʕt`׎:_S>l @w_ŭ{BxmB6LGVC_TunK_ 587Q#ICw  ]Kv|7X`]<x_ MZ5i. IX,/U=N~k}Ng 7)/-$W8+?j!j/-kWki`N_М+|-Z[Bh5ZF2m'6zT?$e?Ⱦ!z9, +%P<c6v:Dt8ߎOnOጟ|e'~Y6=r:ח~O~u֗;[01׏tԩzN/sXf1nSd ~Կ_1) 2Gcz8>5O jKn#@rʀx[qOЌW=)J }?dŒI.ZW?62UF==ʘ;ȝ~He>'Ob;`QL_aoU<hRa2BI~*~+OFۧ +!|-B+5Q#b9\jyFԩogclۈ68CG|v,'s_ҷ?UqU2ևğ./Ҡi5Kf*Ut~~ %~ѿl?&[A-Ü s_ִF5D:Ou\H>g - 6|£rWoJ(v,҅*mSݟEi0l"PGvZpK]ir7/KEiȄS<5F,+B9>OSKAz9ͿI>¶ʩݞ}_Wz#Au!`Fqڿ/F -ccK?NEڬZlej[͆QlU(ţ? +!SiXYrD;@;#<{cxܗw9`OS_ ?ůxzSKkxf!}'7]S xO}!$`@b?1ʹ1w積 !4+{/miGch!jRN#8۞?Oƿrk_8tu=3ˉoѭPr _|MڟٰLEF-u4Q+g7৚1=6gKzO/u|E % pwH%>ӦU6_ԗI@4!cג9+{E~p .@}+l[Pmma30#ҿ:TѷG*Syw:.~teX۹Ǘ£?ZЭ2$[ 8_h2V}ёwW3|CC/F' ;/xN ?gWg$ W~sZkuG2,|lJ;k "fB7wt'ŏ,/>LDUv@r;ؗ;/3⟌ά"sYƬ(:R1,p|(w=|'_p {{t-aBϕOW_y~^M&ő^4 9>arMN[q3]⸼vڬz}j˵'AT:.ylvۏab|I-ž[i6A;6WI+ą +1QVeO:3(.xgOxU_ۿW>)|<]tG/2?z;'Mgnh֦%#G'!%5Zj o3 {c'֮ۚ.! bn>K]+k'=(t)lQE]QEL$'+QSi QRG4w~4šR@`hBGƾ=Ox,l#篠d˖ȸAdu#1!j7yv $K86k-UTuv隨auЧגH) +:W_kpt 2m6[x8etPOQߊ_<^4v[`e5.I-NyF|jpw_>5䬡W + 0xrdTm ?jy$t7քy04WVċ',p_>?c +$]q>BV1`Uv?u(Wi9_>' x2b9# +rvᜐÀ WC{~W,dAwXTݤTu*0)sAK^:pRycRGJ][ǗvᱨhԻڝ;cJRrsIKZ1޹-;!+on%$.ш ~Y|V>,|fK#<İ)9ׁ{9s3>Y;LܭINpsU~ܲgYy;?]o|'߈O,IJ#8+?MwwI+̀ЌZfJnOy |)2-+$"ab@bj?|^waX dw]#F.I7]IfcJ5IEj#A=͵y2,k,@C z&T?_uO +xOZ]נH1UC $saD+'uqR߄nX`.ß~M~kNѮ ɟT\5!'+a&|!᫤׵-epI$U8Lɱ[€{e|'O:< ㉎1g _W)J~zmmsL ,no7@NaekKsrN+])&}rkI#< vI^PR/6OLϖ8{/@ ##+++mcFӁ35Y<(>f1S ;H?k;+" ҿI=c|eM,M,iqPʿ# ]f +Nxieq&n`ς߳ /GX[O`O1AрP0z' >%|@Ɨ]ZD&W%' +ekxr/]ٲ[FE>_>|4x>l*nKJT%|r3RRgKre9Zu5>:.HQE޶7[Q] cQE *\\(HQE)A%vI%S+)7sXX(\|((((k w% dܱ=1?iZ''Sv(}i> D o]_m.ڬ]4}q?rcFDr__!O뵹3xI[ąR HMGWJY+NG\x :p[' M˩=ފxez 6j)]3|Fӟ fo 7~#]yH u_k2ԼGFf88Pi^a|%E$'א5Mjūih4+@*g9C ),-(ԿߌUyOnK>P`yWW3vFx |.y^r: 8M2KbHRs{5feTH,1aO{+&~G?I~?u.f-$cVeUBNc55_-/ž4q +_?m +]{iQ+۾Ppv{1(G;~l-ivJ&GZT2õV:dߵg'"8*Ny W׼=мߋfgdTNk>6r}1)t\Gh9hb?7b4V}AАa8bwq_opyB,ԎcˈfY9D?گu'{:Rr?Ɵ c]ncRK$OGO+>~w|YkuR^c,F.LjLMJBqME bW-lQE?fQÈQE2,]Z]>H_5 +)sHFTW2ye+ \ӥŮ~\V'AM?TxL\Oc>~%xf^-[+*׭ m ec's {[_>(i/mG8Q⹱$[8uҎ`osE׊>iIo-P¹޾Vki>o8 * +2kؾMgVh,5Y\11} M|*e%ows8 XHl:g5TNEZ.kc ?!F~2 )W +sa;j\1 ߈ϝfNI!8#>ӽ|(8m1y쭷G=kAlvPjX[Iv6';O*9' +F+/k)nȞmWY;&%8f;3wo +|s_6~ Gp,<̬r)5&77[Ri_vebFaf(h/j?KX. oxW  άIM-6B# 5SՇQ2,BraGOi*N8Ios"ܚ?KNg%MMْ ų|5>!@s[rKf"o&> PA e?Cҿ{>imp1_wi$_V1ws}ayUsԔw! l$~\OaurGߓW坢&#W'Ӣ?.{A nWMm7X9hBr@'?ʻso_|?(u I,SC_]RMXТk$\ ss\sa__?೟_]xvQkȅ:~`V?M ~ N Pc9inB_.f$"Zn_To0x^qz- ˴S^=cZ֩ c q^P=ɭjȐ*$ +#MikmzRTd-)k(?s61z3ҿ>?jS쭩 n:S%pO"dkg|$i/t:֍՞0Wu܌8q_垫 3W 73Z;]#-fjNg8wX{ū_[D3F7pt]{- T?b Y_ٴF`CaI->2j۹KMߓ ,Ufe'=7 +{Xum;XOgr~jz-SΞlp*ƽ4Sޝ[=Ϩ'6j^Ms.TLp{m +˯J'EXX*G3_ϟqQxG%ʂTsQ\WK|述o¨arۊs@'^vc?Szb1)E~Gމ;R!9,it>bkBJ(l0*((L(7L KP( s^Up?n_7xn.o† Qz x>M;^խ,$2#k+KC)FJPH/&z KF8צ@8"w|w}/xԡ0 ,-/U)UІR=շ8xI:Is?eŻ yhr2"rs_,x?FkD>YyFHÁێ+wOxS\) z?~7b𯈬dKN^G*o&wmZ ;9;zTQ&Oۇ7ݨsCsT&dEQ5&*)s !tOlF%؊:z +Cu߃;q>h+&c-gE +x_ &U5IQn܏q_ɧ7[NVÍdXiJdXWb,| _Vk|) ayB68 3XmK{AA#s1ėX%IG}[jz4ϲx ++_/|1M"m~l _?O/G:V.A8eցbp&~[Pc_ Z__@7(dYd8#xW}owҝ!cH +<.m|Ui)$]: t2 VTj5#?æ\PFY|Ӫ0k#?`_i6ٶ]$*|rG_u-TƓHK'''=R*.JqG.u8lmfyN +3ʾ T4×PM^Tl3~8_AO_"G5 Ѥ9!x11Rt +kxHP0yNs^f78>D8}9|"Ѵa o#m"B|3/ x7U:1; O֦b +*>!|\m9yYY+, '+(`M{g19te+M>j{-zXQEEhES((`QEs(T^25G + ?'|;w +xPCsʻ!#^$FA1~_s?&gur12lFcҢ?cEه#=Uq7g+gkf|S>3kyyoca?(Yb\2cYOŞ<ࣿ%㸾/0ýVS>ğova'mVW#|q9׎4-HԴ {WW1~ j:<8GEJʎ*uk{.[D[>[hϼQu WkM4,XK7NY,s oFS qE~?i{x2Ln̠qcW Gj:cM!ŬEo^pZiOIWo<,uo\zH6F:eoO߳WKt&v8P;o2>i؝1}+]j2?Uul9nd=zVe,Kwc +jlycҷ?IVꝍxҥ)J4tO;UG$=AAMsB&l7J ~W: !;+ +u +僱 Tږ K{ά}]z#&zlL#й9Ng.?sc_-6ѭwf/X(~N񼉤Bvc;W| ggSzy矯~mEO( +GS*o>|u 9dLL6.#Ҽls*NZqӏ?S\~˞7:Rl+Q?:,>ο5kk*o3&q|W +%mGᮃzq{9 zu(Ujy4s_2iϒ +(QX=(@QEtQEQEt (((()=|ྌev8*;d 0E_֞ [`6\q_ +h-do׿+Ixkַ-ob8+ M}^VS0?|)aG%kh7{kl3{?v:ۄHN +~U5ߵ|S6) +ּdyT\57UcC &:Ídn=3P>}ZW| k]o\(iɯ*GUO}NUG QIy_i~οo?hEL8ş3(SJ!ar3O7ǁ/Fy[\/4~ڞ5 +@_~rxuqnv3WO}A~ԞYfx!ޜ>Sg8vXi/g4!x-$>v7Q6x ŖxRCٻo' -gwPi;P$ͷ>)i^#fybTg0]ӭG'6Z?o& S"0s3oI? xno>Gq_kfo7w 27)(MqZK;001KEt#.QEjEPEPER`QE`JSE!8 +? VAb"TA"o巙kE|ff$~ly^7AxopGϦʿ`BP<uigF3\;RcsY2JtXeQF09k@ xi>_/_wKqNHJz*8~զL@ +zk t&BjKs~n( )8?s=M _Ro$ǟ٧÷_G~|I-ГHcoN8Ix];nxbpL_?^"&gPUfT#*.s-58hg ޶7 ً&/-em\W+_)սR$g>? eMsָ& me0$Ө,\\FuDs We+}vWc*8cu'" ⿄*DxxʟCuƲ5ٯ—.vؤdF+"jb(N&Qp9 ?*|^YirY+,v{ntͿ6uIy8jk);g2bL{X=k ~U^6F4Dhw='?z/y]|kVf!VMp.?iD01 |6}zWfثPsBq_lw!v1 +r3*p͇v]O>:v^v>5@y9#e3ߴg8.5I.td(Jj(O^ e Ba&د> Zx?>(-STnr6=2i>qĞ%49meW0v!1^*%}= pIN')u/~ dR]ep>ḷS,,`(ڧ vl~^gb}=, 22NP+S~ڜj7RHp;yvmhW2~ +6h#ڧ#J."{o&շ0vz_?ߟcƅ7Iy#r67 {_-' wG8=s,s).~? ;SПmҽe]DQ@,2A\Oٻ'x<# =In!8ӟl~ݶRbv'NJPzJk͟ Q P9s[ ,|F[zoM`ҶZ5<Ru*52H;Cb߶WSBu[EzU{Zjfxik/`meQ mϥx`G-g08/ߴG|(ƧrdPD`.vg;(WW<,ԼXYY4QNRv6?W|EOd~U=y⿭M٧GWbVٕ'1vֿ&7hֺ7CG$=+y֥?X_++OUNec~.43w1f +$q_:GMwI0n}GֿtjC?5imU+0 ÿlY$3k:C*##IԔZV? c)Ν}zV5jI*YQ=υi(j7qɪL0_ާxq &[v: ܨ'^ᯅvml|HUnz@]8aͥQ-Ah(Uσ׬߷od~?1yi D̐/>UVe]/NOa9 +4W#3Z=c_e(b#0;WÏC Dj/ÝKhM7ppzga?ιkGQ閳ܰd$vՁ5Ry#8y垨j# +uK6_n?0\r} ;YZY$~A ηeR/!R> +1v*shHFiQ_FEW38U+⎥!D ԒUshKoH#^v_7_Tx[%}/$r6`O5i"CC0XZnXhTW?!M ~O"(4!?&_@`p)HVhrw7vQEtQ@QQ)tE7 +(=(0(+ +( +( +( +( +( e#[_B'vc?Tp4oON+\~bpw_kXIr2Ap:g", xrEEeUBb'+WK6<0D6BA+K~^5<>E#s 98vpNg|\ya+kyT ='{-l w?ZP/S7kࣗWU=때^?"EtZܬ66 T<@@*Þ+y76 +!gӵWY|\_.I4Hͷwۃ~h?TڗN}Jkk 7+zip]KMj +o ~+Ay%iiܑEX_lhtOϋ.6\3ciT)۟2+ٻ/j |GR#bpl_]xGESwu!xobqi_ +u=Oٟ~ '4xzoQQױ#%YS#EP|w#/]kGoe+TA=??j/|YxkhŘ1JxO`Fg6;*J#Ec]A5IOĊ}vlf|gA5!JmǍPzBQC:Ru$`gO㏄Q?^ Kl3q'޿>h!$d1_ᆟ[K?lu%\_08:dA*G{5+BTdi~?ɪZl*JJִj>n7/^3)ucB77f2( +( +(΀(+(qZ |]_~ڿ dK]Dn"+v+3c+$kז;t(J>ǹ.XFK1{ӟk%2S0~_^>֮|/er'GǾ*{5c|?kENK#҆HO_i`|QjA+ټ+o᷍[ k6׈t~DֿŻKHt]jUT '5)z2]c9$ W\$g_7#|Uvy῀ztk+Q:zfB*QslmFقL٘VdnF~jψwk3YN%#U~ +?6>we-^+ }k +X7dII˨Wv῁ Ş!p?_J+[K;_i 3ֳKCT$)HMW2,e=?LWo20i=)*S J<[4JIubވ}?(OzG$2T9$)Úl`ʡԏCfvb0u(ԷJvQLjGsYj5~\ ?lk^D1t|cNRj(e+cA ?a+hW$! ۸~Cu +[tp +r= )T$d03+L(v +()=zMH *{_4$51_G_k0}I?|$aԾ]7j%A+7OO30*t$Eh5Ҽ9H;7ԍWƯ.cشچl@ޤQ|>xLt=F `&6 wN#,/~#`[vlF{q^hsZ:q?ht$';i+sdɼGcdH?cGgős|I<&~՟?ilkK*`JUc?{Us7uehäx־BRjfyocqǽ+.}|w4c`ViG|w?f{~y[ڼv͑TklTja$O؏Ip;drO5wj.md?JcGو6{gq_e^Ffqkc TĥVsO pzҸ.t_.yF#|gπ +s$x;!}{yXis6x .Q;ٯίrbCg 򁞤&O8VZ*K,:95FEߗC h/+CVg‘[{pᝣ t=k⇁Km;{\ V Y cy`O_{x±beaf8|?+ +4S.rp8[Ш=zMwX~V)\yn-1xi#Wu0ѳq>?߲X|>ռ/iy1(vx185c+wWm;kBZ:><|3;AX_;xM>]?c=y>5|&Դ%sU, `^E~*v|+¯" rЈ`G 7zϧJ^W%Wm*޻ڈf~>W0=kա]~ŸR1tU6Fz@"w FT;R?mYbbϡIW;^/x_Oq"]*C9j4=~ϙ0ю _dR+7#4pBܸpwSH??~k7Ȱ0őG`k(ď|*uxfMPO#' SrH'Zi_sKkDr,|15G㿌_$~&z\9]@TL.1ҿW|׼dq0ʣcVN_mtŜ#oᏧkwߏ|[('5;kSo";GCuM'@Ԝ2.R7`x% %k"J!@]©a(;;m\f5!;C0~{beyVQ<]In|ykfh +(㉊ Hc5|~7Z,Dr s~ב(T,;tU>6ŎEBOH࿳Mm"ʿB>,nۏnV)H] d :s__H3m?g%ZQn'bKH%A8ں1jR;wh*6џӜ~ m>+t81sV (ɒ$r-߶/@,|ML\̞fvK}@WR~<-ot 2۱ 3W,1\9f%Z>mf9c1,LH#r>Jfl۽0U~Zib3u{gm{W+BvV)%ȧNՔQ1~?uSҺal+( =G{ cni;,}~Q_;?eX$u!aR`+rT|m?_cu|g'r]YNXFqfQkd|+|4 ޯӂrx2bo"߄ ⶫ% n@OZ?,.7k=oźyd?M swǽ[SZڇZe@Oayⷍf1#~=+_^ Ҽ+O 0[U>VNnrfXRl(c/p+p)K`?/E8 D7 ;ˉn\Aaӛ + Obmk:p6?Zm?ig2 N:{W-B> i(ڟ{ i:`G6Wz״_P_ڞe{-Zl:HFp>šέ,7mf㸫!FQ#۵rtۻdG/д-HUϩbsiP]ɯ7'"T}>hGi[iLLNT1Mlc^USrIk8X8*Xcrk o"; ~Pn5eGqx7Bm0>9 ̳ٔ}F=>> '6[yx\rGjG +e/'=7pַcw+l$|;2{ V~ZOПl)\PpK/7GgW 2>9zO5{!@Cc~yAMbXSռu OxώERkۇ#b0{W\:cn_l2x3`=^6gܱGAҟֿJigy់t=#V,1%t/KxmXјzq&]Xψ]Ǔ$S -ëx#_B0Ѻy?1WC\q?[UˬeTgL^=MxT8W^r%*px^5ߧ|F2BIiiRoAƭ8#X|AqɌJxtO~i-.8ֿ[6sqkwX'ڻ-7 .{'R qIt'ȝN8A6:k~~8|@;\4oϼv_Q9hfggWS.ӴnrG_O!,kg49#m +;ghjrÑw'J} v +QEP(vL~6EEW :(&Ma?2(d*{j|֛񶫧Zb1(RYx}kpnn%Ϙ`xC_-~'٪6#-G`v㏭:|0ncۜ]F3x g)ip@qcKkCZG*8bdk߉_w^Z8P=*sƾ1O0OVQG<ǞR[S/9Ǡ5>? [SZZ7⍂MiyNjC 䢏&"9n%Fr]Yyc_#| * :mu\3Ҿ +s_?瑍i5ceJºcLYNY?_ǵg~\Wu/xCJŠۇJuY6YNA,9vRN5<= yks~؀Zo m !_DijZvyG~;zF+Eh?goI{5r0i\m2_߶}C (eqMC|𗊴ox~ĺ P1kDM?3tp7 n8KZf?GPc1G;GȿFtOP( =g5_"|Q#up2IʯClIT_ +?$?7KHOZYiCFh,4kbDS5I%? +KSБ]N-wR~ůYd?0&eK{ǽS Iݟ\`~|>ѾO_X)X/cm'._E~Vt${y;l}_BEWG;ܧ+s{ZXdCve"C(* ucX۩L. ן- xQUkAx +?_SCaȳkSI(Fz +w:ڗi +rٷf br;>9k?g; BJsf4O,v?>J/t$ϥOEeZ}#-{8n2ֹ]C$ahkO@$7~רW''Z.M_cAm/ȗNL*l(ru,fh)8Qy8zWwoCkK7[`c$d8s wd_a|b Rx,`q޹M\;cUP^~x+^ }=vcBkUjk TkA$|Jrrc0y5~w⟃o|Dבr2TGҽJ%Q7tiOaq6&F*C l{s|&t(WIJi +tC`3cs\-{(b_vgЯ? b5J} ~gUS 0hR[sUGo~|a'^ !. $̀㞕K IJ̺>WqylP9-]%Gޔ;=sK|}:kV۠HݽFM'?cV 5Ĭ>`"l|X-ծY(9?~inUhfIgIYTDџU9&1UˡvgjO?goZ㔢;/?ROڛ݋LK6RLq_2>< [W$#稯?gO&G_#Ŷ0/y@`cҸ"ڊN7knس xV@ 0`iA1P8qR`o <؇)3ÿ<+^Y|J𕼲1DdBa=_1hs5ܺx) +1݁W}߀? >%O:1]@N+Ꮎ&G/ǙGeUj 5CM֗nf{e%Z?쟩e2o,YBUl\Ʒ va-R8ȧ|9d4 +-`A\¯/*8- i?m&vO:sç]N?' +A=yW?L~k|' <=m: ("JOMY!m?o/_O܍N ,z4W_Ӧ/6HBW?Ïh:ĺE/*sWCx5tʇf}"ֈx$<K-O$8eziUm`z_fiv XD"Tps_ÿhޙ ijʨ1>?M7x|0kin 㷌`"Cf/o|J  p<]klj7,ahr3D0209ma~S(SI'ֿsQVy="G#=+hP8ǥ|Z1.SG$>b8Ͼ*R8{7dt-D +~hۿ̈́>$3)_9X~pEt߲'wJTMCz9K)| +%O=РR18]Ԫ6Ɏs.H;;Ǟ(4 (`QEQEQEQEQEQEQEQEQEQEQEQEQEQEQEkRkr(QE?@)TeM4ԩj 6:aWPȌu @aQ^EsԤ*qwGPǁ̠KNp v濙:oiϖo`$ReAC:5 8g?Q\(Vas5i?_na4ۨX(JzO;=5U]E;Z|-=Bi +gWE 0.ؔ a@CդmW7؉ 9>~˺{Tg$ +cDqqN Ҕz0=|D;B9Z+`QE`IKE0mSKE+ :RE0 +(vzZ)QE&-/]((#> +/XObject << +/I0 10 0 R +/I1 12 0 R +>> +>> +endobj +324 0 obj +<> endobj +325 0 obj +<> endobj +326 0 obj +<> endobj +327 0 obj +<> endobj +328 0 obj +<> endobj +329 0 obj +<> endobj +330 0 obj +<> endobj +331 0 obj +<> endobj +332 0 obj +<> endobj +333 0 obj +<> endobj +334 0 obj +<> endobj +335 0 obj +<> endobj +336 0 obj +<> endobj +337 0 obj +<> endobj +338 0 obj +<> endobj +339 0 obj +<> endobj +340 0 obj +<> endobj +341 0 obj +<> endobj +342 0 obj +<> endobj +343 0 obj +<> endobj +344 0 obj +<> endobj +345 0 obj +<> endobj +346 0 obj +<> endobj +347 0 obj +<> endobj +348 0 obj +<> endobj +349 0 obj +<> endobj +350 0 obj +<> endobj +351 0 obj +<> endobj +352 0 obj +<> endobj +353 0 obj +<> endobj +354 0 obj +<> endobj +355 0 obj +<> endobj +356 0 obj +<> endobj +357 0 obj +<> endobj +358 0 obj +<> endobj +359 0 obj +<> endobj +360 0 obj +<> endobj +361 0 obj +<> endobj +362 0 obj +<> endobj +363 0 obj +<> endobj +364 0 obj +<> endobj +365 0 obj +<> endobj +366 0 obj +<> endobj +367 0 obj +<> endobj +368 0 obj +<> endobj +369 0 obj +<> endobj +370 0 obj +<> endobj +371 0 obj +<> endobj +372 0 obj +<> endobj +373 0 obj +<> endobj +374 0 obj +<> endobj +375 0 obj +<> endobj +376 0 obj +<> endobj +377 0 obj +<> endobj +378 0 obj +<> endobj +379 0 obj +<> endobj +380 0 obj +<> endobj +381 0 obj +<> endobj +382 0 obj +<> endobj +383 0 obj +<> endobj +384 0 obj +<> endobj +385 0 obj +<> endobj +386 0 obj +<> endobj +387 0 obj +<> endobj +388 0 obj +<> endobj +389 0 obj +<> endobj +390 0 obj +<> endobj +391 0 obj +<> endobj +392 0 obj +<> endobj +393 0 obj +<> endobj +394 0 obj +<> endobj +395 0 obj +<> endobj +396 0 obj +<> endobj +397 0 obj +<> endobj +398 0 obj +<> endobj +399 0 obj +<> endobj +400 0 obj +<> endobj +401 0 obj +<> endobj +402 0 obj +<> endobj +403 0 obj +<> endobj +404 0 obj +<> endobj +405 0 obj +<> endobj +406 0 obj +<> endobj +407 0 obj +<> endobj +408 0 obj +<> endobj +409 0 obj +<> endobj +410 0 obj +<> endobj +411 0 obj +<> endobj +412 0 obj +<> endobj +413 0 obj +<> endobj +414 0 obj +<> endobj +415 0 obj +<> endobj +416 0 obj +<> endobj +417 0 obj +<> endobj +418 0 obj +<> endobj +419 0 obj +<> endobj +420 0 obj +<> endobj +421 0 obj +<> endobj +422 0 obj +<> endobj +423 0 obj +<> endobj +424 0 obj +<> endobj +425 0 obj +<> endobj +426 0 obj +<> endobj +427 0 obj +<> endobj +428 0 obj +<> endobj +429 0 obj +<> endobj +430 0 obj +<> endobj +431 0 obj +<> endobj +432 0 obj +<> endobj +433 0 obj +<> endobj +434 0 obj +<> endobj +435 0 obj +<> endobj +436 0 obj +<> endobj +437 0 obj +<> endobj +438 0 obj +<> endobj +439 0 obj +<> endobj +440 0 obj +<> endobj +441 0 obj +<> endobj +442 0 obj +<> endobj +443 0 obj +<> endobj +444 0 obj +<> endobj +445 0 obj +<> endobj +446 0 obj +<> endobj +447 0 obj +<> endobj +448 0 obj +<> endobj +449 0 obj +<> endobj +450 0 obj +<> endobj +451 0 obj +<> endobj +452 0 obj +<> endobj +453 0 obj +<> endobj +454 0 obj +<> endobj +455 0 obj +<> endobj +456 0 obj +<> endobj +457 0 obj +<> endobj +458 0 obj +<> endobj +459 0 obj +<> endobj +460 0 obj +<> endobj +461 0 obj +<> endobj +462 0 obj +<> endobj +463 0 obj +<> endobj +464 0 obj +<> endobj +465 0 obj +<> endobj +466 0 obj +<> endobj +467 0 obj +<> endobj +468 0 obj +<> endobj +469 0 obj +<> endobj +470 0 obj +<> endobj +471 0 obj +<> endobj +472 0 obj +<> endobj +473 0 obj +<> endobj +474 0 obj +<> endobj +475 0 obj +<> endobj +476 0 obj +<> endobj +477 0 obj +<> endobj +478 0 obj +<> endobj +479 0 obj +<> endobj +480 0 obj +<> endobj +481 0 obj +<> endobj +482 0 obj +<> endobj +483 0 obj +<> endobj +484 0 obj +<> endobj +485 0 obj +<> endobj +486 0 obj +<> endobj +487 0 obj +<> endobj +488 0 obj +<> endobj +489 0 obj +<> endobj +490 0 obj +<> endobj +491 0 obj +<> endobj +492 0 obj +<> endobj +493 0 obj +<> endobj +494 0 obj +<> endobj +495 0 obj +<> endobj +496 0 obj +<> endobj +497 0 obj +<> endobj +498 0 obj +<> endobj +499 0 obj +<> endobj +500 0 obj +<> endobj +501 0 obj +<> endobj +502 0 obj +<> endobj +503 0 obj +<> endobj +504 0 obj +<> endobj +505 0 obj +<> endobj +506 0 obj +<> endobj +507 0 obj +<> endobj +508 0 obj +<> endobj +509 0 obj +<> endobj +510 0 obj +<> endobj +511 0 obj +<> endobj +512 0 obj +<> endobj +513 0 obj +<> endobj +514 0 obj +<> endobj +515 0 obj +<> endobj +516 0 obj +<> endobj +517 0 obj +<> endobj +518 0 obj +<> endobj +519 0 obj +<> endobj +520 0 obj +<> endobj +521 0 obj +<> endobj +522 0 obj +<> endobj +523 0 obj +<> endobj +524 0 obj +<> endobj +525 0 obj +<> endobj +526 0 obj +<> endobj +527 0 obj +<> endobj +528 0 obj +<> endobj +529 0 obj +<> endobj +530 0 obj +<> endobj +531 0 obj +<> endobj +532 0 obj +<> endobj +533 0 obj +<> endobj +534 0 obj +<> endobj +535 0 obj +<> endobj +536 0 obj +<> endobj +537 0 obj +<> endobj +538 0 obj +<> endobj +539 0 obj +<> endobj +540 0 obj +<> endobj +541 0 obj +<> endobj +542 0 obj +<> endobj +543 0 obj +<> endobj +544 0 obj +<> endobj +545 0 obj +<> endobj +546 0 obj +<> endobj +547 0 obj +<> endobj +548 0 obj +<> endobj +549 0 obj +<> endobj +550 0 obj +<> endobj +551 0 obj +<> endobj +552 0 obj +<> endobj +553 0 obj +<> endobj +554 0 obj +<> endobj +555 0 obj +<> endobj +556 0 obj +<> endobj +557 0 obj +<> endobj +558 0 obj +<> endobj +559 0 obj +<> endobj +560 0 obj +<> endobj +561 0 obj +<> endobj +562 0 obj +<> endobj +563 0 obj +<> endobj +564 0 obj +<> endobj +565 0 obj +<> endobj +566 0 obj +<> endobj +567 0 obj +<> endobj +568 0 obj +<> endobj +569 0 obj +<> endobj +570 0 obj +<> endobj +571 0 obj +<> endobj +572 0 obj +<> endobj +573 0 obj +<> endobj +574 0 obj +<> endobj +575 0 obj +<> endobj +576 0 obj +<> endobj +577 0 obj +<> endobj +578 0 obj +<> endobj +579 0 obj +<> endobj +580 0 obj +<> endobj +581 0 obj +<> endobj +582 0 obj +<> endobj +583 0 obj +<> endobj +584 0 obj +<> endobj +585 0 obj +<> endobj +586 0 obj +<> endobj +587 0 obj +<> endobj +588 0 obj +<> endobj +589 0 obj +<> endobj +590 0 obj +<> endobj +591 0 obj +<> endobj +592 0 obj +<> endobj +593 0 obj +<> endobj +594 0 obj +<> endobj +595 0 obj +<> endobj +596 0 obj +<> endobj +597 0 obj +<> endobj +598 0 obj +<> endobj +599 0 obj +<> endobj +600 0 obj +<> endobj +601 0 obj +<> endobj +602 0 obj +<> endobj +603 0 obj +<> endobj +604 0 obj +<> endobj +605 0 obj +<> endobj +606 0 obj +<> endobj +607 0 obj +<> endobj +608 0 obj +<> endobj +609 0 obj +<> endobj +610 0 obj +<> endobj +611 0 obj +<> endobj +612 0 obj +<> endobj +613 0 obj +<> endobj +614 0 obj +<> endobj +615 0 obj +<> endobj +616 0 obj +<> endobj +617 0 obj +<> endobj +618 0 obj +<> endobj +619 0 obj +<> endobj +620 0 obj +<> endobj +621 0 obj +<> endobj +622 0 obj +<> endobj +623 0 obj +<> endobj +624 0 obj +<> endobj +625 0 obj +<> endobj +626 0 obj +<> endobj +627 0 obj +<> endobj +628 0 obj +<> endobj +629 0 obj +<> endobj +630 0 obj +<> endobj +631 0 obj +<> endobj +632 0 obj +<> endobj +633 0 obj +<> endobj +634 0 obj +<> endobj +635 0 obj +<> endobj +636 0 obj +<> endobj +637 0 obj +<> endobj +638 0 obj +<> endobj +639 0 obj +<> endobj +640 0 obj +<> endobj +641 0 obj +<> endobj +642 0 obj +<> endobj +643 0 obj +<> endobj +644 0 obj +<> endobj +645 0 obj +<> endobj +646 0 obj +<> endobj +647 0 obj +<> endobj +648 0 obj +<> endobj +649 0 obj +<> endobj +650 0 obj +<> endobj +651 0 obj +<> endobj +652 0 obj +<> endobj +653 0 obj +<> endobj +654 0 obj +<> endobj +655 0 obj +<> endobj +656 0 obj +<> endobj +657 0 obj +<> endobj +658 0 obj +<> endobj +659 0 obj +<> endobj +660 0 obj +<> endobj +661 0 obj +<> endobj +662 0 obj +<> endobj +663 0 obj +<> endobj +664 0 obj +<> endobj +665 0 obj +<> endobj +666 0 obj +<> endobj +667 0 obj +<> endobj +668 0 obj +<> endobj +669 0 obj +<> endobj +670 0 obj +<> endobj +671 0 obj +<> endobj +672 0 obj +<> endobj +673 0 obj +<> endobj +674 0 obj +<> endobj +675 0 obj +<> endobj +676 0 obj +<> endobj +677 0 obj +<> endobj +678 0 obj +<> endobj +679 0 obj +<> endobj +680 0 obj +<> endobj +681 0 obj +<> endobj +682 0 obj +<> endobj +683 0 obj +<> endobj +684 0 obj +<> endobj +685 0 obj +<> endobj +686 0 obj +<> endobj +687 0 obj +<> endobj +688 0 obj +<> endobj +689 0 obj +<> endobj +690 0 obj +<> endobj +691 0 obj +<> endobj +692 0 obj +<> endobj +693 0 obj +<> endobj +694 0 obj +<> endobj +695 0 obj +<> endobj +696 0 obj +<> endobj +697 0 obj +<> endobj +698 0 obj +<> endobj +699 0 obj +<> endobj +700 0 obj +<> endobj +701 0 obj +<> endobj +702 0 obj +<> endobj +703 0 obj +<> endobj +704 0 obj +<> endobj +705 0 obj +<> endobj +706 0 obj +<> endobj +707 0 obj +<> endobj +708 0 obj +<> endobj +709 0 obj +<> endobj +710 0 obj +<> endobj +711 0 obj +<> endobj +712 0 obj +<> endobj +713 0 obj +<> endobj +714 0 obj +<> endobj +715 0 obj +<> endobj +716 0 obj +<> endobj +717 0 obj +<> endobj +718 0 obj +<> endobj +719 0 obj +<> endobj +720 0 obj +<> endobj +721 0 obj +<> endobj +722 0 obj +<> endobj +723 0 obj +<> endobj +724 0 obj +<> endobj +725 0 obj +<> endobj +726 0 obj +<> endobj +727 0 obj +<> endobj +728 0 obj +<> endobj +729 0 obj +<> endobj +730 0 obj +<> endobj +731 0 obj +<> endobj +732 0 obj +<> endobj +733 0 obj +<> endobj +734 0 obj +<> endobj +735 0 obj +<> endobj +736 0 obj +<> endobj +737 0 obj +<> endobj +738 0 obj +<> endobj +739 0 obj +<> endobj +740 0 obj +<> endobj +741 0 obj +<> endobj +742 0 obj +<> endobj +743 0 obj +<> endobj +744 0 obj +<> endobj +745 0 obj +<> endobj +746 0 obj +<> endobj +747 0 obj +<> endobj +748 0 obj +<> endobj +749 0 obj +<> endobj +750 0 obj +<> endobj +751 0 obj +<> endobj +752 0 obj +<> endobj +753 0 obj +<> endobj +754 0 obj +<> endobj +755 0 obj +<> endobj +756 0 obj +<> endobj +757 0 obj +<> endobj +758 0 obj +<> endobj +759 0 obj +<> endobj +760 0 obj +<> endobj +761 0 obj +<> endobj +762 0 obj +<> endobj +763 0 obj +<> endobj +764 0 obj +<> endobj +765 0 obj +<> endobj +766 0 obj +<> endobj +767 0 obj +<> endobj +768 0 obj +<> endobj +769 0 obj +<> endobj +770 0 obj +<> endobj +771 0 obj +<> endobj +772 0 obj +<> endobj +773 0 obj +<> endobj +774 0 obj +<> endobj +775 0 obj +<> endobj +776 0 obj +<> endobj +777 0 obj +<> endobj +778 0 obj +<> endobj +779 0 obj +<> endobj +780 0 obj +<> endobj +781 0 obj +<> endobj +782 0 obj +<> endobj +783 0 obj +<> endobj +784 0 obj +<> endobj +785 0 obj +<> endobj +786 0 obj +<> endobj +787 0 obj +<> endobj +788 0 obj +<> endobj +789 0 obj +<> endobj +790 0 obj +<> endobj +791 0 obj +<> endobj +792 0 obj +<> endobj +793 0 obj +<> endobj +794 0 obj +<> endobj +795 0 obj +<> endobj +796 0 obj +<> endobj +797 0 obj +<> endobj +798 0 obj +<> endobj +799 0 obj +<> endobj +800 0 obj +<> endobj +801 0 obj +<> endobj +802 0 obj +<> endobj +803 0 obj +<> endobj +804 0 obj +<> endobj +805 0 obj +<> endobj +806 0 obj +<> endobj +807 0 obj +<> endobj +808 0 obj +<> endobj +809 0 obj +<> endobj +810 0 obj +<> endobj +811 0 obj +<> endobj +812 0 obj +<> endobj +813 0 obj +<> endobj +814 0 obj +<> endobj +815 0 obj +<> endobj +816 0 obj +<> endobj +817 0 obj +<> endobj +818 0 obj +<> endobj +819 0 obj +<> endobj +820 0 obj +<> endobj +821 0 obj +<> endobj +822 0 obj +<> endobj +823 0 obj +<> endobj +824 0 obj +<> endobj +825 0 obj +<> endobj +826 0 obj +<> endobj +827 0 obj +<> endobj +828 0 obj +<> endobj +829 0 obj +<> endobj +830 0 obj +<> endobj +831 0 obj +<> endobj +832 0 obj +<> endobj +833 0 obj +<> endobj +834 0 obj +<> endobj +835 0 obj +<> endobj +836 0 obj +<> endobj +837 0 obj +<> endobj +838 0 obj +<> endobj +839 0 obj +<> endobj +840 0 obj +<> endobj +841 0 obj +<> endobj +842 0 obj +<> endobj +843 0 obj +<> endobj +844 0 obj +<> endobj +845 0 obj +<> endobj +846 0 obj +<> endobj +847 0 obj +<> endobj +848 0 obj +<> endobj +849 0 obj +<> endobj +850 0 obj +<> endobj +851 0 obj +<> endobj +852 0 obj +<> endobj +853 0 obj +<> endobj +854 0 obj +<> endobj +855 0 obj +<> endobj +856 0 obj +<> endobj +857 0 obj +<> endobj +858 0 obj +<> endobj +859 0 obj +<> endobj +860 0 obj +<> endobj +861 0 obj +<> endobj +862 0 obj +<> endobj +863 0 obj +<> endobj +864 0 obj +<> endobj +865 0 obj +<> endobj +866 0 obj +<> endobj +867 0 obj +<> endobj +868 0 obj +<> endobj +869 0 obj +<> endobj +870 0 obj +<> endobj +871 0 obj +<> endobj +872 0 obj +<> endobj +873 0 obj +<> endobj + +13 0 obj +<< +/Type /Outlines +/First 14 0 R +/Last 16 0 R +/Count 310 +>> +endobj + +14 0 obj +<< +/Title (Pages) +/Parent 13 0 R +/Next 16 0 R +/First 15 0 R +/Last 15 0 R +/Count 1 +>> +endobj + +16 0 obj +<< +/Title (Net) +/Parent 13 0 R +/Prev 14 0 R +/First 17 0 R +/Last 320 0 R +/Count 307 +>> +endobj + +15 0 obj +<< +/Title (SCH_Pro-micro_Pinouts 1-Sheet_1) +/Parent 14 0 R +/Dest [3 0 R /XYZ 0 1197.36 0] +>> +endobj + +17 0 obj +<< +/Title (3V3) +/Parent 16 0 R +/Next 37 0 R +/First 18 0 R +/Last 36 0 R +/Count 19 +>> +endobj + +37 0 obj +<< +/Title (+5V) +/Parent 16 0 R +/Prev 17 0 R +/Next 41 0 R +/First 38 0 R +/Last 40 0 R +/Count 3 +>> +endobj + +41 0 obj +<< +/Title ($1N1) +/Parent 16 0 R +/Prev 37 0 R +/Next 43 0 R +/First 42 0 R +/Last 42 0 R +/Count 1 +>> +endobj + +43 0 obj +<< +/Title ($1N25) +/Parent 16 0 R +/Prev 41 0 R +/Next 45 0 R +/First 44 0 R +/Last 44 0 R +/Count 1 +>> +endobj + +45 0 obj +<< +/Title ($1N62) +/Parent 16 0 R +/Prev 43 0 R +/Next 47 0 R +/First 46 0 R +/Last 46 0 R +/Count 1 +>> +endobj + +47 0 obj +<< +/Title (ADC) +/Parent 16 0 R +/Prev 45 0 R +/Next 52 0 R +/First 48 0 R +/Last 51 0 R +/Count 4 +>> +endobj + +52 0 obj +<< +/Title (BATT) +/Parent 16 0 R +/Prev 47 0 R +/Next 59 0 R +/First 53 0 R +/Last 58 0 R +/Count 6 +>> +endobj + +59 0 obj +<< +/Title (BUSY) +/Parent 16 0 R +/Prev 52 0 R +/Next 75 0 R +/First 60 0 R +/Last 74 0 R +/Count 15 +>> +endobj + +75 0 obj +<< +/Title (CS) +/Parent 16 0 R +/Prev 59 0 R +/Next 91 0 R +/First 76 0 R +/Last 90 0 R +/Count 15 +>> +endobj + +91 0 obj +<< +/Title (DIO2) +/Parent 16 0 R +/Prev 75 0 R +/Next 104 0 R +/First 92 0 R +/Last 103 0 R +/Count 12 +>> +endobj + +104 0 obj +<< +/Title (DIO3) +/Parent 16 0 R +/Prev 91 0 R +/Next 106 0 R +/First 105 0 R +/Last 105 0 R +/Count 1 +>> +endobj + +106 0 obj +<< +/Title (E_INK_BUSY) +/Parent 16 0 R +/Prev 104 0 R +/Next 111 0 R +/First 107 0 R +/Last 110 0 R +/Count 4 +>> +endobj + +111 0 obj +<< +/Title (E_INK_CS) +/Parent 16 0 R +/Prev 106 0 R +/Next 115 0 R +/First 112 0 R +/Last 114 0 R +/Count 3 +>> +endobj + +115 0 obj +<< +/Title (E_INK_D/C) +/Parent 16 0 R +/Prev 111 0 R +/Next 119 0 R +/First 116 0 R +/Last 118 0 R +/Count 3 +>> +endobj + +119 0 obj +<< +/Title (E_INK_NRST) +/Parent 16 0 R +/Prev 115 0 R +/Next 123 0 R +/First 120 0 R +/Last 122 0 R +/Count 3 +>> +endobj + +123 0 obj +<< +/Title (GND) +/Parent 16 0 R +/Prev 119 0 R +/Next 199 0 R +/First 124 0 R +/Last 198 0 R +/Count 75 +>> +endobj + +199 0 obj +<< +/Title (GPSEN) +/Parent 16 0 R +/Prev 123 0 R +/Next 202 0 R +/First 200 0 R +/Last 201 0 R +/Count 2 +>> +endobj + +202 0 obj +<< +/Title (GPSRX) +/Parent 16 0 R +/Prev 199 0 R +/Next 206 0 R +/First 203 0 R +/Last 205 0 R +/Count 3 +>> +endobj + +206 0 obj +<< +/Title (GPSTX) +/Parent 16 0 R +/Prev 202 0 R +/Next 210 0 R +/First 207 0 R +/Last 209 0 R +/Count 3 +>> +endobj + +210 0 obj +<< +/Title (IRQ) +/Parent 16 0 R +/Prev 206 0 R +/Next 226 0 R +/First 211 0 R +/Last 225 0 R +/Count 15 +>> +endobj + +226 0 obj +<< +/Title (LORA_ANT) +/Parent 16 0 R +/Prev 210 0 R +/Next 228 0 R +/First 227 0 R +/Last 227 0 R +/Count 1 +>> +endobj + +228 0 obj +<< +/Title (MISO) +/Parent 16 0 R +/Prev 226 0 R +/Next 244 0 R +/First 229 0 R +/Last 243 0 R +/Count 15 +>> +endobj + +244 0 obj +<< +/Title (MOSI) +/Parent 16 0 R +/Prev 228 0 R +/Next 262 0 R +/First 245 0 R +/Last 261 0 R +/Count 17 +>> +endobj + +262 0 obj +<< +/Title (NRST) +/Parent 16 0 R +/Prev 244 0 R +/Next 278 0 R +/First 263 0 R +/Last 277 0 R +/Count 15 +>> +endobj + +278 0 obj +<< +/Title (RBTN) +/Parent 16 0 R +/Prev 262 0 R +/Next 282 0 R +/First 279 0 R +/Last 281 0 R +/Count 3 +>> +endobj + +282 0 obj +<< +/Title (RXEN) +/Parent 16 0 R +/Prev 278 0 R +/Next 290 0 R +/First 283 0 R +/Last 289 0 R +/Count 7 +>> +endobj + +290 0 obj +<< +/Title (SCK) +/Parent 16 0 R +/Prev 282 0 R +/Next 308 0 R +/First 291 0 R +/Last 307 0 R +/Count 17 +>> +endobj + +308 0 obj +<< +/Title (SCL) +/Parent 16 0 R +/Prev 290 0 R +/Next 311 0 R +/First 309 0 R +/Last 310 0 R +/Count 2 +>> +endobj + +311 0 obj +<< +/Title (SDA) +/Parent 16 0 R +/Prev 308 0 R +/Next 314 0 R +/First 312 0 R +/Last 313 0 R +/Count 2 +>> +endobj + +314 0 obj +<< +/Title (SERIAL2RX) +/Parent 16 0 R +/Prev 311 0 R +/Next 317 0 R +/First 315 0 R +/Last 316 0 R +/Count 2 +>> +endobj + +317 0 obj +<< +/Title (SERIAL2TX) +/Parent 16 0 R +/Prev 314 0 R +/Next 320 0 R +/First 318 0 R +/Last 319 0 R +/Count 2 +>> +endobj + +320 0 obj +<< +/Title (UBTN) +/Parent 16 0 R +/Prev 317 0 R +/First 321 0 R +/Last 323 0 R +/Count 3 +>> +endobj + +18 0 obj +<< +/Title ($1N5) +/Parent 17 0 R +/Next 19 0 R +/A 324 0 R +>> +endobj + +19 0 obj +<< +/Title ($1N29) +/Parent 17 0 R +/Prev 18 0 R +/Next 20 0 R +/A 326 0 R +>> +endobj + +20 0 obj +<< +/Title ($1N35) +/Parent 17 0 R +/Prev 19 0 R +/Next 21 0 R +/A 328 0 R +>> +endobj + +21 0 obj +<< +/Title ($1N54) +/Parent 17 0 R +/Prev 20 0 R +/Next 22 0 R +/A 330 0 R +>> +endobj + +22 0 obj +<< +/Title ($1N1528) +/Parent 17 0 R +/Prev 21 0 R +/Next 23 0 R +/A 332 0 R +>> +endobj + +23 0 obj +<< +/Title ($1N1550) +/Parent 17 0 R +/Prev 22 0 R +/Next 24 0 R +/A 334 0 R +>> +endobj + +24 0 obj +<< +/Title ($1N1574) +/Parent 17 0 R +/Prev 23 0 R +/Next 25 0 R +/A 336 0 R +>> +endobj + +25 0 obj +<< +/Title ($1N1582) +/Parent 17 0 R +/Prev 24 0 R +/Next 26 0 R +/A 338 0 R +>> +endobj + +26 0 obj +<< +/Title ($1N1616) +/Parent 17 0 R +/Prev 25 0 R +/Next 27 0 R +/A 340 0 R +>> +endobj + +27 0 obj +<< +/Title ($1N1618) +/Parent 17 0 R +/Prev 26 0 R +/Next 28 0 R +/A 342 0 R +>> +endobj + +28 0 obj +<< +/Title ($1N1732) +/Parent 17 0 R +/Prev 27 0 R +/Next 29 0 R +/A 344 0 R +>> +endobj + +29 0 obj +<< +/Title ($1N1742) +/Parent 17 0 R +/Prev 28 0 R +/Next 30 0 R +/A 346 0 R +>> +endobj + +30 0 obj +<< +/Title ($1N1776) +/Parent 17 0 R +/Prev 29 0 R +/Next 31 0 R +/A 348 0 R +>> +endobj + +31 0 obj +<< +/Title ($1N1810) +/Parent 17 0 R +/Prev 30 0 R +/Next 32 0 R +/A 350 0 R +>> +endobj + +32 0 obj +<< +/Title ($1N1860) +/Parent 17 0 R +/Prev 31 0 R +/Next 33 0 R +/A 352 0 R +>> +endobj + +33 0 obj +<< +/Title ($1N1874) +/Parent 17 0 R +/Prev 32 0 R +/Next 34 0 R +/A 354 0 R +>> +endobj + +34 0 obj +<< +/Title ($1N5406) +/Parent 17 0 R +/Prev 33 0 R +/Next 35 0 R +/A 356 0 R +>> +endobj + +35 0 obj +<< +/Title ($1N5445) +/Parent 17 0 R +/Prev 34 0 R +/Next 36 0 R +/A 358 0 R +>> +endobj + +36 0 obj +<< +/Title ($1N10678) +/Parent 17 0 R +/Prev 35 0 R +/A 360 0 R +>> +endobj + +38 0 obj +<< +/Title ($1N23) +/Parent 37 0 R +/Next 39 0 R +/A 362 0 R +>> +endobj + +39 0 obj +<< +/Title ($1N31) +/Parent 37 0 R +/Prev 38 0 R +/Next 40 0 R +/A 364 0 R +>> +endobj + +40 0 obj +<< +/Title ($1N1570) +/Parent 37 0 R +/Prev 39 0 R +/A 366 0 R +>> +endobj + +42 0 obj +<< +/Title ($1N1) +/Parent 41 0 R +/A 368 0 R +>> +endobj + +44 0 obj +<< +/Title ($1N25) +/Parent 43 0 R +/A 370 0 R +>> +endobj + +46 0 obj +<< +/Title ($1N62) +/Parent 45 0 R +/A 372 0 R +>> +endobj + +48 0 obj +<< +/Title ($1N15) +/Parent 47 0 R +/Next 49 0 R +/A 374 0 R +>> +endobj + +49 0 obj +<< +/Title ($1N44) +/Parent 47 0 R +/Prev 48 0 R +/Next 50 0 R +/A 376 0 R +>> +endobj + +50 0 obj +<< +/Title ($1N1852) +/Parent 47 0 R +/Prev 49 0 R +/Next 51 0 R +/A 378 0 R +>> +endobj + +51 0 obj +<< +/Title ($1N1856) +/Parent 47 0 R +/Prev 50 0 R +/A 380 0 R +>> +endobj + +53 0 obj +<< +/Title ($1N1494) +/Parent 52 0 R +/Next 54 0 R +/A 382 0 R +>> +endobj + +54 0 obj +<< +/Title ($1N1508) +/Parent 52 0 R +/Prev 53 0 R +/Next 55 0 R +/A 384 0 R +>> +endobj + +55 0 obj +<< +/Title ($1N1578) +/Parent 52 0 R +/Prev 54 0 R +/Next 56 0 R +/A 386 0 R +>> +endobj + +56 0 obj +<< +/Title ($1N1846) +/Parent 52 0 R +/Prev 55 0 R +/Next 57 0 R +/A 388 0 R +>> +endobj + +57 0 obj +<< +/Title ($1N1848) +/Parent 52 0 R +/Prev 56 0 R +/Next 58 0 R +/A 390 0 R +>> +endobj + +58 0 obj +<< +/Title ($1N1854) +/Parent 52 0 R +/Prev 57 0 R +/A 392 0 R +>> +endobj + +60 0 obj +<< +/Title ($1N12) +/Parent 59 0 R +/Next 61 0 R +/A 394 0 R +>> +endobj + +61 0 obj +<< +/Title ($1N47) +/Parent 59 0 R +/Prev 60 0 R +/Next 62 0 R +/A 396 0 R +>> +endobj + +62 0 obj +<< +/Title ($1N1540) +/Parent 59 0 R +/Prev 61 0 R +/Next 63 0 R +/A 398 0 R +>> +endobj + +63 0 obj +<< +/Title ($1N1568) +/Parent 59 0 R +/Prev 62 0 R +/Next 64 0 R +/A 400 0 R +>> +endobj + +64 0 obj +<< +/Title ($1N1600) +/Parent 59 0 R +/Prev 63 0 R +/Next 65 0 R +/A 402 0 R +>> +endobj + +65 0 obj +<< +/Title ($1N1636) +/Parent 59 0 R +/Prev 64 0 R +/Next 66 0 R +/A 404 0 R +>> +endobj + +66 0 obj +<< +/Title ($1N1660) +/Parent 59 0 R +/Prev 65 0 R +/Next 67 0 R +/A 406 0 R +>> +endobj + +67 0 obj +<< +/Title ($1N1696) +/Parent 59 0 R +/Prev 66 0 R +/Next 68 0 R +/A 408 0 R +>> +endobj + +68 0 obj +<< +/Title ($1N1710) +/Parent 59 0 R +/Prev 67 0 R +/Next 69 0 R +/A 410 0 R +>> +endobj + +69 0 obj +<< +/Title ($1N1736) +/Parent 59 0 R +/Prev 68 0 R +/Next 70 0 R +/A 412 0 R +>> +endobj + +70 0 obj +<< +/Title ($1N1760) +/Parent 59 0 R +/Prev 69 0 R +/Next 71 0 R +/A 414 0 R +>> +endobj + +71 0 obj +<< +/Title ($1N1778) +/Parent 59 0 R +/Prev 70 0 R +/Next 72 0 R +/A 416 0 R +>> +endobj + +72 0 obj +<< +/Title ($1N1814) +/Parent 59 0 R +/Prev 71 0 R +/Next 73 0 R +/A 418 0 R +>> +endobj + +73 0 obj +<< +/Title ($1N1836) +/Parent 59 0 R +/Prev 72 0 R +/Next 74 0 R +/A 420 0 R +>> +endobj + +74 0 obj +<< +/Title ($1N1870) +/Parent 59 0 R +/Prev 73 0 R +/A 422 0 R +>> +endobj + +76 0 obj +<< +/Title ($1N10) +/Parent 75 0 R +/Next 77 0 R +/A 424 0 R +>> +endobj + +77 0 obj +<< +/Title ($1N49) +/Parent 75 0 R +/Prev 76 0 R +/Next 78 0 R +/A 426 0 R +>> +endobj + +78 0 obj +<< +/Title ($1N1542) +/Parent 75 0 R +/Prev 77 0 R +/Next 79 0 R +/A 428 0 R +>> +endobj + +79 0 obj +<< +/Title ($1N1566) +/Parent 75 0 R +/Prev 78 0 R +/Next 80 0 R +/A 430 0 R +>> +endobj + +80 0 obj +<< +/Title ($1N1602) +/Parent 75 0 R +/Prev 79 0 R +/Next 81 0 R +/A 432 0 R +>> +endobj + +81 0 obj +<< +/Title ($1N1626) +/Parent 75 0 R +/Prev 80 0 R +/Next 82 0 R +/A 434 0 R +>> +endobj + +82 0 obj +<< +/Title ($1N1670) +/Parent 75 0 R +/Prev 81 0 R +/Next 83 0 R +/A 436 0 R +>> +endobj + +83 0 obj +<< +/Title ($1N1686) +/Parent 75 0 R +/Prev 82 0 R +/Next 84 0 R +/A 438 0 R +>> +endobj + +84 0 obj +<< +/Title ($1N1718) +/Parent 75 0 R +/Prev 83 0 R +/Next 85 0 R +/A 440 0 R +>> +endobj + +85 0 obj +<< +/Title ($1N1728) +/Parent 75 0 R +/Prev 84 0 R +/Next 86 0 R +/A 442 0 R +>> +endobj + +86 0 obj +<< +/Title ($1N1752) +/Parent 75 0 R +/Prev 85 0 R +/Next 87 0 R +/A 444 0 R +>> +endobj + +87 0 obj +<< +/Title ($1N1788) +/Parent 75 0 R +/Prev 86 0 R +/Next 88 0 R +/A 446 0 R +>> +endobj + +88 0 obj +<< +/Title ($1N1808) +/Parent 75 0 R +/Prev 87 0 R +/Next 89 0 R +/A 448 0 R +>> +endobj + +89 0 obj +<< +/Title ($1N1828) +/Parent 75 0 R +/Prev 88 0 R +/Next 90 0 R +/A 450 0 R +>> +endobj + +90 0 obj +<< +/Title ($1N1876) +/Parent 75 0 R +/Prev 89 0 R +/A 452 0 R +>> +endobj + +92 0 obj +<< +/Title ($1N1624) +/Parent 91 0 R +/Next 93 0 R +/A 454 0 R +>> +endobj + +93 0 obj +<< +/Title ($1N1672) +/Parent 91 0 R +/Prev 92 0 R +/Next 94 0 R +/A 456 0 R +>> +endobj + +94 0 obj +<< +/Title ($1N1684) +/Parent 91 0 R +/Prev 93 0 R +/Next 95 0 R +/A 458 0 R +>> +endobj + +95 0 obj +<< +/Title ($1N1698) +/Parent 91 0 R +/Prev 94 0 R +/Next 96 0 R +/A 460 0 R +>> +endobj + +96 0 obj +<< +/Title ($1N1700) +/Parent 91 0 R +/Prev 95 0 R +/Next 97 0 R +/A 462 0 R +>> +endobj + +97 0 obj +<< +/Title ($1N1702) +/Parent 91 0 R +/Prev 96 0 R +/Next 98 0 R +/A 464 0 R +>> +endobj + +98 0 obj +<< +/Title ($1N1744) +/Parent 91 0 R +/Prev 97 0 R +/Next 99 0 R +/A 466 0 R +>> +endobj + +99 0 obj +<< +/Title ($1N1750) +/Parent 91 0 R +/Prev 98 0 R +/Next 100 0 R +/A 468 0 R +>> +endobj + +100 0 obj +<< +/Title ($1N1820) +/Parent 91 0 R +/Prev 99 0 R +/Next 101 0 R +/A 470 0 R +>> +endobj + +101 0 obj +<< +/Title ($1N1822) +/Parent 91 0 R +/Prev 100 0 R +/Next 102 0 R +/A 472 0 R +>> +endobj + +102 0 obj +<< +/Title ($1N1862) +/Parent 91 0 R +/Prev 101 0 R +/Next 103 0 R +/A 474 0 R +>> +endobj + +103 0 obj +<< +/Title ($1N1864) +/Parent 91 0 R +/Prev 102 0 R +/A 476 0 R +>> +endobj + +105 0 obj +<< +/Title ($1N1678) +/Parent 104 0 R +/A 478 0 R +>> +endobj + +107 0 obj +<< +/Title ($1N1500) +/Parent 106 0 R +/Next 108 0 R +/A 480 0 R +>> +endobj + +108 0 obj +<< +/Title ($1N1514) +/Parent 106 0 R +/Prev 107 0 R +/Next 109 0 R +/A 482 0 R +>> +endobj + +109 0 obj +<< +/Title ($1N5294) +/Parent 106 0 R +/Prev 108 0 R +/Next 110 0 R +/A 484 0 R +>> +endobj + +110 0 obj +<< +/Title ($1N5448) +/Parent 106 0 R +/Prev 109 0 R +/A 486 0 R +>> +endobj + +112 0 obj +<< +/Title ($1N1506) +/Parent 111 0 R +/Next 113 0 R +/A 488 0 R +>> +endobj + +113 0 obj +<< +/Title ($1N5342) +/Parent 111 0 R +/Prev 112 0 R +/Next 114 0 R +/A 490 0 R +>> +endobj + +114 0 obj +<< +/Title ($1N5457) +/Parent 111 0 R +/Prev 113 0 R +/A 492 0 R +>> +endobj + +116 0 obj +<< +/Title ($1N1504) +/Parent 115 0 R +/Next 117 0 R +/A 494 0 R +>> +endobj + +117 0 obj +<< +/Title ($1N5326) +/Parent 115 0 R +/Prev 116 0 R +/Next 118 0 R +/A 496 0 R +>> +endobj + +118 0 obj +<< +/Title ($1N5454) +/Parent 115 0 R +/Prev 117 0 R +/A 498 0 R +>> +endobj + +120 0 obj +<< +/Title ($1N1502) +/Parent 119 0 R +/Next 121 0 R +/A 500 0 R +>> +endobj + +121 0 obj +<< +/Title ($1N5310) +/Parent 119 0 R +/Prev 120 0 R +/Next 122 0 R +/A 502 0 R +>> +endobj + +122 0 obj +<< +/Title ($1N5451) +/Parent 119 0 R +/Prev 121 0 R +/A 504 0 R +>> +endobj + +124 0 obj +<< +/Title ($1N2) +/Parent 123 0 R +/Next 125 0 R +/A 506 0 R +>> +endobj + +125 0 obj +<< +/Title ($1N6) +/Parent 123 0 R +/Prev 124 0 R +/Next 126 0 R +/A 508 0 R +>> +endobj + +126 0 obj +<< +/Title ($1N22) +/Parent 123 0 R +/Prev 125 0 R +/Next 127 0 R +/A 510 0 R +>> +endobj + +127 0 obj +<< +/Title ($1N24) +/Parent 123 0 R +/Prev 126 0 R +/Next 128 0 R +/A 512 0 R +>> +endobj + +128 0 obj +<< +/Title ($1N26) +/Parent 123 0 R +/Prev 127 0 R +/Next 129 0 R +/A 514 0 R +>> +endobj + +129 0 obj +<< +/Title ($1N27) +/Parent 123 0 R +/Prev 128 0 R +/Next 130 0 R +/A 516 0 R +>> +endobj + +130 0 obj +<< +/Title ($1N28) +/Parent 123 0 R +/Prev 129 0 R +/Next 131 0 R +/A 518 0 R +>> +endobj + +131 0 obj +<< +/Title ($1N30) +/Parent 123 0 R +/Prev 130 0 R +/Next 132 0 R +/A 520 0 R +>> +endobj + +132 0 obj +<< +/Title ($1N32) +/Parent 123 0 R +/Prev 131 0 R +/Next 133 0 R +/A 522 0 R +>> +endobj + +133 0 obj +<< +/Title ($1N36) +/Parent 123 0 R +/Prev 132 0 R +/Next 134 0 R +/A 524 0 R +>> +endobj + +134 0 obj +<< +/Title ($1N37) +/Parent 123 0 R +/Prev 133 0 R +/Next 135 0 R +/A 526 0 R +>> +endobj + +135 0 obj +<< +/Title ($1N53) +/Parent 123 0 R +/Prev 134 0 R +/Next 136 0 R +/A 528 0 R +>> +endobj + +136 0 obj +<< +/Title ($1N58) +/Parent 123 0 R +/Prev 135 0 R +/Next 137 0 R +/A 530 0 R +>> +endobj + +137 0 obj +<< +/Title ($1N61) +/Parent 123 0 R +/Prev 136 0 R +/Next 138 0 R +/A 532 0 R +>> +endobj + +138 0 obj +<< +/Title ($1N63) +/Parent 123 0 R +/Prev 137 0 R +/Next 139 0 R +/A 534 0 R +>> +endobj + +139 0 obj +<< +/Title ($1N1516) +/Parent 123 0 R +/Prev 138 0 R +/Next 140 0 R +/A 536 0 R +>> +endobj + +140 0 obj +<< +/Title ($1N1518) +/Parent 123 0 R +/Prev 139 0 R +/Next 141 0 R +/A 538 0 R +>> +endobj + +141 0 obj +<< +/Title ($1N1524) +/Parent 123 0 R +/Prev 140 0 R +/Next 142 0 R +/A 540 0 R +>> +endobj + +142 0 obj +<< +/Title ($1N1526) +/Parent 123 0 R +/Prev 141 0 R +/Next 143 0 R +/A 542 0 R +>> +endobj + +143 0 obj +<< +/Title ($1N1530) +/Parent 123 0 R +/Prev 142 0 R +/Next 144 0 R +/A 544 0 R +>> +endobj + +144 0 obj +<< +/Title ($1N1532) +/Parent 123 0 R +/Prev 143 0 R +/Next 145 0 R +/A 546 0 R +>> +endobj + +145 0 obj +<< +/Title ($1N1534) +/Parent 123 0 R +/Prev 144 0 R +/Next 146 0 R +/A 548 0 R +>> +endobj + +146 0 obj +<< +/Title ($1N1552) +/Parent 123 0 R +/Prev 145 0 R +/Next 147 0 R +/A 550 0 R +>> +endobj + +147 0 obj +<< +/Title ($1N1554) +/Parent 123 0 R +/Prev 146 0 R +/Next 148 0 R +/A 552 0 R +>> +endobj + +148 0 obj +<< +/Title ($1N1572) +/Parent 123 0 R +/Prev 147 0 R +/Next 149 0 R +/A 554 0 R +>> +endobj + +149 0 obj +<< +/Title ($1N1576) +/Parent 123 0 R +/Prev 148 0 R +/Next 150 0 R +/A 556 0 R +>> +endobj + +150 0 obj +<< +/Title ($1N1580) +/Parent 123 0 R +/Prev 149 0 R +/Next 151 0 R +/A 558 0 R +>> +endobj + +151 0 obj +<< +/Title ($1N1584) +/Parent 123 0 R +/Prev 150 0 R +/Next 152 0 R +/A 560 0 R +>> +endobj + +152 0 obj +<< +/Title ($1N1586) +/Parent 123 0 R +/Prev 151 0 R +/Next 153 0 R +/A 562 0 R +>> +endobj + +153 0 obj +<< +/Title ($1N1588) +/Parent 123 0 R +/Prev 152 0 R +/Next 154 0 R +/A 564 0 R +>> +endobj + +154 0 obj +<< +/Title ($1N1590) +/Parent 123 0 R +/Prev 153 0 R +/Next 155 0 R +/A 566 0 R +>> +endobj + +155 0 obj +<< +/Title ($1N1592) +/Parent 123 0 R +/Prev 154 0 R +/Next 156 0 R +/A 568 0 R +>> +endobj + +156 0 obj +<< +/Title ($1N1594) +/Parent 123 0 R +/Prev 155 0 R +/Next 157 0 R +/A 570 0 R +>> +endobj + +157 0 obj +<< +/Title ($1N1596) +/Parent 123 0 R +/Prev 156 0 R +/Next 158 0 R +/A 572 0 R +>> +endobj + +158 0 obj +<< +/Title ($1N1598) +/Parent 123 0 R +/Prev 157 0 R +/Next 159 0 R +/A 574 0 R +>> +endobj + +159 0 obj +<< +/Title ($1N1614) +/Parent 123 0 R +/Prev 158 0 R +/Next 160 0 R +/A 576 0 R +>> +endobj + +160 0 obj +<< +/Title ($1N1638) +/Parent 123 0 R +/Prev 159 0 R +/Next 161 0 R +/A 578 0 R +>> +endobj + +161 0 obj +<< +/Title ($1N1640) +/Parent 123 0 R +/Prev 160 0 R +/Next 162 0 R +/A 580 0 R +>> +endobj + +162 0 obj +<< +/Title ($1N1642) +/Parent 123 0 R +/Prev 161 0 R +/Next 163 0 R +/A 582 0 R +>> +endobj + +163 0 obj +<< +/Title ($1N1644) +/Parent 123 0 R +/Prev 162 0 R +/Next 164 0 R +/A 584 0 R +>> +endobj + +164 0 obj +<< +/Title ($1N1646) +/Parent 123 0 R +/Prev 163 0 R +/Next 165 0 R +/A 586 0 R +>> +endobj + +165 0 obj +<< +/Title ($1N1648) +/Parent 123 0 R +/Prev 164 0 R +/Next 166 0 R +/A 588 0 R +>> +endobj + +166 0 obj +<< +/Title ($1N1650) +/Parent 123 0 R +/Prev 165 0 R +/Next 167 0 R +/A 590 0 R +>> +endobj + +167 0 obj +<< +/Title ($1N1652) +/Parent 123 0 R +/Prev 166 0 R +/Next 168 0 R +/A 592 0 R +>> +endobj + +168 0 obj +<< +/Title ($1N1656) +/Parent 123 0 R +/Prev 167 0 R +/Next 169 0 R +/A 594 0 R +>> +endobj + +169 0 obj +<< +/Title ($1N1658) +/Parent 123 0 R +/Prev 168 0 R +/Next 170 0 R +/A 596 0 R +>> +endobj + +170 0 obj +<< +/Title ($1N1708) +/Parent 123 0 R +/Prev 169 0 R +/Next 171 0 R +/A 598 0 R +>> +endobj + +171 0 obj +<< +/Title ($1N1730) +/Parent 123 0 R +/Prev 170 0 R +/Next 172 0 R +/A 600 0 R +>> +endobj + +172 0 obj +<< +/Title ($1N1734) +/Parent 123 0 R +/Prev 171 0 R +/Next 173 0 R +/A 602 0 R +>> +endobj + +173 0 obj +<< +/Title ($1N1740) +/Parent 123 0 R +/Prev 172 0 R +/Next 174 0 R +/A 604 0 R +>> +endobj + +174 0 obj +<< +/Title ($1N1762) +/Parent 123 0 R +/Prev 173 0 R +/Next 175 0 R +/A 606 0 R +>> +endobj + +175 0 obj +<< +/Title ($1N1764) +/Parent 123 0 R +/Prev 174 0 R +/Next 176 0 R +/A 608 0 R +>> +endobj + +176 0 obj +<< +/Title ($1N1766) +/Parent 123 0 R +/Prev 175 0 R +/Next 177 0 R +/A 610 0 R +>> +endobj + +177 0 obj +<< +/Title ($1N1768) +/Parent 123 0 R +/Prev 176 0 R +/Next 178 0 R +/A 612 0 R +>> +endobj + +178 0 obj +<< +/Title ($1N1770) +/Parent 123 0 R +/Prev 177 0 R +/Next 179 0 R +/A 614 0 R +>> +endobj + +179 0 obj +<< +/Title ($1N1774) +/Parent 123 0 R +/Prev 178 0 R +/Next 180 0 R +/A 616 0 R +>> +endobj + +180 0 obj +<< +/Title ($1N1790) +/Parent 123 0 R +/Prev 179 0 R +/Next 181 0 R +/A 618 0 R +>> +endobj + +181 0 obj +<< +/Title ($1N1792) +/Parent 123 0 R +/Prev 180 0 R +/Next 182 0 R +/A 620 0 R +>> +endobj + +182 0 obj +<< +/Title ($1N1796) +/Parent 123 0 R +/Prev 181 0 R +/Next 183 0 R +/A 622 0 R +>> +endobj + +183 0 obj +<< +/Title ($1N1798) +/Parent 123 0 R +/Prev 182 0 R +/Next 184 0 R +/A 624 0 R +>> +endobj + +184 0 obj +<< +/Title ($1N1800) +/Parent 123 0 R +/Prev 183 0 R +/Next 185 0 R +/A 626 0 R +>> +endobj + +185 0 obj +<< +/Title ($1N1824) +/Parent 123 0 R +/Prev 184 0 R +/Next 186 0 R +/A 628 0 R +>> +endobj + +186 0 obj +<< +/Title ($1N1826) +/Parent 123 0 R +/Prev 185 0 R +/Next 187 0 R +/A 630 0 R +>> +endobj + +187 0 obj +<< +/Title ($1N1838) +/Parent 123 0 R +/Prev 186 0 R +/Next 188 0 R +/A 632 0 R +>> +endobj + +188 0 obj +<< +/Title ($1N1840) +/Parent 123 0 R +/Prev 187 0 R +/Next 189 0 R +/A 634 0 R +>> +endobj + +189 0 obj +<< +/Title ($1N1842) +/Parent 123 0 R +/Prev 188 0 R +/Next 190 0 R +/A 636 0 R +>> +endobj + +190 0 obj +<< +/Title ($1N1844) +/Parent 123 0 R +/Prev 189 0 R +/Next 191 0 R +/A 638 0 R +>> +endobj + +191 0 obj +<< +/Title ($1N1850) +/Parent 123 0 R +/Prev 190 0 R +/Next 192 0 R +/A 640 0 R +>> +endobj + +192 0 obj +<< +/Title ($1N1858) +/Parent 123 0 R +/Prev 191 0 R +/Next 193 0 R +/A 642 0 R +>> +endobj + +193 0 obj +<< +/Title ($1N1866) +/Parent 123 0 R +/Prev 192 0 R +/Next 194 0 R +/A 644 0 R +>> +endobj + +194 0 obj +<< +/Title ($1N1884) +/Parent 123 0 R +/Prev 193 0 R +/Next 195 0 R +/A 646 0 R +>> +endobj + +195 0 obj +<< +/Title ($1N1886) +/Parent 123 0 R +/Prev 194 0 R +/Next 196 0 R +/A 648 0 R +>> +endobj + +196 0 obj +<< +/Title ($1N5390) +/Parent 123 0 R +/Prev 195 0 R +/Next 197 0 R +/A 650 0 R +>> +endobj + +197 0 obj +<< +/Title ($1N5442) +/Parent 123 0 R +/Prev 196 0 R +/Next 198 0 R +/A 652 0 R +>> +endobj + +198 0 obj +<< +/Title ($1N10681) +/Parent 123 0 R +/Prev 197 0 R +/A 654 0 R +>> +endobj + +200 0 obj +<< +/Title ($1N19) +/Parent 199 0 R +/Next 201 0 R +/A 656 0 R +>> +endobj + +201 0 obj +<< +/Title ($1N40) +/Parent 199 0 R +/Prev 200 0 R +/A 658 0 R +>> +endobj + +203 0 obj +<< +/Title ($1N20) +/Parent 202 0 R +/Next 204 0 R +/A 660 0 R +>> +endobj + +204 0 obj +<< +/Title ($1N8820) +/Parent 202 0 R +/Prev 203 0 R +/Next 205 0 R +/A 662 0 R +>> +endobj + +205 0 obj +<< +/Title ($1N10687) +/Parent 202 0 R +/Prev 204 0 R +/A 664 0 R +>> +endobj + +207 0 obj +<< +/Title ($1N21) +/Parent 206 0 R +/Next 208 0 R +/A 666 0 R +>> +endobj + +208 0 obj +<< +/Title ($1N8817) +/Parent 206 0 R +/Prev 207 0 R +/Next 209 0 R +/A 668 0 R +>> +endobj + +209 0 obj +<< +/Title ($1N10684) +/Parent 206 0 R +/Prev 208 0 R +/A 670 0 R +>> +endobj + +211 0 obj +<< +/Title ($1N11) +/Parent 210 0 R +/Next 212 0 R +/A 672 0 R +>> +endobj + +212 0 obj +<< +/Title ($1N33) +/Parent 210 0 R +/Prev 211 0 R +/Next 213 0 R +/A 674 0 R +>> +endobj + +213 0 obj +<< +/Title ($1N48) +/Parent 210 0 R +/Prev 212 0 R +/Next 214 0 R +/A 676 0 R +>> +endobj + +214 0 obj +<< +/Title ($1N1538) +/Parent 210 0 R +/Prev 213 0 R +/Next 215 0 R +/A 678 0 R +>> +endobj + +215 0 obj +<< +/Title ($1N1556) +/Parent 210 0 R +/Prev 214 0 R +/Next 216 0 R +/A 680 0 R +>> +endobj + +216 0 obj +<< +/Title ($1N1610) +/Parent 210 0 R +/Prev 215 0 R +/Next 217 0 R +/A 682 0 R +>> +endobj + +217 0 obj +<< +/Title ($1N1622) +/Parent 210 0 R +/Prev 216 0 R +/Next 218 0 R +/A 684 0 R +>> +endobj + +218 0 obj +<< +/Title ($1N1674) +/Parent 210 0 R +/Prev 217 0 R +/Next 219 0 R +/A 686 0 R +>> +endobj + +219 0 obj +<< +/Title ($1N1682) +/Parent 210 0 R +/Prev 218 0 R +/Next 220 0 R +/A 688 0 R +>> +endobj + +220 0 obj +<< +/Title ($1N1706) +/Parent 210 0 R +/Prev 219 0 R +/Next 221 0 R +/A 690 0 R +>> +endobj + +221 0 obj +<< +/Title ($1N1738) +/Parent 210 0 R +/Prev 220 0 R +/Next 222 0 R +/A 692 0 R +>> +endobj + +222 0 obj +<< +/Title ($1N1748) +/Parent 210 0 R +/Prev 221 0 R +/Next 223 0 R +/A 694 0 R +>> +endobj + +223 0 obj +<< +/Title ($1N1772) +/Parent 210 0 R +/Prev 222 0 R +/Next 224 0 R +/A 696 0 R +>> +endobj + +224 0 obj +<< +/Title ($1N1816) +/Parent 210 0 R +/Prev 223 0 R +/Next 225 0 R +/A 698 0 R +>> +endobj + +225 0 obj +<< +/Title ($1N1868) +/Parent 210 0 R +/Prev 224 0 R +/A 700 0 R +>> +endobj + +227 0 obj +<< +/Title ($1N1818) +/Parent 226 0 R +/A 702 0 R +>> +endobj + +229 0 obj +<< +/Title ($1N7) +/Parent 228 0 R +/Next 230 0 R +/A 704 0 R +>> +endobj + +230 0 obj +<< +/Title ($1N52) +/Parent 228 0 R +/Prev 229 0 R +/Next 231 0 R +/A 706 0 R +>> +endobj + +231 0 obj +<< +/Title ($1N1548) +/Parent 228 0 R +/Prev 230 0 R +/Next 232 0 R +/A 708 0 R +>> +endobj + +232 0 obj +<< +/Title ($1N1560) +/Parent 228 0 R +/Prev 231 0 R +/Next 233 0 R +/A 710 0 R +>> +endobj + +233 0 obj +<< +/Title ($1N1608) +/Parent 228 0 R +/Prev 232 0 R +/Next 234 0 R +/A 712 0 R +>> +endobj + +234 0 obj +<< +/Title ($1N1630) +/Parent 228 0 R +/Prev 233 0 R +/Next 235 0 R +/A 714 0 R +>> +endobj + +235 0 obj +<< +/Title ($1N1666) +/Parent 228 0 R +/Prev 234 0 R +/Next 236 0 R +/A 716 0 R +>> +endobj + +236 0 obj +<< +/Title ($1N1690) +/Parent 228 0 R +/Prev 235 0 R +/Next 237 0 R +/A 718 0 R +>> +endobj + +237 0 obj +<< +/Title ($1N1714) +/Parent 228 0 R +/Prev 236 0 R +/Next 238 0 R +/A 720 0 R +>> +endobj + +238 0 obj +<< +/Title ($1N1720) +/Parent 228 0 R +/Prev 237 0 R +/Next 239 0 R +/A 722 0 R +>> +endobj + +239 0 obj +<< +/Title ($1N1756) +/Parent 228 0 R +/Prev 238 0 R +/Next 240 0 R +/A 724 0 R +>> +endobj + +240 0 obj +<< +/Title ($1N1782) +/Parent 228 0 R +/Prev 239 0 R +/Next 241 0 R +/A 726 0 R +>> +endobj + +241 0 obj +<< +/Title ($1N1804) +/Parent 228 0 R +/Prev 240 0 R +/Next 242 0 R +/A 728 0 R +>> +endobj + +242 0 obj +<< +/Title ($1N1834) +/Parent 228 0 R +/Prev 241 0 R +/Next 243 0 R +/A 730 0 R +>> +endobj + +243 0 obj +<< +/Title ($1N1880) +/Parent 228 0 R +/Prev 242 0 R +/A 732 0 R +>> +endobj + +245 0 obj +<< +/Title ($1N8) +/Parent 244 0 R +/Next 246 0 R +/A 734 0 R +>> +endobj + +246 0 obj +<< +/Title ($1N51) +/Parent 244 0 R +/Prev 245 0 R +/Next 247 0 R +/A 736 0 R +>> +endobj + +247 0 obj +<< +/Title ($1N1546) +/Parent 244 0 R +/Prev 246 0 R +/Next 248 0 R +/A 738 0 R +>> +endobj + +248 0 obj +<< +/Title ($1N1562) +/Parent 244 0 R +/Prev 247 0 R +/Next 249 0 R +/A 740 0 R +>> +endobj + +249 0 obj +<< +/Title ($1N1606) +/Parent 244 0 R +/Prev 248 0 R +/Next 250 0 R +/A 742 0 R +>> +endobj + +250 0 obj +<< +/Title ($1N1628) +/Parent 244 0 R +/Prev 249 0 R +/Next 251 0 R +/A 744 0 R +>> +endobj + +251 0 obj +<< +/Title ($1N1668) +/Parent 244 0 R +/Prev 250 0 R +/Next 252 0 R +/A 746 0 R +>> +endobj + +252 0 obj +<< +/Title ($1N1688) +/Parent 244 0 R +/Prev 251 0 R +/Next 253 0 R +/A 748 0 R +>> +endobj + +253 0 obj +<< +/Title ($1N1716) +/Parent 244 0 R +/Prev 252 0 R +/Next 254 0 R +/A 750 0 R +>> +endobj + +254 0 obj +<< +/Title ($1N1722) +/Parent 244 0 R +/Prev 253 0 R +/Next 255 0 R +/A 752 0 R +>> +endobj + +255 0 obj +<< +/Title ($1N1754) +/Parent 244 0 R +/Prev 254 0 R +/Next 256 0 R +/A 754 0 R +>> +endobj + +256 0 obj +<< +/Title ($1N1784) +/Parent 244 0 R +/Prev 255 0 R +/Next 257 0 R +/A 756 0 R +>> +endobj + +257 0 obj +<< +/Title ($1N1802) +/Parent 244 0 R +/Prev 256 0 R +/Next 258 0 R +/A 758 0 R +>> +endobj + +258 0 obj +<< +/Title ($1N1832) +/Parent 244 0 R +/Prev 257 0 R +/Next 259 0 R +/A 760 0 R +>> +endobj + +259 0 obj +<< +/Title ($1N1882) +/Parent 244 0 R +/Prev 258 0 R +/Next 260 0 R +/A 762 0 R +>> +endobj + +260 0 obj +<< +/Title ($1N5374) +/Parent 244 0 R +/Prev 259 0 R +/Next 261 0 R +/A 764 0 R +>> +endobj + +261 0 obj +<< +/Title ($1N5481) +/Parent 244 0 R +/Prev 260 0 R +/A 766 0 R +>> +endobj + +263 0 obj +<< +/Title ($1N13) +/Parent 262 0 R +/Next 264 0 R +/A 768 0 R +>> +endobj + +264 0 obj +<< +/Title ($1N34) +/Parent 262 0 R +/Prev 263 0 R +/Next 265 0 R +/A 770 0 R +>> +endobj + +265 0 obj +<< +/Title ($1N46) +/Parent 262 0 R +/Prev 264 0 R +/Next 266 0 R +/A 772 0 R +>> +endobj + +266 0 obj +<< +/Title ($1N1536) +/Parent 262 0 R +/Prev 265 0 R +/Next 267 0 R +/A 774 0 R +>> +endobj + +267 0 obj +<< +/Title ($1N1558) +/Parent 262 0 R +/Prev 266 0 R +/Next 268 0 R +/A 776 0 R +>> +endobj + +268 0 obj +<< +/Title ($1N1612) +/Parent 262 0 R +/Prev 267 0 R +/Next 269 0 R +/A 778 0 R +>> +endobj + +269 0 obj +<< +/Title ($1N1620) +/Parent 262 0 R +/Prev 268 0 R +/Next 270 0 R +/A 780 0 R +>> +endobj + +270 0 obj +<< +/Title ($1N1676) +/Parent 262 0 R +/Prev 269 0 R +/Next 271 0 R +/A 782 0 R +>> +endobj + +271 0 obj +<< +/Title ($1N1680) +/Parent 262 0 R +/Prev 270 0 R +/Next 272 0 R +/A 784 0 R +>> +endobj + +272 0 obj +<< +/Title ($1N1704) +/Parent 262 0 R +/Prev 271 0 R +/Next 273 0 R +/A 786 0 R +>> +endobj + +273 0 obj +<< +/Title ($1N1726) +/Parent 262 0 R +/Prev 272 0 R +/Next 274 0 R +/A 788 0 R +>> +endobj + +274 0 obj +<< +/Title ($1N1746) +/Parent 262 0 R +/Prev 273 0 R +/Next 275 0 R +/A 790 0 R +>> +endobj + +275 0 obj +<< +/Title ($1N1780) +/Parent 262 0 R +/Prev 274 0 R +/Next 276 0 R +/A 792 0 R +>> +endobj + +276 0 obj +<< +/Title ($1N1812) +/Parent 262 0 R +/Prev 275 0 R +/Next 277 0 R +/A 794 0 R +>> +endobj + +277 0 obj +<< +/Title ($1N1872) +/Parent 262 0 R +/Prev 276 0 R +/A 796 0 R +>> +endobj + +279 0 obj +<< +/Title ($1N14) +/Parent 278 0 R +/Next 280 0 R +/A 798 0 R +>> +endobj + +280 0 obj +<< +/Title ($1N45) +/Parent 278 0 R +/Prev 279 0 R +/Next 281 0 R +/A 800 0 R +>> +endobj + +281 0 obj +<< +/Title ($1N1520) +/Parent 278 0 R +/Prev 280 0 R +/A 802 0 R +>> +endobj + +283 0 obj +<< +/Title ($1N4) +/Parent 282 0 R +/Next 284 0 R +/A 804 0 R +>> +endobj + +284 0 obj +<< +/Title ($1N56) +/Parent 282 0 R +/Prev 283 0 R +/Next 285 0 R +/A 806 0 R +>> +endobj + +285 0 obj +<< +/Title ($1N57) +/Parent 282 0 R +/Prev 284 0 R +/Next 286 0 R +/A 808 0 R +>> +endobj + +286 0 obj +<< +/Title ($1N1634) +/Parent 282 0 R +/Prev 285 0 R +/Next 287 0 R +/A 810 0 R +>> +endobj + +287 0 obj +<< +/Title ($1N1662) +/Parent 282 0 R +/Prev 286 0 R +/Next 288 0 R +/A 812 0 R +>> +endobj + +288 0 obj +<< +/Title ($1N1694) +/Parent 282 0 R +/Prev 287 0 R +/Next 289 0 R +/A 814 0 R +>> +endobj + +289 0 obj +<< +/Title ($1N1794) +/Parent 282 0 R +/Prev 288 0 R +/A 816 0 R +>> +endobj + +291 0 obj +<< +/Title ($1N9) +/Parent 290 0 R +/Next 292 0 R +/A 818 0 R +>> +endobj + +292 0 obj +<< +/Title ($1N50) +/Parent 290 0 R +/Prev 291 0 R +/Next 293 0 R +/A 820 0 R +>> +endobj + +293 0 obj +<< +/Title ($1N1544) +/Parent 290 0 R +/Prev 292 0 R +/Next 294 0 R +/A 822 0 R +>> +endobj + +294 0 obj +<< +/Title ($1N1564) +/Parent 290 0 R +/Prev 293 0 R +/Next 295 0 R +/A 824 0 R +>> +endobj + +295 0 obj +<< +/Title ($1N1604) +/Parent 290 0 R +/Prev 294 0 R +/Next 296 0 R +/A 826 0 R +>> +endobj + +296 0 obj +<< +/Title ($1N1632) +/Parent 290 0 R +/Prev 295 0 R +/Next 297 0 R +/A 828 0 R +>> +endobj + +297 0 obj +<< +/Title ($1N1664) +/Parent 290 0 R +/Prev 296 0 R +/Next 298 0 R +/A 830 0 R +>> +endobj + +298 0 obj +<< +/Title ($1N1692) +/Parent 290 0 R +/Prev 297 0 R +/Next 299 0 R +/A 832 0 R +>> +endobj + +299 0 obj +<< +/Title ($1N1712) +/Parent 290 0 R +/Prev 298 0 R +/Next 300 0 R +/A 834 0 R +>> +endobj + +300 0 obj +<< +/Title ($1N1724) +/Parent 290 0 R +/Prev 299 0 R +/Next 301 0 R +/A 836 0 R +>> +endobj + +301 0 obj +<< +/Title ($1N1758) +/Parent 290 0 R +/Prev 300 0 R +/Next 302 0 R +/A 838 0 R +>> +endobj + +302 0 obj +<< +/Title ($1N1786) +/Parent 290 0 R +/Prev 301 0 R +/Next 303 0 R +/A 840 0 R +>> +endobj + +303 0 obj +<< +/Title ($1N1806) +/Parent 290 0 R +/Prev 302 0 R +/Next 304 0 R +/A 842 0 R +>> +endobj + +304 0 obj +<< +/Title ($1N1830) +/Parent 290 0 R +/Prev 303 0 R +/Next 305 0 R +/A 844 0 R +>> +endobj + +305 0 obj +<< +/Title ($1N1878) +/Parent 290 0 R +/Prev 304 0 R +/Next 306 0 R +/A 846 0 R +>> +endobj + +306 0 obj +<< +/Title ($1N5358) +/Parent 290 0 R +/Prev 305 0 R +/Next 307 0 R +/A 848 0 R +>> +endobj + +307 0 obj +<< +/Title ($1N5478) +/Parent 290 0 R +/Prev 306 0 R +/A 850 0 R +>> +endobj + +309 0 obj +<< +/Title ($1N17) +/Parent 308 0 R +/Next 310 0 R +/A 852 0 R +>> +endobj + +310 0 obj +<< +/Title ($1N42) +/Parent 308 0 R +/Prev 309 0 R +/A 854 0 R +>> +endobj + +312 0 obj +<< +/Title ($1N16) +/Parent 311 0 R +/Next 313 0 R +/A 856 0 R +>> +endobj + +313 0 obj +<< +/Title ($1N43) +/Parent 311 0 R +/Prev 312 0 R +/A 858 0 R +>> +endobj + +315 0 obj +<< +/Title ($1N1498) +/Parent 314 0 R +/Next 316 0 R +/A 860 0 R +>> +endobj + +316 0 obj +<< +/Title ($1N1512) +/Parent 314 0 R +/Prev 315 0 R +/A 862 0 R +>> +endobj + +318 0 obj +<< +/Title ($1N1496) +/Parent 317 0 R +/Next 319 0 R +/A 864 0 R +>> +endobj + +319 0 obj +<< +/Title ($1N1510) +/Parent 317 0 R +/Prev 318 0 R +/A 866 0 R +>> +endobj + +321 0 obj +<< +/Title ($1N18) +/Parent 320 0 R +/Next 322 0 R +/A 868 0 R +>> +endobj + +322 0 obj +<< +/Title ($1N41) +/Parent 320 0 R +/Prev 321 0 R +/Next 323 0 R +/A 870 0 R +>> +endobj + +323 0 obj +<< +/Title ($1N1522) +/Parent 320 0 R +/Prev 322 0 R +/A 872 0 R +>> +endobj + +874 0 obj +<< +/Producer (jsPDF 0.0.0) +/CreationDate (D:20251204143819-00'00') +>> +endobj +875 0 obj +<< +/Type /Catalog +/Pages 1 0 R +/OpenAction [3 0 R /FitH null] +/PageLayout /OneColumn +/Outlines 13 0 R +>> +endobj +xref +0 876 +0000000000 65535 f +0000339911 00000 n +0000469171 00000 n +0000000015 00000 n +0000000125 00000 n +0000339968 00000 n +0000340133 00000 n +0000340312 00000 n +0000340428 00000 n +0000340597 00000 n +0000341641 00000 n +0000398511 00000 n +0000401727 00000 n +0000601787 00000 n +0000601865 00000 n +0000602072 00000 n +0000601968 00000 n +0000602183 00000 n +0000605987 00000 n +0000606064 00000 n +0000606155 00000 n +0000606246 00000 n +0000606337 00000 n +0000606430 00000 n +0000606523 00000 n +0000606616 00000 n +0000606709 00000 n +0000606802 00000 n +0000606895 00000 n +0000606988 00000 n +0000607081 00000 n +0000607174 00000 n +0000607267 00000 n +0000607360 00000 n +0000607453 00000 n +0000607546 00000 n +0000607639 00000 n +0000602285 00000 n +0000607720 00000 n +0000607798 00000 n +0000607889 00000 n +0000602399 00000 n +0000607969 00000 n +0000602514 00000 n +0000608033 00000 n +0000602630 00000 n +0000608098 00000 n +0000602746 00000 n +0000608163 00000 n +0000608241 00000 n +0000608332 00000 n +0000608425 00000 n +0000602860 00000 n +0000608505 00000 n +0000608585 00000 n +0000608678 00000 n +0000608771 00000 n +0000608864 00000 n +0000608957 00000 n +0000602975 00000 n +0000609037 00000 n +0000609115 00000 n +0000609206 00000 n +0000609299 00000 n +0000609392 00000 n +0000609485 00000 n +0000609578 00000 n +0000609671 00000 n +0000609764 00000 n +0000609857 00000 n +0000609950 00000 n +0000610043 00000 n +0000610136 00000 n +0000610229 00000 n +0000610322 00000 n +0000603091 00000 n +0000610402 00000 n +0000610480 00000 n +0000610571 00000 n +0000610664 00000 n +0000610757 00000 n +0000610850 00000 n +0000610943 00000 n +0000611036 00000 n +0000611129 00000 n +0000611222 00000 n +0000611315 00000 n +0000611408 00000 n +0000611501 00000 n +0000611594 00000 n +0000611687 00000 n +0000603205 00000 n +0000611767 00000 n +0000611847 00000 n +0000611940 00000 n +0000612033 00000 n +0000612126 00000 n +0000612219 00000 n +0000612312 00000 n +0000612405 00000 n +0000612499 00000 n +0000612594 00000 n +0000612690 00000 n +0000612786 00000 n +0000603323 00000 n +0000612868 00000 n +0000603442 00000 n +0000612937 00000 n +0000613020 00000 n +0000613117 00000 n +0000613214 00000 n +0000603568 00000 n +0000613297 00000 n +0000613380 00000 n +0000613477 00000 n +0000603692 00000 n +0000613560 00000 n +0000613643 00000 n +0000613740 00000 n +0000603817 00000 n +0000613823 00000 n +0000613906 00000 n +0000614003 00000 n +0000603943 00000 n +0000614086 00000 n +0000614166 00000 n +0000614260 00000 n +0000614355 00000 n +0000614450 00000 n +0000614545 00000 n +0000614640 00000 n +0000614735 00000 n +0000614830 00000 n +0000614925 00000 n +0000615020 00000 n +0000615115 00000 n +0000615210 00000 n +0000615305 00000 n +0000615400 00000 n +0000615495 00000 n +0000615592 00000 n +0000615689 00000 n +0000615786 00000 n +0000615883 00000 n +0000615980 00000 n +0000616077 00000 n +0000616174 00000 n +0000616271 00000 n +0000616368 00000 n +0000616465 00000 n +0000616562 00000 n +0000616659 00000 n +0000616756 00000 n +0000616853 00000 n +0000616950 00000 n +0000617047 00000 n +0000617144 00000 n +0000617241 00000 n +0000617338 00000 n +0000617435 00000 n +0000617532 00000 n +0000617629 00000 n +0000617726 00000 n +0000617823 00000 n +0000617920 00000 n +0000618017 00000 n +0000618114 00000 n +0000618211 00000 n +0000618308 00000 n +0000618405 00000 n +0000618502 00000 n +0000618599 00000 n +0000618696 00000 n +0000618793 00000 n +0000618890 00000 n +0000618987 00000 n +0000619084 00000 n +0000619181 00000 n +0000619278 00000 n +0000619375 00000 n +0000619472 00000 n +0000619569 00000 n +0000619666 00000 n +0000619763 00000 n +0000619860 00000 n +0000619957 00000 n +0000620054 00000 n +0000620151 00000 n +0000620248 00000 n +0000620345 00000 n +0000620442 00000 n +0000620539 00000 n +0000620636 00000 n +0000620733 00000 n +0000620830 00000 n +0000620927 00000 n +0000621024 00000 n +0000621121 00000 n +0000621218 00000 n +0000604063 00000 n +0000621302 00000 n +0000621383 00000 n +0000604184 00000 n +0000621464 00000 n +0000621545 00000 n +0000621642 00000 n +0000604305 00000 n +0000621726 00000 n +0000621807 00000 n +0000621904 00000 n +0000604426 00000 n +0000621988 00000 n +0000622069 00000 n +0000622164 00000 n +0000622259 00000 n +0000622356 00000 n +0000622453 00000 n +0000622550 00000 n +0000622647 00000 n +0000622744 00000 n +0000622841 00000 n +0000622938 00000 n +0000623035 00000 n +0000623132 00000 n +0000623229 00000 n +0000623326 00000 n +0000604546 00000 n +0000623409 00000 n +0000604670 00000 n +0000623478 00000 n +0000623558 00000 n +0000623653 00000 n +0000623750 00000 n +0000623847 00000 n +0000623944 00000 n +0000624041 00000 n +0000624138 00000 n +0000624235 00000 n +0000624332 00000 n +0000624429 00000 n +0000624526 00000 n +0000624623 00000 n +0000624720 00000 n +0000624817 00000 n +0000604791 00000 n +0000624900 00000 n +0000624980 00000 n +0000625075 00000 n +0000625172 00000 n +0000625269 00000 n +0000625366 00000 n +0000625463 00000 n +0000625560 00000 n +0000625657 00000 n +0000625754 00000 n +0000625851 00000 n +0000625948 00000 n +0000626045 00000 n +0000626142 00000 n +0000626239 00000 n +0000626336 00000 n +0000626433 00000 n +0000604912 00000 n +0000626516 00000 n +0000626597 00000 n +0000626692 00000 n +0000626787 00000 n +0000626884 00000 n +0000626981 00000 n +0000627078 00000 n +0000627175 00000 n +0000627272 00000 n +0000627369 00000 n +0000627466 00000 n +0000627563 00000 n +0000627660 00000 n +0000627757 00000 n +0000627854 00000 n +0000605033 00000 n +0000627937 00000 n +0000628018 00000 n +0000628113 00000 n +0000605153 00000 n +0000628196 00000 n +0000628276 00000 n +0000628371 00000 n +0000628466 00000 n +0000628563 00000 n +0000628660 00000 n +0000628757 00000 n +0000605273 00000 n +0000628840 00000 n +0000628920 00000 n +0000629015 00000 n +0000629112 00000 n +0000629209 00000 n +0000629306 00000 n +0000629403 00000 n +0000629500 00000 n +0000629597 00000 n +0000629694 00000 n +0000629791 00000 n +0000629888 00000 n +0000629985 00000 n +0000630082 00000 n +0000630179 00000 n +0000630276 00000 n +0000630373 00000 n +0000605393 00000 n +0000630456 00000 n +0000630537 00000 n +0000605512 00000 n +0000630618 00000 n +0000630699 00000 n +0000605631 00000 n +0000630780 00000 n +0000630863 00000 n +0000605756 00000 n +0000630946 00000 n +0000631029 00000 n +0000605881 00000 n +0000631112 00000 n +0000631193 00000 n +0000631288 00000 n +0000469307 00000 n +0000469371 00000 n +0000469817 00000 n +0000469881 00000 n +0000470275 00000 n +0000470339 00000 n +0000470748 00000 n +0000470812 00000 n +0000471245 00000 n +0000471309 00000 n +0000471715 00000 n +0000471779 00000 n +0000472172 00000 n +0000472236 00000 n +0000472668 00000 n +0000472732 00000 n +0000473125 00000 n +0000473189 00000 n +0000473633 00000 n +0000473697 00000 n +0000474141 00000 n +0000474205 00000 n +0000474634 00000 n +0000474698 00000 n +0000475105 00000 n +0000475169 00000 n +0000475564 00000 n +0000475628 00000 n +0000476035 00000 n +0000476099 00000 n +0000476503 00000 n +0000476567 00000 n +0000477007 00000 n +0000477071 00000 n +0000477529 00000 n +0000477593 00000 n +0000478051 00000 n +0000478115 00000 n +0000478555 00000 n +0000478619 00000 n +0000479015 00000 n +0000479079 00000 n +0000479497 00000 n +0000479561 00000 n +0000479956 00000 n +0000480020 00000 n +0000480450 00000 n +0000480514 00000 n +0000480958 00000 n +0000481022 00000 n +0000481453 00000 n +0000481517 00000 n +0000481937 00000 n +0000482001 00000 n +0000482422 00000 n +0000482486 00000 n +0000482894 00000 n +0000482958 00000 n +0000483366 00000 n +0000483430 00000 n +0000483828 00000 n +0000483892 00000 n +0000484288 00000 n +0000484352 00000 n +0000484759 00000 n +0000484823 00000 n +0000485258 00000 n +0000485322 00000 n +0000485732 00000 n +0000485796 00000 n +0000486206 00000 n +0000486270 00000 n +0000486679 00000 n +0000486743 00000 n +0000487154 00000 n +0000487218 00000 n +0000487624 00000 n +0000487688 00000 n +0000488083 00000 n +0000488147 00000 n +0000488562 00000 n +0000488626 00000 n +0000489055 00000 n +0000489119 00000 n +0000489524 00000 n +0000489588 00000 n +0000490017 00000 n +0000490081 00000 n +0000490536 00000 n +0000490600 00000 n +0000491029 00000 n +0000491093 00000 n +0000491510 00000 n +0000491574 00000 n +0000491969 00000 n +0000492033 00000 n +0000492440 00000 n +0000492504 00000 n +0000492897 00000 n +0000492961 00000 n +0000493390 00000 n +0000493454 00000 n +0000493897 00000 n +0000493961 00000 n +0000494406 00000 n +0000494470 00000 n +0000494865 00000 n +0000494929 00000 n +0000495346 00000 n +0000495410 00000 n +0000495827 00000 n +0000495891 00000 n +0000496320 00000 n +0000496384 00000 n +0000496789 00000 n +0000496853 00000 n +0000497271 00000 n +0000497335 00000 n +0000497790 00000 n +0000497854 00000 n +0000498249 00000 n +0000498313 00000 n +0000498730 00000 n +0000498794 00000 n +0000499189 00000 n +0000499253 00000 n +0000499660 00000 n +0000499724 00000 n +0000500119 00000 n +0000500183 00000 n +0000500600 00000 n +0000500664 00000 n +0000501093 00000 n +0000501157 00000 n +0000501623 00000 n +0000501687 00000 n +0000502105 00000 n +0000502169 00000 n +0000502613 00000 n +0000502677 00000 n +0000503084 00000 n +0000503148 00000 n +0000503592 00000 n +0000503656 00000 n +0000504051 00000 n +0000504115 00000 n +0000504522 00000 n +0000504586 00000 n +0000504981 00000 n +0000505045 00000 n +0000505463 00000 n +0000505527 00000 n +0000505954 00000 n +0000506018 00000 n +0000506447 00000 n +0000506511 00000 n +0000506906 00000 n +0000506970 00000 n +0000507377 00000 n +0000507441 00000 n +0000507859 00000 n +0000507923 00000 n +0000508318 00000 n +0000508382 00000 n +0000508814 00000 n +0000508878 00000 n +0000509283 00000 n +0000509347 00000 n +0000509742 00000 n +0000509806 00000 n +0000510238 00000 n +0000510302 00000 n +0000510746 00000 n +0000510810 00000 n +0000511242 00000 n +0000511306 00000 n +0000511775 00000 n +0000511839 00000 n +0000512283 00000 n +0000512347 00000 n +0000512740 00000 n +0000512804 00000 n +0000513234 00000 n +0000513298 00000 n +0000513694 00000 n +0000513758 00000 n +0000514181 00000 n +0000514245 00000 n +0000514642 00000 n +0000514706 00000 n +0000515161 00000 n +0000515225 00000 n +0000515622 00000 n +0000515686 00000 n +0000516132 00000 n +0000516196 00000 n +0000516615 00000 n +0000516679 00000 n +0000517111 00000 n +0000517175 00000 n +0000517605 00000 n +0000517669 00000 n +0000518102 00000 n +0000518166 00000 n +0000518574 00000 n +0000518638 00000 n +0000519048 00000 n +0000519112 00000 n +0000519553 00000 n +0000519617 00000 n +0000520020 00000 n +0000520084 00000 n +0000520504 00000 n +0000520568 00000 n +0000521000 00000 n +0000521064 00000 n +0000521533 00000 n +0000521597 00000 n +0000522028 00000 n +0000522092 00000 n +0000522507 00000 n +0000522571 00000 n +0000522964 00000 n +0000523028 00000 n +0000523457 00000 n +0000523521 00000 n +0000523927 00000 n +0000523991 00000 n +0000524408 00000 n +0000524472 00000 n +0000524887 00000 n +0000524951 00000 n +0000525383 00000 n +0000525447 00000 n +0000525842 00000 n +0000525906 00000 n +0000526347 00000 n +0000526411 00000 n +0000526826 00000 n +0000526890 00000 n +0000527307 00000 n +0000527371 00000 n +0000527788 00000 n +0000527852 00000 n +0000528269 00000 n +0000528333 00000 n +0000528728 00000 n +0000528792 00000 n +0000529187 00000 n +0000529251 00000 n +0000529646 00000 n +0000529710 00000 n +0000530103 00000 n +0000530167 00000 n +0000530574 00000 n +0000530638 00000 n +0000531067 00000 n +0000531131 00000 n +0000531548 00000 n +0000531612 00000 n +0000532030 00000 n +0000532094 00000 n +0000532534 00000 n +0000532598 00000 n +0000533053 00000 n +0000533117 00000 n +0000533572 00000 n +0000533636 00000 n +0000534065 00000 n +0000534129 00000 n +0000534545 00000 n +0000534609 00000 n +0000535002 00000 n +0000535066 00000 n +0000535471 00000 n +0000535535 00000 n +0000535967 00000 n +0000536031 00000 n +0000536438 00000 n +0000536502 00000 n +0000536909 00000 n +0000536973 00000 n +0000537365 00000 n +0000537429 00000 n +0000537846 00000 n +0000537910 00000 n +0000538350 00000 n +0000538414 00000 n +0000538821 00000 n +0000538885 00000 n +0000539314 00000 n +0000539378 00000 n +0000539773 00000 n +0000539837 00000 n +0000540232 00000 n +0000540296 00000 n +0000540691 00000 n +0000540755 00000 n +0000541150 00000 n +0000541214 00000 n +0000541609 00000 n +0000541673 00000 n +0000542080 00000 n +0000542144 00000 n +0000542539 00000 n +0000542603 00000 n +0000542998 00000 n +0000543062 00000 n +0000543457 00000 n +0000543521 00000 n +0000543916 00000 n +0000543980 00000 n +0000544373 00000 n +0000544437 00000 n +0000544830 00000 n +0000544894 00000 n +0000545363 00000 n +0000545427 00000 n +0000545871 00000 n +0000545935 00000 n +0000546379 00000 n +0000546443 00000 n +0000546894 00000 n +0000546958 00000 n +0000547377 00000 n +0000547441 00000 n +0000547848 00000 n +0000547912 00000 n +0000548305 00000 n +0000548369 00000 n +0000548799 00000 n +0000548863 00000 n +0000549306 00000 n +0000549370 00000 n +0000549805 00000 n +0000549869 00000 n +0000550300 00000 n +0000550364 00000 n +0000550787 00000 n +0000550851 00000 n +0000551270 00000 n +0000551334 00000 n +0000551726 00000 n +0000551790 00000 n +0000552202 00000 n +0000552266 00000 n +0000552674 00000 n +0000552738 00000 n +0000553142 00000 n +0000553206 00000 n +0000553615 00000 n +0000553679 00000 n +0000554112 00000 n +0000554176 00000 n +0000554587 00000 n +0000554651 00000 n +0000555044 00000 n +0000555108 00000 n +0000555503 00000 n +0000555567 00000 n +0000555962 00000 n +0000556026 00000 n +0000556443 00000 n +0000556507 00000 n +0000556900 00000 n +0000556964 00000 n +0000557371 00000 n +0000557435 00000 n +0000557842 00000 n +0000557906 00000 n +0000558313 00000 n +0000558377 00000 n +0000558817 00000 n +0000558881 00000 n +0000559276 00000 n +0000559340 00000 n +0000559747 00000 n +0000559811 00000 n +0000560262 00000 n +0000560326 00000 n +0000560733 00000 n +0000560797 00000 n +0000561217 00000 n +0000561281 00000 n +0000561703 00000 n +0000561767 00000 n +0000562160 00000 n +0000562224 00000 n +0000562678 00000 n +0000562742 00000 n +0000563159 00000 n +0000563223 00000 n +0000563652 00000 n +0000563716 00000 n +0000564121 00000 n +0000564185 00000 n +0000564592 00000 n +0000564656 00000 n +0000565100 00000 n +0000565164 00000 n +0000565571 00000 n +0000565635 00000 n +0000566052 00000 n +0000566116 00000 n +0000566548 00000 n +0000566612 00000 n +0000567019 00000 n +0000567083 00000 n +0000567478 00000 n +0000567542 00000 n +0000567971 00000 n +0000568035 00000 n +0000568467 00000 n +0000568531 00000 n +0000568965 00000 n +0000569029 00000 n +0000569458 00000 n +0000569522 00000 n +0000569937 00000 n +0000570001 00000 n +0000570455 00000 n +0000570519 00000 n +0000570959 00000 n +0000571023 00000 n +0000571439 00000 n +0000571503 00000 n +0000571898 00000 n +0000571962 00000 n +0000572394 00000 n +0000572458 00000 n +0000572887 00000 n +0000572951 00000 n +0000573380 00000 n +0000573444 00000 n +0000573839 00000 n +0000573903 00000 n +0000574298 00000 n +0000574362 00000 n +0000574757 00000 n +0000574821 00000 n +0000575272 00000 n +0000575336 00000 n +0000575731 00000 n +0000575795 00000 n +0000576227 00000 n +0000576291 00000 n +0000576711 00000 n +0000576775 00000 n +0000577196 00000 n +0000577260 00000 n +0000577682 00000 n +0000577746 00000 n +0000578152 00000 n +0000578216 00000 n +0000578648 00000 n +0000578712 00000 n +0000579107 00000 n +0000579171 00000 n +0000579622 00000 n +0000579686 00000 n +0000580113 00000 n +0000580177 00000 n +0000580609 00000 n +0000580673 00000 n +0000581080 00000 n +0000581144 00000 n +0000581562 00000 n +0000581626 00000 n +0000582055 00000 n +0000582119 00000 n +0000582514 00000 n +0000582578 00000 n +0000582973 00000 n +0000583037 00000 n +0000583477 00000 n +0000583541 00000 n +0000583973 00000 n +0000584037 00000 n +0000584471 00000 n +0000584535 00000 n +0000584925 00000 n +0000584989 00000 n +0000585383 00000 n +0000585447 00000 n +0000585854 00000 n +0000585918 00000 n +0000586328 00000 n +0000586392 00000 n +0000586810 00000 n +0000586874 00000 n +0000587329 00000 n +0000587393 00000 n +0000587859 00000 n +0000587923 00000 n +0000588330 00000 n +0000588394 00000 n +0000588801 00000 n +0000588865 00000 n +0000589274 00000 n +0000589338 00000 n +0000589744 00000 n +0000589808 00000 n +0000590225 00000 n +0000590289 00000 n +0000590706 00000 n +0000590770 00000 n +0000591187 00000 n +0000591251 00000 n +0000591644 00000 n +0000591708 00000 n +0000592115 00000 n +0000592179 00000 n +0000592645 00000 n +0000592709 00000 n +0000593116 00000 n +0000593180 00000 n +0000593620 00000 n +0000593684 00000 n +0000594077 00000 n +0000594141 00000 n +0000594559 00000 n +0000594623 00000 n +0000595055 00000 n +0000595119 00000 n +0000595548 00000 n +0000595612 00000 n +0000596007 00000 n +0000596071 00000 n +0000596503 00000 n +0000596567 00000 n +0000596977 00000 n +0000597041 00000 n +0000597447 00000 n +0000597511 00000 n +0000597923 00000 n +0000597987 00000 n +0000598395 00000 n +0000598459 00000 n +0000598855 00000 n +0000598919 00000 n +0000599326 00000 n +0000599390 00000 n +0000599797 00000 n +0000599861 00000 n +0000600279 00000 n +0000600343 00000 n +0000600789 00000 n +0000600853 00000 n +0000601295 00000 n +0000601359 00000 n +0000631371 00000 n +0000631458 00000 n +trailer +<< +/Size 876 +/Root 875 0 R +/Info 874 0 R +/ID [ ] +>> +startxref +631580 +%%EOF diff --git a/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/platformio.ini b/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/platformio.ini index 61a6eda07..ca8f1777e 100644 --- a/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/platformio.ini +++ b/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/platformio.ini @@ -6,8 +6,6 @@ build_flags = ${nrf52840_base.build_flags} -I variants/nrf52840/diy/nrf52_promicro_diy_tcxo -D NRF52_PROMICRO_DIY build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/diy/nrf52_promicro_diy_tcxo> -lib_deps = - ${nrf52840_base.lib_deps} debug_tool = jlink ; NRF52 ProMicro w/ E-Ink display diff --git a/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/readme.md b/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/readme.md index 5a78103ee..4ffe625cc 100644 --- a/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/readme.md +++ b/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/readme.md @@ -2,9 +2,13 @@ # Notes +News 2025-12-04 - The GPS pin definitions have been changed!!! This has no material effect on current builds, but future builders may wish to review how they are using the wires. + ## General -The pinout is contained in the variant.h file, and a [generic schematic](./Schematic_Pro-Micro_Pinouts%202024-12-14.pdf) is located in this directory. +The pinout is contained in the variant.h file, and a [generic schematic](./Schematic_Pro-Micro_Pinouts_2025-12-04.pdf) is located in this directory. + +This variant is suitable for both TCXO and XTAL types of modules. The old XTAL variant has been removed to reduce confusion. ### Note on DIO2, RXEN, TXEN, and RF switching @@ -17,9 +21,13 @@ Several modules require external switching between transmit (Tx) and receive (Rx RXEN is not required to be connected if the selected module already has internal RF switching, or if external RF switching logic is already applied. Also worth noting that the Seeed WIO SX1262 in particular only has RXEN exposed (marked RF_SW) and has the DIO2-TXEN link internally. +## Making a node based on this variant + +Making your own node based on this design is straightforward. There are various open source and free to use PCB design files available, or you can solder wires directly from a module to the pro-micro. +
- The table of known modules is at the bottom of the variant.h, and reproduced here for convenience. + < Click to expand > The table of known modules is at the bottom of the variant.h, and reproduced here for convenience. | Mfr | Module | TCXO | RF Switch | Notes | | ------------ | ---------------- | ---- | --------- | ------------------------------------- | @@ -34,6 +42,7 @@ Also worth noting that the Seeed WIO SX1262 in particular only has RXEN exposed | Waveshare | Core1262-HF | yes | Ext | | | Waveshare | LoRa Node Module | yes | Int | | | Seeed | Wio-SX1262 | yes | Ext | Cute! DIO2/TXEN are not exposed | +| Seeed | Wio-LR1121 | yes | Int | LR1121, needs alternate rfswitch.h | | AI-Thinker | RA-02 | No | Int | SX1278 **433mhz band only** | | RF Solutions | RFM95 | No | Int | Untested | | Ebyte | E80-900M2213S | Yes | Int | LR1121 radio | @@ -72,6 +81,10 @@ The Semtech default, the values are (taken from [here](https://github.com/Lora-n
+ < Click to expand > + + + ```cpp .rfswitch = { .enable = LR11XX_SYSTEM_RFSW0_HIGH | LR11XX_SYSTEM_RFSW1_HIGH | LR11XX_SYSTEM_RFSW2_HIGH, diff --git a/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/variant.h b/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/variant.h index 87342a02f..7eeb26e65 100644 --- a/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/variant.h +++ b/variants/nrf52840/diy/nrf52_promicro_diy_tcxo/variant.h @@ -30,8 +30,8 @@ NRF52 PRO MICRO PIN ASSIGNMENT | Gnd   |             |   | reset   |             | | | Gnd   |             |   | ext_vcc | *see 0.13   | | | P0.17 | RXEN       |   | P0.31   | BATTERY_PIN | | -| P0.20 | GPS_RX     |   | P0.29   | BUSY         | DIO0 | -| P0.22 | GPS_TX     |   | P0.02   | MISO | MISO | +| P0.20 | GPS_TX     |   | P0.29   | BUSY         | DIO0 | +| P0.22 | GPS_RX     |   | P0.02   | MISO | MISO | | P0.24 | GPS_EN     |   | P1.15   | MOSI         | MOSI | | P1.00 | BUTTON_PIN |   | P1.13   | CS           | CS   | | P0.11 | SCL         |   | P1.11   | SCK         | SCK | @@ -90,16 +90,16 @@ NRF52 PRO MICRO PIN ASSIGNMENT #define BUTTON_PIN (32 + 0) // P1.00 // GPS -#define PIN_GPS_TX (0 + 22) // P0.22 -#define PIN_GPS_RX (0 + 20) // P0.20 +#define PIN_GPS_TX (0 + 20) // P0.20 - This is data from the MCU +#define PIN_GPS_RX (0 + 22) // P0.22 - This is data from the GNSS #define PIN_GPS_EN (0 + 24) // P0.24 #define GPS_UBLOX // define GPS_DEBUG // UART interfaces -#define PIN_SERIAL1_RX PIN_GPS_TX -#define PIN_SERIAL1_TX PIN_GPS_RX +#define PIN_SERIAL1_TX PIN_GPS_TX +#define PIN_SERIAL1_RX PIN_GPS_RX #define PIN_SERIAL2_RX (0 + 6) // P0.06 #define PIN_SERIAL2_TX (0 + 8) // P0.08 @@ -175,6 +175,7 @@ settings. | Waveshare | Core1262-HF | yes | Ext | | | Waveshare | LoRa Node Module | yes | Int | | | Seeed | Wio-SX1262 | yes | Ext | Cute! DIO2/TXEN are not exposed | +| Seeed | Wio-LR1121 | yes | Int | LR1121, needs alternate rfswitch.h | | AI-Thinker | RA-02 | No | Int | SX1278 **433mhz band only** | | RF Solutions | RFM95 | No | Int | Untested | | Ebyte | E80-900M2213S | Yes | Int | LR1121 radio | diff --git a/variants/nrf52840/diy/nrf52_promicro_diy_xtal/platformio.ini b/variants/nrf52840/diy/nrf52_promicro_diy_xtal/platformio.ini deleted file mode 100644 index 278f578c5..000000000 --- a/variants/nrf52840/diy/nrf52_promicro_diy_xtal/platformio.ini +++ /dev/null @@ -1,12 +0,0 @@ -; Promicro + E22(0)-xxxMM / RA-01SH modules board variant - DIY - without TCXO -[env:nrf52_promicro_diy_xtal] -extends = nrf52840_base -board = promicro-nrf52840 -board_level = extra -build_flags = ${nrf52840_base.build_flags} - -I variants/nrf52840/diy/nrf52_promicro_diy_xtal - -D NRF52_PROMICRO_DIY -build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/diy/nrf52_promicro_diy_xtal> -lib_deps = - ${nrf52840_base.lib_deps} -debug_tool = jlink diff --git a/variants/nrf52840/diy/nrf52_promicro_diy_xtal/variant.h b/variants/nrf52840/diy/nrf52_promicro_diy_xtal/variant.h deleted file mode 100644 index 6e208e79f..000000000 --- a/variants/nrf52840/diy/nrf52_promicro_diy_xtal/variant.h +++ /dev/null @@ -1,154 +0,0 @@ -#ifndef _VARIANT_PROMICRO_DIY_ -#define _VARIANT_PROMICRO_DIY_ - -/** Master clock frequency */ -#define VARIANT_MCK (64000000ul) - -// #define USE_LFXO // Board uses 32khz crystal for LF -#define USE_LFRC // Board uses RC for LF - -#define PROMICRO_DIY_XTAL -/*---------------------------------------------------------------------------- - * Headers - *----------------------------------------------------------------------------*/ - -#include "WVariant.h" - -#ifdef __cplusplus -extern "C" { -#endif // __cplusplus - -/* -NRF52 PRO MICRO PIN ASSIGNMENT - -| Pin | Function | | Pin | Function | -|-------|------------|---|---------|-------------| -| Gnd | | | vbat | | -| P0.06 | Serial2 RX | | vbat | | -| P0.08 | Serial2 TX | | Gnd | | -| Gnd | | | reset | | -| Gnd | | | ext_vcc | *see 0.13 | -| P0.17 | RXEN | | P0.31 | BATTERY_PIN | -| P0.20 | GPS_RX | | P0.29 | BUSY | -| P0.22 | GPS_TX | | P0.02 | MISO | -| P0.24 | GPS_EN | | P1.15 | MOSI | -| P1.00 | BUTTON_PIN | | P1.13 | CS | -| P0.11 | SCL | | P1.11 | SCK | -| P1.04 | SDA | | P0.10 | DIO1/IRQ | -| P1.06 | Free pin | | P0.09 | RESET | -| | | | | | -| | Mid board | | | Internal | -| P1.01 | Free pin | | 0.15 | LED | -| P1.02 | Free pin | | 0.13 | 3V3_EN | -| P1.07 | Free pin | | | | -*/ - -// Number of pins defined in PinDescription array -#define PINS_COUNT (48) -#define NUM_DIGITAL_PINS (48) -#define NUM_ANALOG_INPUTS (1) -#define NUM_ANALOG_OUTPUTS (0) - -// Pin 13 enables 3.3V periphery. If the Lora module is on this pin, then it should stay enabled at all times. -#define PIN_3V3_EN (0 + 13) // P0.13 - -// Analog pins -#define BATTERY_PIN (0 + 31) // P0.31 Battery ADC -#define ADC_CHANNEL ADC1_GPIO4_CHANNEL -#define ADC_RESOLUTION 14 -#define BATTERY_SENSE_RESOLUTION_BITS 12 -#define BATTERY_SENSE_RESOLUTION 4096.0 -// Definition of milliVolt per LSB => 3.0V ADC range and 12-bit ADC resolution = 3000mV/4096 -#define VBAT_MV_PER_LSB (0.73242188F) -// Voltage divider value => 1.5M + 1M voltage divider on VBAT = (1.5M / (1M + 1.5M)) -#define VBAT_DIVIDER (0.6F) -// Compensation factor for the VBAT divider -#define VBAT_DIVIDER_COMP (1.73) -// Fixed calculation of milliVolt from compensation value -#define REAL_VBAT_MV_PER_LSB (VBAT_DIVIDER_COMP * VBAT_MV_PER_LSB) -#undef AREF_VOLTAGE -#define AREF_VOLTAGE 3.0 -#define VBAT_AR_INTERNAL AR_INTERNAL_3_0 -#define ADC_MULTIPLIER VBAT_DIVIDER_COMP // REAL_VBAT_MV_PER_LSB -#define VBAT_RAW_TO_SCALED(x) (REAL_VBAT_MV_PER_LSB * x) - -// WIRE IC AND IIC PINS -#define WIRE_INTERFACES_COUNT 1 - -#define PIN_WIRE_SDA (32 + 4) // P1.04 -#define PIN_WIRE_SCL (0 + 11) // P0.11 - -// LED -#define PIN_LED1 (0 + 15) // P0.15 -#define LED_BUILTIN PIN_LED1 -// Actually red -#define LED_BLUE PIN_LED1 -#define LED_STATE_ON 1 // State when LED is lit - -// Button -#define BUTTON_PIN (32 + 0) // P1.00 - -// GPS -#define PIN_GPS_TX (0 + 22) // P0.22 -#define PIN_GPS_RX (0 + 20) // P0.20 - -#define PIN_GPS_EN (0 + 24) // P0.24 -#define GPS_UBLOX -// define GPS_DEBUG - -// UART interfaces -#define PIN_SERIAL1_RX PIN_GPS_TX -#define PIN_SERIAL1_TX PIN_GPS_RX - -#define PIN_SERIAL2_RX (0 + 6) // P0.06 -#define PIN_SERIAL2_TX (0 + 8) // P0.08 - -// Serial interfaces -#define SPI_INTERFACES_COUNT 1 - -#define PIN_SPI_MISO (0 + 2) // P0.02 -#define PIN_SPI_MOSI (32 + 15) // P1.15 -#define PIN_SPI_SCK (32 + 11) // P1.11 - -// LORA MODULES -#define USE_LLCC68 -#define USE_SX1262 -// #define USE_RF95 -#define USE_SX1268 - -// LORA CONFIG -#define SX126X_CS (32 + 13) // P1.13 FIXME - we really should define LORA_CS instead -#define SX126X_DIO1 (0 + 10) // P0.10 IRQ -#define SX126X_DIO2_AS_RF_SWITCH // Note for E22 modules: DIO2 is not attached internally to TXEN for automatic TX/RX switching, - // so it needs connecting externally if it is used in this way -#define SX126X_BUSY (0 + 29) // P0.29 -#define SX126X_RESET (0 + 9) // P0.09 -#define SX126X_RXEN (0 + 17) // P0.17 -#define SX126X_TXEN RADIOLIB_NC // Assuming that DIO2 is connected to TXEN pin. If not, TXEN must be connected. - -/* -On the SX1262, DIO3 sets the voltage for an external TCXO, if one is present. If one is not present, then this should not be used. - -Ebyte -e22-900mm22s has no TCXO -e22-900m22s has TCXO -e220-900mm22s has no TCXO, works with/without this definition, looks like DIO3 not connected at all - -AI-thinker -RA-01SH does not have TCXO - -Waveshare -Core1262 has TCXO - -*/ -// #define SX126X_DIO3_TCXO_VOLTAGE 1.8 - -#ifdef __cplusplus -} -#endif - -/*---------------------------------------------------------------------------- - * Arduino objects - C++ only - *----------------------------------------------------------------------------*/ - -#endif \ No newline at end of file diff --git a/variants/nrf52840/diy/seeed-xiao-nrf52840-wio-sx1262/platformio.ini b/variants/nrf52840/diy/seeed-xiao-nrf52840-wio-sx1262/platformio.ini index 2df31d23c..10eab2aa4 100644 --- a/variants/nrf52840/diy/seeed-xiao-nrf52840-wio-sx1262/platformio.ini +++ b/variants/nrf52840/diy/seeed-xiao-nrf52840-wio-sx1262/platformio.ini @@ -10,6 +10,4 @@ build_flags = ${nrf52840_base.build_flags} -Isrc/platform/nrf52/softdevice/nrf52 board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/diy/seeed-xiao-nrf52840-wio-sx1262> -lib_deps = - ${nrf52840_base.lib_deps} debug_tool = jlink diff --git a/variants/nrf52840/feather_diy/platformio.ini b/variants/nrf52840/feather_diy/platformio.ini index a17e418a2..5540021b3 100644 --- a/variants/nrf52840/feather_diy/platformio.ini +++ b/variants/nrf52840/feather_diy/platformio.ini @@ -6,8 +6,6 @@ build_flags = ${nrf52840_base.build_flags} -Ivariants/nrf52840/feather_diy -Dfeather_diy build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/feather_diy> -lib_deps = - ${nrf52840_base.lib_deps} debug_tool = jlink ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) ;upload_protocol = jlink \ No newline at end of file diff --git a/variants/nrf52840/gat562_mesh_trial_tracker/platformio.ini b/variants/nrf52840/gat562_mesh_trial_tracker/platformio.ini index c6cd23314..e7eede80f 100644 --- a/variants/nrf52840/gat562_mesh_trial_tracker/platformio.ini +++ b/variants/nrf52840/gat562_mesh_trial_tracker/platformio.ini @@ -12,5 +12,3 @@ build_flags = ${nrf52840_base.build_flags} -DRADIOLIB_EXCLUDE_SX127X=1 -DRADIOLIB_EXCLUDE_LR11X0=1 build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/gat562_mesh_trial_tracker> -lib_deps = - ${nrf52840_base.lib_deps} diff --git a/variants/nrf52840/heltec_mesh_node_t114-inkhud/platformio.ini b/variants/nrf52840/heltec_mesh_node_t114-inkhud/platformio.ini index 2641a507d..56f55eafc 100644 --- a/variants/nrf52840/heltec_mesh_node_t114-inkhud/platformio.ini +++ b/variants/nrf52840/heltec_mesh_node_t114-inkhud/platformio.ini @@ -14,7 +14,8 @@ build_src_filter = lib_deps = ${inkhud.lib_deps} ; InkHUD libs first, so we get GFXRoot instead of AdafruitGFX ${nrf52840_base.lib_deps} - lewisxhe/PCF8563_Library@^1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 extra_scripts = ${env.extra_scripts} variants/nrf52840/diy/nrf52_promicro_diy_tcxo/custom_build_tasks.py ; Add to PIO's Project Tasks pane: preset builds for common displays diff --git a/variants/nrf52840/heltec_mesh_node_t114-inkhud/variant.h b/variants/nrf52840/heltec_mesh_node_t114-inkhud/variant.h index 39cbc8f01..143d20459 100644 --- a/variants/nrf52840/heltec_mesh_node_t114-inkhud/variant.h +++ b/variants/nrf52840/heltec_mesh_node_t114-inkhud/variant.h @@ -116,13 +116,13 @@ No longer populated on PCB #define PIN_GPS_PPS (32 + 4) // Seems to be missing on this new board // #define PIN_GPS_PPS (32 + 4) // Pulse per second input from the GPS -#define GPS_TX_PIN (32 + 5) // This is for bits going TOWARDS the CPU -#define GPS_RX_PIN (32 + 7) // This is for bits going TOWARDS the GPS +#define GPS_TX_PIN (32 + 7) // This is for bits going TOWARDS the CPU +#define GPS_RX_PIN (32 + 5) // This is for bits going TOWARDS the GPS #define GPS_THREAD_INTERVAL 50 -#define PIN_SERIAL1_RX GPS_TX_PIN -#define PIN_SERIAL1_TX GPS_RX_PIN +#define PIN_SERIAL1_RX GPS_RX_PIN +#define PIN_SERIAL1_TX GPS_TX_PIN // PCF8563 RTC Module #define PCF8563_RTC 0x51 diff --git a/variants/nrf52840/heltec_mesh_node_t114/platformio.ini b/variants/nrf52840/heltec_mesh_node_t114/platformio.ini index c49dadd56..cec59d6ee 100644 --- a/variants/nrf52840/heltec_mesh_node_t114/platformio.ini +++ b/variants/nrf52840/heltec_mesh_node_t114/platformio.ini @@ -13,5 +13,7 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/heltec_mesh_node_t114> lib_deps = ${nrf52840_base.lib_deps} - lewisxhe/PCF8563_Library@^1.0.1 - https://github.com/meshtastic/st7789/archive/bd33ea58ddfe4a5e4a66d53300ccbd38d66ac21f.zip \ No newline at end of file + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 + # renovate: datasource=git-refs depName=meshtastic-st7789 packageName=https://github.com/meshtastic/st7789 gitBranch=main + https://github.com/meshtastic/st7789/archive/bd33ea58ddfe4a5e4a66d53300ccbd38d66ac21f.zip diff --git a/variants/nrf52840/heltec_mesh_node_t114/variant.h b/variants/nrf52840/heltec_mesh_node_t114/variant.h index 7e82733aa..28404fcce 100644 --- a/variants/nrf52840/heltec_mesh_node_t114/variant.h +++ b/variants/nrf52840/heltec_mesh_node_t114/variant.h @@ -167,13 +167,13 @@ No longer populated on PCB #define PIN_GPS_PPS (32 + 4) // Seems to be missing on this new board // #define PIN_GPS_PPS (32 + 4) // Pulse per second input from the GPS -#define GPS_TX_PIN (32 + 5) // This is for bits going TOWARDS the CPU -#define GPS_RX_PIN (32 + 7) // This is for bits going TOWARDS the GPS +#define GPS_TX_PIN (32 + 7) // This is for bits going TOWARDS the CPU +#define GPS_RX_PIN (32 + 5) // This is for bits going TOWARDS the GPS #define GPS_THREAD_INTERVAL 50 -#define PIN_SERIAL1_RX GPS_TX_PIN -#define PIN_SERIAL1_TX GPS_RX_PIN +#define PIN_SERIAL1_RX GPS_RX_PIN +#define PIN_SERIAL1_TX GPS_TX_PIN // PCF8563 RTC Module #define PCF8563_RTC 0x51 @@ -210,6 +210,17 @@ No longer populated on PCB #define VBAT_AR_INTERNAL AR_INTERNAL_3_0 #define ADC_MULTIPLIER (4.916F) +// rf52840 AIN2 = Pin 4 +// commented out due to power leakage of 2.9mA in shutdown state see reported issue #8801 +// #define BATTERY_LPCOMP_INPUT NRF_LPCOMP_INPUT_2 //UNSAFE + +// We have AIN2 with a VBAT divider so AIN2 = VBAT * (100/490) +// We have the device going deep sleep under 3.1V, which is AIN2 = 0.63V +// So we can wake up when VBAT>=VDD is restored to 3.3V, where AIN2 = 0.67V +// Ratio 0.67/3.3 = 0.20, so we can pick a bit higher, 2/8 VDD, which means +// VBAT=4.04V +#define BATTERY_LPCOMP_THRESHOLD NRF_LPCOMP_REF_SUPPLY_2_8 + #define HAS_RTC 0 #ifdef __cplusplus } diff --git a/variants/nrf52840/heltec_mesh_pocket/platformio.ini b/variants/nrf52840/heltec_mesh_pocket/platformio.ini index 2fb852226..39b75dada 100644 --- a/variants/nrf52840/heltec_mesh_pocket/platformio.ini +++ b/variants/nrf52840/heltec_mesh_pocket/platformio.ini @@ -25,9 +25,10 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/heltec_mesh_pocket> lib_deps = ${nrf52840_base.lib_deps} - lewisxhe/PCF8563_Library@^1.0.1 - https://github.com/meshtastic/GxEPD2#b202ebfec6a4821e098cf7a625ba0f6f2400292d - + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master + https://github.com/meshtastic/GxEPD2/archive/b202ebfec6a4821e098cf7a625ba0f6f2400292d.zip [env:heltec-mesh-pocket-5000-inkhud] extends = nrf52840_base, inkhud @@ -71,9 +72,10 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/heltec_mesh_pocket> lib_deps = ${nrf52840_base.lib_deps} - lewisxhe/PCF8563_Library@^1.0.1 - https://github.com/meshtastic/GxEPD2#b202ebfec6a4821e098cf7a625ba0f6f2400292d - + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master + https://github.com/meshtastic/GxEPD2/archive/b202ebfec6a4821e098cf7a625ba0f6f2400292d.zip [env:heltec-mesh-pocket-10000-inkhud] extends = nrf52840_base, inkhud diff --git a/variants/nrf52840/heltec_mesh_pocket/variant.h b/variants/nrf52840/heltec_mesh_pocket/variant.h index 79f47bd0e..f4f695b34 100644 --- a/variants/nrf52840/heltec_mesh_pocket/variant.h +++ b/variants/nrf52840/heltec_mesh_pocket/variant.h @@ -120,7 +120,13 @@ No longer populated on PCB #undef AREF_VOLTAGE #define AREF_VOLTAGE 3.0 #define VBAT_AR_INTERNAL AR_INTERNAL_3_0 -#define ADC_MULTIPLIER (4.90F) +#define ADC_MULTIPLIER (4.6425F) + +#if defined(HELTEC_MESH_POCKET_BATTERY_5000) +#define OCV_ARRAY 4300, 4240, 4120, 4000, 3888, 3800, 3740, 3698, 3655, 3580, 3400 +#elif defined(HELTEC_MESH_POCKET_BATTERY_10000) +#define OCV_ARRAY 4100, 4060, 3960, 3840, 3729, 3625, 3550, 3500, 3420, 3345, 3100 +#endif #undef HAS_GPS #define HAS_GPS 0 @@ -129,4 +135,4 @@ No longer populated on PCB } #endif -#endif \ No newline at end of file +#endif diff --git a/variants/nrf52840/heltec_mesh_solar/platformio.ini b/variants/nrf52840/heltec_mesh_solar/platformio.ini index 36a7904d6..a4d197cb0 100644 --- a/variants/nrf52840/heltec_mesh_solar/platformio.ini +++ b/variants/nrf52840/heltec_mesh_solar/platformio.ini @@ -13,9 +13,13 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/heltec_mesh_solar> lib_deps = ${nrf52840_base.lib_deps} + # renovate: datasource=git-refs depName=NMIoT-meshsolar packageName=https://github.com/NMIoT/meshsolar gitBranch=main https://github.com/NMIoT/meshsolar/archive/dfc5330dad443982e6cdd37a61d33fc7252f468b.zip - lewisxhe/PCF8563_Library@^1.0.1 - ArduinoJson@6.21.4 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 + # renovate: datasource=custom.pio depName=ArduinoJson packageName=bblanchon/library/ArduinoJson + bblanchon/ArduinoJson@6.21.4 + [env:heltec-mesh-solar] extends = heltec_mesh_solar_base build_flags = ${heltec_mesh_solar_base.build_flags} @@ -48,6 +52,7 @@ build_flags = ${heltec_mesh_solar_base.build_flags} -DEINK_HASQUIRK_GHOSTING ; Display model is identified as "prone to ghosting" lib_deps = ${heltec_mesh_solar_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/a05c11c02862624266b61599b0d6ba93e33c6f24.zip [env:heltec-mesh-solar-inkhud] @@ -71,7 +76,6 @@ lib_deps = ${inkhud.lib_deps} ; InkHUD libs first, so we get GFXRoot instead of AdafruitGFX ${heltec_mesh_solar_base.lib_deps} - [env:heltec-mesh-solar-oled] extends = heltec_mesh_solar_base build_flags = ${heltec_mesh_solar_base.build_flags} @@ -112,4 +116,5 @@ build_flags = ${heltec_mesh_solar_base.build_flags} -DPIN_SPI1_SCK=ST7789_SCK lib_deps = ${heltec_mesh_solar_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-st7789 packageName=https://github.com/meshtastic/st7789 gitBranch=main https://github.com/meshtastic/st7789/archive/bd33ea58ddfe4a5e4a66d53300ccbd38d66ac21f.zip diff --git a/variants/nrf52840/heltec_mesh_solar/variant.h b/variants/nrf52840/heltec_mesh_solar/variant.h index 7c43d8ba7..7a8fc579f 100644 --- a/variants/nrf52840/heltec_mesh_solar/variant.h +++ b/variants/nrf52840/heltec_mesh_solar/variant.h @@ -116,13 +116,13 @@ No longer populated on PCB #define PIN_GPS_PPS (32 + 4) // Seems to be missing on this new board // #define PIN_GPS_PPS (32 + 4) // Pulse per second input from the GPS -#define GPS_TX_PIN (32 + 5) // This is for bits going TOWARDS the CPU -#define GPS_RX_PIN (32 + 7) // This is for bits going TOWARDS the GPS +#define GPS_TX_PIN (32 + 7) // This is for bits going TOWARDS the CPU +#define GPS_RX_PIN (32 + 5) // This is for bits going TOWARDS the GPS #define GPS_THREAD_INTERVAL 50 -#define PIN_SERIAL1_RX GPS_TX_PIN -#define PIN_SERIAL1_TX GPS_RX_PIN +#define PIN_SERIAL1_RX GPS_RX_PIN +#define PIN_SERIAL1_TX GPS_TX_PIN /* * SPI Interfaces diff --git a/variants/nrf52840/meshlink/platformio.ini b/variants/nrf52840/meshlink/platformio.ini index 2a4e27fe8..26a999fbb 100644 --- a/variants/nrf52840/meshlink/platformio.ini +++ b/variants/nrf52840/meshlink/platformio.ini @@ -9,6 +9,28 @@ board_level = extra build_flags = ${nrf52840_base.build_flags} -I variants/nrf52840/meshlink -D MESHLINK + -DRADIOLIB_EXCLUDE_SX128X=1 + -DRADIOLIB_EXCLUDE_SX127X=1 + -DRADIOLIB_EXCLUDE_LR11X0=1 + +build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/meshlink> +debug_tool = jlink +; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) +; Note: as of 6/2013 the serial/bootloader based programming takes approximately 30 seconds +;upload_protocol = jlink + +[env:meshlink_eink] +extends = nrf52840_base +board = meshlink +board_level = extra +;board_check = true +build_flags = ${nrf52840_base.build_flags} + -I variants/nrf52840/meshlink + -D MESHLINK + -DRADIOLIB_EXCLUDE_SX128X=1 + -DRADIOLIB_EXCLUDE_SX127X=1 + -DRADIOLIB_EXCLUDE_LR11X0=1 + -D USE_EINK -D EINK_DISPLAY_MODEL=GxEPD2_213_B74 -D EINK_WIDTH=250 -D EINK_HEIGHT=122 @@ -24,6 +46,7 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/meshlink> lib_deps = ${nrf52840_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/55f618961db45a23eff0233546430f1e5a80f63a.zip debug_tool = jlink ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) diff --git a/variants/nrf52840/meshlink/variant.h b/variants/nrf52840/meshlink/variant.h index 54df03691..d1dba574f 100644 --- a/variants/nrf52840/meshlink/variant.h +++ b/variants/nrf52840/meshlink/variant.h @@ -121,8 +121,8 @@ static const uint8_t SCK = PIN_SPI_SCK; #define PIN_GPS_PPS (26) // Pulse per second input from the GPS -#define GPS_TX_PIN PIN_SERIAL1_RX // This is for bits going TOWARDS the CPU -#define GPS_RX_PIN PIN_SERIAL1_TX // This is for bits going TOWARDS the GPS +#define GPS_TX_PIN PIN_SERIAL1_TX // This is for bits going TOWARDS the CPU +#define GPS_RX_PIN PIN_SERIAL1_RX // This is for bits going TOWARDS the GPS // #define GPS_THREAD_INTERVAL 50 diff --git a/variants/nrf52840/meshlink_eink/platformio.ini b/variants/nrf52840/meshlink_eink/platformio.ini deleted file mode 100644 index c0c0cb1dd..000000000 --- a/variants/nrf52840/meshlink_eink/platformio.ini +++ /dev/null @@ -1,31 +0,0 @@ -; MeshLink board developed by LoraItalia. NRF52840, eByte E22900M22S (Will also come with other frequencies), 25w MPPT solar charger (5v,12v,18v selectable), support for gps, buzzer, oled or e-ink display, 10 gpios, hardware watchdog -; https://www.loraitalia.it -; firmware for boards with a 250x122 e-ink display -[env:meshlink_eink] -extends = nrf52840_base -board = meshlink -board_level = extra -;board_check = true -build_flags = ${nrf52840_base.build_flags} - -I variants/nrf52840/meshlink_eink - -D MESHLINK - -D EINK_DISPLAY_MODEL=GxEPD2_213_B74 - -D EINK_WIDTH=250 - -D EINK_HEIGHT=122 - -D USE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk - -D EINK_LIMIT_FASTREFRESH=5 ; How many consecutive fast-refreshes are permitted - -D EINK_LIMIT_RATE_BACKGROUND_SEC=30 ; Minimum interval between BACKGROUND updates - -D EINK_LIMIT_RATE_RESPONSIVE_SEC=1 ; Minimum interval between RESPONSIVE updates - -D EINK_LIMIT_GHOSTING_PX=2000 ; (Optional) How much image ghosting is tolerated - -D EINK_BACKGROUND_USES_FAST ; (Optional) Use FAST refresh for both BACKGROUND and RESPONSIVE, until a limit is reached. - -D EINK_HASQUIRK_VICIOUSFASTREFRESH ; Identify that pixels drawn by fast-refresh are harder to clear - - -build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/meshlink_eink> -lib_deps = - ${nrf52840_base.lib_deps} - https://github.com/meshtastic/GxEPD2/archive/55f618961db45a23eff0233546430f1e5a80f63a.zip -debug_tool = jlink -; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) -; Note: as of 6/2013 the serial/bootloader based programming takes approximately 30 seconds -;upload_protocol = jlink \ No newline at end of file diff --git a/variants/nrf52840/meshlink_eink/variant.cpp b/variants/nrf52840/meshlink_eink/variant.cpp deleted file mode 100644 index 81a5097c4..000000000 --- a/variants/nrf52840/meshlink_eink/variant.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include "variant.h" -#include "nrf.h" -#include "wiring_constants.h" -#include "wiring_digital.h" - -const uint32_t g_ADigitalPinMap[] = { - // P0 - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - - // P1 - 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47}; - -void initVariant() -{ - pinMode(PIN_LED1, OUTPUT); - digitalWrite(PIN_LED1, HIGH); // turn off the white led while booting - // otherwise it will stay lit for several seconds (could be annoying) - -#ifdef PIN_WD_EN - pinMode(PIN_WD_EN, OUTPUT); - digitalWrite(PIN_WD_EN, HIGH); // Enable the Watchdog at boot -#endif -} \ No newline at end of file diff --git a/variants/nrf52840/meshlink_eink/variant.h b/variants/nrf52840/meshlink_eink/variant.h deleted file mode 100644 index b605d7082..000000000 --- a/variants/nrf52840/meshlink_eink/variant.h +++ /dev/null @@ -1,153 +0,0 @@ -#ifndef _VARIANT_MESHLINK_ -#define _VARIANT_MESHLINK_ -#ifndef MESHLINK -#define MESHLINK -#endif -/** Master clock frequency */ -#define VARIANT_MCK (64000000ul) - -// #define USE_LFXO // Board uses 32khz crystal for LF -#define USE_LFRC // Board uses RC for LF - -/*---------------------------------------------------------------------------- - * Headers - *----------------------------------------------------------------------------*/ - -#include "WVariant.h" - -#ifdef __cplusplus -extern "C" { -#endif // __cplusplus - -// Number of pins defined in PinDescription array -#define PINS_COUNT (48) -#define NUM_DIGITAL_PINS (48) -#define NUM_ANALOG_INPUTS (2) -#define NUM_ANALOG_OUTPUTS (0) - -#define BUTTON_PIN (-1) // If defined, this will be used for user button presses, -#define BUTTON_NEED_PULLUP - -// LEDs -#define PIN_LED1 (24) // Built in white led for status -#define LED_BLUE PIN_LED1 -#define LED_BUILTIN PIN_LED1 - -#define LED_STATE_ON 0 // State when LED is litted -#define LED_INVERTED 1 - -// Testing USB detection -// #define NRF_APM - -/* - * Analog pins - */ -#define PIN_A1 (3) // P0.03/AIN1 -#define ADC_RESOLUTION 14 - -// Other pins -// #define PIN_AREF (2) -// static const uint8_t AREF = PIN_AREF; - -/* - * Serial interfaces - */ -#define PIN_SERIAL1_RX (32 + 8) -#define PIN_SERIAL1_TX (7) - -/* - * SPI Interfaces - */ -#define SPI_INTERFACES_COUNT 2 - -#define PIN_SPI_MISO (8) -#define PIN_SPI_MOSI (32 + 9) -#define PIN_SPI_SCK (11) - -#define PIN_SPI1_MISO (23) -#define PIN_SPI1_MOSI (21) -#define PIN_SPI1_SCK (19) - -static const uint8_t SS = 12; -static const uint8_t MOSI = PIN_SPI_MOSI; -static const uint8_t MISO = PIN_SPI_MISO; -static const uint8_t SCK = PIN_SPI_SCK; - -/* - * eink display pins - */ -#define USE_EINK - -#define PIN_EINK_CS (15) -#define PIN_EINK_BUSY (16) -#define PIN_EINK_DC (14) -#define PIN_EINK_RES (17) -#define PIN_EINK_SCLK (19) -#define PIN_EINK_MOSI (21) // also called SDI - -/* - * Wire Interfaces - */ -#define WIRE_INTERFACES_COUNT 1 - -#define PIN_WIRE_SDA (1) -#define PIN_WIRE_SCL (27) - -// QSPI Pins -#define PIN_QSPI_SCK 19 -#define PIN_QSPI_CS 22 -#define PIN_QSPI_IO0 21 -#define PIN_QSPI_IO1 23 -#define PIN_QSPI_IO2 32 -#define PIN_QSPI_IO3 20 - -// On-board QSPI Flash -#define EXTERNAL_FLASH_DEVICES W25Q16JVUXIQ -#define EXTERNAL_FLASH_USE_QSPI - -#define USE_SX1262 -#define SX126X_CS (12) -#define SX126X_DIO1 (32 + 1) -#define SX126X_BUSY (32 + 3) -#define SX126X_RESET (6) -// #define SX126X_RXEN (13) -// DIO2 controlls an antenna switch and the TCXO voltage is controlled by DIO3 -#define SX126X_DIO2_AS_RF_SWITCH -#define SX126X_DIO3_TCXO_VOLTAGE 1.8 - -// pin 25 is used to enable or disable the watchdog. This pin has to be disabled when cpu is put to sleep -// otherwise the timer will expire and wd will reboot the cpu -#define PIN_WD_EN (25) - -#define PIN_GPS_PPS (26) // Pulse per second input from the GPS - -#define GPS_TX_PIN PIN_SERIAL1_RX // This is for bits going TOWARDS the CPU -#define GPS_RX_PIN PIN_SERIAL1_TX // This is for bits going TOWARDS the GPS - -// #define GPS_THREAD_INTERVAL 50 - -// Define pin to enable GPS toggle (set GPIO to LOW) via user button triple press -#define PIN_GPS_EN (0) -#define GPS_EN_ACTIVE LOW - -#define PIN_BUZZER (31) // P0.31/AIN7 - -// Battery -// The battery sense is hooked to pin A0 (2) -#define BATTERY_PIN (2) -// and has 12 bit resolution -#define BATTERY_SENSE_RESOLUTION_BITS 12 -#define BATTERY_SENSE_RESOLUTION 4096.0 -#undef AREF_VOLTAGE -#define AREF_VOLTAGE 3.0 -#define VBAT_AR_INTERNAL AR_INTERNAL_3_0 -#define ADC_MULTIPLIER 1.42 // fine tuning of voltage - -#ifdef __cplusplus -} -#endif - -/*---------------------------------------------------------------------------- - * Arduino objects - C++ only - *----------------------------------------------------------------------------*/ -#endif \ No newline at end of file diff --git a/variants/nrf52840/meshtiny/platformio.ini b/variants/nrf52840/meshtiny/platformio.ini index 5f03f5cb2..7e1e2e510 100644 --- a/variants/nrf52840/meshtiny/platformio.ini +++ b/variants/nrf52840/meshtiny/platformio.ini @@ -7,5 +7,3 @@ build_flags = ${nrf52840_base.build_flags} -Ivariants/nrf52840/meshtiny -D MESHT -D USE_PIN_BUZZER -D MESHTASTIC_EXCLUDE_GPS=1 build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/meshtiny> -lib_deps = - ${nrf52840_base.lib_deps} diff --git a/variants/nrf52840/meshtiny/variant.h b/variants/nrf52840/meshtiny/variant.h index 55aabe930..8d634ba60 100644 --- a/variants/nrf52840/meshtiny/variant.h +++ b/variants/nrf52840/meshtiny/variant.h @@ -64,6 +64,7 @@ extern "C" { #define INPUTDRIVER_ENCODER_UP 26 #define INPUTDRIVER_ENCODER_DOWN 4 #define INPUTDRIVER_ENCODER_BTN 28 +#define UPDOWN_LONG_PRESS_REPEAT_INTERVAL 150 #define CANNED_MESSAGE_MODULE_ENABLE 1 diff --git a/variants/nrf52840/monteops_hw1/platformio.ini b/variants/nrf52840/monteops_hw1/platformio.ini index 5426aee7f..e783e130e 100644 --- a/variants/nrf52840/monteops_hw1/platformio.ini +++ b/variants/nrf52840/monteops_hw1/platformio.ini @@ -10,6 +10,7 @@ build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/monteop lib_deps = ${nrf52840_base.lib_deps} ${networking_base.lib_deps} + # renovate: datasource=github-tags depName=RAK13800-W5100S packageName=RAKWireless/RAK13800-W5100S https://github.com/RAKWireless/RAK13800-W5100S/archive/1.0.2.zip debug_tool = jlink ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) diff --git a/variants/nrf52840/muzi_base/platformio.ini b/variants/nrf52840/muzi_base/platformio.ini new file mode 100644 index 000000000..29d93d1cd --- /dev/null +++ b/variants/nrf52840/muzi_base/platformio.ini @@ -0,0 +1,14 @@ +[env:muzi-base] +extends = nrf52840_base +board = muzi-base +build_flags = ${nrf52840_base.build_flags} + -I variants/nrf52840/muzi_base + -D MUZI_BASE + -D CONFIG_NFCT_PINS_AS_GPIOS=1 + -L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m4/fpv4-sp-d16-hard" + +build_src_filter = ${nrf52840_base.build_src_filter} +<../variants/nrf52840/muzi_base> +lib_deps = + ${nrf52840_base.lib_deps} + # renovate: datasource=custom.pio depName=ArtronShop_RX8130CE packageName=artronshop/library/ArtronShop_RX8130CE + artronshop/ArtronShop_RX8130CE@1.0.0 diff --git a/variants/nrf52840/muzi_base/rfswitch.h b/variants/nrf52840/muzi_base/rfswitch.h new file mode 100644 index 000000000..589f24767 --- /dev/null +++ b/variants/nrf52840/muzi_base/rfswitch.h @@ -0,0 +1,11 @@ +#include "RadioLib.h" + +static const uint32_t rfswitch_dio_pins[] = {RADIOLIB_LR11X0_DIO5, RADIOLIB_LR11X0_DIO6, RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC}; + +static const Module::RfSwitchMode_t rfswitch_table[] = { + // mode DIO5 DIO6 + {LR11x0::MODE_STBY, {LOW, LOW}}, {LR11x0::MODE_RX, {HIGH, LOW}}, + {LR11x0::MODE_TX, {LOW, HIGH}}, {LR11x0::MODE_TX_HP, {LOW, HIGH}}, + {LR11x0::MODE_TX_HF, {LOW, LOW}}, {LR11x0::MODE_GNSS, {LOW, LOW}}, + {LR11x0::MODE_WIFI, {LOW, LOW}}, END_OF_MODE_TABLE, +}; diff --git a/variants/nrf52840/muzi_base/variant.cpp b/variants/nrf52840/muzi_base/variant.cpp new file mode 100644 index 000000000..da01de974 --- /dev/null +++ b/variants/nrf52840/muzi_base/variant.cpp @@ -0,0 +1,83 @@ +#include "variant.h" +#include "nrf.h" +#include "wiring_constants.h" +#include "wiring_digital.h" + +const uint32_t g_ADigitalPinMap[] = { + // P0 + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + + // P1 + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, +}; + +void initVariant() +{ + // Initialize the digital pins as inputs or outputs + pinMode(PIN_LED1, OUTPUT); + digitalWrite(PIN_LED1, HIGH); + + pinMode(PIN_LED2, OUTPUT); + digitalWrite(PIN_LED2, HIGH); + + // Initialize LoRa pins + pinMode(SX126X_RESET, OUTPUT); + digitalWrite(SX126X_RESET, HIGH); + + pinMode(SX126X_CS, OUTPUT); + digitalWrite(SX126X_CS, HIGH); + + pinMode(GPS_EN_GPIO, OUTPUT); + digitalWrite(GPS_EN_GPIO, HIGH); // GPS on initially + + pinMode(SCREEN_12V_ENABLE, OUTPUT); + digitalWrite(SCREEN_12V_ENABLE, LOW); // + + pinMode(BATTERY_CHARGING_INV, INPUT); +} diff --git a/variants/nrf52840/muzi_base/variant.h b/variants/nrf52840/muzi_base/variant.h new file mode 100644 index 000000000..96604c400 --- /dev/null +++ b/variants/nrf52840/muzi_base/variant.h @@ -0,0 +1,192 @@ +#pragma once + +#ifndef _VARIANT_MUZI_BASE_ +#define _VARIANT_MUZI_BASE_ + +/** Master clock frequency */ +#define VARIANT_MCK (64000000ul) + +#define USE_LFXO // Board uses 32khz crystal for LF + +/*---------------------------------------------------------------------------- + * Headers + *----------------------------------------------------------------------------*/ + +#include "WVariant.h" + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +// Number of pins defined in PinDescription array +#define PINS_COUNT (48) +#define NUM_DIGITAL_PINS (48) +#define NUM_ANALOG_INPUTS (6) +#define NUM_ANALOG_OUTPUTS (0) + +// Define I2C Peripherals +#define WIRE_INTERFACES_COUNT 2 + +// this is the OLED bus +#define PIN_WIRE_SDA (0 + 24) // P0.24 +#define PIN_WIRE_SCL (0 + 25) // P0.25 + +// IMU bus +#define PIN_WIRE1_SDA (0 + 04) // P0.04 +#define PIN_WIRE1_SCL (0 + 06) // P0.06 + +#define COMPASS_ORIENTATION meshtastic_Config_DisplayConfig_CompassOrientation_DEGREES_270 +#define HAS_ICM20948 // forces the i2c address to be seen as this sensor + +#define HAS_RTC 1 +#define RX8130CE_RTC 0x32 + +// LEDs +#define PIN_LED1 (32 + 3) // P1.03, Green +#define PIN_LED2 (32 + 4) // P1.04, Blue + +#define LED_BUILTIN -1 // PIN_LED1 +#define LED_BLUE PIN_LED2 +#define LED_STATE_ON 0 // State when LED is lit + +// Buttons +#define HAS_TRACKBALL 1 +#define TB_UP (0 + 21) +#define TB_DOWN (0 + 17) +#define TB_LEFT (32 + 05) +#define TB_RIGHT (0 + 16) +#define TB_PRESS (0 + 10) +#define TB_DIRECTION FALLING + +#define CANCEL_BUTTON_PIN (0 + 15) // P0.15 +#define CANCEL_BUTTON_ACTIVE_LOW true +#define CANCEL_BUTTON_ACTIVE_PULLUP false + +// Switch +#define SWITCH_MODE1 (32 + 9) // P1.09, Top Position +#define SWITCH_MODE2 (0 + 12) // P0.12, Middle Position +#define PIN_GPS_SWITCH SWITCH_MODE2 + +/* + * SPI Interfaces + */ + +#define SPI_INTERFACES_COUNT 1 + +// For LORA, spi 0 +#define PIN_SPI_MISO (32 + 15) // P1.15 +#define PIN_SPI_MOSI (32 + 14) // P1.14 +#define PIN_SPI_SCK (32 + 13) // P1.13 + +#define LORA_SCK PIN_SPI_SCK +#define LORA_MISO PIN_SPI_MISO +#define LORA_MOSI PIN_SPI_MOSI +#define LORA_CS (32 + 12) // P1.12 + +#define USE_SX1262 +#define SX126X_CS LORA_CS +#define SX126X_DIO1 (32 + 6) // P1.06 +#define SX126X_BUSY (32 + 11) // P1.11 +#define SX126X_RESET (32 + 10) // P1.10 +#define SX126X_DIO2_AS_RF_SWITCH +#define SX126X_DIO3_TCXO_VOLTAGE 3.3 + +#define USE_LR1121 +#define LR1121_IRQ_PIN (32 + 8) // P1.08 +#define LR1121_NRESET_PIN (32 + 10) // P1.10 +#define LR1121_BUSY_PIN (32 + 11) // P1.11 +#define LR1121_SPI_NSS_PIN LORA_CS +#define LR1121_SPI_SCK_PIN LORA_SCK +#define LR1121_SPI_MOSI_PIN LORA_MOSI +#define LR1121_SPI_MISO_PIN LORA_MISO +#define LR11X0_DIO3_TCXO_VOLTAGE 3.0 +#define LR11X0_DIO_AS_RF_SWITCH + +// GPS +#define GPS_RX_PIN (0 + 20) // P0.20 +#define GPS_TX_PIN (0 + 19) // P0.19 +#define GPS_EN_GPIO (32 + 1) // P1.01 + +#define PIN_SERIAL1_RX GPS_RX_PIN +#define PIN_SERIAL1_TX GPS_TX_PIN + +#define PIN_BUZZER (0 + 22) // P0.22 + +// Battery monitoring +#define BATTERY_PIN (0 + 31) // P0.31 + +// #define CHARGER_FAULT (0 + 27) // P0.27 +#define BATTERY_CHARGING_INV (32 + 02) // P1.02 +#define BATTERY_SENSE_RESOLUTION_BITS 12 +#define BATTERY_SENSE_RESOLUTION 4096.0 +#define ADC_MULTIPLIER 1.537 + +#define OCV_ARRAY 4050, 4010, 3990, 3930, 3870, 3820, 3740, 3630, 3550, 3450, 3100 + +// Display - I2C display +#define HAS_SCREEN 1 +#define SCREEN_12V_ENABLE (0 + 23) // P0.23 +#define USE_SH1107 + +#define USERPREFS_OEM_TEXT "muzi_works_logo" +#define USERPREFS_OEM_FONT_SIZE 0 +#define USERPREFS_OEM_IMAGE_WIDTH 88 // 11 bytes wide +#define USERPREFS_OEM_IMAGE_HEIGHT 47 // 517 bytes total +#define USERPREFS_OEM_IMAGE_DATA \ + { \ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, \ + 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x03, 0x3C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ + 0xF7, 0x0F, 0xFF, 0x00, 0xF0, 0xFF, 0x0F, 0xC0, 0xFF, 0x07, 0x78, 0xFF, 0x9F, 0xFF, 0x01, 0xF0, 0xFF, 0x0F, 0xC0, \ + 0xFF, 0x03, 0x78, 0x3F, 0xFE, 0xF3, 0x01, 0xF0, 0xFF, 0x0F, 0x00, 0xE0, 0x03, 0x78, 0x1F, 0xFC, 0xC0, 0x03, 0xF0, \ + 0xFF, 0x0F, 0x00, 0xE0, 0x01, 0x78, 0x0F, 0xF8, 0x80, 0x03, 0xF0, 0xFF, 0x0F, 0x00, 0xF0, 0x00, 0x78, 0x0F, 0x78, \ + 0x80, 0x03, 0xF0, 0xFF, 0x0F, 0x00, 0x70, 0x00, 0x78, 0x07, 0x70, 0x80, 0x03, 0xF0, 0xFF, 0x0F, 0x00, 0x78, 0x00, \ + 0x78, 0x07, 0x70, 0x80, 0x03, 0xF0, 0xFF, 0x0F, 0x00, 0x3C, 0x00, 0x78, 0x07, 0x70, 0x80, 0x03, 0xF0, 0xFF, 0x0F, \ + 0x00, 0x1C, 0x00, 0x78, 0x07, 0x70, 0x80, 0x03, 0xF0, 0xFF, 0x0F, 0x00, 0x1E, 0x00, 0x78, 0x07, 0x70, 0x80, 0x03, \ + 0xE0, 0xFF, 0x0F, 0x00, 0x0F, 0x00, 0x78, 0x07, 0x70, 0x80, 0x03, 0xE0, 0xFF, 0x07, 0x80, 0x07, 0x00, 0x78, 0x07, \ + 0x70, 0x80, 0x03, 0xC0, 0xFF, 0x07, 0x80, 0x07, 0x00, 0x78, 0x07, 0x70, 0x80, 0x03, 0xC0, 0xFF, 0x03, 0xC0, 0xFF, \ + 0x07, 0x78, 0x07, 0x70, 0x80, 0x03, 0x00, 0xFF, 0x01, 0xE0, 0xFF, 0x07, 0x78, 0x07, 0x70, 0x80, 0x03, 0x00, 0x7C, \ + 0x00, 0xF0, 0xFF, 0x07, 0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, \ + 0xFF, 0xFF, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, \ + 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xE3, 0xE7, 0xC7, 0x1F, 0xF8, 0x0F, 0xF0, 0xE7, 0xE3, 0x07, 0x7C, 0xC7, 0xE7, \ + 0xC3, 0x0F, 0xE0, 0x07, 0xE0, 0xC7, 0xE1, 0x03, 0x70, 0xC7, 0xC3, 0xE3, 0x87, 0xC1, 0x07, 0xC0, 0xC7, 0xF8, 0xE3, \ + 0x71, 0xC7, 0xC3, 0xE3, 0xE3, 0xC7, 0xC7, 0xC7, 0x47, 0xF8, 0xF3, 0x7F, 0x8F, 0xC3, 0xF1, 0xE3, 0x8F, 0xC7, 0x8F, \ + 0x27, 0xFC, 0xE3, 0x7F, 0x8F, 0x81, 0xF1, 0xF1, 0x8F, 0xC7, 0xCF, 0x07, 0xFE, 0x03, 0x7E, 0x8F, 0x99, 0xF1, 0xF1, \ + 0x8F, 0x07, 0xC0, 0x07, 0xFF, 0x07, 0x78, 0x9F, 0x99, 0xF9, 0xF1, 0x8F, 0x07, 0xE0, 0x07, 0xFE, 0x3F, 0x70, 0x1F, \ + 0x18, 0xF8, 0xF3, 0x8F, 0x07, 0xF0, 0x27, 0xFC, 0xFF, 0x71, 0x3F, 0x18, 0xF8, 0xE3, 0xC7, 0xC7, 0xF1, 0x47, 0xF8, \ + 0xF3, 0x63, 0x3F, 0x3C, 0xFC, 0xC3, 0xC3, 0xC7, 0xE3, 0xC7, 0xF0, 0xE1, 0x71, 0x3F, 0x3C, 0xFC, 0x07, 0xE0, 0xC7, \ + 0xC7, 0xC7, 0xE1, 0x03, 0x70, 0x7F, 0x7E, 0xFE, 0x0F, 0xF0, 0xC7, 0x87, 0xC7, 0xC3, 0x07, 0x78, 0xFF, 0xFF, 0xFF, \ + 0x7F, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0x7E, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, \ + 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, \ + 0xFF, 0xFF, 0x7F \ + } + +// QSPI Pins +#define PIN_QSPI_SCK (0 + 3) +#define PIN_QSPI_CS (0 + 26) +#define PIN_QSPI_IO0 (0 + 30) +#define PIN_QSPI_IO1 (0 + 29) +#define PIN_QSPI_IO2 (0 + 28) +#define PIN_QSPI_IO3 (0 + 2) + +// On-board QSPI Flash +#define EXTERNAL_FLASH_DEVICES W25Q32JVSS +#define EXTERNAL_FLASH_USE_QSPI + +// NFC is disabled via CONFIG_NFCT_PINS_AS_GPIOS=1 build flag +// This configures P0.09 and P0.10 as regular GPIO pins instead of NFC pins + +#ifdef __cplusplus +} +#endif + +/*---------------------------------------------------------------------------- + * Arduino objects - C++ only + *----------------------------------------------------------------------------*/ +#ifdef __cplusplus +#endif + +#endif // _VARIANT_MUZI_BASE_ \ No newline at end of file diff --git a/variants/nrf52840/nano-g2-ultra/platformio.ini b/variants/nrf52840/nano-g2-ultra/platformio.ini index f697a90dd..f7db6cd47 100644 --- a/variants/nrf52840/nano-g2-ultra/platformio.ini +++ b/variants/nrf52840/nano-g2-ultra/platformio.ini @@ -10,5 +10,6 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/nano-g2-ultra> lib_deps = ${nrf52840_base.lib_deps} - lewisxhe/PCF8563_Library@^1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 ;upload_protocol = fs diff --git a/variants/nrf52840/nano-g2-ultra/variant.h b/variants/nrf52840/nano-g2-ultra/variant.h index fd51cf9a1..fd837f66e 100644 --- a/variants/nrf52840/nano-g2-ultra/variant.h +++ b/variants/nrf52840/nano-g2-ultra/variant.h @@ -132,13 +132,13 @@ External serial flash W25Q16JV_IQ #define GPS_L76K #define PIN_GPS_STANDBY (0 + 13) // An output to wake GPS, low means allow sleep, high means force wake STANDBY -#define PIN_GPS_TX (0 + 9) // This is for bits going TOWARDS the CPU -#define PIN_GPS_RX (0 + 10) // This is for bits going TOWARDS the GPS +#define PIN_GPS_TX (0 + 10) // This is for bits going TOWARDS the CPU +#define PIN_GPS_RX (0 + 9) // This is for bits going TOWARDS the GPS // #define GPS_THREAD_INTERVAL 50 -#define PIN_SERIAL1_RX PIN_GPS_TX -#define PIN_SERIAL1_TX PIN_GPS_RX +#define PIN_SERIAL1_TX PIN_GPS_TX +#define PIN_SERIAL1_RX PIN_GPS_RX // PCF8563 RTC Module #define PCF8563_RTC 0x51 diff --git a/arch/nrf52/nrf52.ini b/variants/nrf52840/nrf52.ini similarity index 78% rename from arch/nrf52/nrf52.ini rename to variants/nrf52840/nrf52.ini index 36effe017..a07fefb2f 100644 --- a/arch/nrf52/nrf52.ini +++ b/variants/nrf52840/nrf52.ini @@ -2,25 +2,39 @@ ; Instead of the standard nordicnrf52 platform, we use our fork which has our added variant files platform = # renovate: datasource=custom.pio depName=platformio/nordicnrf52 packageName=platformio/platform/nordicnrf52 - platformio/nordicnrf52@^10.8.0 + platformio/nordicnrf52@10.10.0 extends = arduino_base platform_packages = ; our custom Git version until they merge our PR # TODO renovate - platformio/framework-arduinoadafruitnrf52 @ https://github.com/meshtastic/Adafruit_nRF52_Arduino#e13f5820002a4fb2a5e6754b42ace185277e5adf + platformio/framework-arduinoadafruitnrf52 @ https://github.com/meshtastic/Adafruit_nRF52_Arduino#c770c8a16a351b55b86e347a3d9d7b74ad0bbf39 ; Don't renovate toolchain-gccarmnoneeabi platformio/toolchain-gccarmnoneeabi@~1.90301.0 -build_type = debug +extra_scripts = + ${env.extra_scripts} + extra_scripts/nrf52_extra.py + +build_type = release build_flags = - -include arch/nrf52/cpp_overrides/lfs_util.h + -include variants/nrf52840/cpp_overrides/lfs_util.h ${arduino_base.build_flags} - -DSERIAL_BUFFER_SIZE=1024 -Wno-unused-variable -Isrc/platform/nrf52 -DLFS_NO_ASSERT ; Disable LFS assertions , see https://github.com/meshtastic/firmware/pull/3818 -DMESHTASTIC_EXCLUDE_AUDIO=1 -DMESHTASTIC_EXCLUDE_PAXCOUNTER=1 + -Os +build_unflags = + -Ofast + -Og + -ggdb3 + -ggdb2 + -g3 + -g2 + -g + -g1 + -g0 build_src_filter = ${arduino_base.build_src_filter} - - - - - - - - - - - diff --git a/variants/nrf52840/nrf52832.ini b/variants/nrf52840/nrf52832.ini new file mode 100644 index 000000000..b106fe7d4 --- /dev/null +++ b/variants/nrf52840/nrf52832.ini @@ -0,0 +1,6 @@ +[nrf52832_base] +extends = nrf52_base + +build_flags = + ${nrf52_base.build_flags} + -DSERIAL_BUFFER_SIZE=1024 diff --git a/arch/nrf52/nrf52840.ini b/variants/nrf52840/nrf52840.ini similarity index 94% rename from arch/nrf52/nrf52840.ini rename to variants/nrf52840/nrf52840.ini index 5e846b3b7..09b2ef97d 100644 --- a/arch/nrf52/nrf52840.ini +++ b/variants/nrf52840/nrf52840.ini @@ -1,14 +1,16 @@ [nrf52840_base] extends = nrf52_base -build_flags = ${nrf52_base.build_flags} +build_flags = + ${nrf52_base.build_flags} + -DSERIAL_BUFFER_SIZE=4096 lib_deps = ${nrf52_base.lib_deps} ${environmental_base.lib_deps} ${environmental_extra.lib_deps} # renovate: datasource=git-refs depName=Kongduino-Adafruit_nRFCrypto packageName=https://github.com/Kongduino/Adafruit_nRFCrypto gitBranch=master - https://github.com/Kongduino/Adafruit_nRFCrypto/archive/5f838d2709461a2c981f642917aa50254a25c14c.zip + https://github.com/Kongduino/Adafruit_nRFCrypto/archive/8cde7189b5ead9dcd49f72601b43b969c0bbc06e.zip ; Common NRF52 debugging settings follow. See the Meshtastic developer docs for how to connect SWD debugging probes to your board. diff --git a/variants/nrf52840/r1-neo/platformio.ini b/variants/nrf52840/r1-neo/platformio.ini index 60f1f6ae1..af3cd052d 100644 --- a/variants/nrf52840/r1-neo/platformio.ini +++ b/variants/nrf52840/r1-neo/platformio.ini @@ -13,6 +13,9 @@ build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/r1-neo> lib_deps = ${nrf52840_base.lib_deps} ${networking_base.lib_deps} + # renovate: datasource=github-tags depName=RAK13800-W5100S packageName=RAKWireless/RAK13800-W5100S https://github.com/RAKWireless/RAK13800-W5100S/archive/1.0.2.zip - rakwireless/RAKwireless NCP5623 RGB LED library@^1.0.2 + # renovate: datasource=custom.pio depName=RAK NCP5623 RGB LED packageName=rakwireless/library/RAKwireless NCP5623 RGB LED library + rakwireless/RAKwireless NCP5623 RGB LED library@1.0.3 + # renovate: datasource=custom.pio depName=ArtronShop_RX8130CE packageName=artronshop/library/ArtronShop_RX8130CE artronshop/ArtronShop_RX8130CE@1.0.0 diff --git a/variants/nrf52840/r1-neo/variant.h b/variants/nrf52840/r1-neo/variant.h index 901e993e3..b1d96ebd0 100644 --- a/variants/nrf52840/r1-neo/variant.h +++ b/variants/nrf52840/r1-neo/variant.h @@ -132,7 +132,8 @@ static const uint8_t SCK = PIN_SPI_SCK; #undef AREF_VOLTAGE #define AREF_VOLTAGE 3.0 #define VBAT_AR_INTERNAL AR_INTERNAL_3_0 -#define ADC_MULTIPLIER 1.73 +#define ADC_MULTIPLIER 1.667 +#define OCV_ARRAY 4120, 4020, 4000, 3940, 3870, 3820, 3750, 3630, 3550, 3450, 3100 #define HAS_RTC 1 diff --git a/variants/nrf52840/rak2560/platformio.ini b/variants/nrf52840/rak2560/platformio.ini index 021e6d03b..21b3776f8 100644 --- a/variants/nrf52840/rak2560/platformio.ini +++ b/variants/nrf52840/rak2560/platformio.ini @@ -13,8 +13,10 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/rak2560> + + + lib_deps = ${nrf52840_base.lib_deps} - ${nrf52_networking_base.lib_deps} - melopero/Melopero RV3028@^1.1.0 + ${networking_base.lib_deps} + # renovate: datasource=custom.pio depName=Melopero RV3028 packageName=melopero/library/Melopero RV3028 + melopero/Melopero RV3028@1.2.0 + # renovate: datasource=github-tags depName=RAK-OneWireSerial packageName=beegee-tokyo/RAK-OneWireSerial https://github.com/beegee-tokyo/RAK-OneWireSerial/archive/0.0.2.zip debug_tool = jlink ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) diff --git a/variants/nrf52840/rak3401_1watt/platformio.ini b/variants/nrf52840/rak3401_1watt/platformio.ini new file mode 100644 index 000000000..268274b13 --- /dev/null +++ b/variants/nrf52840/rak3401_1watt/platformio.ini @@ -0,0 +1,35 @@ +; The very slick RAK wireless RAK 4631 / 4630 board - Unified firmware for 5005/19003, with or without OLED RAK 1921 +[env:rak3401-1watt] +extends = nrf52840_base +board = wiscore_rak4631 +board_check = true +build_flags = ${nrf52840_base.build_flags} + -Ivariants/nrf52840/rak3401_1watt + -D RAK_4631 +; -DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely. + -D RAK3401 + -D RAK13302 ; RAK 1Watt Power Amplifier + -DRADIOLIB_EXCLUDE_SX128X=1 + -DRADIOLIB_EXCLUDE_SX127X=1 + -DRADIOLIB_EXCLUDE_LR11X0=1 +build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/rak3401_1watt> + +lib_deps = + ${nrf52840_base.lib_deps} + ${networking_base.lib_deps} + # renovate: datasource=custom.pio depName=Melopero RV3028 packageName=melopero/library/Melopero RV3028 + melopero/Melopero RV3028@1.2.0 + # renovate: datasource=custom.pio depName=RAK NCP5623 RGB LED packageName=rakwireless/library/RAKwireless NCP5623 RGB LED library + rakwireless/RAKwireless NCP5623 RGB LED library@1.0.3 + # renovate: datasource=custom.pio depName=RAK12035_SoilMoisture packageName=beegee-tokyo/library/RAK12035_SoilMoisture + beegee-tokyo/RAK12035_SoilMoisture@1.0.4 + # renovate: datasource=git-refs depName=RAK12034-BMX160 packageName=https://github.com/RAKWireless/RAK12034-BMX160 gitBranch=main + https://github.com/RAKWireless/RAK12034-BMX160/archive/dcead07ffa267d3c906e9ca4a1330ab989e957e2.zip + +; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) +; Note: as of 6/2013 the serial/bootloader based programming takes approximately 30 seconds +;upload_protocol = jlink + +; Allows programming and debug via the RAK NanoDAP as the default debugger tool for the RAK4631 (it is only $10!) +; programming time is about the same as the bootloader version. +; For information on this see the meshtastic developers documentation for "Development on the NRF52" + diff --git a/variants/nrf52840/diy/nrf52_promicro_diy_xtal/variant.cpp b/variants/nrf52840/rak3401_1watt/variant.cpp similarity index 91% rename from variants/nrf52840/diy/nrf52_promicro_diy_xtal/variant.cpp rename to variants/nrf52840/rak3401_1watt/variant.cpp index 5869ed1d4..e84b60b3b 100644 --- a/variants/nrf52840/diy/nrf52_promicro_diy_xtal/variant.cpp +++ b/variants/nrf52840/rak3401_1watt/variant.cpp @@ -32,6 +32,13 @@ const uint32_t g_ADigitalPinMap[] = { void initVariant() { + // LED1 & LED2 + pinMode(PIN_LED1, OUTPUT); + ledOff(PIN_LED1); + + pinMode(PIN_LED2, OUTPUT); + ledOff(PIN_LED2); + // 3V3 Power Rail pinMode(PIN_3V3_EN, OUTPUT); digitalWrite(PIN_3V3_EN, HIGH); diff --git a/variants/nrf52840/rak3401_1watt/variant.h b/variants/nrf52840/rak3401_1watt/variant.h new file mode 100644 index 000000000..d4bb1a175 --- /dev/null +++ b/variants/nrf52840/rak3401_1watt/variant.h @@ -0,0 +1,226 @@ +/* + Copyright (c) 2014-2015 Arduino LLC. All right reserved. + Copyright (c) 2016 Sandeep Mistry All right reserved. + Copyright (c) 2018, Adafruit Industries (adafruit.com) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef _VARIANT_RAK3401_ +#define _VARIANT_RAK3401_ + +#define RAK4630 + +/** Master clock frequency */ +#define VARIANT_MCK (64000000ul) + +#define USE_LFXO // Board uses 32khz crystal for LF +// define USE_LFRC // Board uses RC for LF + +/*---------------------------------------------------------------------------- + * Headers + *----------------------------------------------------------------------------*/ + +#include "WVariant.h" + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +// Number of pins defined in PinDescription array +#define PINS_COUNT (48) +#define NUM_DIGITAL_PINS (48) +#define NUM_ANALOG_INPUTS (6) +#define NUM_ANALOG_OUTPUTS (0) + +// LEDs +#define PIN_LED1 (35) +#define PIN_LED2 (36) + +#define LED_BUILTIN PIN_LED1 +#define LED_CONN PIN_LED2 + +#define LED_GREEN PIN_LED1 +#define LED_BLUE PIN_LED2 + +#define LED_STATE_ON 1 // State when LED is litted + +/* + * Analog pins + */ +#define PIN_A0 (5) +#define PIN_A1 (31) +#define PIN_A2 (28) +#define PIN_A3 (29) +#define PIN_A4 (30) +#define PIN_A5 (31) +#define PIN_A6 (0xff) +#define PIN_A7 (0xff) + +static const uint8_t A0 = PIN_A0; +static const uint8_t A1 = PIN_A1; +static const uint8_t A2 = PIN_A2; +static const uint8_t A3 = PIN_A3; +static const uint8_t A4 = PIN_A4; +static const uint8_t A5 = PIN_A5; +static const uint8_t A6 = PIN_A6; +static const uint8_t A7 = PIN_A7; +#define ADC_RESOLUTION 14 + +// Other pins +#define WB_I2C1_SDA (13) // SENSOR_SLOT IO_SLOT +#define WB_I2C1_SCL (14) // SENSOR_SLOT IO_SLOT + +#define PIN_AREF (2) +#define PIN_NFC1 (9) +#define WB_IO5 PIN_NFC1 +#define WB_IO4 (4) +#define PIN_NFC2 (10) + +static const uint8_t AREF = PIN_AREF; + +/* + * Serial interfaces + */ +#define PIN_SERIAL1_RX (15) +#define PIN_SERIAL1_TX (16) + +// Connected to Jlink CDC +#define PIN_SERIAL2_RX (8) +#define PIN_SERIAL2_TX (6) + +/* + * SPI Interfaces + */ +#define SPI_INTERFACES_COUNT 2 + +#define PIN_SPI_MISO (45) +#define PIN_SPI_MOSI (44) +#define PIN_SPI_SCK (43) + +#define PIN_SPI1_MISO (29) // (0 + 29) +#define PIN_SPI1_MOSI (30) // (0 + 30) +#define PIN_SPI1_SCK (3) // (0 + 3) + +static const uint8_t SS = 42; +static const uint8_t MOSI = PIN_SPI_MOSI; +static const uint8_t MISO = PIN_SPI_MISO; +static const uint8_t SCK = PIN_SPI_SCK; + +/* + * eink display pins + */ +#define PIN_EINK_CS (0 + 26) +#define PIN_EINK_BUSY (0 + 4) +#define PIN_EINK_DC (0 + 17) +#define PIN_EINK_RES (-1) +#define PIN_EINK_SCLK (0 + 3) +#define PIN_EINK_MOSI (0 + 30) // also called SDI + +/* + * Wire Interfaces + */ +#define WIRE_INTERFACES_COUNT 1 + +#define PIN_WIRE_SDA (WB_I2C1_SDA) +#define PIN_WIRE_SCL (WB_I2C1_SCL) + +// QSPI Pins +#define PIN_QSPI_SCK 3 +#define PIN_QSPI_CS 26 +#define PIN_QSPI_IO0 30 +#define PIN_QSPI_IO1 29 +#define PIN_QSPI_IO2 28 +#define PIN_QSPI_IO3 2 + +// On-board QSPI Flash +#define EXTERNAL_FLASH_DEVICES IS25LP080D +#define EXTERNAL_FLASH_USE_QSPI + +// 1watt sx1262 RAK13302 +#define HW_SPI1_DEVICE 1 + +#define LORA_SCK PIN_SPI1_SCK +#define LORA_MISO PIN_SPI1_MISO +#define LORA_MOSI PIN_SPI1_MOSI +#define LORA_CS 26 + +#define USE_SX1262 +#define SX126X_CS (26) +#define SX126X_DIO1 (10) +#define SX126X_BUSY (9) +#define SX126X_RESET (4) + +#define SX126X_POWER_EN (21) +// DIO2 controlls an antenna switch and the TCXO voltage is controlled by DIO3 +#define SX126X_DIO2_AS_RF_SWITCH +#define SX126X_DIO3_TCXO_VOLTAGE 1.8 + +// Testing USB detection +#define NRF_APM +// If using a power chip like the INA3221 you can override the default battery voltage channel below +// and comment out NRF_APM to use the INA3221 instead of the USB detection for charging +// #define INA3221_BAT_CH INA3221_CH2 +// #define INA3221_ENV_CH INA3221_CH1 + +// enables 3.3V periphery like GPS or IO Module +// Do not toggle this for GPS power savings +#define PIN_3V3_EN (34) +#define WB_IO2 PIN_3V3_EN + +// RAK1910 GPS module +// If using the wisblock GPS module and pluged into Port A on WisBlock base +// IO1 is hooked to PPS (pin 12 on header) = gpio 17 +// IO2 is hooked to GPS RESET = gpio 34, but it can not be used to this because IO2 is ALSO used to control 3V3_S power (1 is on). +// Therefore must be 1 to keep peripherals powered +// Power is on the controllable 3V3_S rail +// #define PIN_GPS_RESET (34) +// #define PIN_GPS_EN PIN_3V3_EN +#define PIN_GPS_PPS (17) // Pulse per second input from the GPS + +#define GPS_RX_PIN PIN_SERIAL1_RX +#define GPS_TX_PIN PIN_SERIAL1_TX + +// Define pin to enable GPS toggle (set GPIO to LOW) via user button triple press + +// RAK12002 RTC Module +#define RV3028_RTC (uint8_t)0b1010010 + +// RAK18001 Buzzer in Slot C +// #define PIN_BUZZER 21 // IO3 is PWM2 +// NEW: set this via protobuf instead! + +// Battery +// The battery sense is hooked to pin A0 (5) +#define BATTERY_PIN PIN_A0 +// and has 12 bit resolution +#define BATTERY_SENSE_RESOLUTION_BITS 12 +#define BATTERY_SENSE_RESOLUTION 4096.0 +#undef AREF_VOLTAGE +#define AREF_VOLTAGE 3.0 +#define VBAT_AR_INTERNAL AR_INTERNAL_3_0 +#define ADC_MULTIPLIER 1.73 + +#define HAS_RTC 1 + +#define RAK_4631 1 + +#ifdef __cplusplus +} +#endif + +/*---------------------------------------------------------------------------- + * Arduino objects - C++ only + *----------------------------------------------------------------------------*/ + +#endif diff --git a/variants/nrf52840/rak4631/platformio.ini b/variants/nrf52840/rak4631/platformio.ini index 205966529..ed30692be 100644 --- a/variants/nrf52840/rak4631/platformio.ini +++ b/variants/nrf52840/rak4631/platformio.ini @@ -4,23 +4,33 @@ extends = nrf52840_base board = wiscore_rak4631 board_level = pr board_check = true +build_type = release build_flags = ${nrf52840_base.build_flags} -I variants/nrf52840/rak4631 -D RAK_4631 - -DEINK_DISPLAY_MODEL=GxEPD2_213_BN - -DEINK_WIDTH=250 - -DEINK_HEIGHT=122 + -DMESHTASTIC_USE_EINK_UI=0 -DRADIOLIB_EXCLUDE_SX128X=1 -DRADIOLIB_EXCLUDE_SX127X=1 -DRADIOLIB_EXCLUDE_LR11X0=1 -build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/rak4631> + + + +build_src_filter = ${nrf52_base.build_src_filter} \ + +<../variants/nrf52840/rak4631> \ + + \ + + \ + + \ + - \ + - \ + - lib_deps = ${nrf52840_base.lib_deps} - ${nrf52_networking_base.lib_deps} - melopero/Melopero RV3028@^1.1.0 + ${networking_base.lib_deps} + # renovate: datasource=custom.pio depName=Melopero RV3028 packageName=melopero/library/Melopero RV3028 + melopero/Melopero RV3028@1.2.0 + # renovate: datasource=github-tags depName=RAK13800-W5100S packageName=RAKWireless/RAK13800-W5100S https://github.com/RAKWireless/RAK13800-W5100S/archive/1.0.2.zip - rakwireless/RAKwireless NCP5623 RGB LED library@^1.0.2 - beegee-tokyo/RAK12035_SoilMoisture@^1.0.4 + # renovate: datasource=custom.pio depName=RAK NCP5623 RGB LED packageName=rakwireless/library/RAKwireless NCP5623 RGB LED library + rakwireless/RAKwireless NCP5623 RGB LED library@1.0.3 + # renovate: datasource=custom.pio depName=RAK12035_SoilMoisture packageName=beegee-tokyo/library/RAK12035_SoilMoisture + beegee-tokyo/RAK12035_SoilMoisture@1.0.4 # renovate: datasource=git-refs depName=RAK12034-BMX160 packageName=https://github.com/RAKWireless/RAK12034-BMX160 gitBranch=main https://github.com/RAKWireless/RAK12034-BMX160/archive/dcead07ffa267d3c906e9ca4a1330ab989e957e2.zip @@ -36,7 +46,7 @@ extends = env:rak4631 board_level = extra ; if the builtin version of openocd has a buggy version of semihosting, so use the external version -; platform_packages = platformio/tool-openocd@^3.1200.0 +; platform_packages = platformio/tool-openocd@3.1200.0 build_flags = ${env:rak4631.build_flags} @@ -44,6 +54,7 @@ build_flags = lib_deps = ${env:rak4631.lib_deps} + # TODO renovate https://github.com/geeksville/Armduino-Semihosting/archive/35b538fdf208c3530c1434cd099a08e486672ee4.zip ; NOTE: the pyocd support for semihosting is buggy. So I switched to using the builtin platformio support for the stlink adapter which worked much better. @@ -53,6 +64,6 @@ lib_deps = ; In theory I could change those scripts. But for now I'm trying going back to a DAP adapter but with the external openocd. upload_protocol = stlink -; eventually use platformio/tool-pyocd@^2.3600.0 instad +; eventually use platformio/tool-pyocd@2.3600.0 instad ;upload_protocol = custom ;upload_command = pyocd flash -t nrf52840 $UPLOADERFLAGS $SOURCE diff --git a/variants/nrf52840/rak4631/variant.h b/variants/nrf52840/rak4631/variant.h index f5ec11ef2..302e531d5 100644 --- a/variants/nrf52840/rak4631/variant.h +++ b/variants/nrf52840/rak4631/variant.h @@ -267,6 +267,20 @@ SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG #define VBAT_AR_INTERNAL AR_INTERNAL_3_0 #define ADC_MULTIPLIER 1.73 +// RAK4630 AIN0 = nrf52840 AIN3 = Pin 5 +#define BATTERY_LPCOMP_INPUT NRF_LPCOMP_INPUT_3 + +// We have AIN3 with a VBAT divider so AIN3 = VBAT * (1.5/2.5) +// We have the device going deep sleep under 3.1V, which is AIN3 = 1.86V +// So we can wake up when VBAT>=VDD is restored to 3.3V, where AIN3 = 1.98V +// 1.98/3.3 = 6/10, but that's close to the VBAT divider, so we +// pick 6/8VDD, which means VBAT=4.1V. +// Reference: +// VDD=3.3V AIN3=5/8*VDD=2.06V VBAT=1.66*AIN3=3.41V +// VDD=3.3V AIN3=11/16*VDD=2.26V VBAT=1.66*AIN3=3.76V +// VDD=3.3V AIN3=6/8*VDD=2.47V VBAT=1.66*AIN3=4.1V +#define BATTERY_LPCOMP_THRESHOLD NRF_LPCOMP_REF_SUPPLY_11_16 + #define HAS_RTC 1 #define HAS_ETHERNET 1 diff --git a/variants/nrf52840/rak4631_epaper/platformio.ini b/variants/nrf52840/rak4631_epaper/platformio.ini index 704520f8d..bc21b7912 100644 --- a/variants/nrf52840/rak4631_epaper/platformio.ini +++ b/variants/nrf52840/rak4631_epaper/platformio.ini @@ -14,11 +14,16 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/rak4631_epaper> lib_deps = ${nrf52840_base.lib_deps} - zinggjm/GxEPD2@^1.6.2 - melopero/Melopero RV3028@^1.1.0 - rakwireless/RAKwireless NCP5623 RGB LED library@^1.0.2 - beegee-tokyo/RAKwireless RAK12034@^1.0.0 - beegee-tokyo/RAK12035_SoilMoisture@^1.0.4 + # renovate: datasource=custom.pio depName=GxEPD2 packageName=zinggjm/library/GxEPD2 + zinggjm/GxEPD2@1.6.5 + # renovate: datasource=custom.pio depName=Melopero RV3028 packageName=melopero/library/Melopero RV3028 + melopero/Melopero RV3028@1.2.0 + # renovate: datasource=custom.pio depName=RAK NCP5623 RGB LED packageName=rakwireless/library/RAKwireless NCP5623 RGB LED library + rakwireless/RAKwireless NCP5623 RGB LED library@1.0.3 + # renovate: datasource=custom.pio depName=RAK12034 packageName=beegee-tokyo/library/RAKwireless RAK12034 + beegee-tokyo/RAKwireless RAK12034@1.0.0 + # renovate: datasource=custom.pio depName=RAK12035_SoilMoisture packageName=beegee-tokyo/library/RAK12035_SoilMoisture + beegee-tokyo/RAK12035_SoilMoisture@1.0.4 debug_tool = jlink ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) ;upload_protocol = jlink diff --git a/variants/nrf52840/rak4631_epaper_onrxtx/platformio.ini b/variants/nrf52840/rak4631_epaper_onrxtx/platformio.ini index e0156668b..d0bca377b 100644 --- a/variants/nrf52840/rak4631_epaper_onrxtx/platformio.ini +++ b/variants/nrf52840/rak4631_epaper_onrxtx/platformio.ini @@ -16,11 +16,16 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/rak4631_epaper_onrxtx> lib_deps = ${nrf52840_base.lib_deps} - zinggjm/GxEPD2@^1.6.2 - melopero/Melopero RV3028@^1.1.0 - rakwireless/RAKwireless NCP5623 RGB LED library@^1.0.2 - beegee-tokyo/RAKwireless RAK12034@^1.0.0 - beegee-tokyo/RAK12035_SoilMoisture@^1.0.4 + # renovate: datasource=custom.pio depName=GxEPD2 packageName=zinggjm/library/GxEPD2 + zinggjm/GxEPD2@1.6.5 + # renovate: datasource=custom.pio depName=Melopero RV3028 packageName=melopero/library/Melopero RV3028 + melopero/Melopero RV3028@1.2.0 + # renovate: datasource=custom.pio depName=RAK NCP5623 RGB LED packageName=rakwireless/library/RAKwireless NCP5623 RGB LED library + rakwireless/RAKwireless NCP5623 RGB LED library@1.0.3 + # renovate: datasource=custom.pio depName=RAK12034 packageName=beegee-tokyo/library/RAKwireless RAK12034 + beegee-tokyo/RAKwireless RAK12034@1.0.0 + # renovate: datasource=custom.pio depName=RAK12035_SoilMoisture packageName=beegee-tokyo/library/RAK12035_SoilMoisture + beegee-tokyo/RAK12035_SoilMoisture@1.0.4 debug_tool = jlink ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) ;upload_protocol = jlink diff --git a/variants/nrf52840/rak4631_eth_gw/platformio.ini b/variants/nrf52840/rak4631_eth_gw/platformio.ini index 3c61e3498..bfa4924ce 100644 --- a/variants/nrf52840/rak4631_eth_gw/platformio.ini +++ b/variants/nrf52840/rak4631_eth_gw/platformio.ini @@ -27,12 +27,16 @@ build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/rak4631 lib_deps = ${nrf52840_base.lib_deps} ${networking_base.lib_deps} - melopero/Melopero RV3028@^1.1.0 + # renovate: datasource=custom.pio depName=Melopero RV3028 packageName=melopero/library/Melopero RV3028 + melopero/Melopero RV3028@1.2.0 + # renovate: datasource=github-tags depName=RAK13800-W5100S packageName=RAKWireless/RAK13800-W5100S https://github.com/RAKWireless/RAK13800-W5100S/archive/1.0.2.zip - rakwireless/RAKwireless NCP5623 RGB LED library@^1.0.2 + # renovate: datasource=custom.pio depName=RAK NCP5623 RGB LED packageName=rakwireless/library/RAKwireless NCP5623 RGB LED library + rakwireless/RAKwireless NCP5623 RGB LED library@1.0.3 # renovate: datasource=git-refs depName=RAK12034-BMX160 packageName=https://github.com/RAKWireless/RAK12034-BMX160 gitBranch=main https://github.com/RAKWireless/RAK12034-BMX160/archive/dcead07ffa267d3c906e9ca4a1330ab989e957e2.zip - bblanchon/ArduinoJson @ 6.21.4 + # renovate: datasource=custom.pio depName=ArduinoJson packageName=bblanchon/library/ArduinoJson + bblanchon/ArduinoJson@6.21.4 ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) ; Note: as of 6/2013 the serial/bootloader based programming takes approximately 30 seconds ;upload_protocol = jlink @@ -45,7 +49,7 @@ extends = env:rak4631 board_level = extra ; if the builtin version of openocd has a buggy version of semihosting, so use the external version -; platform_packages = platformio/tool-openocd@^3.1200.0 +; platform_packages = platformio/tool-openocd@3.1200.0 build_flags = ${env:rak4631_eth_gw.build_flags} @@ -53,6 +57,7 @@ build_flags = lib_deps = ${env:rak4631_eth_gw.lib_deps} + # TODO renovate https://github.com/geeksville/Armduino-Semihosting/archive/35b538fdf208c3530c1434cd099a08e486672ee4.zip ; NOTE: the pyocd support for semihosting is buggy. So I switched to using the builtin platformio support for the stlink adapter which worked much better. @@ -62,6 +67,6 @@ lib_deps = ; In theory I could change those scripts. But for now I'm trying going back to a DAP adapter but with the external openocd. upload_protocol = stlink -; eventually use platformio/tool-pyocd@^2.3600.0 instad +; eventually use platformio/tool-pyocd@2.3600.0 instad ;upload_protocol = custom ;upload_command = pyocd flash -t nrf52840 $UPLOADERFLAGS $SOURCE diff --git a/variants/nrf52840/rak4631_nomadstar_meteor_pro/platformio.ini b/variants/nrf52840/rak4631_nomadstar_meteor_pro/platformio.ini index d7dab2678..500242c24 100644 --- a/variants/nrf52840/rak4631_nomadstar_meteor_pro/platformio.ini +++ b/variants/nrf52840/rak4631_nomadstar_meteor_pro/platformio.ini @@ -15,6 +15,7 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/rak4631_nomadstar_meteor_pro> + + lib_deps = ${nrf52840_base.lib_deps} + # TODO renovate https://github.com/NomadStar-outdoor/IOBoard-RGB-LP5562-Library.git#9c366c8 ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) @@ -29,7 +30,7 @@ extends = env:rak4631_nomadstar_meteor_pro board_level = extra ; if the builtin version of openocd has a buggy version of semihosting, so use the external version -; platform_packages = platformio/tool-openocd@^3.1200.0 +; platform_packages = platformio/tool-openocd@3.1200.0 build_flags = ${env:rak4631.build_flags} @@ -37,6 +38,7 @@ build_flags = lib_deps = ${env:rak4631.lib_deps} + # TODO renovate https://github.com/geeksville/Armduino-Semihosting/archive/35b538fdf208c3530c1434cd099a08e486672ee4.zip ; NOTE: the pyocd support for semihosting is buggy. So I switched to using the builtin platformio support for the stlink adapter which worked much better. @@ -46,6 +48,6 @@ lib_deps = ; In theory I could change those scripts. But for now I'm trying going back to a DAP adapter but with the external openocd. upload_protocol = stlink -; eventually use platformio/tool-pyocd@^2.3600.0 instad +; eventually use platformio/tool-pyocd@2.3600.0 instad ;upload_protocol = custom -;upload_command = pyocd flash -t nrf52840 $UPLOADERFLAGS $SOURCE \ No newline at end of file +;upload_command = pyocd flash -t nrf52840 $UPLOADERFLAGS $SOURCE diff --git a/variants/nrf52840/rak_wismeshtag/platformio.ini b/variants/nrf52840/rak_wismeshtag/platformio.ini index f04d1f186..1cc00e253 100644 --- a/variants/nrf52840/rak_wismeshtag/platformio.ini +++ b/variants/nrf52840/rak_wismeshtag/platformio.ini @@ -12,5 +12,3 @@ build_flags = ${nrf52840_base.build_flags} -DRADIOLIB_EXCLUDE_LR11X0=1 -DMESHTASTIC_EXCLUDE_WIFI=1 build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/rak_wismeshtag> -lib_deps = - ${nrf52840_base.lib_deps} \ No newline at end of file diff --git a/variants/nrf52840/rak_wismeshtag/variant.h b/variants/nrf52840/rak_wismeshtag/variant.h index eba910dc1..159cabf07 100644 --- a/variants/nrf52840/rak_wismeshtag/variant.h +++ b/variants/nrf52840/rak_wismeshtag/variant.h @@ -230,6 +230,7 @@ SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG #define AREF_VOLTAGE 3.0 #define VBAT_AR_INTERNAL AR_INTERNAL_3_0 #define ADC_MULTIPLIER 1.73 +#define OCV_ARRAY 4240, 4112, 4029, 3970, 3906, 3846, 3824, 3802, 3776, 3650, 3072 #define RAK_4631 1 diff --git a/variants/nrf52840/rak_wismeshtap/platformio.ini b/variants/nrf52840/rak_wismeshtap/platformio.ini index 3369f9c77..485b7174f 100644 --- a/variants/nrf52840/rak_wismeshtap/platformio.ini +++ b/variants/nrf52840/rak_wismeshtap/platformio.ini @@ -17,14 +17,21 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/rak_wismeshtap> + + + lib_deps = ${nrf52840_base.lib_deps} - ${nrf52_networking_base.lib_deps} - melopero/Melopero RV3028@^1.1.0 + ${networking_base.lib_deps} + # renovate: datasource=custom.pio depName=Melopero RV3028 packageName=melopero/library/Melopero RV3028 + melopero/Melopero RV3028@1.2.0 + # renovate: datasource=github-tags depName=RAK13800-W5100S packageName=RAKWireless/RAK13800-W5100S https://github.com/RAKWireless/RAK13800-W5100S/archive/1.0.2.zip - rakwireless/RAKwireless NCP5623 RGB LED library@^1.0.2 - bodmer/TFT_eSPI - beegee-tokyo/RAKwireless RAK12034@^1.0.0 - beegee-tokyo/RAK14014-FT6336U @ 1.0.1 - beegee-tokyo/RAK12035_SoilMoisture@^1.0.4 + # renovate: datasource=custom.pio depName=RAK NCP5623 RGB LED packageName=rakwireless/library/RAKwireless NCP5623 RGB LED library + rakwireless/RAKwireless NCP5623 RGB LED library@1.0.3 + # renovate: datasource=custom.pio depName=TFT_eSPI packageName=bodmer/library/TFT_eSPI + bodmer/TFT_eSPI@2.5.43 + # renovate: datasource=custom.pio depName=RAK12034 packageName=beegee-tokyo/library/RAKwireless RAK12034 + beegee-tokyo/RAKwireless RAK12034@1.0.0 + # renovate: datasource=custom.pio depName=RAK14014-FT6336U packageName=beegee-tokyo/library/RAK14014-FT6336U + beegee-tokyo/RAK14014-FT6336U@1.0.1 + # renovate: datasource=custom.pio depName=RAK12035_SoilMoisture packageName=beegee-tokyo/library/RAK12035_SoilMoisture + beegee-tokyo/RAK12035_SoilMoisture@1.0.4 debug_tool = jlink ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) ;upload_protocol = jlink diff --git a/variants/nrf52840/rak_wismeshtap/variant.h b/variants/nrf52840/rak_wismeshtap/variant.h index f961ddf6e..a7b9290a5 100644 --- a/variants/nrf52840/rak_wismeshtap/variant.h +++ b/variants/nrf52840/rak_wismeshtap/variant.h @@ -300,6 +300,7 @@ SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG #define SPI_FREQUENCY 50000000 #define TFT_SPI_PORT SPI1 #define ST7789_CS WB_SPI_CS // Adds compatibility with the rest of the checking for a ST7789 TFT. +#define USE_TFTDISPLAY 1 #define SCREEN_ROTATE #define SCREEN_TRANSITION_FRAMERATE 5 diff --git a/variants/nrf52840/seeed_solar_node/platformio.ini b/variants/nrf52840/seeed_solar_node/platformio.ini index b2a128c57..5a2518331 100644 --- a/variants/nrf52840/seeed_solar_node/platformio.ini +++ b/variants/nrf52840/seeed_solar_node/platformio.ini @@ -9,6 +9,4 @@ build_flags = ${nrf52840_base.build_flags} -I src/platform/nrf52/softdevice/nrf52 board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/seeed_solar_node> -lib_deps = - ${nrf52840_base.lib_deps} debug_tool = jlink diff --git a/variants/nrf52840/seeed_solar_node/variant.h b/variants/nrf52840/seeed_solar_node/variant.h index 30d5c5888..7b7738547 100644 --- a/variants/nrf52840/seeed_solar_node/variant.h +++ b/variants/nrf52840/seeed_solar_node/variant.h @@ -110,18 +110,19 @@ static const uint8_t SCL = PIN_WIRE_SCL; #define ADC_MULTIPLIER 3.3 #define BATTERY_PIN PIN_VBAT // PIN_A7 #define AREF_VOLTAGE 3.3 +#define OCV_ARRAY 4200, 3986, 3922, 3812, 3734, 3645, 3527, 3420, 3281, 3087, 2786 // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ // GPS L76KB // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ #define GPS_L76K #ifdef GPS_L76K -#define PIN_GPS_RX D6 // 44 -#define PIN_GPS_TX D7 // 43 +#define PIN_GPS_TX D6 // 44 +#define PIN_GPS_RX D7 // 43 #define HAS_GPS 1 #define GPS_BAUDRATE 9600 #define GPS_THREAD_INTERVAL 50 -#define PIN_SERIAL1_RX PIN_GPS_TX -#define PIN_SERIAL1_TX PIN_GPS_RX +#define PIN_SERIAL1_TX PIN_GPS_TX +#define PIN_SERIAL1_RX PIN_GPS_RX #define PIN_GPS_STANDBY D0 #define GPS_EN D18 // P1.05 #endif diff --git a/variants/nrf52840/seeed_wio_tracker_L1/platformio.ini b/variants/nrf52840/seeed_wio_tracker_L1/platformio.ini index 6c137384d..d11ad0ab9 100644 --- a/variants/nrf52840/seeed_wio_tracker_L1/platformio.ini +++ b/variants/nrf52840/seeed_wio_tracker_L1/platformio.ini @@ -8,6 +8,4 @@ build_flags = ${nrf52840_base.build_flags} -I src/platform/nrf52/softdevice/nrf52 board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/seeed_wio_tracker_L1> -lib_deps = - ${nrf52840_base.lib_deps} debug_tool = jlink diff --git a/variants/nrf52840/seeed_wio_tracker_L1_eink/platformio.ini b/variants/nrf52840/seeed_wio_tracker_L1_eink/platformio.ini index 7f9eb0e2c..3007a8c7b 100644 --- a/variants/nrf52840/seeed_wio_tracker_L1_eink/platformio.ini +++ b/variants/nrf52840/seeed_wio_tracker_L1_eink/platformio.ini @@ -24,7 +24,8 @@ board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/seeed_wio_tracker_L1_eink> lib_deps = ${nrf52840_base.lib_deps} - https://github.com/meshtastic/GxEPD2#b202ebfec6a4821e098cf7a625ba0f6f2400292d + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master + https://github.com/meshtastic/GxEPD2/archive/b202ebfec6a4821e098cf7a625ba0f6f2400292d.zip debug_tool = jlink [env:seeed_wio_tracker_L1_eink-inkhud] @@ -44,4 +45,4 @@ build_src_filter = lib_deps = ${inkhud.lib_deps} ; Before base libs_deps, so we use ZinggJM/GFXRoot instead of AdafruitGFX (saves space) ${nrf52840_base.lib_deps} -debug_tool = jlink \ No newline at end of file +debug_tool = jlink diff --git a/variants/nrf52840/seeed_wio_tracker_L1_eink/variant.h b/variants/nrf52840/seeed_wio_tracker_L1_eink/variant.h index f33d200b1..09fefc7f2 100644 --- a/variants/nrf52840/seeed_wio_tracker_L1_eink/variant.h +++ b/variants/nrf52840/seeed_wio_tracker_L1_eink/variant.h @@ -122,6 +122,8 @@ static const uint8_t SCL = PIN_WIRE_SCL; #define ADC_MULTIPLIER 2.0 #define BATTERY_PIN PIN_VBAT // PIN_A7 #define AREF_VOLTAGE 3.6 +#define OCV_ARRAY 4200, 3876, 3826, 3763, 3713, 3660, 3573, 3485, 3422, 3359, 3300 + // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ // GPS L76KB // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ diff --git a/variants/nrf52840/seeed_xiao_nrf52840_kit/platformio.ini b/variants/nrf52840/seeed_xiao_nrf52840_kit/platformio.ini index 4c68b40e8..079cd5c52 100644 --- a/variants/nrf52840/seeed_xiao_nrf52840_kit/platformio.ini +++ b/variants/nrf52840/seeed_xiao_nrf52840_kit/platformio.ini @@ -11,8 +11,6 @@ build_flags = ${nrf52840_base.build_flags} -DGPS_L76K board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/seeed_xiao_nrf52840_kit> -lib_deps = - ${nrf52840_base.lib_deps} debug_tool = jlink ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) ;upload_protocol = jlink diff --git a/variants/nrf52840/seeed_xiao_nrf52840_kit/variant.h b/variants/nrf52840/seeed_xiao_nrf52840_kit/variant.h index a65500612..fb112a302 100644 --- a/variants/nrf52840/seeed_xiao_nrf52840_kit/variant.h +++ b/variants/nrf52840/seeed_xiao_nrf52840_kit/variant.h @@ -147,12 +147,12 @@ static const uint8_t SCK = PIN_SPI_SCK; */ // GPS L76K #ifdef GPS_L76K -#define PIN_GPS_RX D6 -#define PIN_GPS_TX D7 +#define PIN_GPS_TX D6 +#define PIN_GPS_RX D7 #define HAS_GPS 1 #define GPS_THREAD_INTERVAL 50 -#define PIN_SERIAL1_RX PIN_GPS_TX -#define PIN_SERIAL1_TX PIN_GPS_RX +#define PIN_SERIAL1_TX PIN_GPS_TX +#define PIN_SERIAL1_RX PIN_GPS_RX #define PIN_GPS_STANDBY D0 #else #define PIN_SERIAL1_RX (-1) diff --git a/variants/nrf52840/t-echo-lite/platformio.ini b/variants/nrf52840/t-echo-lite/platformio.ini index 90e6487a7..217b76a2d 100644 --- a/variants/nrf52840/t-echo-lite/platformio.ini +++ b/variants/nrf52840/t-echo-lite/platformio.ini @@ -20,5 +20,6 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/t-echo-lite> lib_deps = ${nrf52840_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/a05c11c02862624266b61599b0d6ba93e33c6f24.zip ;upload_protocol = fs diff --git a/variants/nrf52840/t-echo/platformio.ini b/variants/nrf52840/t-echo/platformio.ini index 051fb3099..c489efbc1 100644 --- a/variants/nrf52840/t-echo/platformio.ini +++ b/variants/nrf52840/t-echo/platformio.ini @@ -20,8 +20,10 @@ build_flags = ${nrf52840_base.build_flags} build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/t-echo> lib_deps = ${nrf52840_base.lib_deps} + # renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master https://github.com/meshtastic/GxEPD2/archive/55f618961db45a23eff0233546430f1e5a80f63a.zip - lewisxhe/PCF8563_Library@^1.0.1 + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 ;upload_protocol = fs [env:t-echo-inkhud] @@ -41,4 +43,5 @@ build_src_filter = lib_deps = ${inkhud.lib_deps} ; InkHUD libs first, so we get GFXRoot instead of AdafruitGFX ${nrf52840_base.lib_deps} - lewisxhe/PCF8563_Library@^1.0.1 \ No newline at end of file + # renovate: datasource=custom.pio depName=PCF8563 packageName=lewisxhe/library/PCF8563_Library + lewisxhe/PCF8563_Library@1.0.1 diff --git a/variants/nrf52840/t-echo/variant.h b/variants/nrf52840/t-echo/variant.h index 4f3a53ebf..9a0cd0578 100644 --- a/variants/nrf52840/t-echo/variant.h +++ b/variants/nrf52840/t-echo/variant.h @@ -181,14 +181,14 @@ External serial flash WP25R1635FZUIL0 #define PIN_GPS_STANDBY (32 + 2) // An output to wake GPS, low means allow sleep, high means force wake // Seems to be missing on this new board -// #define PIN_GPS_PPS (32 + 4) // Pulse per second input from the GPS -#define GPS_TX_PIN (32 + 9) // This is for bits going TOWARDS the CPU -#define GPS_RX_PIN (32 + 8) // This is for bits going TOWARDS the GPS +#define PIN_GPS_PPS (32 + 4) // Pulse per second input from the GPS +#define GPS_TX_PIN (32 + 8) // This is for bits going TOWARDS the CPU +#define GPS_RX_PIN (32 + 9) // This is for bits going TOWARDS the GPS #define GPS_THREAD_INTERVAL 50 -#define PIN_SERIAL1_RX GPS_TX_PIN -#define PIN_SERIAL1_TX GPS_RX_PIN +#define PIN_SERIAL1_RX GPS_RX_PIN +#define PIN_SERIAL1_TX GPS_TX_PIN // PCF8563 RTC Module #define PCF8563_RTC 0x51 @@ -203,8 +203,6 @@ External serial flash WP25R1635FZUIL0 #define PIN_SPI_MOSI (0 + 22) #define PIN_SPI_SCK (0 + 19) -#define PIN_PWR_EN (0 + 6) - // To debug via the segger JLINK console rather than the CDC-ACM serial device // #define USE_SEGGER diff --git a/variants/nrf52840/tracker-t1000-e/platformio.ini b/variants/nrf52840/tracker-t1000-e/platformio.ini index 905d751fd..86d74f68a 100644 --- a/variants/nrf52840/tracker-t1000-e/platformio.ini +++ b/variants/nrf52840/tracker-t1000-e/platformio.ini @@ -16,6 +16,7 @@ board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/tracker-t1000-e> lib_deps = ${nrf52840_base.lib_deps} + # TODO renovate https://github.com/meshtastic/QMA6100P_Arduino_Library/archive/14c900b8b2e4feaac5007a7e41e0c1b7f0841136.zip debug_tool = jlink ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) diff --git a/variants/nrf52840/tracker-t1000-e/variant.h b/variants/nrf52840/tracker-t1000-e/variant.h index 403552ec0..5b6719e12 100644 --- a/variants/nrf52840/tracker-t1000-e/variant.h +++ b/variants/nrf52840/tracker-t1000-e/variant.h @@ -142,6 +142,8 @@ extern "C" { #define AREF_VOLTAGE 3.0 #define VBAT_AR_INTERNAL AR_INTERNAL_3_0 +#define OCV_ARRAY 4190, 4042, 3957, 3885, 3820, 3776, 3746, 3725, 3696, 3644, 3100 + // Buzzer #define BUZZER_EN_PIN (32 + 5) // P1.05, always high #define PIN_BUZZER (0 + 25) // P0.25, pwm output diff --git a/variants/nrf52840/wio-sdk-wm1110/platformio.ini b/variants/nrf52840/wio-sdk-wm1110/platformio.ini index 028129783..7c11ef6f6 100644 --- a/variants/nrf52840/wio-sdk-wm1110/platformio.ini +++ b/variants/nrf52840/wio-sdk-wm1110/platformio.ini @@ -4,11 +4,22 @@ extends = nrf52840_base board = wio-sdk-wm1110 extra_scripts = - ${env.extra_scripts} + ${nrf52840_base.extra_scripts} extra_scripts/disable_adafruit_usb.py # Remove adafruit USB serial from the build (it is incompatible with using the ch340 serial chip on this board) -build_unflags = ${nrf52840_base:build_unflags} -DUSBCON -DUSE_TINYUSB +build_unflags = + -Ofast + -Og + -ggdb3 + -ggdb2 + -g3 + -g2 + -g + -g1 + -g0 + -DUSBCON + -DUSE_TINYUSB build_flags = ${nrf52840_base.build_flags} -Ivariants/nrf52840/wio-sdk-wm1110 -Isrc/platform/nrf52/softdevice diff --git a/variants/nrf52840/wio-t1000-s/platformio.ini b/variants/nrf52840/wio-t1000-s/platformio.ini index c6b61fc8a..a6ea5102c 100644 --- a/variants/nrf52840/wio-t1000-s/platformio.ini +++ b/variants/nrf52840/wio-t1000-s/platformio.ini @@ -10,8 +10,6 @@ build_flags = ${nrf52840_base.build_flags} -DWIO_WM1110 board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/wio-t1000-s> -lib_deps = - ${nrf52840_base.lib_deps} debug_tool = jlink ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) upload_protocol = jlink \ No newline at end of file diff --git a/variants/nrf52840/wio-tracker-wm1110/platformio.ini b/variants/nrf52840/wio-tracker-wm1110/platformio.ini index 73b7dedd4..b3513a242 100644 --- a/variants/nrf52840/wio-tracker-wm1110/platformio.ini +++ b/variants/nrf52840/wio-tracker-wm1110/platformio.ini @@ -9,7 +9,5 @@ build_flags = ${nrf52840_base.build_flags} -DWIO_WM1110 board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/wio-tracker-wm1110> -lib_deps = - ${nrf52840_base.lib_deps} ; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm) -;upload_protocol = jlink \ No newline at end of file +;upload_protocol = jlink diff --git a/variants/rp2040/challenger_2040_lora/platformio.ini b/variants/rp2040/challenger_2040_lora/platformio.ini index 4a709d650..06371d18e 100644 --- a/variants/rp2040/challenger_2040_lora/platformio.ini +++ b/variants/rp2040/challenger_2040_lora/platformio.ini @@ -10,7 +10,5 @@ build_flags = -I variants/rp2040/challenger_2040_lora -D DEBUG_RP2040_PORT=Serial -D HW_SPI1_DEVICE -lib_deps = - ${rp2040_base.lib_deps} debug_build_flags = ${rp2040_base.build_flags} debug_tool = cmsis-dap ; for e.g. Picotool diff --git a/variants/rp2040/ec_catsniffer/platformio.ini b/variants/rp2040/ec_catsniffer/platformio.ini index b70eff6d7..08fa3fffc 100644 --- a/variants/rp2040/ec_catsniffer/platformio.ini +++ b/variants/rp2040/ec_catsniffer/platformio.ini @@ -9,7 +9,5 @@ build_flags = -I variants/rp2040/ec_catsniffer -D DEBUG_RP2040_PORT=Serial ; -D HW_SPI1_DEVICE -lib_deps = - ${rp2040_base.lib_deps} debug_build_flags = ${rp2040_base.build_flags}, -g debug_tool = cmsis-dap diff --git a/variants/rp2040/feather_rp2040_rfm95/platformio.ini b/variants/rp2040/feather_rp2040_rfm95/platformio.ini index ef4118cb0..1da1218e4 100644 --- a/variants/rp2040/feather_rp2040_rfm95/platformio.ini +++ b/variants/rp2040/feather_rp2040_rfm95/platformio.ini @@ -1,6 +1,7 @@ [env:feather_rp2040_rfm95] extends = rp2040_base board = adafruit_feather +board_level = extra upload_protocol = picotool # add our variants files to the include and src paths build_flags = @@ -9,7 +10,5 @@ build_flags = -I variants/rp2040/feather_rp2040_rfm95 -D DEBUG_RP2040_PORT=Serial -D HW_SPI1_DEVICE -lib_deps = - ${rp2040_base.lib_deps} debug_build_flags = ${rp2040_base.build_flags} debug_tool = cmsis-dap ; for e.g. Picotool diff --git a/variants/rp2040/nibble_rp2040/platformio.ini b/variants/rp2040/nibble_rp2040/platformio.ini index 024a72206..5f4025cff 100644 --- a/variants/rp2040/nibble_rp2040/platformio.ini +++ b/variants/rp2040/nibble_rp2040/platformio.ini @@ -10,7 +10,5 @@ build_flags = -I variants/rp2040/nibble_rp2040 -D DEBUG_RP2040_PORT=Serial -D HW_SPI1_DEVICE -lib_deps = - ${rp2040_base.lib_deps} debug_build_flags = ${rp2040_base.build_flags}, -g debug_tool = cmsis-dap ; for e.g. Picotool diff --git a/variants/rp2040/rak11310/platformio.ini b/variants/rp2040/rak11310/platformio.ini index f3eaa176e..3234d3b99 100644 --- a/variants/rp2040/rak11310/platformio.ini +++ b/variants/rp2040/rak11310/platformio.ini @@ -14,7 +14,10 @@ build_src_filter = ${rp2040_base.build_src_filter} +<../variants/rp2040/rak11310 lib_deps = ${rp2040_base.lib_deps} ${networking_base.lib_deps} - melopero/Melopero RV3028@^1.1.0 + ${networking_extra.lib_deps} + # renovate: datasource=custom.pio depName=Melopero RV3028 packageName=melopero/library/Melopero RV3028 + melopero/Melopero RV3028@1.2.0 + # renovate: datasource=github-tags depName=RAK13800-W5100S packageName=RAKWireless/RAK13800-W5100S https://github.com/RAKWireless/RAK13800-W5100S/archive/1.0.2.zip debug_build_flags = ${rp2040_base.build_flags}, -g debug_tool = cmsis-dap ; for e.g. Picotool diff --git a/variants/rp2040/rp2040-lora/platformio.ini b/variants/rp2040/rp2040-lora/platformio.ini index d59e74f20..a85869260 100644 --- a/variants/rp2040/rp2040-lora/platformio.ini +++ b/variants/rp2040/rp2040-lora/platformio.ini @@ -9,7 +9,5 @@ build_flags = -I variants/rp2040/rp2040-lora -D DEBUG_RP2040_PORT=Serial -D HW_SPI1_DEVICE -lib_deps = - ${rp2040_base.lib_deps} debug_build_flags = ${rp2040_base.build_flags}, -g debug_tool = cmsis-dap ; for e.g. Picotool diff --git a/arch/rp2xx0/rp2040.ini b/variants/rp2040/rp2040.ini similarity index 79% rename from arch/rp2xx0/rp2040.ini rename to variants/rp2040/rp2040.ini index 4f9421872..9abfcbe10 100644 --- a/arch/rp2xx0/rp2040.ini +++ b/variants/rp2040/rp2040.ini @@ -2,12 +2,12 @@ [rp2040_base] platform = # TODO renovate - https://github.com/maxgerhardt/platform-raspberrypi#76ecf3c7e9dd4503af0331154c4ca1cddc4b03e5 - ; For arduino-pico >= 4.4.3 + https://github.com/maxgerhardt/platform-raspberrypi#cc24cfef37ed22ca9f2a6aead28c2deb76c39f24 + ; For arduino-pico >= 5.4.4 extends = arduino_base platform_packages = # TODO renovate - framework-arduinopico@https://github.com/earlephilhower/arduino-pico#4.4.3 + arduino-pico@https://github.com/earlephilhower/arduino-pico/releases/download/5.4.4/rp2040-5.4.4.zip board_build.core = earlephilhower board_build.filesystem_size = 0.5m @@ -17,6 +17,7 @@ build_flags = -Isrc/platform/rp2xx0/hardware_rosc/include -Isrc/platform/rp2xx0/pico_sleep/include -D__PLAT_RP2040__ + -D__FREERTOS=1 # -D _POSIX_THREADS build_src_filter = ${arduino_base.build_src_filter} - - - - - - - - - diff --git a/variants/rp2040/rpipico-slowclock/platformio.ini b/variants/rp2040/rpipico-slowclock/platformio.ini index 30928aead..d5f86b0ad 100644 --- a/variants/rp2040/rpipico-slowclock/platformio.ini +++ b/variants/rp2040/rpipico-slowclock/platformio.ini @@ -21,8 +21,6 @@ build_flags = -DHW_SPI1_DEVICE -g -DNO_USB -lib_deps = - ${rp2040_base.lib_deps} debug_build_flags = ${rp2040_base.build_flags} -g -DNO_USB diff --git a/variants/rp2040/rpipico/platformio.ini b/variants/rp2040/rpipico/platformio.ini index a6171bbac..953aee625 100644 --- a/variants/rp2040/rpipico/platformio.ini +++ b/variants/rp2040/rpipico/platformio.ini @@ -3,7 +3,6 @@ extends = rp2040_base board = rpipico board_level = pr upload_protocol = picotool - # add our variants files to the include and src paths build_flags = ${rp2040_base.build_flags} @@ -11,7 +10,5 @@ build_flags = -I variants/rp2040/rpipico -D DEBUG_RP2040_PORT=Serial -D HW_SPI1_DEVICE -lib_deps = - ${rp2040_base.lib_deps} debug_build_flags = ${rp2040_base.build_flags}, -g debug_tool = cmsis-dap ; for e.g. Picotool diff --git a/variants/rp2040/rpipicow/platformio.ini b/variants/rp2040/rpipicow/platformio.ini index 60845ba39..00b7b1f01 100644 --- a/variants/rp2040/rpipicow/platformio.ini +++ b/variants/rp2040/rpipicow/platformio.ini @@ -16,5 +16,6 @@ build_src_filter = ${rp2040_base.build_src_filter} + lib_deps = ${rp2040_base.lib_deps} ${networking_base.lib_deps} + ${networking_extra.lib_deps} debug_build_flags = ${rp2040_base.build_flags}, -g debug_tool = cmsis-dap ; for e.g. Picotool diff --git a/variants/rp2040/senselora_rp2040/platformio.ini b/variants/rp2040/senselora_rp2040/platformio.ini index 3a574d0f9..e02fd587b 100644 --- a/variants/rp2040/senselora_rp2040/platformio.ini +++ b/variants/rp2040/senselora_rp2040/platformio.ini @@ -9,5 +9,3 @@ build_flags = ${rp2040_base.build_flags} -D SENSELORA_RP2040 -I variants/rp2040/senselora_rp2040 -D DEBUG_RP2040_PORT=Serial -lib_deps = - ${rp2040_base.lib_deps} \ No newline at end of file diff --git a/arch/rp2xx0/rp2350.ini b/variants/rp2350/rp2350.ini similarity index 78% rename from arch/rp2xx0/rp2350.ini rename to variants/rp2350/rp2350.ini index e8611a113..934875c6a 100644 --- a/arch/rp2xx0/rp2350.ini +++ b/variants/rp2350/rp2350.ini @@ -2,12 +2,12 @@ [rp2350_base] platform = # TODO renovate - https://github.com/maxgerhardt/platform-raspberrypi#76ecf3c7e9dd4503af0331154c4ca1cddc4b03e5 - ; For arduino-pico >= 4.4.3 + https://github.com/maxgerhardt/platform-raspberrypi#cc24cfef37ed22ca9f2a6aead28c2deb76c39f24 + ; For arduino-pico >= 5.4.4 extends = arduino_base platform_packages = # TODO renovate - framework-arduinopico@https://github.com/earlephilhower/arduino-pico#4.4.3 + arduino-pico@https://github.com/earlephilhower/arduino-pico/releases/download/5.4.4/rp2040-5.4.4.zip board_build.core = earlephilhower board_build.filesystem_size = 0.5m @@ -15,6 +15,7 @@ build_flags = ${arduino_base.build_flags} -Wno-unused-variable -Wcast-align -Isrc/platform/rp2xx0 -D__PLAT_RP2350__ + -D__FREERTOS=1 build_src_filter = ${arduino_base.build_src_filter} - - - - - - - - - - - diff --git a/variants/rp2350/rpipico2/platformio.ini b/variants/rp2350/rpipico2/platformio.ini index ad7a4ce51..30dc15256 100644 --- a/variants/rp2350/rpipico2/platformio.ini +++ b/variants/rp2350/rpipico2/platformio.ini @@ -11,7 +11,5 @@ build_flags = -I variants/rp2350/rpipico2 -D DEBUG_RP2040_PORT=Serial -D HW_SPI1_DEVICE -lib_deps = - ${rp2350_base.lib_deps} debug_build_flags = ${rp2350_base.build_flags}, -g debug_tool = cmsis-dap ; for e.g. Picotool diff --git a/variants/rp2350/rpipico2w/platformio.ini b/variants/rp2350/rpipico2w/platformio.ini index 5dbce533b..da408b67d 100644 --- a/variants/rp2350/rpipico2w/platformio.ini +++ b/variants/rp2350/rpipico2w/platformio.ini @@ -30,4 +30,5 @@ build_src_filter = ${rp2350_base.build_src_filter} + lib_deps = ${rp2350_base.lib_deps} ${networking_base.lib_deps} + ${networking_extra.lib_deps} debug_build_flags = ${rp2350_base.build_flags}, -g diff --git a/arch/stm32/stm32.ini b/variants/stm32/stm32.ini similarity index 89% rename from arch/stm32/stm32.ini rename to variants/stm32/stm32.ini index 8b7d256b3..bb0a4d3ce 100644 --- a/arch/stm32/stm32.ini +++ b/variants/stm32/stm32.ini @@ -2,13 +2,13 @@ extends = arduino_base platform = # renovate: datasource=custom.pio depName=platformio/ststm32 packageName=platformio/platform/ststm32 - platformio/ststm32@19.3.0 + platformio/ststm32@19.4.0 platform_packages = - # TODO renovate + # renovate: datasource=github-tags depName=Arduino_Core_STM32 packageName=stm32duino/Arduino_Core_STM32 platformio/framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/2.10.1.zip extra_scripts = ${env.extra_scripts} - post:extra_scripts/extra_stm32.py + extra_scripts/stm32_extra.py build_type = release @@ -37,6 +37,9 @@ build_flags = -DRADIOLIB_EXCLUDE_LR11X0=1 -DHAL_DAC_MODULE_ONLY -DHAL_RNG_MODULE_ENABLED + -Wl,--wrap=__assert_func + -Wl,--wrap=strerror + -Wl,--wrap=_tzset_unlocked_r build_src_filter = ${arduino_base.build_src_filter} - - - - - - - - - - - - - - @@ -48,7 +51,6 @@ debug_tool = stlink lib_deps = ${env.lib_deps} ${radiolib_base.lib_deps} - # renovate: datasource=git-refs depName=caveman99-stm32-Crypto packageName=https://github.com/caveman99/Crypto gitBranch=main https://github.com/caveman99/Crypto/archive/1aa30eb536bd52a576fde6dfa393bf7349cf102d.zip diff --git a/variants/stm32/wio-e5/platformio.ini b/variants/stm32/wio-e5/platformio.ini index a9fcf51d6..311cade58 100644 --- a/variants/stm32/wio-e5/platformio.ini +++ b/variants/stm32/wio-e5/platformio.ini @@ -19,7 +19,3 @@ build_flags = -DGPS_SERIAL_PORT=Serial2 upload_port = stlink - -lib_deps = - ${stm32_base.lib_deps} - # Add your custom sensor here! \ No newline at end of file diff --git a/variants/stm32/wio-e5/variant.h b/variants/stm32/wio-e5/variant.h index 6098b4ce6..a312b31bd 100644 --- a/variants/stm32/wio-e5/variant.h +++ b/variants/stm32/wio-e5/variant.h @@ -15,7 +15,7 @@ Do not expect a working Meshtastic device with this target. #define USE_STM32WLx #define LED_PIN PB5 -#define LED_STATE_ON 1 +#define LED_STATE_ON 0 #define WIO_E5 diff --git a/version.properties b/version.properties index f33f0f1cb..8e40687e9 100644 --- a/version.properties +++ b/version.properties @@ -1,4 +1,4 @@ [VERSION] major = 2 minor = 7 -build = 13 +build = 17