66edcf5d03
PicoDVI in CP support 640x480 and 800x480 on Feather DVI, Pico and Pico W. 1 and 2 bit grayscale are full resolution. 8 and 16 bit color are half resolution. Memory layout is modified to give the top most 4k of ram to the second core. Its MPU is used to prevent flash access after startup. The port saved word is moved to a watchdog scratch register so that it doesn't get overwritten by other things in RAM. Right align status bar and scroll area. This normally gives a few pixels of padding on the left hand side and improves the odds it is readable in a case. Fixes #7562 Fixes c stack checking. The length was correct but the top was being set to the current stack pointer instead of the correct top. Fixes #7643 This makes Bitmap subscr raise IndexError instead of ValueError when the index arguments are wrong.
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
#pragma once
|
|
|
|
#include "pico-sdk-configboard.h"
|
|
|
|
// alphabetized
|
|
#define LIB_CMSIS_CORE (1)
|
|
#define LIB_PICO_BINARY_INFO (0)
|
|
#define LIB_PICO_PRINTF_NONE (0)
|
|
#define LIB_PICO_PRINTF_PICO (0)
|
|
#define LIB_PICO_STDIO_SEMIHOSTING (0)
|
|
#define LIB_PICO_STDIO_UART (0)
|
|
#define LIB_PICO_STDIO_USB (0)
|
|
#define PICO_DIVIDER_DISABLE_INTERRUPTS (0)
|
|
#define PICO_DOUBLE_SUPPORT_ROM_V1 (1)
|
|
#define PICO_ENTER_USB_BOOT_ON_EXIT (0)
|
|
#define PICO_FLOAT_SUPPORT_ROM_V1 (1)
|
|
#define PICO_IE_26_29_UNCHANGED_ON_RESET (0)
|
|
#define PICO_INT64_OPS_IN_RAM (0)
|
|
#define PICO_NO_HARDWARE (0)
|
|
#define PICO_ON_DEVICE (1)
|
|
#define PICO_PRINTF_ALWAYS_INCLUDED (1)
|
|
#define PICO_RP2040_USB_DEVICE_ENUMERATION_FIX (1)
|
|
#define PICO_RP2040_USB_DEVICE_UFRAME_FIX (1)
|
|
#define PICO_STDIO_IGNORE_NESTED_STDOUT (0)
|
|
#define PICO_USE_CRT_PRINTF (0)
|
|
#define PICO_USE_OPTIMISTIC_SBRK (0)
|
|
// Stack guards cause a hard fault when 32 bytes around the stack bottom are
|
|
// accessed. These backtraces aren't always helpful and this conflicts with our
|
|
// own stack checking.
|
|
#define PICO_USE_STACK_GUARDS (0)
|
|
|
|
#include "include/cmsis/rename_exceptions.h"
|