The pinout in the schematic is not correct. Instead it is:
GPIO | Function |
---|---|
6 | M0_JTAG_TMS |
7 | M0_JTAG_TDO |
12 | M0_JTAG_TCLK |
13 | M0_JTAG_TDI |
#!/bin/bash | |
set -x | |
# This uses the github cli to handle authenticated API calls | |
# https://cli.github.com/ | |
gh auth refresh | |
RUN_ID=$(gh api repos/apache/incubator-nuttx/actions/workflows/908549/runs?branch=master --jq '.workflow_runs[0].id') | |
gh run download -R apache/incubator-nuttx -D nuttx-builds $RUN_ID |
Releases are managed through an SVN repository. There are two locations where releases can be committed dev and release. Prior to voting a release is staged in the dev folder after a release is approved by the IPMC it is then moved to the release location and committed for distribution. The release folder also holds the GPG public keys that are used for signing release in a KEYS file.
svn checkout https://dist.apache.org/repos/dist/dev/incubator/nuttx nuttx-dev
svn checkout https://dist.apache.org/repos/dist/release/incubator/nuttx nuttx-release
Inside of the dist/release/incubator/nuttx folder is a KEYS file where committers must upload their GPG public key that they use to sign releases. On the top of the file you can see instructions on how to add your key to this file. Be careful to not remove any existing keys. There is a KEYS file in both the dev and releases folder, but uploading to the
Use this OSS flashing tool here https://github.com/spacemeowx2/blflash
NOTE IO8 must be pulled HI on reset to enter ISP mode
cd ~/nuttx/blagain
./blflash-linux-amd64 flash ../wrk/nuttx/nuttx.bin --port /dev/ttyUSB0
Note: These instructions are somewhat Fedora specific and also rely on my partion setup.
You will need to make sure on Fedora you have the grub2-efi-x64-modules
package installed
to provide the multiboot2 grub module.
/etc/grub.d/20_nuttx
:#!/usr/bin/sh
exec tail -n +3 $0
/* uartblink.S -- Brennan Ashton <[email protected]> | |
* | |
*************************************************************************** | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
*************************************************************************** |
input { | |
syslog { | |
port => 5000 | |
} | |
} | |
output { | |
elasticsearch { | |
embedded => ES_EMBEDDED | |
host => "ES_HOST" |
from pyspark import SparkContext | |
from pyspark.sql import SQLContext | |
from pyspark.sql.types import * | |
from IPython.display import display | |
sc = SparkContext(appName="CarCSV") | |
sqlContext = SQLContext(sc) | |
schema = StructType([StructField("year", IntegerType(), False), | |
StructField("make", StringType(), False), |
Maybe docker is a better idea | |
docker pull fedora:20 | |
docker run -i -t -v ~/yoctodocker/:/builddir fedora:20 /bin/bash | |
cd /builddir | |
yum install -y gawk make wget tar bzip2 gzip python unzip perl patch \ | |
diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \ | |
ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue which | |
wget http://downloadmirror.intel.com/24910/eng/edison-src-ww18-15.tgz |
wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py | |
python get-pip.py | |
pip install virtualenv |