Skip to content

Cannot customise the Makefile variables #17

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

Open
sachsflo opened this issue Feb 17, 2025 · 2 comments
Open

Cannot customise the Makefile variables #17

sachsflo opened this issue Feb 17, 2025 · 2 comments

Comments

@sachsflo
Copy link

First of all: I have very little experience with make. Accordingly, the error may also be mine.

I am currently working with nrf52810.

Make-Command (some values are for testing purposes):
make stflash-nrf52810_xxaa-patched ADV_KEYS_FILE=/root/FindMy/heystack-nrf5x/tools/output/D3GALA_keyfile KEY_ROTATION_INTERVAL=360 MAX_KEYS=10 ADVERTISING_INTERVAL=20000 HAS_BATTERY=1

or (I am flashing on another device)
make nrf52810_xxaa-patched ADV_KEYS_FILE=/root/FindMy/heystack-nrf5x/tools/output/D3GALA_keyfile KEY_ROTATION_INTERVAL=3600/10 MAX_KEYS=10 ADVERTISING_INTERVAL=20000 HAS_BATTERY=1

The whole thing seems to run without errors. The key file is also patched successfully.
However, the other settings are not applied, the beacon continues to transmit with ADVERTISING_INTERVAL=1000 and KEY_ROTATION_INTERVAL 1 hour.

I then tried to change the values directly in the makefile, also without success.
Even a make clean (both in /heystack-nrf5x and in /nrf52810/armgcc) does not bring any change.

Any recommendations?

@magnets110
Copy link

same for me with the HOLYIOT 21014 nrf52810

power pulses every 1 second

@magnets110
Copy link

magnets110 commented Feb 21, 2025

put your settings in Makefile in the root directory then run make clean and 'make all' from there

navigate to the nrf52810/armgcc subdir and run 'make stflash-nrf52810_xxaa-patched ADV_KEYS_FILE=./50_NRF_keyfile'

edit: seems inconsistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants