All Projects → SHA2017-badge → Firmware

SHA2017-badge / Firmware

Licence: other
ESP32 firmware for the SHA2017 badge

Programming Languages

c
50402 projects - #5 most used programming language
micropython
64 projects

Projects that are alternatives of or similar to Firmware

Esp32 Ota Https
Secure over-the-air updates for the ESP32 platform
Stars: ✭ 132 (+73.68%)
Mutual labels:  esp32, firmware
SuperGreenOS
🧠 SuperGreenOS home farming automation software for esp32, all in one package, and controllable from your smartphone, pc, mac, linux, toaster, plumbus, whatnot...
Stars: ✭ 83 (+9.21%)
Mutual labels:  firmware, esp32
Nf Interpreter
⚙️ nanoFramework Interpreter, CLR, HAL, PAL and reference target boards
Stars: ✭ 168 (+121.05%)
Mutual labels:  esp32, firmware
Marlin
Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
Stars: ✭ 12,217 (+15975%)
Mutual labels:  esp32, firmware
Platform Espressif32
Espressif 32: development platform for PlatformIO
Stars: ✭ 333 (+338.16%)
Mutual labels:  esp32, firmware
Mongoose Os
Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
Stars: ✭ 2,234 (+2839.47%)
Mutual labels:  esp32, firmware
Esp32marauder
A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
Stars: ✭ 233 (+206.58%)
Mutual labels:  esp32, firmware
ESP32 BLE OTA Arduino
OTA update on ESP32 via BLE
Stars: ✭ 41 (-46.05%)
Mutual labels:  firmware, esp32
Retroesp32
Retro ESP32 is a turbo charged Odroid Go Launcher, Emulator and ROM Manager
Stars: ✭ 313 (+311.84%)
Mutual labels:  esp32, firmware
home
Monorepo for all home automation related development, including integrated firmware, PCBs, configuration, and bridges
Stars: ✭ 104 (+36.84%)
Mutual labels:  firmware, esp32
Esp3d
FW for ESP8266/ESP8285/ESP32 used with 3D printer
Stars: ✭ 979 (+1188.16%)
Mutual labels:  esp32, firmware
Nodemcu Firmware
Lua based interactive firmware for ESP8266, ESP8285 and ESP32
Stars: ✭ 6,884 (+8957.89%)
Mutual labels:  esp32, firmware
Bleeper
Library to manage your firmware configurations written in C++
Stars: ✭ 54 (-28.95%)
Mutual labels:  esp32, firmware
Stickwatch
A DIY smart watch based on M5Stick of ESP32
Stars: ✭ 68 (-10.53%)
Mutual labels:  esp32
Aunit
Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test. Used with AUniter or EpoxyDuino for continuous builds.
Stars: ✭ 73 (-3.95%)
Mutual labels:  esp32
Blinker Library
An IoT Solution,Blinker library for embedded hardware. Works with Arduino, ESP8266, ESP32.
Stars: ✭ 1,095 (+1340.79%)
Mutual labels:  esp32
Mysensors
MySensors library and examples
Stars: ✭ 1,150 (+1413.16%)
Mutual labels:  esp32
Esp32 Chimera Core
ESP32-Chimera-Core 👾 is an arduino library for M5Stack, Odroid-Go, D-Duino-32-XS and other ESP32/TFT/SD bundles
Stars: ✭ 74 (-2.63%)
Mutual labels:  esp32
Fwupd
A simple daemon to allow session software to update firmware
Stars: ✭ 1,176 (+1447.37%)
Mutual labels:  firmware
Decrypt0r
CLI tool to decrypt iOS firmware components
Stars: ✭ 65 (-14.47%)
Mutual labels:  firmware

Firmware SHA2017Badge

Read project documentation and get involved.

Project updates:

Copyright (C) 2017 SHA2017 Badge team. Based on template application for Espressif IoT Development Framework (ESP-IDF). Copyright (C) 2016 Espressif Systems, licensed under the Apache License 2.0 as described in the file LICENSE.

Codacy Badge Build Status

Debian prerequisites

sudo apt-get install libncurses5-dev flex bison gperf python-serial libffi-dev libsdl2-dev libmbedtls-dev perl

Compiling and flashing

git submodule update --init --recursive
source set_env.sh
make defconfig
make -j5

Optional configuration

make menuconfig

Compiling MicroPython

make -j5 -C micropython/mpy-cross
make -j5 -C micropython/esp32/

Flashing MicroPython

cd auto-flasher
cp ../micropython/esp32/build/application.bin firmware/sha2017-badge.bin
./auto_flash.pl /dev/ttyUSB0

Interacting via serial

make monitor

Building on OSX

First you have to replace the linux toolchain:

  • download the mac toolchain from this page
  • rename the linux toolchain: mv xtensa-esp32-elf xtensa-esp32-elf-linux
  • untar the mac toolchain: tar zxf ~/Downloads/xtensa-esp32-elf-osx-1.22.0-61-gab8375a-5.2.0.tar.gz

Then install the CP2102 usbserial driver

In the sdkconfig file change this line:

CONFIG_ESPTOOLPY_PORT="/dev/tty.SLAB_USBtoUART"

MicroPython

import badge
badge.eink_init()
badge.display_picture(0,-1)
import ugfx
ugfx.init()
ugfx.demo("HACKING")
ugfx.clear(badge.BLACK)
ugfx.thickline(1,1,100,100,badge.WHITE,10,5)
ugfx.box(30,30,50,50,badge.WHITE)
ugfx.string(150,25,"STILL","Roboto_BlackItalic24",badge.WHITE)
ugfx.string(130,50,"Hacking","PermanentMarker22",badge.WHITE)
len = ugfx.get_string_width("Hacking","PermanentMarker22")
ugfx.line(130, 72, 144 + len, 72, badge.WHITE)
ugfx.line(140 + len, 52, 140 + len, 70, badge.WHITE)
ugfx.string(140,75,"Anyway","Roboto_BlackItalic24",badge.WHITE)
ugfx.flush()

More info on the MicroPython badge features

Badge Emulator

make -C micropython/unix
cd micropython/unix
./micropython ../../examples/Game\ of\ Life/game_of_life.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].