Skip to content

Commit 94464e5

Browse files
committed
Update to mbed-os-6.1.0-26-g6db3edc0ef
Partially fixes #9
1 parent 682a054 commit 94464e5

File tree

586 files changed

+342510
-71885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

586 files changed

+342510
-71885
lines changed

cores/arduino/mbed/components/802.15.4_RF/atmel-rf-driver/atmel-rf-driver/NanostackRfPhyAtmel.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,16 @@
7070
#if !defined(TEST_PIN_SPARE_2)
7171
#define TEST_PIN_SPARE_2 D8
7272
#endif
73+
#if !defined(SE2435L_CSD)
74+
#define SE2435L_CSD D2
75+
#endif
76+
#if !defined(SE2435L_ANT_SEL)
77+
#define SE2435L_ANT_SEL D8
78+
#endif
7379

7480
class RFBits;
7581
class TestPins;
82+
class Se2435Pins;
7683

7784
class NanostackRfPhyAtmel : public NanostackRfPhy {
7885
public:
@@ -86,10 +93,13 @@ class NanostackRfPhyAtmel : public NanostackRfPhy {
8693
virtual void set_mac_address(uint8_t *mac);
8794

8895
private:
96+
#if !defined(DISABLE_AT24MAC)
8997
AT24Mac _mac;
98+
#endif
9099
uint8_t _mac_addr[8];
91100
RFBits *_rf;
92101
TestPins *_test_pins;
102+
Se2435Pins *_se2435_pa_pins;
93103
bool _mac_set;
94104

95105
const PinName _spi_mosi;

cores/arduino/mbed/components/802.15.4_RF/atmel-rf-driver/source/AT86RF215Reg.h

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ extern "C" {
2626
#define RF24_IRQS 0x01
2727
#define BBC0_IRQS 0x02
2828
#define BBC1_IRQS 0x03
29+
#define RF_AUXS 0x01
2930
#define RF_CFG 0x06
3031
#define RF_IQIFC1 0x0B
3132
#define RF_PN 0x0D
@@ -47,6 +48,8 @@ extern "C" {
4748
#define RF_EDV 0x10
4849
#define RF_TXCUTC 0x12
4950
#define RF_TXDFE 0x13
51+
#define RF_PAC 0x14
52+
#define RF_PADFE 0x16
5053
#define BBC_IRQM 0x00
5154
#define BBC_PC 0x01
5255
#define BBC_RXFLL 0x04
@@ -55,6 +58,9 @@ extern "C" {
5558
#define BBC_TXFLH 0x07
5659
#define BBC_FBLL 0x08
5760
#define BBC_FBLH 0x09
61+
#define BBC_OFDMPHRTX 0x0C
62+
#define BBC_OFDMC 0x0E
63+
#define BBC_OFDMSW 0x0F
5864
#define BBC_OQPSKC0 0x10
5965
#define BBC_OQPSKC1 0x11
6066
#define BBC_OQPSKC2 0x12
@@ -82,6 +88,20 @@ extern "C" {
8288
#define BBC1_FBRXS 0x3000
8389
#define BBC1_FBTXS 0x3800
8490

91+
// RF_AUXS
92+
#define EXTLNABYP (1 << 7)
93+
#define AGCMAP 0x60
94+
#define AGCMAP_2 (2 << 5)
95+
#define AVEN (1 << 3)
96+
97+
// RF_PAC
98+
#define TXPWR 0x1F
99+
#define TXPWR_11 (11 << 0)
100+
101+
// RF_PADFE
102+
#define PADFE 0xC0
103+
#define RF_FEMODE3 (3 << 6)
104+
85105
// RF_AGCC
86106
#define AGCI (1 << 6)
87107
#define AVGS 0x30
@@ -90,7 +110,7 @@ extern "C" {
90110
// RF_AGCS
91111
#define TGT 0xE0
92112
#define TGT_1 (1 << 5)
93-
113+
#define TGT_3 (3 << 5)
94114

95115
// RF_RXBWC
96116
#define BW 0x0F
@@ -131,6 +151,7 @@ extern "C" {
131151
// RF_TXDFE, RF_RXDFE
132152
#define RCUT 0xE0
133153
#define RCUT_4 (4 << 5)
154+
#define RCUT_3 (3 << 5)
134155
#define RCUT_2 (2 << 5)
135156
#define RCUT_1 (1 << 5)
136157
#define RCUT_0 (0 << 5)
@@ -144,6 +165,41 @@ extern "C" {
144165
#define SR_2 (2 << 0)
145166
#define SR_1 (1 << 0)
146167

168+
// BBC_OFDMPHRTX
169+
#define MCS 0x07
170+
#define MCS_0 (0 << 0)
171+
#define MCS_1 (1 << 0)
172+
#define MCS_2 (2 << 0)
173+
#define MCS_3 (3 << 0)
174+
#define MCS_4 (4 << 0)
175+
#define MCS_5 (5 << 0)
176+
#define MCS_6 (6 << 0)
177+
178+
// BBC_OFDMC
179+
#define SSRX 0xC0
180+
#define SSRX_0 (0 << 6)
181+
#define SSRX_1 (1 << 6)
182+
#define SSRX_2 (2 << 6)
183+
#define SSRX_3 (3 << 6)
184+
#define SSTX 0x30
185+
#define SSTX_0 (0 << 4)
186+
#define SSTX_1 (1 << 4)
187+
#define SSTX_2 (2 << 4)
188+
#define SSTX_3 (3 << 4)
189+
#define LFO (1 << 3)
190+
#define POI (1 << 2)
191+
#define OPT 0x03
192+
#define OPT_1 (0 << 0)
193+
#define OPT_2 (1 << 0)
194+
#define OPT_3 (2 << 0)
195+
#define OPT_4 (3 << 0)
196+
197+
// BBC_OFDMSW
198+
#define OFDM_PDT 0xE0
199+
#define OFDM_PDT_5 (5 << 5)
200+
#define OFDM_PDT_4 (4 << 5)
201+
#define OFDM_PDT_3 (3 << 5)
202+
147203
// BBC_FSKC0
148204
#define BT 0xC0
149205
#define BT_20 (3 << 6)

cores/arduino/mbed/components/802.15.4_RF/atmel-rf-driver/source/AT86RFReg.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ extern "C" {
4848
#define PART_AT86RF212 0x07
4949
#define PART_AT86RF233 0x0B
5050
#define PART_AT86RF215 0x34
51+
#define PART_AT86RF215M 0x36
5152
#define VERSION_AT86RF212 0x01
5253
#define VERSION_AT86RF212B 0x03
5354

cores/arduino/mbed/components/802.15.4_RF/atmel-rf-driver/source/rfbits.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class RFBits {
5151
Timeout cca_timer;
5252
Timer tx_timer;
5353
int init_215_driver(RFBits *_rf, TestPins *_test_pins, const uint8_t mac[8], uint8_t *rf_part_num);
54+
int init_se2435_pa(Se2435Pins *_se2435_pa_pins);
5455
#ifdef MBED_CONF_RTOS_PRESENT
5556
Thread irq_thread;
5657
Thread irq_thread_215;
@@ -70,4 +71,11 @@ class TestPins {
7071
DigitalOut TEST5;
7172
};
7273

74+
class Se2435Pins {
75+
public:
76+
Se2435Pins(PinName csd_pin, PinName ant_sel_pin);
77+
DigitalOut CSD;
78+
DigitalOut ANT_SEL;
79+
};
80+
7381
#endif /* RFBITS_H_ */

cores/arduino/mbed/components/802.15.4_RF/stm-s2lp-rf-driver/stm-s2lp-rf-driver/NanostackRfPhys2lp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
#define S2LP_TEST_PIN_RX D5
6868
#endif
6969

70-
#if defined(TMBED_CONF_S2LP_TEST_PIN_CSMA)
71-
#define S2LP_TEST_PIN_CSMA TMBED_CONF_S2LP_TEST_PIN_CSMA
70+
#if defined(MBED_CONF_S2LP_TEST_PIN_CSMA)
71+
#define S2LP_TEST_PIN_CSMA MBED_CONF_S2LP_TEST_PIN_CSMA
7272
#else
7373
#define S2LP_TEST_PIN_CSMA D4
7474
#endif
@@ -80,7 +80,7 @@
8080
#endif
8181

8282
#if defined(MBED_CONF_S2LP_TEST_PIN_SPARE_2)
83-
#define S2LP_TEST_PIN_SPARE_2 DMBED_CONF_S2LP_TEST_PIN_SPARE_2
83+
#define S2LP_TEST_PIN_SPARE_2 MBED_CONF_S2LP_TEST_PIN_SPARE_2
8484
#else
8585
#define S2LP_TEST_PIN_SPARE_2 D8
8686
#endif

cores/arduino/mbed/components/TARGET_PSA/TARGET_MBED_SPM/COMPONENT_SPE/handles_manager.h

Lines changed: 0 additions & 160 deletions
This file was deleted.

0 commit comments

Comments
 (0)