Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upd #1

Merged
merged 76 commits into from
Apr 17, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
4be0fbf
Give access over USB MSC to (Q)SPI flash memory on Badge Edition
lyusupov Feb 6, 2021
8e2a3c6
new options to change settings of a Badge over USB: 1) Mass Storage, …
lyusupov Feb 8, 2021
ca78b70
fix of a build regression for Raspberry Pi
lyusupov Feb 8, 2021
f0fd2c2
Badge: BLE MIDI is doing good [skip ci]
lyusupov Feb 8, 2021
6e86b64
illustration of 'Mass Storage' method to change settings of a Badge […
lyusupov Feb 9, 2021
787ccaa
Simplified MIDI and Battery BLE services for ESP32 port [skip ci]
lyusupov Feb 9, 2021
3486ba3
one more option of audio transport for the Badge [skip ci]
lyusupov Feb 10, 2021
eabc497
SkyView EZ: fix against regression of 'Voice Alert' message [skip ci]
lyusupov Feb 10, 2021
ddd851b
SkyView Pi: fix against regression of 'Please wait' splash screen [sk…
lyusupov Feb 10, 2021
398ec04
Barometric sensor data EPD infopage for Badge
lyusupov Feb 11, 2021
8911852
nRF52 build fix
lyusupov Feb 11, 2021
c1ea6a4
SkyView: improved voice alerts logic [skip ci]
lyusupov Feb 11, 2021
47c1c39
Firmware binary 0.11 for SkyView EZ is out [skip ci]
lyusupov Feb 12, 2021
277a587
cosmetic README update [skip ci]
lyusupov Feb 12, 2021
dfca93a
fix against no access to settings when GNSS NMEA is off
lyusupov Feb 13, 2021
edaf81b
value of temperature has been added into LK8EX1 sentence
lyusupov Feb 13, 2021
9abf34d
show NA on OLED when battery voltage value is not available
lyusupov Feb 13, 2021
33c3370
cross-platform settings extension added
lyusupov Feb 13, 2021
66c5778
Badge: BLE Nordic Uart Service has been made optional
lyusupov Feb 14, 2021
88c3227
HIGH level of GPIO7 deactivates battery voltage monitor of Mini [skip…
lyusupov Feb 14, 2021
e519845
make use of Badge blue LED to indicate BLE connection status [skip ci]
lyusupov Feb 15, 2021
4238a09
one more (optional) 0.96" I2C OLED infopage [skip ci]
lyusupov Feb 15, 2021
f57714c
Badge: default h/w board setting is REV_2 [skip ci]
lyusupov Feb 19, 2021
42d8e1e
Badge: E-paper screens cosmetic
lyusupov Feb 20, 2021
d6f2b8d
fix agains regression of build for Raspberry Edition
lyusupov Feb 20, 2021
4e2e937
further improvements of the Badge UI [skip ci]
lyusupov Feb 21, 2021
db758f1
update of the Badge firmware binaries [skip ci]
lyusupov Feb 22, 2021
56e2950
update of AXP192/202 PMU library [skip ci]
lyusupov Feb 27, 2021
9a484f7
SkyView: initial bringup of LilyGO T5 4.7 inch e-Paper display board …
lyusupov Feb 27, 2021
f3a8910
ESP32: transition onto Arduino Core 1.0.5
lyusupov Mar 7, 2021
8187786
update of Travis CI script
lyusupov Mar 7, 2021
611c70d
fix against regression of SkyWatch build
lyusupov Mar 7, 2021
32d2c72
Mini: anticipating appearance of htcc-ab02s-v2 with Air530Z [skip ci]
lyusupov Mar 8, 2021
2fc2b88
SoftRF: enabling of two functions from ESP32 'on hold' list [skip ci]
lyusupov Mar 8, 2021
b7c5067
SoftRF: update of post-init procedure
lyusupov Mar 8, 2021
ff6a085
SkyView EZ: maintenance release 0.12 [skip ci]
lyusupov Mar 8, 2021
0ffddcc
SoftRF: low level sound layer
lyusupov Mar 9, 2021
c6468bd
logic of sound alert
lyusupov Mar 11, 2021
70344f2
new features freeze before release
lyusupov Mar 11, 2021
e9b1abb
ESP32: buzzer volume fix [skip ci]
lyusupov Mar 12, 2021
c4ef24d
More credits to developers of libraries [skip ci]
lyusupov Mar 12, 2021
2e3ac3a
ESP8266: fix against regression of UAV mode ( #99 ) [skip ci]
lyusupov Mar 12, 2021
a22a5e1
clean-up of Battery API
lyusupov Mar 15, 2021
50a4770
SkyView: misc. update of 0.12 firmware binary [skip ci]
lyusupov Mar 15, 2021
c5b3fbb
Current state is good enough to qualify it as 1.0-RC9
lyusupov Mar 15, 2021
7c66f82
RC9 firmware binaries for ESP8266, ESP32, ASR6502 and nRF52840 [skip ci]
lyusupov Mar 15, 2021
40b22e1
RC9 firmware binaries for Dongle (S76G) and Uni (CC1352) Editions [sk…
lyusupov Mar 16, 2021
b14a1c4
Uni and Mini: PFLAU NMEA sentence extension is back on [skip ci]
lyusupov Mar 20, 2021
4e5da59
give some space for other nRF52 firmware binaries [skip ci]
lyusupov Mar 31, 2021
dd5f9c3
few files for nRF52 port of iLogger (Flight Recorder) [skip ci]
lyusupov Mar 31, 2021
d914d6e
rest of files for iLogger port onto nRF52 plarform [skip ci]
lyusupov Mar 31, 2021
3a4d784
UF2 binary of CircuitPython6 interpreter for LilyGO T-Echo - 'QSPI fl…
lyusupov Mar 31, 2021
123b99e
misc. update of one Mini illustration [skip ci]
lyusupov Apr 4, 2021
2cba567
update of status gen. URL [skip ci]
lyusupov Apr 5, 2021
1c962ed
update of reference on multiple units usage guidance [skip ci]
lyusupov Apr 5, 2021
8437f20
iLogger: GNSS and air pressure sensors has been sorted out [skip ci]
lyusupov Apr 7, 2021
692344f
update of the Badge enclosure: 1) base frame [skip ci]
lyusupov Apr 7, 2021
3ae5a08
update of the Badge enclosure: 2) front [skip ci]
lyusupov Apr 7, 2021
25070bd
update of Badge illustrations [skip ci]
lyusupov Apr 8, 2021
9eab924
two more illustrations of the Badge [skip ci]
lyusupov Apr 8, 2021
e2db565
update of the Badge enclosure page [skip ci]
lyusupov Apr 8, 2021
f7e0cab
RF loopback detector
lyusupov Apr 9, 2021
55432da
SoftRF: update of RC9 firmware binaries for ESP32 and ASR6502 [skip ci]
lyusupov Apr 10, 2021
6ec2653
nRF52: SoftSPI library is no longer in use [skip ci]
lyusupov Apr 10, 2021
54bf4e1
XCSoar7 preview binaries are no longer in use [skip ci]
lyusupov Apr 10, 2021
0f47b9e
few more illustrations for Badge wiki [skip ci]
lyusupov Apr 10, 2021
80812ac
misc. update of RC9 binaries for S76G [skip ci]
lyusupov Apr 12, 2021
54e0afb
one more power saving option added
lyusupov Apr 12, 2021
065660a
space allocation for 0.49" OLED driver
lyusupov Apr 12, 2021
0a18e4d
T-Echo REV2 bringup quirks [skip ci]
lyusupov Apr 13, 2021
5cf3eab
low power sleep for T-Echo REV_2 [skip ci]
lyusupov Apr 13, 2021
504e92a
T-Echo sleep current is reduced down to 150uA. Thank you for the tip,…
lyusupov Apr 13, 2021
79c2735
Badge: default traffic ID info is the aircraft type [skip ci]
lyusupov Apr 15, 2021
14b40b3
Badge: minor update of the UTC clock logic [skip ci]
lyusupov Apr 15, 2021
cd190ef
Badge: fix for UTC clock 'cosmetic' issue [skip ci]
lyusupov Apr 15, 2021
0a092db
update of RC9 firmware binaries for nRF52 platform [skip ci]
lyusupov Apr 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Badge: default h/w board setting is REV_2 [skip ci]
  • Loading branch information
lyusupov committed Feb 19, 2021
commit f57714cd32c96fd36bf54bbca5f6109717d12c7e
Binary file not shown.
3 changes: 2 additions & 1 deletion software/firmware/source/SoftRF/src/driver/Bluetooth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,8 @@ void nRF52_Bluetooth_setup()
// Configure and Start Device Information Service
bledis.setManufacturer("SoftRF");
bledis.setModel("Badge Edition");
bledis.setHardwareRev("2020-08-15");
bledis.setHardwareRev(hw_info.revision == 0 ? "2020-8-6" :
hw_info.revision == 1 ? "2020-12-12" : "2021-1-15");
bledis.setSoftwareRev(SOFTRF_FIRMWARE_VERSION);
bledis.begin();

Expand Down
38 changes: 8 additions & 30 deletions software/firmware/source/SoftRF/src/platform/nRF52.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ static struct rst_info reset_info = {

static uint32_t bootCount = 0;

static nRF52_board_id nRF52_board = NRF52_NORDIC_PCA10059; /* default */
static nRF52_board_id nRF52_board = NRF52_LILYGO_TECHO_REV_2; /* default */
//static nRF52_board_id nRF52_board = NRF52_LILYGO_TECHO_REV_0;

PCF8563_Class *rtc = nullptr;
I2CBus *i2c = nullptr;
Expand Down Expand Up @@ -148,7 +149,7 @@ static Adafruit_SPIFlash *SPIFlash = NULL;
#define MX25R1635F \
{ \
.total_size = (1 << 21), /* 2 MiB */ \
.start_up_time_us = 5000, .manufacturer_id = 0xc2, \
.start_up_time_us = 5000, .manufacturer_id = 0xc2, \
.memory_type = 0x28, .capacity = 0x15, .max_clock_speed_mhz = 8, \
.quad_enable_bit_mask = 0x40, .has_sector_protection = false, \
.supports_fast_read = true, .supports_qspi = true, \
Expand Down Expand Up @@ -275,41 +276,18 @@ static void nRF52_setup()
#endif

digitalWrite(SOC_GPIO_PIN_IO_PWR, HIGH);
digitalWrite(SOC_GPIO_PIN_3V3_PWR, LOW); /* PWR_EN is OFF */
pinMode(SOC_GPIO_PIN_3V3_PWR, OUTPUT);
delay(100);
pinMode(SOC_GPIO_PIN_IO_PWR, OUTPUT); /* VDD_POWR is ON */
digitalWrite(SOC_GPIO_PIN_3V3_PWR, INPUT);

if (SoC->Battery_voltage() > BATTERY_THRESHOLD_INVALID) { /* VBUS is ON */
nRF52_board = NRF52_LILYGO_TECHO_REV_0;
pinMode(SOC_GPIO_PIN_IO_PWR, OUTPUT); /* VDD_POWR is ON */
pinMode(SOC_GPIO_PIN_3V3_PWR, INPUT);
} else {
pinMode(SOC_GPIO_PIN_IO_PWR, OUTPUT); /* VDD_POWR is ON */
delay(100);

if (SoC->Battery_voltage() > BATTERY_THRESHOLD_INVALID) {
nRF52_board = NRF52_LILYGO_TECHO_REV_0;
pinMode(SOC_GPIO_PIN_3V3_PWR, INPUT);
} else {
digitalWrite(SOC_GPIO_PIN_3V3_PWR, HIGH); /* PWR_EN is ON */
delay(100);

if (SoC->Battery_voltage() > BATTERY_THRESHOLD_INVALID) {
nRF52_board = NRF52_LILYGO_TECHO_REV_2;
} else {
pinMode(SOC_GPIO_PIN_3V3_PWR, INPUT);
pinMode(SOC_GPIO_PIN_IO_PWR, INPUT);
}
}
}
delay(200);

Wire.setPins(SOC_GPIO_PIN_SDA, SOC_GPIO_PIN_SCL);

Wire.begin();
Wire.beginTransmission(PCF8563_SLAVE_ADDRESS);
nRF52_has_rtc = (Wire.endTransmission() == 0);
if (nRF52_has_rtc) {
hw_info.model = SOFTRF_MODEL_BADGE;
if (!nRF52_has_rtc) {
nRF52_board = NRF52_NORDIC_PCA10059;
}

if (nRF52_board == NRF52_LILYGO_TECHO_REV_0) {
Expand Down
2 changes: 1 addition & 1 deletion software/firmware/source/SoftRF/src/ui/Baro_EPD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void EPD_baro_loop()

display->setFont(&FreeMono12pt7b);

x = 7 * display->width() / 10;
x = 8 * display->width() / 10;

display->setCursor(x, (3 * display->height() / 10));
display->print("M");
Expand Down