View EASY 800 USB
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
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c | |
index ee595d1bea0a..76ae39fe4e15 100644 | |
--- a/drivers/usb/serial/cp210x.c | |
+++ b/drivers/usb/serial/cp210x.c | |
@@ -51,6 +51,7 @@ static void cp210x_enable_event_mode(struct usb_serial_port *port); | |
static void cp210x_disable_event_mode(struct usb_serial_port *port); | |
static const struct usb_device_id id_table[] = { | |
+ { USB_DEVICE(0x188a, 0x3001) }, /* smooker Bus 003 Device 035: ID 188a:3001 Silicon Labs EASY800-USB-CAB */ | |
{ USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ |
View gist:f8a1bce0c88ef9150de8dceb111b1138
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
diff --git a/src/plugins/clangformat/clangformatutils.cpp b/src/plugins/clangformat/clangformatutils.cpp | |
index a249327d0e..1908dca1c3 100644 | |
--- a/src/plugins/clangformat/clangformatutils.cpp | |
+++ b/src/plugins/clangformat/clangformatutils.cpp | |
@@ -120,7 +120,7 @@ static clang::format::FormatStyle qtcStyle() | |
style.ExperimentalAutoDetectBinPacking = false; | |
style.FixNamespaceComments = true; | |
style.ForEachMacros = {"forever", "foreach", "Q_FOREACH", "BOOST_FOREACH"}; | |
- style.IncludeStyle.IncludeCategories = {{"^<Q.*", 200, 200}}; | |
+ style.IncludeStyle.IncludeCategories = {{"^<Q.*", 200}}; |
View cMake options FreeCAD c++14 make_inique
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
cmake -DBUILD_QT5:BOOL=ON -D -DFREECAD_USE_EXTERNAL_SMESH:BOOL=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_FEM:BOOL=OFF -DPYTHON_EXECUTABLE=/usr/bin/python3.7m -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m -DOpenCASCADE_DIR:PATH=/usr/lib64/opencascade-7.4.0/ros/include/opencascade/ -DOCC_INCLUDE_DIR=/usr/lib64/opencascade-7.4.0/ros/include/opencascade/ -DOCC_LIBRARY_DIR="/usr/lib64/opencascade-7.4.0/ros/lib64/" -DFREECAD_USE_OCC_VARIANT:STRING="Official Version" -DOCCT_CMAKE_FALLBACK:BOOL=OFF -DFREECAD_USE_EXTERNAL_SMESH:BOOL=OFF -DBUILD_ASSEMBLY:BOOL=OFF -DPySide2_DIR:PATH=/home/smooker/src/pyside-setup/pyside3_install/py3.7-qt5.15.2-64bit-release/lib/cmake/PySide2-5.15.2/ -DShiboken2_DIR:PATH=/home/smooker/src/pyside-setup/pyside3_install/py3.7-qt5.15.2-64bit-release/lib/cmake/Shiboken2-5.15.2/ .. -Wno-dev -DBUILD_CLOUD:BOOL=OFF -DBUILD_COMPLETE:BOOL=OFF -DBUILD_DYNAMIC_LINK_PYTHON:BOOL=OFF -DBUILD_FEM_NETGEN:BOOL=OFF -DBUILD_PLOT:BOOL=ON -DBUILD_SANDBOX:BOOL=ON -DBUILD_TEMPLATE:BOOL=ON -DCOIN3D_DOC_PATH:PATH=/usr |
View multi :)
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/perl | |
use strict; | |
use warnings; | |
use File::Find qw(finddepth); | |
use File::Basename; | |
use sigtrap qw/handler signal_handler normal-signals/; | |
#perl -e 'foreach (keys %SIG) { print "$_\n" }' | |
View espressif_build_toolchain.txt
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
1. origin https://github.com/crosstool-ng/crosstool-ng.git (push) | |
2. origin https://github.com/espressif/crosstool-NG.git (fetch) | |
git checkout esp-2020r3 | |
smooker@sd4 ~/src/espressif/crosstool-NG $ ./bootstrap && ./configure --enable-local --prefix=/home/smooker/src/espressif/root/ | |
INFO :: *** Generating package version descriptions | |
make -j8 |
View rx_idle_libopencm3.diff
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
smooker@shd2 ~/src/stm32/libopencm3 $ cat ../libopencm3_rx_idle.diff | |
diff --git a/include/libopencm3/stm32/common/usart_common_all.h b/include/libopencm3/stm32/common/usart_common_all.h | |
index a39d6833..a3626559 100644 | |
--- a/include/libopencm3/stm32/common/usart_common_all.h | |
+++ b/include/libopencm3/stm32/common/usart_common_all.h | |
@@ -123,6 +123,7 @@ void usart_disable_tx_interrupt(uint32_t usart); | |
void usart_enable_error_interrupt(uint32_t usart); | |
void usart_disable_error_interrupt(uint32_t usart); | |
bool usart_get_flag(uint32_t usart, uint32_t flag); | |
+void usart_enable_rx_idle_interrupt(uint32_t usart); |
View do.sh
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
#!/bin/bash | |
dd if=EVGA.RTX3070.8192.200916.rom of=EVGA.RTX3070.8192.200916.rom.stripped bs=1 skip=37376 |
View FindOpenCasCade.cmake
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
smooker@shd2 ~/src/FreeCAD/cMake $ cat FindOpenCasCade.cmake | |
# Try to find OCE / OCC | |
# Once done this will define | |
# | |
# OCC_FOUND - system has OCC - OpenCASCADE | |
# OCC_INCLUDE_DIR - where the OCC include directory can be found | |
# OCC_LIBRARY_DIR - where the OCC library directory can be found | |
# OCC_LIBRARIES - Link this to use OCC | |
# OCC_OCAF_LIBRARIES - Link this to use OCC OCAF framework |