Blinka Fixes

This commit is contained in:
Melissa LeBlanc-Williams 2023-05-15 14:28:17 -07:00
parent f5161bc654
commit fcbbfc2120
4 changed files with 26 additions and 43 deletions

View file

@ -1,39 +0,0 @@
---
layout: download
board_id: "0xcb_helios"
title: "0xCB Helios Download"
name: "Helios"
manufacturer: "0xCB"
board_url: "https://github.com/0xCB-dev/0xCB-Helios"
board_image: "0xcb_helios.jpg"
download_instructions: "https://learn.adafruit.com/circuitpython-libraries-on-any-computer-with-raspberry-pi-pico"
date_added: 2023-01-05
features:
---
The 0xCB Helios is our Elite-C compatible MicroController, based on the high-performance and affordable RP2040.
It's a drop-in replacement for legacy ProMicro boards.
## Technical details
- **Powerful RP2040** 32-bit Cortex M0+ dual core running at 133 MHz and 264kB SRAM.
- **16MB/128Mb QSPI FLASH** chip for storing files and code
- **Only 3.16 mm thick** thanks to a mid-mounted USB-C port
- 3.3V 500mA LDO, PTC fuse and **ESD protection** chip
- Elite-C, Pro Micro, SparkFun Pro Micro RP2040, and nice!Nano compatible pinout (follows the **BastardKb standard**)
- **8 extra I/O pins**: (GP12-GP16) added along the bottom edge, (GP10-GP11) at the top and a 5V level shifted pin to drive RGB LEDs for example (GP25)
- **25 available digital pins** for a maximum of 13x12 = 156 switches (using a standard matrix)
- Default off **red power LED** (selectable via a jumper on the left side)
- **blue user LED** on pin GP17
- 4 pins configurable as **analog inputs**
- **USB D+/D- broken out** for use with an external USB socket/daughterboard
- **USB VBUS detection** on GPIO19 for split keyboard side detection
- **UF2 bootloader** for drag & drop programming via your file manager
- easy to use and backward compatible **Single button boot and reset circuit** push to reset and hold >500ms to enter bootloader (legacy boards with reset buttons will continue to work!)
- **RAW / VBUS** output, for powering RGB LEDs or other 5 V devices. The jumper on top lets you skip over the 500 mA fuse and Schottky diode, for up to 3A from USB ports.
- **USB-C connector** lets you access built-in ROM USB bootloader and serial port debugging
## Purchase
- [KeebSupply](https://keeb.supply/products/0xcb-helios)

View file

@ -1,11 +1,11 @@
---
layout: download
board_id: "jetson_orin_nx"
title: "Jetson Orin NX AI Dev Kit Download"
name: "Jetson Orin NX AI Dev Kit"
board_id: "jetson_orin_nano"
title: "Jetson Orin Nano Dev Kit Download"
name: "Jetson Orin Nano Dev Kit"
manufacturer: "NVIDIA"
board_url: "https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-orin/"
board_image: "jetson_orin_nx.jpg"
board_image: "jetson_orin_nano.jpg"
download_instructions: ""
downloads_display: true
blinka: true

View file

@ -4,6 +4,7 @@ board_id: "pyboard_v11"
title: "Pyboard Download"
name: "Pyboard"
manufacturer: "Damien George"
blinka: true
board_url: "https://www.adafruit.com/product/2390"
board_image: "pyboard_v11.jpg"
date_added: 2021-5-24

View file

@ -106,6 +106,23 @@ def verify_contribute_not_present(folder):
print(f"Contribute Section found for {board_id} in {folder}")
return valid
def verify_blinka_board(folder):
# Check that blinka flag is set for all boards in the folder
valid = True
for filename in Path(folder).glob("*.md"):
with open(filename, "rt") as f:
metadata, _ = frontmatter.parse(f.read())
downloads_display = metadata.get('downloads_display')
if downloads_display is None or downloads_display:
board_id = metadata.get('board_id') or ()
if board_id == "unknown":
continue
blinka_flag = metadata.get('blinka')
if blinka_flag is None or blinka_flag == False:
print(f"blinka field is not set to True for {board_id}")
valid = False
return valid
if not verify_features("_board", acceptable_features):
print("Non-standard features found. See https://learn.adafruit.com/how-to-add-a-new-board-to-the-circuitpython-org-website/adding-to-downloads for acceptable features")
raise SystemExit(True)
@ -148,4 +165,8 @@ if not verify_contribute_not_present("_board") or not verify_contribute_not_pres
print("Contribute section found. This should not be there since it is automatically added.")
raise SystemExit(True)
if not verify_blinka_board("_blinka"):
print("blinka flag missing or false for some Blinka boards. This should be set to true.")
raise SystemExit(True)
raise SystemExit(False)