From aa55831fe6a37d491944d139a7284767a0c45205 Mon Sep 17 00:00:00 2001 From: prosper00 <brad.roy@gmail.com> Date: Sat, 3 Jun 2023 08:42:52 -0600 Subject: [PATCH] rename to be consistent with other TIM examples --- examples/{remap_pins_tim2 => tim2_pwm_remap}/Makefile | 2 +- .../remap_pins_tim2.c => tim2_pwm_remap/tim2_pwm_remap.c} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename examples/{remap_pins_tim2 => tim2_pwm_remap}/Makefile (79%) rename examples/{remap_pins_tim2/remap_pins_tim2.c => tim2_pwm_remap/tim2_pwm_remap.c} (98%) diff --git a/examples/remap_pins_tim2/Makefile b/examples/tim2_pwm_remap/Makefile similarity index 79% rename from examples/remap_pins_tim2/Makefile rename to examples/tim2_pwm_remap/Makefile index f501dac..36df10e 100644 --- a/examples/remap_pins_tim2/Makefile +++ b/examples/tim2_pwm_remap/Makefile @@ -1,6 +1,6 @@ all : flash -TARGET:=remap_pins_tim2 +TARGET:=tim2_pwm_remap include ../../ch32v003fun/ch32v003fun.mk diff --git a/examples/remap_pins_tim2/remap_pins_tim2.c b/examples/tim2_pwm_remap/tim2_pwm_remap.c similarity index 98% rename from examples/remap_pins_tim2/remap_pins_tim2.c rename to examples/tim2_pwm_remap/tim2_pwm_remap.c index a35d352..1d2c4bb 100644 --- a/examples/remap_pins_tim2/remap_pins_tim2.c +++ b/examples/tim2_pwm_remap/tim2_pwm_remap.c @@ -1,6 +1,6 @@ /* * Example for using AFIO to remap peripheral outputs to alternate configuration - * 06-01-2023 B. Roy, based partially on previous work by: + * 06-01-2023 B. Roy, based on previous work by: * 03-28-2023 E. Brombaugh * 05-29-2023 recallmenot adapted from Timer1 to Timer2 * -- GitLab