MLのArchiveからgit mailsplitでsplitし、特定の一連のパッチをとりだしたあと、パッチのファイル名をパッチの番号で置き換えるためのスクリプトです。
変数名 | 役割 |
---|
#!/usr/bin/env python | |
# wait until SDRAM enabled(U-Boot working) | |
gdb.execute("monitor reset run") | |
gdb.execute("monitor sleep 1000") | |
gdb.execute("monitor halt") | |
# load dtb and Kernel | |
gdb.execute("load vmlinux") | |
gdb.execute("restore arch/arm/boot/dts/stm32f746-disco.dtb binary 0xC0004000") |
typedef struct { | |
const struct { | |
uint32_t CTSEN; | |
uint32_t RTSEN; | |
uint32_t RTS; | |
uint32_t DTR; | |
uint32_t RXE; | |
uint32_t TXE; | |
uint32_t LBE; | |
uint32_t SIRLP; |
#!/bin/bash | |
temp_on=50000 | |
temp_off=45000 | |
#connected to GPIO18 | |
fan_gpio=18 | |
temp=`cat /sys/class/thermal/thermal_zone0/temp` | |
# init GPIO |
require "json" | |
hoge = { | |
"hoge" => "fuga" | |
}.to_json | |
require 'webrick' | |
srv = WEBrick::HTTPServer.new({:BindAddress => '127.0.0.1', | |
:Port => 10080}) | |
srv.mount_proc("/") { |req, res| |
#include <stdio.h> | |
#include <elf.h> | |
#include <sys/stat.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <string.h> | |
void hoge(){ | |
printf("hoge!\n"); | |
} |