Skip to content

Instantly share code, notes, and snippets.

View rojer's full-sized avatar

Deomid Ryabkov rojer

View GitHub Profile
[rojer@nbd ~/go/src/github.com/u-root/u-root dce_test]$ go test -v .
=== RUN TestUrootCmdline
=== RUN TestUrootCmdline/include_one_extra_file
=== RUN TestUrootCmdline/uinitcmd
=== RUN TestUrootCmdline/fix_usage_of_an_absolute_path
=== RUN TestUrootCmdline/include_multiple_extra_files
=== RUN TestUrootCmdline/include_one_extra_file_with_rename
=== RUN TestUrootCmdline/make_sure_dead_code_gets_eliminated
=== RUN TestUrootCmdline/hosted_source_mode
=== RUN TestUrootCmdline/hosted_bb_mode
#!/usr/bin/env python3
#
# Copyright 2016-2019 the u-root Authors. All rights reserved
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
import os
import re
import sys
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <lfs.h>
#include <lfs1.h>
#define FS_SIZE 256 * 1024
@rojer
rojer / eth_wip.diff
Created July 12, 2017 17:38
Ethernet WIP
commit 415a36d6377ed1e9d037c28a4f8f732b73867f19
Author: Deomid Ryabkov <rojer@cesanta.com>
Date: Tue Jul 11 12:06:38 2017 +0100
Ethernet WIP
diff --git a/fw/examples/c_hello/mos.yml b/fw/examples/c_hello/mos.yml
index 64ac1f1..4ef2d06 100644
--- a/fw/examples/c_hello/mos.yml
+++ b/fw/examples/c_hello/mos.yml
0 _______________ era_cnt: 94
1 /d/d/////////// era_cnt: 70
2 //d//////////// era_cnt: 89
3 _______________ era_cnt: 95
4 //d/d/d/d////// era_cnt: 69
5 _______________ era_cnt: 96
6 /d/d/di//d////d era_cnt: 93
7 ////d////////// era_cnt: 67
8 //d/d/d//////// era_cnt: 71
9 /dididi//i_____ era_cnt: 90
#include <stdio.h>
#include "lwip/tcp.h"
#include "common/platform.h"
#include "fw/src/mgos_app.h"
#include "fw/src/mgos_gpio.h"
#include "fw/src/mgos_mongoose.h"
#include "fw/src/mgos_sys_config.h"