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/python2 | |
# run openocd (0.9.0) with : | |
# $ openocd -f stlink-v2-1.cfg -f stm32f4x.cfg &> /dev/null" | |
# then run | |
# $ python2 sampler.py path_to_myelf_with_symbols | |
import sys | |
import time | |
import telnetlib |
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 <assert.h> | |
#include <netinet/ip.h> | |
#include <stdio.h> | |
#include <sys/socket.h> | |
#include <sys/types.h> | |
void test_setsockopt() | |
{ | |
int priority = 6; |