File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 14
14
- ExternalFS use fatfs to manage external spi flash (nrf52840 only) for usb msc.
15
15
- Replace cpritnf by std printf
16
16
- Added HwPWM3 for nRF52840
17
- - Added ISR_DEFERRED for attachInterrupt() for deferring callback from ISR context
17
+ - Added ISR_DEFERRED option for attachInterrupt() to defer callback from ISR context
18
18
- Added digital_interrupt_deferred sketch for demo
19
19
20
20
## 0.8.6
Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ HardwarePWM HwPWM0(NRF_PWM0);
41
41
HardwarePWM HwPWM1 (NRF_PWM1);
42
42
HardwarePWM HwPWM2 (NRF_PWM2);
43
43
44
- #ifdef NRF52840_XXAA
44
+ #ifdef NRF_PWM3
45
45
HardwarePWM HwPWM3 (NRF_PWM3);
46
46
#endif
47
47
48
48
HardwarePWM* HwPWMx[] =
49
49
{
50
50
&HwPWM0, &HwPWM1, &HwPWM2
51
- #ifdef NRF52840_XXAA
51
+ #ifdef NRF_PWM3
52
52
,&HwPWM3
53
53
#endif
54
54
};
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ extern HardwarePWM HwPWM0;
100
100
extern HardwarePWM HwPWM1;
101
101
extern HardwarePWM HwPWM2;
102
102
103
- #ifdef NRF52840_XXAA
103
+ #ifdef NRF_PWM3
104
104
extern HardwarePWM HwPWM3;
105
105
#endif
106
106
Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ extern "C"
60
60
#define PIN_A3 (29)
61
61
#define PIN_A4 (30)
62
62
#define PIN_A5 (31)
63
- #define PIN_A6 (26 )
64
- #define PIN_A7 (27 )
63
+ #define PIN_A6 (42 )
64
+ #define PIN_A7 (43 )
65
65
66
66
static const uint8_t A0 = PIN_A0 ;
67
67
static const uint8_t A1 = PIN_A1 ;
@@ -92,9 +92,9 @@ static const uint8_t AREF = PIN_AREF;
92
92
*/
93
93
#define SPI_INTERFACES_COUNT 1
94
94
95
- #define PIN_SPI_MISO (47 )
96
- #define PIN_SPI_MOSI (46 )
97
- #define PIN_SPI_SCK (45 )
95
+ #define PIN_SPI_MISO (46 )
96
+ #define PIN_SPI_MOSI (45 )
97
+ #define PIN_SPI_SCK (47 )
98
98
99
99
static const uint8_t SS = 44 ;
100
100
static const uint8_t MOSI = PIN_SPI_MOSI ;
@@ -106,8 +106,8 @@ static const uint8_t SCK = PIN_SPI_SCK ;
106
106
*/
107
107
#define WIRE_INTERFACES_COUNT 1
108
108
109
- #define PIN_WIRE_SDA (43 )
110
- #define PIN_WIRE_SCL (42 )
109
+ #define PIN_WIRE_SDA (26 )
110
+ #define PIN_WIRE_SCL (27 )
111
111
112
112
/*
113
113
* QSPI interface for external flash
You can’t perform that action at this time.
0 commit comments