Skip to content

Instantly share code, notes, and snippets.

View Micrified's full-sized avatar
🇫🇷
Collating...

Micrified

🇫🇷
Collating...
  • Rotterdam, Nederlands
View GitHub Profile
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_spi_flash.h"
#include "lwip/err.h"
#include "lwip/sys.h"
@Micrified
Micrified / ble.h
Created August 30, 2019 12:36
Bluetooth Header
#if !defined(BLE_H)
#define BLE_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "esp_system.h"
#include "esp_log.h"
@Micrified
Micrified / ble.c
Created August 30, 2019 12:37
Bluetooth Source File
#include "ble.h"
/*
*******************************************************************************
* Internal Symbolic Constants *
*******************************************************************************
*/
@Micrified
Micrified / ble.c
Created September 3, 2019 20:41
Bluetooth Driver Wrapper
/*
*******************************************************************************
* (C) Copyright 2019 Somnox *
* Created: 26/08/2019 *
* *
* Programmer(s): *
* - Charles Randolph *
* *
* Description: *
@Micrified
Micrified / guide.md
Created September 14, 2019 22:26
ErleRobot Compilation Steps

ErleRobot Firmware Compilation

If I succeed in compiling this, the steps will be listed below. For your information, I'm running: MacOS El Capitan 10.11.6.

Brew Installations

The repository asks you run:

brew tap PX4/homebrew-px4
brew tap osrf/simulation
@Micrified
Micrified / post.txt
Created September 17, 2019 14:05
Post-Request Example
POST /?serial=abcd1234 HTTP/1.1
User-Agent: PostmanRuntime/7.16.3
Accept: */*
Cache-Control: no-cache
Postman-Token: a70b6b26-a226-40bc-9648-c72721737938
Accept-Encoding: gzip, deflate
Referer: http://10.10.10.60:8080/?serial=abcd1234
Connection: keep-alive
@Micrified
Micrified / log_file
Created September 24, 2019 18:38
Log file created when running instruction after removing build and sdkconfig
This file has been truncated, but you can view the full file.
Python requirements from /Users/Owatch/Documents/Somnox/esp-idf/requirements.txt are satisfied.
Warn about uninitialized values.
-- Found Git: /usr/local/bin/git (found version "2.19.0")
-- Unexpected file in components directory: /Users/Owatch/Documents/Somnox/esp-idf/components/.DS_Store
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/Owatch/Documents/Somnox/esp-idf/tools/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /Users/Owatch/Documents/Somnox/esp-idf/tools/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
@Micrified
Micrified / log_file
Created September 24, 2019 22:18
Updated log file
This file has been truncated, but you can view the full file.
Python requirements from /Users/Owatch/Documents/Somnox/esp-idf/requirements.txt are satisfied.
Warn about uninitialized values.
-- Found Git: /usr/local/bin/git (found version "2.19.0")
-- Unexpected file in components directory: /Users/Owatch/Documents/Somnox/esp-idf/components/.DS_Store
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/Owatch/Documents/Somnox/esp-idf/tools/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /Users/Owatch/Documents/Somnox/esp-idf/tools/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
@Micrified
Micrified / socket_task.c
Created September 28, 2019 12:43
FreeRTOS socket manager task
#include "socket_task.h"
/*
*******************************************************************************
* Symbolic Constants *
*******************************************************************************
*/
@Micrified
Micrified / socket_task.c
Created September 30, 2019 00:19
A task that manages sockets
#include "socket_task.h"
/*
*******************************************************************************
* Symbolic Constants *
*******************************************************************************
*/