forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Description: Example to interact with KEY button and user external button connected to PA1. For KEY button pull-up resistor is active, board schematic does not show any pull-up or pull-down resistor. Results: Example working as expected. BlackPill PWM example Description: PWM example using PB0 - Timer3 - Channel 3 Create default configuration for the example. Controlling_RGB_LED Description: Controlling a RGB LED on NuttX for Black Pill board [STM32F411] Note: Example currently not working as expected.
- Loading branch information
1 parent
447f03c
commit a6df724
Showing
10 changed files
with
715 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# | ||
# This file is autogenerated: PLEASE DO NOT EDIT IT. | ||
# | ||
# You can use "make menuconfig" to make any modifications to the installed .config file. | ||
# You can then do "make savedefconfig" to generate a new defconfig file that includes your | ||
# modifications. | ||
# | ||
# CONFIG_ARCH_FPU is not set | ||
# CONFIG_DISABLE_OS_API is not set | ||
# CONFIG_NSH_ARGCAT is not set | ||
# CONFIG_NSH_CMDOPT_HEXDUMP is not set | ||
# CONFIG_NSH_DISABLE_IFCONFIG is not set | ||
# CONFIG_NSH_DISABLE_PS is not set | ||
# CONFIG_STM32_SYSCFG is not set | ||
CONFIG_ARCH="arm" | ||
CONFIG_ARCH_BOARD="stm32f411-minimum" | ||
CONFIG_ARCH_BOARD_STM32F411_MINIMUM=y | ||
CONFIG_ARCH_CHIP="stm32" | ||
CONFIG_ARCH_CHIP_STM32=y | ||
CONFIG_ARCH_CHIP_STM32F411CE=y | ||
CONFIG_ARCH_INTERRUPTSTACK=2048 | ||
CONFIG_ARCH_STACKDUMP=y | ||
CONFIG_BOARD_LOOPSPERMSEC=8499 | ||
CONFIG_BUILTIN=y | ||
CONFIG_EXAMPLES_PWM=y | ||
CONFIG_HAVE_CXX=y | ||
CONFIG_INIT_ENTRYPOINT="nsh_main" | ||
CONFIG_INTELHEX_BINARY=y | ||
CONFIG_NSH_ARCHINIT=y | ||
CONFIG_NSH_BUILTIN_APPS=y | ||
CONFIG_NSH_FILEIOSIZE=512 | ||
CONFIG_NSH_LINELEN=64 | ||
CONFIG_NSH_READLINE=y | ||
CONFIG_PREALLOC_TIMERS=4 | ||
CONFIG_PWM=y | ||
CONFIG_RAM_SIZE=131072 | ||
CONFIG_RAM_START=0x20000000 | ||
CONFIG_RAW_BINARY=y | ||
CONFIG_RR_INTERVAL=200 | ||
CONFIG_SCHED_WAITPID=y | ||
CONFIG_START_DAY=6 | ||
CONFIG_START_MONTH=6 | ||
CONFIG_START_YEAR=2020 | ||
CONFIG_STM32_FLASH_CONFIG_E=y | ||
CONFIG_STM32_JTAG_SW_ENABLE=y | ||
CONFIG_STM32_TIM3=y | ||
CONFIG_STM32_TIM3_CH3OUT=y | ||
CONFIG_STM32_TIM3_CHANNEL=3 | ||
CONFIG_STM32_TIM3_PWM=y | ||
CONFIG_STM32_USART1=y | ||
CONFIG_SYSTEM_NSH=y | ||
CONFIG_TASK_NAME_SIZE=0 | ||
CONFIG_USART1_SERIAL_CONSOLE=y |
69 changes: 69 additions & 0 deletions
69
boards/arm/stm32/stm32f411-minimum/configs/rgbled/defconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# | ||
# This file is autogenerated: PLEASE DO NOT EDIT IT. | ||
# | ||
# You can use "make menuconfig" to make any modifications to the installed .config file. | ||
# You can then do "make savedefconfig" to generate a new defconfig file that includes your | ||
# modifications. | ||
# | ||
# CONFIG_ARCH_FPU is not set | ||
# CONFIG_DISABLE_OS_API is not set | ||
# CONFIG_NSH_ARGCAT is not set | ||
# CONFIG_NSH_CMDOPT_HEXDUMP is not set | ||
# CONFIG_NSH_DISABLE_IFCONFIG is not set | ||
# CONFIG_NSH_DISABLE_PS is not set | ||
# CONFIG_STM32_SYSCFG is not set | ||
CONFIG_ARCH="arm" | ||
CONFIG_ARCH_BOARD="stm32f411-minimum" | ||
CONFIG_ARCH_BOARD_STM32F411_MINIMUM=y | ||
CONFIG_ARCH_CHIP="stm32" | ||
CONFIG_ARCH_CHIP_STM32=y | ||
CONFIG_ARCH_CHIP_STM32F411CE=y | ||
CONFIG_ARCH_INTERRUPTSTACK=2048 | ||
CONFIG_ARCH_STACKDUMP=y | ||
CONFIG_BOARD_LOOPSPERMSEC=8499 | ||
CONFIG_BUILTIN=y | ||
CONFIG_EXAMPLES_RGBLED=y | ||
CONFIG_HAVE_CXX=y | ||
CONFIG_INIT_ENTRYPOINT="nsh_main" | ||
CONFIG_INTELHEX_BINARY=y | ||
CONFIG_NSH_ARCHINIT=y | ||
CONFIG_NSH_BUILTIN_APPS=y | ||
CONFIG_NSH_FILEIOSIZE=512 | ||
CONFIG_NSH_LINELEN=64 | ||
CONFIG_NSH_READLINE=y | ||
CONFIG_PREALLOC_TIMERS=4 | ||
CONFIG_PWM=y | ||
CONFIG_RAM_SIZE=131072 | ||
CONFIG_RAM_START=0x20000000 | ||
CONFIG_RAW_BINARY=y | ||
CONFIG_RGBLED=y | ||
CONFIG_RR_INTERVAL=200 | ||
CONFIG_SCHED_WAITPID=y | ||
CONFIG_START_DAY=6 | ||
CONFIG_START_MONTH=6 | ||
CONFIG_START_YEAR=2020 | ||
CONFIG_STM32_FLASH_CONFIG_E=y | ||
CONFIG_STM32_JTAG_SW_ENABLE=y | ||
CONFIG_STM32_TIM1=y | ||
CONFIG_STM32_TIM1_CH1OUT=y | ||
CONFIG_STM32_TIM1_CHMODE=0 | ||
CONFIG_STM32_TIM1_PWM=y | ||
CONFIG_STM32_TIM2=y | ||
CONFIG_STM32_TIM2_CH2OUT=y | ||
CONFIG_STM32_TIM2_CHANNEL=2 | ||
CONFIG_STM32_TIM2_CHMODE=0 | ||
CONFIG_STM32_TIM2_PWM=y | ||
CONFIG_STM32_TIM3=y | ||
CONFIG_STM32_TIM3_CH3OUT=y | ||
CONFIG_STM32_TIM3_CHANNEL=3 | ||
CONFIG_STM32_TIM3_CHMODE=0 | ||
CONFIG_STM32_TIM3_PWM=y | ||
CONFIG_STM32_TIM4=y | ||
CONFIG_STM32_TIM4_CH4OUT=y | ||
CONFIG_STM32_TIM4_CHANNEL=4 | ||
CONFIG_STM32_TIM4_CHMODE=0 | ||
CONFIG_STM32_TIM4_PWM=y | ||
CONFIG_STM32_USART1=y | ||
CONFIG_SYSTEM_NSH=y | ||
CONFIG_TASK_NAME_SIZE=0 | ||
CONFIG_USART1_SERIAL_CONSOLE=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.