Skip to content

Instantly share code, notes, and snippets.

View tritao's full-sized avatar
🎯
Focusing

João Matos tritao

🎯
Focusing
  • Portugal
View GitHub Profile
/* Options:
Date: 2021-07-05 18:21:48
Version: 5.111
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://localhost:5001
//Package:
//AddServiceStackTypes: True
//AddResponseStatus: False
//AddImplicitVersion:
/* Options:
Date: 2021-07-05 18:21:21
Version: 5.111
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://localhost:5001
//GlobalNamespace:
//AddServiceStackTypes: True
//AddResponseStatus: False
//AddImplicitVersion:
@tritao
tritao / qspi-2.patch
Created May 14, 2020 21:59
NuttX F7 QSPI patches
From 8217059476dc5f23be155d6021427ba3000620cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joa=CC=83o=20Matos?= <[email protected]>
Date: Thu, 9 May 2019 15:22:25 +0100
Subject: [PATCH] Do not wait for transfer complete flag for non-data commands
in STM32 F7 QSPI.
---
arch/arm/src/stm32f7/stm32_qspi.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
// DEBUG: struct DLL_API MyFlags
// DEBUG: {
// DEBUG: MyFlags() {}
// DEBUG: MyFlags(const MyFlags& other) : mBits(other.mBits) {}
// DEBUG: uint16_t mBits;
// DEBUG: }
public unsafe partial class MyFlags : IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 2)]
public partial struct __Internal
############################################################################
# arch/avr/src/avr/Toolchain.defs
#
# Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <[email protected]>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
############################################################################
# arch/arm/src/Makefile
#
# Copyright (C) 2007-2009, 2011-2012, 2014-2016, 2019 Gregory Nutt. All
# rights reserved.
# Author: Gregory Nutt <[email protected]>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
```csharp
private void SetupVTables(bool destructorOnly = false)
{
if (__OriginalVTables != null)
return;
__OriginalVTables = new void*[] { *(void**) (__Instance + 0) };
if (_Thunks == null)
{
_Thunks = new void*[2];
ERROR [2016-11-17 16:02:14Z]: Error in text editor extension chain
System.InvalidOperationException: Indentation tracker not installed.
at Mono.TextEditor.TextEditorData.get_IndentationTracker () [0x00016] in /Users/builder/data/lanes/3943/8a8ea655/source/monodevelop/main/src/core/Mono.TextEditor.Shared/Mono.TextEditor/TextEditorData.cs:1183
at MonoDevelop.SourceEditor.SourceEditorView.MonoDevelop.Ide.Editor.ITextEditorImpl.get_IndentationTracker () [0x00000] in /Users/builder/data/lanes/3943/8a8ea655/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:2925
at MonoDevelop.Ide.Editor.TextEditor.get_IndentationTracker () [0x00005] in /Users/builder/data/lanes/3943/8a8ea655/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditor.cs:1489
at MonoDevelop.Ide.Editor.TextMate.TextMateIndentationTextEditorExtension.KeyPress (MonoDevelop.Ide.Editor.Extension.KeyDescriptor descriptor) [0x00000] in /Users/builder/data/lanes/3943/8
#define EN 8 // stepper motor enable , active low
#define X_DIR 5 // X -axis stepper motor direction control
#define Y_DIR 6 // y -axis stepper motor direction control
#define Z_DIR 7 // z axis stepper motor direction control
#define X_STP 2 // x -axis stepper control
#define Y_STP 3 // y -axis stepper control
#define Z_STP 4 // z -axis stepper control
/*
// Function : step . function: to control the direction of the stepper motor , the number of steps .
// Parameters : dir direction control , dirPin corresponding stepper motor DIR pin , stepperPin corresponding stepper motor " step " pin , Step number of step of no return value.
MCS [xammac] Mono.Security.dll
./Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs(36,21): error CS0234: The type or namespace name `Interface' does not exist in the namespace `Mono.Security'. Are you missing an assembly reference?
./Mono.Security.Protocol.Tls/ServerContext.cs(31,21): error CS0234: The type or namespace name `Interface' does not exist in the namespace `Mono.Security'. Are you missing an assembly reference?
./Mono.Security.Protocol.Tls/SslClientStream.cs(35,21): error CS0234: The type or namespace name `Interface' does not exist in the namespace `Mono.Security'. Are you missing an assembly reference?
./Mono.Security.Protocol.Tls/SslServerStream.cs(34,21): error CS0234: The type or namespace name `Interface' does not exist in the namespace `Mono.Security'. Are you missing an assembly reference?
./Mono.Security.Protocol.Tls/SslStreamBase.cs(34,21): error CS0234: The type or namespace name `Interface' does not exist in the namespace `Mono.Security'. Are you missing an assemb