This file contains 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
# ESP8266 platform | |
# ------------------------------ | |
# For more info: | |
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification | |
name=ESP8266 Boards (2.7.1) | |
version=2.7.1 |
This file contains 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 linker script generated from xt-genldscripts.tpp for LSP . */ | |
/* Linker Script for ld -N */ | |
PHDRS | |
{ | |
dport0_0_phdr PT_LOAD; | |
dram0_0_phdr PT_LOAD; | |
dram0_0_bss_phdr PT_LOAD; | |
iram1_0_phdr PT_LOAD; | |
irom0_0_phdr PT_LOAD; |
This file contains 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 "Arduino.h" | |
#include "SPI.h" | |
#include "Wire.h" | |
#include "bmi270.h" | |
#define BMI270_CS SS | |
#define BMI270_INT1 6 | |
/* Callback function prototypes for the BMI270 Sensor API */ |
This file contains 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
/** | |
* \file | |
* | |
* \brief BME280 ASF example for the SAMD21 xplained pro | |
* | |
*/ | |
#include <asf.h> | |
#include <string.h> | |
#include <stdio.h> |
This file contains 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
/** | |
* @brief Task that delays for a ms period of time | |
* @param period : Period of time in ms | |
*/ | |
void delay_ms(uint32_t period) | |
{ | |
// Wait for a period amount of ms | |
// The system may simply idle, sleep or even perform background tasks | |
delay(period); | |
} |