mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 17:13:38 +00:00
![renovate[bot]](/assets/img/avatar_default.png)
Some checks are pending
CI / setup (check) (push) Waiting to run
CI / setup (esp32) (push) Waiting to run
CI / setup (esp32c3) (push) Waiting to run
CI / setup (esp32c6) (push) Waiting to run
CI / setup (esp32s3) (push) Waiting to run
CI / setup (nrf52840) (push) Waiting to run
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / build-debian-src (push) Waiting to run
CI / package-pio-deps-native-tft (push) Waiting to run
CI / test-native (push) Waiting to run
CI / docker-deb-amd64 (push) Waiting to run
CI / docker-deb-amd64-tft (push) Waiting to run
CI / docker-alp-amd64 (push) Waiting to run
CI / docker-alp-amd64-tft (push) Waiting to run
CI / docker-deb-arm64 (push) Waiting to run
CI / docker-deb-armv7 (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
79 lines
3.3 KiB
INI
79 lines
3.3 KiB
INI
[nrf52840_base]
|
|
extends = nrf52_base
|
|
|
|
build_flags = ${nrf52_base.build_flags}
|
|
|
|
lib_deps =
|
|
${nrf52_base.lib_deps}
|
|
${environmental_base.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
|
|
|
|
; Common NRF52 debugging settings follow. See the Meshtastic developer docs for how to connect SWD debugging probes to your board.
|
|
|
|
; We want the initial breakpoint at setup() instead of main(). Also we want to enable semihosting at that point so instead of
|
|
debug_init_break = tbreak setup
|
|
; we just turn off the platformio tbreak and do it in .gdbinit (where we have more flexibility for scripting)
|
|
; also we use a permanent breakpoint so it gets reused each time we restart the debugging session?
|
|
; debug_init_break = tbreak main
|
|
|
|
; Note: add "monitor arm semihosting_redirect tcp 4444 all" if you want the stdout from the device to go to that port number instead
|
|
; (for use by meshtastic command line)
|
|
; monitor arm semihosting disable
|
|
; monitor debug_level 3
|
|
;
|
|
; IMPORTANT: fileio must be disabled before using port 5555 - openocd ver 0.12 has a bug where if enabled it never properly parses the special :tt name
|
|
; for stdio access.
|
|
; monitor arm semihosting_redirect tcp 5555 stdio
|
|
|
|
; Also note: it is _impossible_ to do non blocking reads on the semihost console port (an oversight when ARM specified the semihost API).
|
|
; So we'll neve be able to general purpose bi-directional communication with the device over semihosting.
|
|
debug_extra_cmds =
|
|
echo Running .gdbinit script
|
|
;monitor arm semihosting enable
|
|
;monitor arm semihosting_fileio enable
|
|
;monitor arm semihosting_redirect disable
|
|
commands 1
|
|
; echo Breakpoint at setup() has semihosting console, connect to it with "telnet localhost 5555"
|
|
; set wantSemihost = 1
|
|
set useSoftDevice = 0
|
|
end
|
|
|
|
; Only reprogram the board if the code has changed
|
|
debug_load_mode = modified
|
|
;debug_load_mode = manual
|
|
; We default to the stlink adapter because it is very cheap and works well, though others (such as jlink) are also supported.
|
|
;debug_tool = jlink
|
|
debug_tool = stlink
|
|
debug_speed = 4000
|
|
;debug_tool = custom
|
|
; debug_server =
|
|
; openocd
|
|
; -f
|
|
; /usr/local/share/openocd/scripts/interface/stlink.cfg
|
|
; -f
|
|
; /usr/local/share/openocd/scripts/target/nrf52.cfg
|
|
; $PLATFORMIO_CORE_DIR/packages/tool-openocd/openocd/scripts/interface/cmsis-dap.cfg
|
|
|
|
; 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"
|
|
; We manually pass in the elf file so that pyocd can reverse engineer FreeRTOS data (running threads, etc...)
|
|
;debug_server =
|
|
; pyocd
|
|
; gdbserver
|
|
; -j
|
|
; ${platformio.workspace_dir}/..
|
|
; -t
|
|
; nrf52840
|
|
; --semihosting
|
|
; --elf
|
|
; ${platformio.build_dir}/${this.__env__}/firmware.elf
|
|
|
|
; If you want to debug the semihosting support you can turn on extra logging in pyocd with
|
|
; -L
|
|
; pyocd.debug.semihost.trace=debug
|
|
|
|
; The following is not needed because it automatically tries do this
|
|
;debug_server_ready_pattern = -.*GDB server started on port \d+.*
|
|
;debug_port = localhost:3333 |