Skip to content

Instantly share code, notes, and snippets.

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);
@smooker
smooker / do.sh
Created December 14, 2020 22:26
evga bios 4 passthrough
#!/bin/bash
dd if=EVGA.RTX3070.8192.200916.rom of=EVGA.RTX3070.8192.200916.rom.stripped bs=1 skip=37376
@smooker
smooker / FindOpenCasCade.cmake
Created November 16, 2020 09:10
FindOpenCasCade.cmake currections
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