Skip to content

Instantly share code, notes, and snippets.

View davidrea's full-sized avatar

Dave Rea davidrea

View GitHub Profile
@davidrea
davidrea / gist:17ba3aebfa65c933daca
Last active January 13, 2020 11:28 — forked from beezly/gist:9b2de3749d687fdbff3f
Script to fetch Nest and outdoor temperature data and log to Google Sheets
function performLogin(email, password) {
var payload = {
"username" : email,
"password" : password
};
var options = {
"method" : "post",
"payload" : payload
};
@davidrea
davidrea / MCUXpresso_BCA.md
Last active February 18, 2019 18:05
NXP's MCUXpresso IDE doesn't support allocating a Bootloader Configuration Area (BCA) segment out-of-the-box. Here's how to do it.

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 / erx-setup.md
Last active August 7, 2024 07:25
EdgeRouter X Setup Journal

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:
  1. Add admin user, log in as admin user, delete default user

Sneak path

Sneak path sketch