Note: This document contains some simple hacks that I use regularly.
Add one line to your C/C++/Python code to make it a script.
The following script provides a convenient way to compile and execute C++ code directly from the command line:
/dts-v1/; | |
/memreserve/ 0x0000000080000000 0x0000000000080000; | |
/ { | |
compatible = "cvitek,cv181x"; | |
#size-cells = <0x02>; | |
#address-cells = <0x02>; | |
model = "Milk-V DuoS"; | |
top_misc_ctrl@3000000 { |