From 19f0ce8e92b4d087bbfd3488b66a3541ef737947 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Tue, 16 Jun 2020 10:32:28 +0200 Subject: [PATCH] Reformulate GRAM_RW_FUNC section --- libgram/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libgram/README.md b/libgram/README.md index b7b3f81..3346b4e 100644 --- a/libgram/README.md +++ b/libgram/README.md @@ -26,9 +26,9 @@ GRAM_ERR_NONE: No error happened (hardcoded to zero) GRAM_ERR_UNDOCUMENTED: Undocumented error, shame on us lazy coders (take a look at the code) ``` -## Using libgram when you can't directly access the bus +## Using libgram outside the SoC -Compile libgram with `CFLAGS="-DGRAM_RW_FUNC"` (run `make clean` beforehand) then define the following functions: +Compile libgram with `CFLAGS="-DGRAM_RW_FUNC"` (run `make clean` beforehand) and define the following bus access functions: ```c uint32_t gram_read(struct gramCtx *ctx, void *addr); -- 2.30.2