Skip to content

Cannot customise the Makefile variables #17

Open
@sachsflo

Description

@sachsflo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions