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
struct my_struct params_struct = { | |
.priority = 255, | |
.arg = (u32) & my_func, | |
}; | |
void test_function(void) | |
{ | |
external_func = &my_func; | |
} |
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
# This is the DNS Server settings hosting DNS Cache for the rest of the home network. | |
# File on rpi /etc/unbound/unbound.conf.d/unbound_00_srv.conf | |
# Variant of http://blog.thestateofme.com/2018/04/04/howto-secure-your-dns-with-a-raspberry-pi-unbound-and-cloudflare-1-1-1-1/ | |
# Assuming that you have a Raspberry pi (3 or 4) with wifi (or prefer it to be ethernet) -> ethernet is setup as a staic IP. | |
# OS used here is raspbian buster https://www.raspberrypi.org/downloads/ on uSD card | |
server: | |
# Hookup on all interfaces (both wifi and ethernet - depends on what is actually connected).. | |
interface: 0.0.0.0 |
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
Layer guidelines | |
================ | |
These guidelines apply to TI public OE/Yocto layers that are used by TI CoreSDK, | |
specifically meta-ti BSP layer and meta-arago and its sublayers for Arago Distro | |
and Apps. These may or may not apply to downstream product-specific layers. |
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
- 00:40:31 [INFO] Starting target session | |
- 00:40:38 [INFO] Connected to am654x-evm via serial | |
- 00:40:38 [INFO] Host: #check prompt | |
- 00:40:41 [ERROR] On command: #check prompt waiting for #check prompt.+?(?-mix:((?-mix:login:)|[Pp]assword)) >>> error: execution expired | |
- 00:40:41 [INFO] Target: | |
#check prompt | |
root@am65xx-evm:/test# | |
- 00:40:41 [INFO] Host: #check prompt | |
- 00:40:42 [INFO] Target: | |
#check prompt |
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
#!/usr/bin/env python3 | |
import argparse | |
import humanize | |
def args_auto_int(x): | |
return int(x, 0) | |