-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dist/tools/openocd: add OPENOCD_SERVER_ADDRESS variable #19724
Conversation
Is this also used for the client side? Then |
cc40e39
to
d6daef3
Compare
bors merge |
19724: dist/tools/openocd: add OPENOCD_SERVER_ADDRESS variable r=fabian18 a=fabian18 Co-authored-by: Fabian Hüßler <[email protected]>
bors cancel Let's create a merge train |
Canceled. |
19724: dist/tools/openocd: add OPENOCD_SERVER_ADDRESS variable r=maribu a=fabian18 19729: cpu/qn908x/periph_i2c: allow internal pull-up on SCL r=maribu a=maribu ### Contribution description Allow the board config to specify use of external or external pull-up resistor on the SCL up. Default to the internal pull-up, two weak pull ups in parallel are preferable over no pull-up. Co-authored-by: Fabian Hüßler <[email protected]> Co-authored-by: Marian Buschsieweke <[email protected]>
d6daef3
to
17d0e58
Compare
Canceled. |
sorry I forgot to change the name in the commit message |
bors merge |
19703: cpu/sam0_eth: interrupt based link detection/auto-negotiation r=benpicco a=benpicco 19724: dist/tools/openocd: add OPENOCD_SERVER_ADDRESS variable r=benpicco a=fabian18 19735: nrf5x_common: Clear I2C periph shorts r=benpicco a=bergzand ### Contribution description The I2C peripheral's shortcuts are used with the read and write register to automatically stop the I2C transaction or to continue with the next stage. With simple I2C read and write bytes these shorts are not used, but are also not cleared by the function in all cases, causing it to use the shortcut configuration set by a previous function call. This patch ensures that the shorts are always set by the read and write functions ### Testing procedure Should be possible to spot with a logic analyzer and the I2C periph test. Maybe the HIL test can also detect it :) ### Issues/PRs references None Co-authored-by: Benjamin Valentin <[email protected]> Co-authored-by: Fabian Hüßler <[email protected]> Co-authored-by: Koen Zandberg <[email protected]>
Build failed (retrying...): |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Contribution description
We have a test setup with some boards connected to a Raspberry Pi. To do remote debugging, not from the Pi, we must tell OpenOCD not just to bind to
localhost
. This PR adds anOPENOCD_BIND_ADDRESS
OPENOCD_SERVER_ADDRESS
¸ variable.Testing procedure
export OPENOCD_BIND_ADDRESS=192.168.0.231 && PROGRAMMER=openocd BOARD=same54-xpro make debug
Issues/PRs references