Skip to content

Commit f8e8bb9

Browse files
author
Owen
authored
Merge pull request #258 from sparkfun/v2-release-prep
2 parents 51ece4e + 687350b commit f8e8bb9

36 files changed

+29
-53
lines changed

Diff for: libraries/Apollo3/examples/Serial/Serial.ino

+1-25
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,11 @@
5050
| | 47
5151
*/
5252

53-
// uncomment to define SERIAL1_TX and SERIAL1_RX as custom pin numbers in case they
54-
// are not defined by default (look up the correct pad <--> pin mapping for your board
55-
#define SERIAL1_TX 35
56-
#define SERIAL1_RX 13
57-
58-
// uncomment to use these names if defined for your board
59-
// (these are also the pins used for Serial1, which is
60-
// available on applicable boards)
61-
#define HAS_SERIAL1
62-
UART mySerial(SERIAL1_TX, SERIAL1_RX);
63-
6453
#define BAUD 115200 // any number, common choices: 9600, 115200, 230400, 921600
6554
#define CONFIG SERIAL_8N1 // a config value from HardwareSerial.h (defaults to SERIAL_8N1)
6655

6756
void setup() {
68-
Serial.begin(BAUD); // set the baud rate with the begin() method
57+
Serial.begin(BAUD); // set the baud rate with the begin() method
6958
Serial.println("\n\nApollo3 - Serial");
7059

7160
// the Apollo3 core supports printf on Serial
@@ -74,23 +63,10 @@ void setup() {
7463
}
7564

7665
Serial.println("\nEcho... (type characters into the Serial Monitor to see them echo back)\n");
77-
78-
79-
#ifdef HAS_SERIAL1
80-
mySerial.begin(BAUD, CONFIG); // specify the config setting as the secnd argument
81-
mySerial.println("\n\nApollo3 - mySerial");
82-
mySerial.println("\nEcho... (type characters into the Serial Monitor to see them echo back)\n");
83-
#endif
8466
}
8567

8668
void loop() {
8769
while(Serial.available()){
8870
Serial.write(Serial.read());
8971
}
90-
91-
#ifdef HAS_SERIAL1
92-
while(mySerial.available()){
93-
mySerial.write(mySerial.read());
94-
}
95-
#endif
9672
}

Diff for: variants/SFE_ARTEMIS/mbed/.asm-symbols

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-DAM_PACKAGE_BGA -DARM_MATH_CM4 -D__CMSIS_RTOS -D__CORTEX_M4 -D__FPU_PRESENT=1 -D__MBED_CMSIS_RTOS_CM
1+
-DAM_PACKAGE_BGA -DARM_MATH_CM4 -DCORDIO_ZERO_COPY_HCI -D__CMSIS_RTOS -D__CORTEX_M4 -D__FPU_PRESENT=1 -D__MBED_CMSIS_RTOS_CM

0 commit comments

Comments
 (0)