- Not much info available but surely possible
- Basically same as normal Linux NFS root
- Except kernel configuration adjustment might be tricky
- Target: OpenWrt 15.x on KVM
- Host Ubuntu 16.04
// A HardFault handler to make life easier when debugging | |
// See http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Cihcfefj.html | |
// The smol version | |
void HardFault_Handler(void) { | |
SCB_Type* scb = SCB; | |
(void*)scb; | |
__asm("BKPT #0"); | |
while(1); | |
} |
import math | |
def average_angles(angles): | |
"""Average (mean) of angles | |
Return the average of an input sequence of angles. The result is between | |
``0`` and ``2 * math.pi``. | |
If the average is not defined (e.g. ``average_angles([0, math.pi]))``, |
This howto describes installing entware for the Tomato open-source router firmware.
#/bin/sh -f | |
# things to do for travis-ci in the before_install section | |
if ( test "`uname -s`" = "Darwin" ) | |
then | |
#cmake v2.8.12 is installed on the Mac workers now | |
#brew update | |
#brew install cmake | |
echo |
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
project(testlink) | |
add_executable(testlink main.cpp) | |
target_link_libraries(testlink) |
#include "StdAfx.h" | |
#include <Setupapi.h> | |
#pragma comment(lib, "Setupapi.lib") | |
#include "SerialPort.h" | |
SerialPort::SerialPort(void) : end_of_line_char_('\n') | |
{ | |
} |