Skip to content

Commit

Permalink
Merge branch 'master' into power_on_during_init
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B authored Oct 4, 2023
2 parents e098333 + 8c40423 commit a86497a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ packages = find:
zip_safe = True
include_package_data = True
install_requires =
SpiNNMachine == 1!7.1.0
SpiNNMachine == 1!7.1.1
websocket-client

[options.packages.find]
Expand Down
4 changes: 2 additions & 2 deletions spinnman/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1!7.1.0"
__version__ = "1!7.1.1"
__version_month__ = "TBD"
__version_year__ = "TBD"
__version_day__ = "TBD"
__version_name__ = "Not yet released"
__version_name__ = "Post_HBP"
18 changes: 18 additions & 0 deletions spinnman/transceiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1970,6 +1970,24 @@ def update_provenance_and_exit(self, x, y, p):
data=_ONE_WORD.pack(SDP_RUNNING_MESSAGE_CODES
.SDP_UPDATE_PROVENCE_REGION_AND_EXIT.value)))

def send_chip_update_provenance_and_exit(self, x, y, p):
"""
Sends a singnal to update the provenance and exit
:param int x:
:param int y:
:param int p:
"""
cmd = SDP_RUNNING_MESSAGE_CODES.SDP_UPDATE_PROVENCE_REGION_AND_EXIT
port = SDP_PORTS.RUNNING_COMMAND_SDP_PORT

self.send_sdp_message(SDPMessage(
SDPHeader(
flags=SDPFlag.REPLY_NOT_EXPECTED,
destination_port=port.value, destination_cpu=p,
destination_chip_x=x, destination_chip_y=y),
data=_ONE_WORD.pack(cmd.value)))

def __str__(self):
addr = self._scamp_connections[0].remote_ip_address
n = len(self._all_connections)
Expand Down

0 comments on commit a86497a

Please sign in to comment.