circuitpython/ports/nrf/boards/tinkeringtech_scoutmakes_azul
Scott Shawcroft 40118bcf57
Add `board_deinit` for use with sleep
This changes lots of files to unify `board.h` across ports. It adds
`board_deinit` when CIRCUITPY_ALARM is set. `main.c` uses it to
deinit the board before deep sleeping (even when pretending.)

Deep sleep is now a two step process for the port. First, the
port should prepare to deep sleep based on the given alarms. It
should set alarms for both deep and pretend sleep. In particular,
the pretend versions should be set immediately so that we don't
miss an alarm as we shutdown. These alarms should also wake from
`port_idle_until_interrupt` which is used when pretending to deep
sleep.

Second, when real deep sleeping, `alarm_enter_deep_sleep` is called.
The port should set any alarms it didn't during prepare based on
data it saved internally during prepare.

ESP32-S2 sleep is a bit reorganized to locate more logic with
TimeAlarm. This will help it scale to more alarm types.

Fixes #3786
2020-12-08 10:52:25 -08:00
..
README.md Added the TinkeringTech ScoutMakes Azul platform to CircuitPython 2020-07-15 21:49:34 -04:00
board.c Add `board_deinit` for use with sleep 2020-12-08 10:52:25 -08:00
mpconfigboard.h Added the TinkeringTech ScoutMakes Azul platform to CircuitPython 2020-07-15 21:49:34 -04:00
mpconfigboard.mk Added the TinkeringTech ScoutMakes Azul platform to CircuitPython 2020-07-15 21:49:34 -04:00
pins.c Added the TinkeringTech ScoutMakes Azul platform to CircuitPython 2020-07-15 21:49:34 -04:00

README.md

Setup

The TinkeringTech ScoutMakes Azul is a bluetooth enabled, feather format, open source platform featuring the nRF52840 from Nordic Semiconductors. The design is based on the Adafruit nRF52840 feather express and uses the Raytac MDBT50Q-1MV2 module.

Schematic, datasheet, pin mapping etc. can be found over here.

features:

  • ARM Cortex M4F (with HW floating point acceleration) running at 64MHz
  • Raytac MDBT50Q-1MV2 BLE module. FCC / IC / TELEC certified module
  • 1MB flash and 256KB SRAM
  • Native Open Source USB stack pre-programmed with UF2 bootloader and CircuitPython
  • 128×32 OLED display
  • USB type-C
  • On/off power switch
  • Bluetooth Low Energy compatible 2.4GHz radio (Details available in the nRF52840 product specification)
  • BT5.1 & BT5 Bluetooth Specification Certified
  • Supports BT5 Long Range Feature
  • 1.7v to 3.3v operation with internal linear and DC/DC voltage regulators
  • 21 GPIO, 6 x 12-bit ADC pins, up to 12 PWM outputs (3 PWM modules with 4 outputs each)
  • Pin #3 red LED for general purpose blinking,
  • Programmable NeoPixel for colorful feedback
  • 4 mounting holes
  • Reset button
  • Works out of the box with Adafruit feather wings.
  • Open source design.