This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "include/dt-bindings/input/input.h" | |
#include "include/dt-bindings/interrupt-controller/irq.h" | |
#include "include/dt-bindings/gpio/gpio.h" | |
#include "include/dt-bindings/pinctrl/pinctrl-zynqmp.h" | |
#include "include/dt-bindings/phy/phy.h" | |
/ { | |
chosen { | |
bootargs = "earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/mmcblk0p2 rw rootwait cma=512M"; | |
nvmem0 = &eui_eepromm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XTerm*faceName: Monospace | |
XTerm*faceSize: 15 | |
xterm*background: black | |
xterm*foreground: white |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FreeRTOS.h" | |
#include "task.h" | |
#include "xil_printf.h" | |
#include "xparameters.h" | |
#define DELAY_5s 5000UL | |
#define DELAY_1s 1000UL | |
//Thread implementation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git://git.yoctoproject.org/poky $1 | |
cd $1 | |
git checkout -t origin/scarthgap -b my-scarthgap | |
source ./oe-init-build-env | |
# Download required layer's files | |
git clone git://git.yoctoproject.org/meta-xilinx ../meta-xilinx -b scarthgap | |
git clone git://git.yoctoproject.org/meta-xilinx-tools ../meta-xilinx-tools -b scarthgap | |
git clone https://github.com/OpenAMP/meta-openamp.git ../meta-openamp -b scarthgap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mv ./build/xsct/Vitis/2024.1/bin/unwrapped/lnx64.o/rlwrap ./build/xsct/Vitis/2024.1/bin/unwrapped/lnx64.o/rlwrap.old; | |
ln -s /usr/bin/rlwrap ./build/xsct/Vitis/2024.1/bin/unwrapped/lnx64.o/rlwrap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://stackoverflow.com/questions/58498643/no-result-or-error-when-using-gitbook-pdf | |
# Must use calibre-3.48.0, https://download.calibre-ebook.com/3.48.0/ | |
# Otherwise, no photo will be generated | |
$ ln -s /Applications/calibre.app/Contents/MacOS/ebook-convert /opt/homebrew/bin/ebook-convert | |
$ npm install @gitbook-ng/gitbook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int INTERVAL = 10; | |
uint64_t _previous_msTimeNow=0; | |
void loop_A() | |
{ | |
uint64_t msTimeNow = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(); | |
if(msTimeNow % INTERVAL == 0) | |
{ | |
doSomething(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install libxshmfence1 libglu1 libatk-bridge2.0-0 libatk-bridge2.0-0 libgbm1 libx11-xcb-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place this to your home directories | |
# If you use this config, all of the envs will store into your home directories | |
channels: [conda-forge] | |
auto_activate_base: false | |
envs_dirs: | |
- /Users/"YOUR_HOME_DIR"/.conda/envs |
NewerOlder