diff --git a/apix-adc-example/README.md b/apix-adc-example/README.md index 62abd20..19b2e67 100644 --- a/apix-adc-example/README.md +++ b/apix-adc-example/README.md @@ -19,7 +19,7 @@ Running the application Once the binary is in the target, launch the application: ``` -# ./apix-adc-example +~# ./apix-adc-example Example application using libdigiapix ADC support Usage: apix-adc-example @@ -44,8 +44,8 @@ sure to source the corresponding toolchain of the platform you are using, for example, for ConnectCore 6UL: ``` -$> . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi -$> make +~$ . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi +~$ make ``` For more information, see the [Digi Embedded Yocto online documentation](https://github.com/digi-embedded/meta-digi). diff --git a/apix-can-examples/README.md b/apix-can-examples/README.md index 8921f98..49eecfd 100644 --- a/apix-can-examples/README.md +++ b/apix-can-examples/README.md @@ -58,7 +58,7 @@ Running the apix-can-recv-example application Once the binary is in the target, launch the application: ``` -# ./apix-can-recv-example +~# ./apix-can-recv-example Example application using libdigiapix CAN support" Usage: %s -i -b [options]" -i Name of the CAN interface" @@ -90,7 +90,7 @@ If no arguments are provided, the example will use the default values: Once the binary is in the target, launch the application: ``` -# ./apix-can-send-example +~# ./apix-can-send-example Example application using libdigiapix CAN support" "Usage: %s -i -b [options]" "-i Name of the CAN interface" @@ -124,8 +124,8 @@ sure to source the corresponding toolchain of the platform you are using, for example, for ConnectCore 6UL: ``` -$> . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi -$> make +~$ . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi +~$ make ``` For more information, see the [Digi Embedded Yocto online documentation](https://github.com/digi-embedded/meta-digi). diff --git a/apix-gpio-example/README.md b/apix-gpio-example/README.md index dcdf2b5..bd9fd55 100644 --- a/apix-gpio-example/README.md +++ b/apix-gpio-example/README.md @@ -32,7 +32,7 @@ Running the application Once the binary is in the target, launch the application: ``` -# ./apix-gpio-example +~# ./apix-gpio-example Example application using libdigiapix GPIO support Usage: apix-gpio-example @@ -54,8 +54,8 @@ sure to source the corresponding toolchain of the platform you are using, for example, for ConnectCore 6UL: ``` -$ . /environment-setup-cortexa7hf-neon-dey-linux-gnueabi -$ make +~$ . /environment-setup-cortexa7hf-neon-dey-linux-gnueabi +~$ make ``` For more information, see the [Digi Embedded Yocto online documentation](https://github.com/digi-embedded/meta-digi). diff --git a/apix-i2c-example/README.md b/apix-i2c-example/README.md index 77bd72f..6f31b4a 100644 --- a/apix-i2c-example/README.md +++ b/apix-i2c-example/README.md @@ -43,7 +43,7 @@ Running the application Once the binary is in the target, launch the application: ``` -# ./apix-i2c-example +~# ./apix-i2c-example Example application using libdigiapix I2C support Usage: apix-i2c-example @@ -67,8 +67,8 @@ sure to source the corresponding toolchain of the platform you are using, for example, for ConnectCore 6UL: ``` -$> . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi -$> make +~$ . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi +~$ make ``` For more information, see the [Digi Embedded Yocto online documentation](https://github.com/digi-embedded/meta-digi). diff --git a/apix-pwm-example/README.md b/apix-pwm-example/README.md index 94c2e93..bb863c7 100644 --- a/apix-pwm-example/README.md +++ b/apix-pwm-example/README.md @@ -20,7 +20,7 @@ Running the application Once the binary is in the target, launch the application: ``` -# ./apix-pwm-example +~# ./apix-pwm-example Example application using libdigiapix PWM support Usage: apix-pwm-example @@ -43,8 +43,8 @@ sure to source the corresponding toolchain of the platform you are using, for example, for ConnectCore 6UL: ``` -$> . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi -$> make +~$ . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi +~$ make ``` For more information, see the [Digi Embedded Yocto online documentation](https://github.com/digi-embedded/meta-digi). diff --git a/apix-spi-example/README.md b/apix-spi-example/README.md index ec4a39f..a73570e 100644 --- a/apix-spi-example/README.md +++ b/apix-spi-example/README.md @@ -59,13 +59,13 @@ Before launching the application, you must enable the SPI module with the following command: ``` -# modprobe spidev +~# modprobe spidev ``` Once the binary is in the target, launch the application: ``` -# ./apix-spi-example +~# ./apix-spi-example Example application using libdigiapix SPI support Usage: apix-spi-example @@ -89,8 +89,8 @@ sure to source the corresponding toolchain of the platform you are using, for example, for ConnectCore 6UL: ``` -$ . /environment-setup-cortexa7hf-neon-dey-linux-gnueabi -$ make +~$ . /environment-setup-cortexa7hf-neon-dey-linux-gnueabi +~$ make ``` For more information, see the [Digi Embedded Yocto online documentation](https://github.com/digi-embedded/meta-digi). diff --git a/apix-watchdog-example/README.md b/apix-watchdog-example/README.md index 17fef77..da021a6 100644 --- a/apix-watchdog-example/README.md +++ b/apix-watchdog-example/README.md @@ -12,7 +12,7 @@ Running the application Once the binary is in the target, launch the application: ``` -# ./apix-watchdog-example +~# ./apix-watchdog-example Example application using libdigiapix Watchdog support Usage: apix-watchdog-example @@ -33,8 +33,8 @@ sure to source the corresponding toolchain of the platform you are using, for example, for ConnectCore 6UL: ``` -$> . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi -$> make +~$ . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi +~$ make ``` For more information, see the [Digi Embedded Yocto online documentation](https://github.com/digi-embedded/meta-digi). diff --git a/awsiot-sample/README.md b/awsiot-sample/README.md index 606ef65..a666277 100644 --- a/awsiot-sample/README.md +++ b/awsiot-sample/README.md @@ -39,11 +39,11 @@ Running the application ----------------------- Once the settings are properly configured, launch the application: ``` -#> awsiot-sample +~# awsiot-sample ``` You can specify the configuration file with `-c`: ``` -#> awsiot-sample -c +~# awsiot-sample -c ``` * The application reports its status to the topic `$aws/things//shadow/update`. Something similar to: @@ -89,8 +89,8 @@ sure to source the corresponding toolchain of the platform you are using, for example, for ConnectCore 6UL: ``` -$> . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi -$> make +~$ . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi +~$ make ``` For more information, see the [Digi Embedded Yocto online documentation](https://github.com/digi-embedded/meta-digi). diff --git a/caam-blob-example/README.md b/caam-blob-example/README.md index fb3f130..805cc82 100644 --- a/caam-blob-example/README.md +++ b/caam-blob-example/README.md @@ -22,16 +22,16 @@ Running the application The following example shows how to encrypt and decrypt and file in place: ``` -# echo "Test file" > test.txt -# caam-blob-example -e test.txt -# hexdump -C test.txt +~# echo "Test file" > test.txt +~# caam-blob-example -e test.txt +~# hexdump -C test.txt 00000000 01 ee 30 e3 31 6b 72 94 94 06 62 e2 ef 17 4e 05 |..0.1kr...b...N.| 00000010 34 c3 7b 96 58 35 ad b7 a2 89 b6 bc eb eb 81 39 |4.{.X5.........9| 00000020 3c b2 e7 d7 2d 93 7d ff 8b a8 80 bd 55 e9 70 cf |<...-.}.....U.p.| 00000030 20 51 9f 15 9e c5 aa 68 b3 90 | Q.....h..| 0000003a -# caam-blob-example -d test.txt -# hexdump -C test.txt +~# caam-blob-example -d test.txt +~# hexdump -C test.txt 00000000 54 65 73 74 20 66 69 6c 65 0a |Test file.| 0000000a ``` @@ -41,12 +41,12 @@ The key modifier is a 16 byte value encoded as 32 hexadecimal characters. If you want to write the CAAM blob to a different file, add another positional argument. ``` -# caam-blob-example -e -m ff0102030405060708090a0b0c0d0e0f test.txt encrypted.bin -# caam-blob-example -d encrypted.bin decrypted.txt +~# caam-blob-example -e -m ff0102030405060708090a0b0c0d0e0f test.txt encrypted.bin +~# caam-blob-example -d encrypted.bin decrypted.txt [ERROR] could not decrypt data. [ERROR] Decryption failed -# caam-blob-example -d -m ff0102030405060708090a0b0c0d0e0f encrypted.bin decrypted.txt -# cat decrypted.txt +~# caam-blob-example -d -m ff0102030405060708090a0b0c0d0e0f encrypted.bin decrypted.txt +~# cat decrypted.txt Test file ``` @@ -57,8 +57,8 @@ sure to source the corresponding toolchain of the platform you are using, for example, for ConnectCore 6UL: ``` -$> . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi -$> make +~$ . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi +~$ make ``` For more information, see the [Digi Embedded Yocto online documentation](https://github.com/digi-embedded/meta-digi). diff --git a/cryptochip-get-random/README.md b/cryptochip-get-random/README.md index 9326a73..8cd48fe 100644 --- a/cryptochip-get-random/README.md +++ b/cryptochip-get-random/README.md @@ -24,7 +24,7 @@ standard random number generator, like /dev/random. For example, you can get hexdump to display a random sample on the standard output: ``` -root@ccimx6ulstarter:~# ./cryptochip-gen-random | hexdump +~# ./cryptochip-gen-random | hexdump 0000000 6239 ddd4 b378 693f 14ed bfa1 447b cff1 0000010 275e fd14 e392 2b4a c2ff ac93 0f5e cbab 0000020 16c1 e6b7 a458 c5ea c96f 59c9 776a 41c5 @@ -37,13 +37,13 @@ root@ccimx6ulstarter:~# ./cryptochip-gen-random | hexdump You can also save the random data to a random file for later analysis: ``` -root@ccimx6ulstarter:~# ./cryptochip-gen-random | pv --rate > data.bin +~# ./cryptochip-gen-random | pv --rate > data.bin [ 912 B/s] ``` And then run an entropy test: ``` -root@ccimx6ulstarter:~# ent data.bin +~# ent data.bin Entropy = 7.998261 bits per byte. Optimum compression would reduce the size @@ -64,8 +64,8 @@ sure to source the corresponding toolchain of the platform you are using, for example, for ConnectCore 6UL: ``` -$> . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi -$> make +~$ . /environment-setup-cortexa7hf-vfp-neon-dey-linux-gnueabi +~$ make ``` For more information, see the [Digi Embedded Yocto online documentation](https://github.com/digi-embedded/meta-digi).