This file contains hidden or 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
#include <Esp.h> | |
#include <esp32-hal-bt.h> | |
#include "bt.h" | |
#include "esp_bt_main.h" | |
#include "esp_gap_ble_api.h" | |
#include "esp_gattc_api.h" | |
static esp_gatt_if_t appGattcIf = ESP_GATT_IF_NONE; | |
static constexpr uint16_t appId = 0x0001u; |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ | |
enum MemAttr | |
{ |
This file contains hidden or 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
#ifndef FREERTOS_FUTURE_HPP__ | |
#define FREERTOS_FUTURE_HPP__ | |
#include <type_traits> | |
#include <utility> | |
#include "freertos/FreeRTOS.h" | |
#include "freertos/task.h" | |
#include "freertos/semphr.h" | |
#include "freertos/event_groups.h" |
This file contains hidden or 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
const https = require('https'); | |
const fs = require('fs'); | |
const util = require('util'); | |
const debuglog = util.debuglog('SERVER') | |
const options = { | |
key: fs.readFileSync('test_server.key'), | |
cert: fs.readFileSync('test_server.crt') | |
}; |
This file contains hidden or 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
@echo off | |
echo DFU begin | |
"%~dp0/dfu-util-0.8-mingw32/dfu-util.exe" -d %2 -a %1 -D "%3" -s %4 -R | |
echo DFU end |
This file contains hidden or 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
@set INTELFPGA_DIR=C:\intelFPGA_lite | |
@set INTELFPGA_VER=17.1 | |
@set INTELFPGA_ROOT=%INTELFPGA_DIR%\%INTELFPGA_VER% | |
@set MODELSIM_TYPE=modelsim_ase | |
@echo Using Intel FPGA in %INTELFPGA_ROOT% | |
@set "WindowsSdkDir=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.1\" | |
@set "PATH=%WindowsSdkDir%bin\NETFX 4.0 Tools;%WindowsSdkDir%bin;%PATH%" | |
@set "INCLUDE=%WindowsSdkDir%include;%INCLUDE%" |
This file contains hidden or 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
@set INTELFPGA_DIR=C:\intelFPGA_lite | |
@set INTELFPGA_VER=17.1 | |
@set INTELFPGA_ROOT=%INTELFPGA_DIR%\%INTELFPGA_VER% | |
@set MODELSIM_TYPE=modelsim_ase | |
@echo Using Intel FPGA in %INTELFPGA_ROOT% | |
call "%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat" | |
@set HLS_ROOT=%INTELFPGA_ROOT%\hls |
This file contains hidden or 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
################################################################ | |
# This is a generated script based on design: design_top | |
# | |
# Though there are limitations about the generated script, | |
# the main purpose of this utility is to make learning | |
# IP Integrator Tcl commands easier. | |
################################################################ | |
namespace eval _tcl { |
This file contains hidden or 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
Initial State: Initial | |
Initial -> Connecting | |
Connecting... | |
Connecting -> Connected | |
Connected | |
Connected -> Disconnecting | |
Disconnecting -> Disconnected | |
Connecting... | |
Connecting -> Connected | |
Connected |
This file contains hidden or 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
#include <hls_stream.h> | |
#include <ap_int.h> | |
#include <ap_fixed.h> | |
template <typename TComponentType, int TNumberOfComponents> | |
struct PackedComponent | |
{ | |
typedef PackedComponent<TComponentType, TNumberOfComponents> SelfType; | |
typedef TComponentType ComponentType; | |
static const int NumberOfComponents = TNumberOfComponents; |