Merge pull request #722 from pimoroni/docs/badger2040

Badger 2040: Add deprecation warnings and firmware links.
pull/736/head
Philip Howard 2023-03-27 10:50:39 +01:00 zatwierdzone przez GitHub
commit d9d71c663f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
7 zmienionych plików z 14 dodań i 77 usunięć

Wyświetl plik

@ -1,5 +1,7 @@
# Badger 2040 Examples <!-- omit in toc -->
:warning: This code has been deprecated in favour of a dedicated Badger 2040 project: https://github.com/pimoroni/badger2040
- [Function Examples](#function-examples)
- [Battery](#battery)
- [Button Test](#button-test)

Wyświetl plik

@ -1,4 +1,6 @@
# Badger 2040 W MicroPython Examples <!-- omit in toc -->
:warning: This code has been deprecated in favour of a dedicated Badger 2040 project: https://github.com/pimoroni/badger2040
- [About Badger 2040 W](#about-badger-2040-w)
- [Badger 2040 W and PicoGraphics](#badger-2040-w-and-picographics)

Wyświetl plik

@ -1,26 +0,0 @@
include_directories(${CMAKE_CURRENT_LIST_DIR}/../../)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../../")
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
include(pimoroni_i2c/micropython)
include(pimoroni_bus/micropython)
include(micropython-common-breakouts)
include(hershey_fonts/micropython)
include(bitmap_fonts/micropython)
include(badger2040/micropython)
if(NOT DEFINED BADGER2040_NO_MODULES)
include(micropython/examples/badger2040/micropython-builtins)
endif()
include(plasma/micropython)
include(ulab/code/micropython)
include(qrcode/micropython/micropython)
# C++ Magic Memory
include(cppmem/micropython)

Wyświetl plik

@ -2,11 +2,13 @@
Badger 2040 is an RP2040 powered E Ink badge.
:warning: This code has been deprecated in favour of a dedicated Badger 2040 project: https://github.com/pimoroni/badger2040
- [Summary](#summary)
- [Getting Started](#getting-started)
- [Update Speed](#update-speed)
- [Buttons](#buttons)
- [System Speed](#system-speed)
- [System speed](#system-speed)
- [Other Functions](#other-functions)
- [Other Constants](#other-constants)
- [Screen Size](#screen-size)
@ -21,7 +23,7 @@ Badger 2040 is an RP2040 powered E Ink badge.
- [Draw Text](#draw-text)
- [Measure Text](#measure-text)
- [Change Font](#change-font)
- [Lines, Pixels & Rectangles](#lines-pixels--rectangles)
- [Lines, Pixels \& Rectangles](#lines-pixels--rectangles)
- [Pixel](#pixel)
- [Line](#line)
- [Rectangle](#rectangle)

Wyświetl plik

@ -2,6 +2,8 @@
Badger 2040 W is a Raspberry Pi Pico W powered E Ink badge.
:warning: This code has been deprecated in favour of a dedicated Badger 2040 project: https://github.com/pimoroni/badger2040
- [Summary](#summary)
- [Differences between Badger 2040 W and Badger 2040](#differences-between-badger-2040-w-and-badger-2040)
- [Getting Started](#getting-started)

Wyświetl plik

@ -1,46 +0,0 @@
include_directories(${CMAKE_CURRENT_LIST_DIR}/../../)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../../")
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
# Essential
include(pimoroni_i2c/micropython)
include(pimoroni_bus/micropython)
# Pico Graphics Essential
include(hershey_fonts/micropython)
include(bitmap_fonts/micropython)
include(picographics/micropython)
# Pico Graphics Extra
include(jpegdec/micropython)
include(qrcode/micropython/micropython)
# Sensors & Breakouts
include(micropython-common-breakouts)
include(pcf85063a/micropython)
# Utility
include(adcfft/micropython)
include(wakeup/micropython)
# LEDs & Matrices
include(plasma/micropython)
# Servos & Motors
include(pwm/micropython)
include(servo/micropython)
include(encoder/micropython)
include(motor/micropython)
# include(micropython-common)
include(modules_py/modules_py)
copy_module(boot.py)
# C++ Magic Memory
include(cppmem/micropython)

Wyświetl plik

@ -12,22 +12,23 @@ We provide pre-built MicroPython images which include all the drivers that inclu
## Which file to download?
On the releases page you'll find a bunch of different .uf2 files for use on different RP2040 boards (if you can't see them, click on the arrow next to 'assets' to expand the list).
On the releases page you'll find a bunch of different .uf2 files for use on different RP2040 boards (if you can't see them, click on the arrow next to 'assets' to expand the list). For Badger 2040 and Badger 2040 W you should refer to the [Badger 2040 repository](https://github.com/pimoroni/badger2040/).
- [Releases page](https://github.com/pimoroni/pimoroni-pico/releases)
- [Badger 2040 firmware](https://github.com/pimoroni/badger2040/releases)
| Board | What uf2 file to use | Notes |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| Raspberry Pi Pico and most other RP2040 boards without wireless (Plasma 2040, Interstate 75, Servo 2040, Motor 2040, Tiny 2040 2MB) | **pimoroni-pico-vx.x.x-micropython.uf2** | |
| Raspberry Pi Pico W and most Pico W Aboard products (Automation 2040 W, Inventor 2040 W, Plasma Stick, Interstate 75 W) | **pimoroni-picow-vx.x.x-micropython.uf2** | |
| Badger 2040 | **pimoroni-badger2040-vx.x.x-micropython.uf2** or **pimoroni-badger2040-vx.x.x-micropython-without-badger-os.uf2** | Download **pimoroni-badger2040-vx.x.x-micropython.uf2** for built in examples! |
| Tufty 2040 | **pimoroni-tufty2040-vx.x.x-micropython.uf2** | |
| Pimoroni Pico LiPo | **pimoroni-picolipo_4mb-vx.x.x-micropython.uf2** or **pimoroni-picolipo_16mb-vx.x.x-micropython.uf2** | Includes support for the increased flash memory on these boards |
| Tiny 2040 8MB | **pimoroni-tiny2040-vx.x.x-micropython.uf2** | Includes support for the increased flash memory on this board |
| Enviro Urban, Indoor, Weather & Grow | **pimoroni-picow_enviro-vx.x.x-micropython.uf2** | For a .uf2 with examples built in, go to the [Enviro releases page](https://github.com/pimoroni/enviro/releases)! |
| Galactic Unicorn | **pimoroni-picow_galactic_unicorn-vx.x.x-micropython.uf2** | |
| Inky Frame | **pimoroni-picow_inky_frame-vx.x.x-micropython.uf2** | |
| Badger 2040 W | **pimoroni-badger2040w-vx.x.x-micropython.uf2** or **pimoroni-badger2040w-vx.x.x-micropython-with-examples.uf2** | Download **pimoroni-badger2040w-vx.x.x-micropython-with-examples.uf2** for built in examples! |
| Badger 2040 W | **pimoroni-badger2040w-vx.x.x-micropython.uf2** or **pimoroni-badger2040w-v0.0.1-micropython-with-badger-os.uf2** | :warning: Badger OS will overwrite your files!
| Badger 2040 | **pimoroni-badger2040-vx.x.x-micropython.uf2** or **pimoroni-badger2040-v0.0.1-micropython-with-badger-os.uf2** | :warning: Badger OS will overwrite your files!
| Cosmic Unicorn | **pimoroni-picow_cosmic_unicorn-vx.x.x-micropython.uf2** | |
## Entering DFU/bootloader mode