mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 05:01:31 +11:00
2c3a0956fa
Sorry this is a large commit :( This adds support for input pins, including pulling them high or low. It also adds two examples: the start of a classic blinky LED example, and an example for reading input.
14 lines
295 B
Plaintext
14 lines
295 B
Plaintext
MEMORY {
|
|
BOOT2 : ORIGIN = 0x10000000, LENGTH = 0x100
|
|
FLASH : ORIGIN = 0x10000100, LENGTH = 2048K - 0x100
|
|
RAM : ORIGIN = 0x20000000, LENGTH = 256K
|
|
}
|
|
|
|
SECTIONS {
|
|
/* ### Boot loader */
|
|
.boot2 ORIGIN(BOOT2) :
|
|
{
|
|
KEEP(*(.boot2));
|
|
} > BOOT2
|
|
} INSERT BEFORE .text;
|