Skip to content

Instantly share code, notes, and snippets.

Avatar

Dave Rea davidrea

View GitHub Profile
@davidrea
davidrea / erx-setup.md
Last active Jan 15, 2020
EdgeRouter X Setup Journal
View erx-setup.md

Setup Journal for EdgeRouter X

Out-of-box

  1. Power up, connect to eth0
  2. Wait for cold boot sequence; can be up to 2 minutes
  3. Access:
  • Via web interface at 192.168.1.1, UN/PW both ubnt
  • ssh ubnt@192.168.1.1
  1. Add admin user, log in as admin user, delete default user
@davidrea
davidrea / MCUXpresso_BCA.md
Last active Feb 18, 2019
NXP's MCUXpresso IDE doesn't support allocating a Bootloader Configuration Area (BCA) segment out-of-the-box. Here's how to do it.
View MCUXpresso_BCA.md

Background

Since NXP acquired Freescale and the Kinetis line of microcontrollers, they have been (gradually) migrating the Kinetis ecosystem from the (Eclipse+GNUARM-based) Kinetis Design Studio (KDS) to the (Eclipse+GNU Make-based) MCUXpresso IDE. While many MCUs within the Kinetis family are now supported by the MCUXpresso IDE, the Kinetis Bootloader (KBOOT) is not yet supported.

MCUXpresso is actually a constellation of 3 tools: The MCUXpresso IDE, the MCUXpresso config tools (which are incorporated into the IDE, and installable separately if a different IDE - such as MDK or IAR - is used), and the MCUXpresso SDK (formerly the Kinetis SDK or KSDK). The SDK tool is actually an online SDK generator.

Caution: Unsupported Devices

The Kinetis SDK (KSDK) and Kinetis Bootloader (KBOOT) do not support the entire line of Kinetis microcontrollers. Before designing a microcontroller into a project, check for KSDK and KBOOT support. Search for part family support at the [MCUXpresso SDK online builder](https:

@davidrea
davidrea / gist:17ba3aebfa65c933daca
Last active Jan 13, 2020 — forked from beezly/gist:9b2de3749d687fdbff3f
Script to fetch Nest and outdoor temperature data and log to Google Sheets
View gist:17ba3aebfa65c933daca
function performLogin(email, password) {
var payload = {
"username" : email,
"password" : password
};
var options = {
"method" : "post",
"payload" : payload
};