diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-01-26 19:18:29 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-01-26 19:18:29 +0100 |
commit | fc4a1906ff3fa4ce355c3a058b15ed243d8ce7a8 (patch) | |
tree | 3d9f38bc397027af4e412e64f6865c3a56a9ef15 /src/arch/arduino-nano/Kconfig | |
parent | 86d9cc4be4ff5203b682091e90256758097f2f73 (diff) |
arduino-nano/Kconfig add some pin definitions and help texts
Diffstat (limited to 'src/arch/arduino-nano/Kconfig')
-rw-r--r-- | src/arch/arduino-nano/Kconfig | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/src/arch/arduino-nano/Kconfig b/src/arch/arduino-nano/Kconfig index 79c7f2e..7003353 100644 --- a/src/arch/arduino-nano/Kconfig +++ b/src/arch/arduino-nano/Kconfig @@ -1,4 +1,4 @@ -# Copyright 2020 Birte Kristina Friesel +# Copyright 2020-2024 Birte Kristina Friesel # # SPDX-License-Identifier: CC0-1.0 @@ -9,13 +9,26 @@ range 62500 16000000 default 16000000 help Assumes an externel 16MHz crystal to be present + Must be one of 62500, 125000, 250000, 500000, 1000000, 2000000, 4000000, 8000000, 16000000. config arch_arduino_nano_driver_adc -bool "ADC (Analog-Digital-Converter)" +bool "ADC on PC<0-5>" +help + ADC0: PC0 + ADC1: PC1 + ADC2: PC2 + ADC3: PC3 + ADC4: PC4 + ADC5: PC5 + ADC6: --- + ADC7: --- select meta_driver_adc config arch_arduino_nano_driver_i2c -bool "I2C" +bool "I²C on PC[45]" +help + SDA: PC4 + SCL: PC5 select meta_driver_hardware_i2c select meta_driver_i2c @@ -24,11 +37,18 @@ bool "WS2812b (NeoPixel)" select meta_driver_neopixel config arch_arduino_nano_driver_spi -bool "SPI" +bool "SPI on PB[2345]" +help + SS: PB2 + MOSI: PB3 + MISO: PB4 + SCK: PB5 select meta_driver_spi config arch_arduino_nano_driver_stdin -bool "UART Input" +bool "UART Input on PD0" +help + RX: PD0 (USB) select meta_driver_stdin config arch_arduino_nano_driver_timer |