Skip to content

Commit

Permalink
Fix config failure
Browse files Browse the repository at this point in the history
  • Loading branch information
eandersson committed Jan 10, 2025
1 parent 81d2bd7 commit e1bf15e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
4 changes: 4 additions & 0 deletions components/asic/bm1366.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
#include <stdlib.h>
#include <string.h>

#ifdef CONFIG_GPIO_ASIC_RESET
#define GPIO_ASIC_RESET CONFIG_GPIO_ASIC_RESET
#else
#define GPIO_ASIC_RESET 1
#endif

#define TYPE_JOB 0x20
#define TYPE_CMD 0x40
Expand Down
4 changes: 4 additions & 0 deletions components/asic/bm1368.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
#include <stdlib.h>
#include <string.h>

#ifdef CONFIG_GPIO_ASIC_RESET
#define GPIO_ASIC_RESET CONFIG_GPIO_ASIC_RESET
#else
#define GPIO_ASIC_RESET 1
#endif

#define TYPE_JOB 0x20
#define TYPE_CMD 0x40
Expand Down
4 changes: 4 additions & 0 deletions components/asic/bm1370.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
#include <stdlib.h>
#include <string.h>

#ifdef CONFIG_GPIO_ASIC_RESET
#define GPIO_ASIC_RESET CONFIG_GPIO_ASIC_RESET
#else
#define GPIO_ASIC_RESET 1
#endif

#define TYPE_JOB 0x20
#define TYPE_CMD 0x40
Expand Down
4 changes: 4 additions & 0 deletions components/asic/bm1397.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
#include "mining.h"
#include "global_state.h"

#ifdef CONFIG_GPIO_ASIC_RESET
#define GPIO_ASIC_RESET CONFIG_GPIO_ASIC_RESET
#else
#define GPIO_ASIC_RESET 1
#endif

#define TYPE_JOB 0x20
#define TYPE_CMD 0x40
Expand Down
3 changes: 2 additions & 1 deletion test-ci/sdkconfig.defaults
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_ESP_INT_WDT=n
CONFIG_ESP_TASK_WDT=n
CONFIG_MBEDTLS_HARDWARE_SHA=n
CONFIG_MBEDTLS_HARDWARE_SHA=n
CONFIG_GPIO_ASIC_RESET=1

0 comments on commit e1bf15e

Please sign in to comment.