commit | 769eb9719b2a2ca0c17bbc04778027afe2430d83 | [log] [tgz] |
---|---|---|
author | Tommy Chiu <tommychiu@google.com> | Tue May 23 15:28:26 2023 +0800 |
committer | Tommy Chiu <tommychiu@google.com> | Wed May 24 03:52:02 2023 +0000 |
tree | 309ffd81767b8867e52d601762e6f61fa80311d9 | |
parent | 8c73a14567f004fa56d93fc6a57839bae83bf31e [diff] |
nugget: Add a app specific error code to reflect different state When flashing new firmware there was always one kind of error which is "LOCKED". Add a new NUGGET_ERROR_VERIFY to reflect the readback check failure. Bug: 261483407 Test: init_citadel Change-Id: I1a0b60a0324e4944c3956868747f2ae80102d701
Nugget will be used in different contexts and with different hosts. This repo contains the components that can be shared between those hosts.
nugget
The nugget
directory contains items that are shared between the host and the firmware. Those include:
libnos
libnos
is a C++ library for communication with a Nugget device. It offers an interface to manage a connection and exchange data and a generator for RPC stubs based on service protos.
libnos_datagram
libnos_datagram
is a C library for exchanging datagrams with a Nugget device. This directory only contains the API of the library as the different platforms will need to implement it differently.
libnos_transport
libnos_transport
is a C library for communicating with a Nugget device via the transport API. This is built on top of the libnos_datagram
library for exchanging datagrams.