Yes, I have written my own binaries. I have made changes to the eem.py file in the gateware folder and have followed the instructions in the developmental section. I should clarify I am not asking for help with building the gateware but simply how to flash it with nix. I have set the environment using the following command:
nix-shell -I artiqSrc=/home/roshan/artiq /home/roshan/nix-scripts/artiq-fast/shell-dev.nix
then run the gateware build
python -m artiq.gateware.targets.kasli
and then I run
artiq_flash --srcbuild -d artiq_kasli -V ubirmingham2
I have changed the eem.py file in this directory
which is giving me the error. There is no ubirmingham2 folder in the /artiq-kasli, Is the ubirmingham2 folder supposed to be built using the last command. I don't believe I am setting the environment and the shell-dev.nix is not configured correctly.
What do I call the variant in the case it is my own built binary, and likewise don't I have to place a name in the shell-dev.nix file? Do I need a device configuration json file
I would really appreciate your help, as this seems to be the final part I'm stuck on to run my script.