Skip to content

Commit

Permalink
update pin definition for bl702l lighting demo
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-hh committed Jan 1, 2025
1 parent f707bd7 commit d9f3302
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lighting-app/bouffalolab/bl702l/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ bouffalolab_executable("lighting_app") {
}

if ("BL704LDK" == board) {
defines += [ "XT_ZB6_DevKit" ]
defines += [ "BL704LDK" ]
}

sources = [
Expand Down
5 changes: 5 additions & 0 deletions examples/lighting-app/bouffalolab/bl702l/mboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@

#define MAX_PWM_CHANNEL 1

#elif defined (BL704LDK)
#define LED_PIN_PORT 1
#define LED_PIN 18

#define MAX_PWM_CHANNEL 1
#else

#define LED_PIN_PORT 2
Expand Down

0 comments on commit d9f3302

Please sign in to comment.