Hi all, I while ago here I asked about using nix with drone.io (a CI system which uses docker), to deal with push based tests. I previously reported back with a solution with gitlab, but I did end up with a workable (not perfect) solution for drone. On the 'drone agent' machine run this once: # docker volume create nix # docker run --rm -v nix:/newnix nixos/nix cp -a /nix/store /nix/var /newnix in the .drone.yml files: pipeline: build: image: nixos/nix commands: ... volumes: - nix:/nix/ And whenever you want to update nixchannel: # docker run -v nix:/nix/ --rm -ti nixos/nix nix-channel --update This will share the /nix directory with every build, so rebuild (and downloads!) are kept to a minimum. Maybe it helps someone. Thanks! Harmen
L'actualité du Logiciel Libre et de Linux, sur un site francophone contributif géré par une équipe bénévole par et pour des libristes enthousiastes
I have a custom nrf52 chip on a pcb with swd pins exposed. I have cloned and installed the latest openocd from https://github.com/ntfreak/openocd. The latest version includes all the latest pathes ...
To share my experience with the nRF52832.
I was unable to disable the read protection / flash lock with a BMP or ST-Link V2, but i was successful with a J-Link.
When nRF52832 chip is read protected / locked, the first step is to try:
nrfjprog –recover -f nrf52
This performs the same task as:
Jlink -if swd -device nrf52
J-Link>SWDSelect
J-Link>SWDWriteDP 1, 0x50000000
J-Link>SWDWriteDP 2, 0x01000000
J-Link>SWDWriteAP 1, 0x00000001
Wait until AP 2 is 0, and the operation is complete
J-Link>SWDReadAP 2
If two successive reads from AP 3 produce 0, then 1 then protection is disabled
J-Link>SWDReadAP 3
J-Link>SWDReadAP 3
Tested with JLink v6.20b
farine, levure, sucre, lait, beurre, beurre, sel, citron, citron confit, orange, amandes, raisins secs, raisin, rhum, sucre en poudre...