cd {gopath}/src/github.com/hybridgroup/esp32-at
git pull
git branch arduino-nano33-iot
make clean
* success *
make
* success *
cp build/esp32/* {gopath}/src/tinygo.org/x/drivers/espat/flasher/
cd {gopath}/src/tinygo.org/x/drivers/espat/flasher/
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
| package main | |
| import ( | |
| "machine" | |
| "time" | |
| ) | |
| var ( | |
| nina = machine.UART1 | |
| tx = machine.PA22 |
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
| /* | |
| SerialNINAPassthrough - Use esptool to flash the u-blox NINA (ESP32) module | |
| Arduino MKR WiFi 1010, Arduino MKR Vidor 4000, and Arduino UNO WiFi Rev.2. | |
| Copyright (c) 2018 Arduino SA. All rights reserved. | |
| This library is free software; you can redistribute it and/or | |
| modify it under the terms of the GNU Lesser General Public | |
| License as published by the Free Software Foundation; either | |
| version 2.1 of the License, or (at your option) any later version. |
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
| """ | |
| Utilities for dumping STM32 peripheral registers with tab-completion | |
| Based on a script by vampi-the-frog | |
| Dependencies: | |
| pip install -U cmsis-svd | |
| Usage (inside gdb): | |
| (gdb) source /path/to/svd-dump.py |
I hereby claim:
- I am deadprogram on github.
- I am deadprogram (https://keybase.io/deadprogram) on keybase.
- I have a public key ASCUefpgQr1kEWJUV04EsX-vGeti97SQCnSUs04CyryjiAo
To claim this, I am signing this object:
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
| // Converts firmware files from BIN to UF2 format before flashing. | |
| // | |
| // For more information about the UF2 firmware file format, please see: | |
| // https://github.com/Microsoft/uf2 | |
| // | |
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" |
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
| #!/bin/sh | |
| SPToolDir="$HOME/.local/lib/python2.7/site-packages" | |
| FirmwareDir="$HOME/ESP8266_NONOS_SDK" | |
| cd "$SPToolDir" | |
| port=/dev/ttyUSB0 | |
| if [ ! -c $port ]; then | |
| port=/dev/ttyUSB0 | |
| fi | |
| if [ ! -c $port ]; then | |
| echo "No device appears to be plugged in. Stopping." |
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 console to a ESP8266 running on the device UART1. | |
| // Allows you to type AT commands from your computer via the microcontroller. | |
| // | |
| // In other words: | |
| // Your computer <--> UART0 <--> MCU <--> UART1 <--> ESP8266 | |
| // | |
| // More information on the Espressif AT command set at: | |
| // https://github.com/espressif/ESP8266_AT/wiki | |
| // | |
| package main |
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 "nrf.h" | |
| #include "mdktest.h" | |
| int mdk_major_version() | |
| { | |
| return MDK_MAJOR_VERSION; | |
| } | |
| int mdk_minor_version() | |
| { |
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
| // What it does: | |
| // | |
| // This example uses a deep neural network to perform background blurring somewhat like Microsoft Teams does. | |
| // You can see the faces of meeting participants, but not the background, for privacy during videoconferences. | |
| // | |
| // It can be used with either the Caffe face tracking or Tensorflow object detection models that are | |
| // included with OpenCV 4.0 | |
| // | |
| // To perform blurring with the Caffe model: | |
| // |