ravenlrs / raven Goto Github PK
View Code? Open in Web Editor NEWRaven Long Range System
License: GNU General Public License v3.0
Raven Long Range System
License: GNU General Public License v3.0
Both have sx1276 and stm32, first STM32L052C8, second STM32L151CB.
I've noticed that when setting the pilot/craft name via the LUA scripts trailing spaces are kept as you cycle through them. Erasing the module's flash is one way to get rid of them.
I bought an sx1278 works on 433m, but I don't know whether it can be supported by software.
Some ideas? I hate to waste my money:-(
Since 4ef1b6e I get the following compile error with TARGET=esp32_lora_ttgo_oled_v1_868_915_rx:
/home/m/esp/raven/main/./main.c: In function 'setting_changed':
/home/m/esp/raven/main/./config/settings.h:123:38: error: 'SETTING_KEY_RX_PREFIX' undeclared (first use in this function)
#define SETTING_KEY_RX_FS_SET_CUSTOM SETTING_KEY_RX_PREFIX "fs_set_cust"
^
/home/m/esp/raven/main/./config/settings.h:170:49: note: in definition of macro 'SETTING_IS'
#define SETTING_IS(setting, k) (setting->key == k)
^
/home/m/esp/raven/main/./main.c:121:29: note: in expansion of macro 'SETTING_KEY_RX_FS_SET_CUSTOM'
if (SETTING_IS(setting, SETTING_KEY_RX_FS_SET_CUSTOM))
^
/home/m/esp/raven/main/./config/settings.h:123:38: note: each undeclared identifier is reported only once for each function it appears in
#define SETTING_KEY_RX_FS_SET_CUSTOM SETTING_KEY_RX_PREFIX "fs_set_cust"
^
/home/m/esp/raven/main/./config/settings.h:170:49: note: in definition of macro 'SETTING_IS'
#define SETTING_IS(setting, k) (setting->key == k)
^
/home/m/esp/raven/main/./main.c:121:29: note: in expansion of macro 'SETTING_KEY_RX_FS_SET_CUSTOM'
if (SETTING_IS(setting, SETTING_KEY_RX_FS_SET_CUSTOM))
^
/home/m/esp/raven/main/./config/settings.h:123:60: error: expected ')' before string constant
#define SETTING_KEY_RX_FS_SET_CUSTOM SETTING_KEY_RX_PREFIX "fs_set_cust"
^
/home/m/esp/raven/main/./config/settings.h:170:49: note: in definition of macro 'SETTING_IS'
#define SETTING_IS(setting, k) (setting->key == k)
^
/home/m/esp/raven/main/./main.c:121:29: note: in expansion of macro 'SETTING_KEY_RX_FS_SET_CUSTOM'
if (SETTING_IS(setting, SETTING_KEY_RX_FS_SET_CUSTOM))
^
/home/m/esp/raven/lib/esp-idf/make/component_wrapper.mk:273: recipe for target 'main.o' failed
make[2]: *** [main.o] Error 1
make[2]: Leaving directory '/home/m/esp/raven/build-esp32_lora_ttgo_oled_v1_868_915_rx/main'
/home/m/esp/raven/lib/esp-idf/make/project.mk:450: recipe for target 'component-main-build' failed
make[1]: *** [component-main-build] Error 2
make[1]: Leaving directory '/home/m/esp/raven'
Makefile:126: recipe for target 'esp32_lora_ttgo_oled_v1_868_915_rx' failed
make: *** [esp32_lora_ttgo_oled_v1_868_915_rx] Error 2
any ideas?
When trying to build with this simple patch, I am having a strange error:
In file included from lib/libopencm3/include/libopencm3/stm32/f1/gpio.h:39,
from main/target/platforms/stm32/main.c:2:
lib/libopencm3/include/libopencm3/stm32/common/gpio_common_all.h:72:12: error: expected ';' before 'void'
BEGIN_DECLS
^
;
Simply removing the DECLS macros resolves the issue.
I do not have any problem building libopencm3-examples, and the error remains in raven after pulling in libopencm3 master. This leads me to believe this is some problem with raven.
This script demonstrate the issue and the results can be seen here.
arm-none-eabi-gcc -v && \
git clone https://github.com/RavenLRS/raven && \
cd raven && \
git submodule update --init --recursive && \
TARGET=stm32f1_blackpill_rx make && \
curl https://github.com/jaxxzer/raven/commit/e92aa5b8741c96064abdf3f8e1c467bf06b603df.patch | git apply && \
git diff && \
TARGET=stm32f1_blackpill_rx make
The SpeedyBee app connects to the RX, but fails to initialize after having searched for services (MSP output selected on RX).
Tested on Android.
If Auto Craft Name is enabled, the default value of "---" is displayed instead of what the MSP_NAME
payload reports.
Tested with iNav 2.0.1 and MSP output on the RX.
Can you tell me your mailbox address?I want to discuss some problems with you and redesign a PCB.
The current F/S behavior for the direct PWM output protocol is equivalent to OpenTX's "Hold": the outputs aren't updated until the TX reconnects. This may be dangerous for crafts that use Raven without an FC.
It would be useful if F/S options mirrored the ones canonically available on radios: Hold, No Pulses (or, better yet, THR to 0% and all the other channels centered), Custom (current sticks position when setting F/S).
The RX settings could be expanded to include additional entries when the Channels or SBUS (for the sake of completeness) protocols are selected:
I find this project is very interesting. A very good idea, well done! I'd like to try this out. However, before I started testing/building it, I'd like to clarify something.
I've heard that LoRa is designed for long range communication mainly for IoT devices, where reliability or, another words, frame drops are not important. Hence, a logical question arises, is it really can be used for controlling drones?
Have you guys done any reliability tests?
Cheers.
I have created a docker image that can easily to setup build environment, the repo is here: https://github.com/doskoi/RavenLRS
It has been tested on Docker CE on macOS Mojave and Windows 10 Pro, Linux Mint 19 (apt install docker.io)
You can have some tests, and put this in README to help users to use raven. or fork this into your project.
Both modules should be their defaults. I had done a make erase_flash on them. (running in 868 mode) Plugging in my 3rd module - (2nd tx) that the oled isn't working (#1) I can see another pop up on p2p in the corner and in the make monitor, but no bind option.
Also I did verify that with the OLED_LoRa_Sender and OLED_LoRa_Receiver arduino programs that the are able to send and receive.
RX make monitor then plugging in TX
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip:: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5556
load:0x40078000,len:0
load:0x40078000,len:13756
entry 0x40078fb4
I (28) boot: ESP-IDF v3.0-dirty 2nd stage bootloader
I (28) boot: compile time 09:11:55
I (39) boot: Enabling RNG early entropy source...
I (39) boot: SPI Speed : 40MHz
I (39) boot: SPI Mode : DIO
I (43) boot: SPI Flash Size : 4MB
I (47) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (58) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (73) boot: 2 factory factory app 00 00 00010000 00100000
I (81) boot: End of partition table
I (85) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x362ac (221868) map
I (171) esp_image: segment 1: paddr=0x000462d4 vaddr=0x3ffc0000 size=0x05b6c ( 23404) load
I (181) esp_image: segment 2: paddr=0x0004be48 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _WindowOverflow4 at F:/msys32/home/windo/esp/esp-idf/components/freertos/xtensa_
vectors.S:1685
I (182) esp_image: segment 3: paddr=0x0004c250 vaddr=0x40080400 size=0x03dc0 ( 15808) load
I (196) esp_image: segment 4: paddr=0x00050018 vaddr=0x400d0018 size=0x9a964 (633188) map
0x400d0018: _flash_cache_start at ??:?
I (420) esp_image: segment 5: paddr=0x000ea984 vaddr=0x400841c0 size=0x139a8 ( 80296) load
0x400841c0: spi_flash_disable_interrupts_caches_and_other_cpu at F:/msys32/home/windo/esp/es
p-idf/components/spi_flash/cache_utils.c:115
I (454) esp_image: segment 6: paddr=0x000fe334 vaddr=0x400c0000 size=0x00064 ( 100) load
I (468) boot: Loaded app from partition at offset 0x10000
I (468) boot: Disabling RNG early entropy source...
I (469) cpu_start: Pro cpu up.
I (472) cpu_start: Starting app cpu, entry point is 0x400810e8
0x400810e8: call_start_cpu1 at F:/msys32/home/windo/esp/esp-idf/components/esp32/cpu_start.c
:215
I (0) cpu_start: App cpu up.
I (483) heap_init: Initializing. RAM available for dynamic allocation:
I (490) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (496) heap_init: At 3FFD6700 len 00009900 (38 KiB): DRAM
I (502) heapp_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (508) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (515) heap_init: At 40097B68 len 00008498 (33 KiB): IRAM
I (521) cpu_start: Pro cpu start user code
I (203) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (302) config: Module addr is 88:2E:5F:D5:4B:44
I (304) wifi: wifi firmware version: 6450435
I (304) wifi: config NVSS flash: enabled
I (304) wifi: config nano formating: disabled
I (308) system_api: Base MAC address is not set, read default base MAC address from BLK0 of
EFUSE
I (318) system_api: Base MAC address is not set, read default base MAC address from BLK0 of
EFUSE
I (356) wifi: Init dynamic tx buffer num: 32
I (356) wifi: Init data frame dynamic rx buffer num: 32
I (356) wifi: Init management frame dynamic rx buffer num: 32
I (360) wifi: wifi driver task: 3ffd8a6c, prio:23, stack:4096
I (365) wifi: Init static rx buffer num: 10
I (369) wifi: Init dynamic rx buffer num: 32
I (373) wifi: wifi power manager task: 0x3ffd8bd4 prio: 21 stack: 2560
I (379) wifi: set country: cc=XXX schan=1 nchan=14 policy=1
W (386) wifi: ap start fail
I (388) Settings: Setting bind changed
I (392) BTDM_INIT: BT controller compile version [8c188895]
I (399) system_api: Base MAC address is not set, read default base MAC address from BLK0 of
EFUSE
I (463) LoRa: Got LoRa chip version 18
I (466) RC: Reconfigure input
I (471) RC: Starting bind
I (471) RC: Input invalidated
I (472) RC: Reconfigure input
I (473) Input.Air.Bind: Open
I (699) phy: phy_version: 366.0, ba9923d, Dec 29 2017, 14:25:06, 1, 0
I (793) wifi: mode : null
I (794) wifi: ic_enable_sniffer
I (847) screen.i2c: u8g2_InitDisplay
I (847) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 1| Intr:
0
I (854) screen.i2c: u8g2_SetPowerSave
I (9690) RMP: Added p2p peer (can authenticate: N)
TX make monitor - then plugging in RX
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv::0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5556
load:0x40078000,len:0
load:0x400788000,len:13756
entry 0x40078fb4
I (28) boot: ESP-IDF v3.0-dirty 22nd stage bootloader
I (28) boot: compile time 17:45:00
I (39) boot: Enabling RNG early entropy source...
I (39) boot: SPI Speed : 40MHz
I (39) boot: SPI Mode : DIO
I (43) boot: SPI Flash Size : 4MB
I (47) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (58) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (73) boot: 2 factory factory app 00 00 00010000 00100000
I (81) boot: End of partition table
I (85) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 sizze=0x36204 (221700) map
I (171) esp_image: segment 1: paddr=0x0004622c vaddr=0x3ffc0000 size=0x059e4 ( 23012) load
I (181) esp_image: segment 2: paddr=0x0004bc18 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _WindowOverflow4 at F:/msys32/home/windo/esp/esp-idf/components/freertos/xtensa_
vectors.S:1685
I (181) esp_image: segment 3: paddr=0x0004c020 vaddr=0x40080400 size=0x03ff0 ( 16368) load
I (196) esp_image: segment 4: paddr=0x00050018 vaddr=0x400d0018 size=0x99318 (627480) map
0x400d0018: _flash_cache_start at ??:?
I (418) esp_image: segment 5: paddr=0x000e9338 vaddr=0x4000843f0 size=0x13574 ( 79220) load
0x400843f0: spi_flash_ensure_unmodified_region at F:/msys32/home/windo/esp/esp-idf/component
s/spi_flash/flash_mmap.c:318
I (451) esp_image: segment 6: paddr=0x000fc8b4 vaddr=0x400c0000 size=0x00064 ( 100) load
I (465) boot: Loaded app from partition at offset 0x10000
I (466) boot: Disabling RNG early entropy source...
I (466) cpu_start: Pro cpu up.
I (470) cpu_start: Starting app cpu, entry point is 0x400810d4
0x400810d4: start_cpu1_default at F:/msys32/home/windo/esp/esp-idf/components/esp32/cpu_star
t.c:387
I (0) cpu_start: App cpu up.
I (480) heap_init: Initializing. RAM available for dynamic allocation:
I (487) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (493) heap__init: At 3FFD6578 len 00009A88 (38 KiB): DRAM
I (499) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (505) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (512) heap_init: At 40097964 len 0000869C (33 KiB): IRAM
I (518) cpu_start: Pro cpu start user code
I (201) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (302) config: Module addr is 8B:E1:4B:7A:0F:6D
I (305) wifi: wifi firmware version: 6450435
I (305) wifi: config NVS flash: enabled
I (305) wifi: config nano formating: disabled
I (309) system_api: Base MAC address is not set, read default bbase MAC address from BLK0 of
EFUSE
I (318) system_api: Base MAC address is not set, read default base MAC address from BLK0 of
EFUSE
I (355) wifi: Init dynamic tx buffer num: 32
I (356) wifi: Init data frame dynamic rx buffer num: 32
I (356) wifi: Init management frame dynamic rx buffer num: 32
I (359) wifi: wifi driver task: 3ffdf02c, prio:23, stack:4096
I (365) wifi: Init static rx buffer num: 10
I (368) wifi: Init dynamic rx buffer num: 32
I (372) wifi: wifi power manager task: 0x3ffe3a64 prio: 21 stack: 2560
I (379) wifi: set country: cc=XXX schan=1 nchan=14 policy=1
W (385) wifi: ap start fail
I (388) Settings: Setting bind changed
I (391) BTDM_INIT: BT controller compile version [8c18895]
I (398) system_api: Base MAC address is not set, read default base MAC address from BLK0 of
EFUSE
I (462) LoRa: Got LoRa chip version 18
I (465) RC: Reconfigure input
I (469) RC: Starting bind
I (472) Output.Air.Bind: Start bind
I (672) phy: phy_version: 366.0, ba9923d, Dec 29 2017, 14:25:06, 1, 0
I (761) wifi: mode : null
I (761) wifi: ic_enable_sniffer
I (815) screen.i2c: u8g2_InitDisplay
I ((815) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 1| Intr
:0
I (822) screen.i2c: u8g2_SetPowerSave
I (11276) RMP: Added p2p peer (can authenticate: N)
I have two 915 modules that the OLED doesn't work after flashing from stock. The Arduino OLED_LoRa_Sender project works with with the OLED which use the same pins as raven (4, 15, 16 and i2c address of 0x3c). On my other 2 modules of a different brand - the Oled does work.
MONITOR
--- idf_monitor on COM7 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x000,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5556
load:0x40078000,len:0
load:0x40078000,len:13756
entry 0x40078fb4
I (28) boot: ESP-IDF v3.0-dirty 2nd stage bootloader
I (28) boot: compile time 17:45:00
I (29) boot: Enabling RNG early entropy source...
I (33) boot: SPI Speed : 40MHz
I (37) boot: SPI Mode : DIO
I (41) boot: SPI Flash Size : 4MB
I (45) boot: Partition Table:
I (49) boot: ## Label Usage Type ST Offset Length
I (56) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (63) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (71) boot: 2 factory factoory app 00 00 00010000 00100000
I (78) boot: End of partition table
I (83) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x36204 (221700) map
I (169) esp_image: segment 1: paddr=0x0004622c vaddr=0x3ffc0000 size=0x059e4 ( 23012) load
I (178) esp_image: segment 2: paddr=0x0004bc18 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _WindowOverflow4 at F:/msys32/home/windo/esp/esp-idf/components/freertos/xtensa_
vectors.S:1685
I (179) esp_image: segment 3: paddr=0x0004c020 vaddr=0x40080400 size=0x03ff0 ( 16368) load
I (194) esp_image: segment 4: paddr=0x00050018 vaddr=0x400d0018 size=0x99318 (627480) map
0x400d0018: _flash_cache_start at ??:?
I (416) esp_image: segment 5: paddr=0x000e9338 vaddr=0x400843f0 size=0x13574 ( 79220) load
0x400843f0: update_written_pages at F:/msys32/home/windo/esp/esp-idf/components/spi_flash/fl
ash_mmap.c:318
(inlined by) spi_flash_ensure_unmodified_region at F:/msys32/home/windo/esp/esp-idf/compone
nts/spi_flash/flash_mmap.c:344
I (449) esp_image: segment 6: paddr=0x000fc8b4 vaddr=0x400c0000 size=0x00064 ( 100) load
I (463) boot: Loaded app from partition at offset 0x10000
I (463) boot: Disabling RNG early entropy source...
I (464) cpu_start: Pro cpu up.
I (468) cpu_start: Starting app cpu, entry point is 0x400810d4
0x400810d4: call_start_cpu1 at F:/msys32/home/windo/esp/esp-idf/components/esp32/cpu_start.c
:215
I (0) cpu_start: App cpu up.
I (478) heap_init: Initializing. RAM available for dynamic allocation:
I (485) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (491) heap_init: At 3FFD6578 len 00009A88 (38 KiB): DRAM
I (497) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (503) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (510) heap_init: At 40097964 len 0000869C (33 KiB): IRAM
I (516) cpu_start: Pro cpu start user code
I (199) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (324) config: Module addr is 63:9D:0C:E9:A5:51
I (327) wifi: wifi firmware version: 6450435
I (327) wifi: config NVS flash: enabled
I (327) wifi: config nano formating: disabled
I (331) system_api: Base MAC address is not set, read default base MAC address from BLK0 of
EFUSE
I (340) system_api: Base MAC address is not set, read default base MAC address from BLK0 of
EFUSE
I (368) wifi: Init dynamic tx buffer num: 32
I ((368) wifi: Init data frame dynamic rx buffer num: 32
I (368) wifi: Init management frame dynamic rx buffer num: 32
I (372) wifi: wifi driver task: 3ffe045c, prio:23, stack:4096
I (377) wifi: Init static rx buffer num: 10
I (381) wifi: Init dynamic rx buffer num: 32
I (385) wifi: wifi power manager task: 0x3ffe540c prio: 21 stack: 2560
I (391) wifi: set country: cc=XXX schan=1 nchan=14 policy=1
W (3988) wifi: ap start fail
I (400) Settings: Setting bind changed
I (404) BTDM_INIT: BT controller compile version [8c18895]
I (410) system_api: Base MAC address is not set, read default base MAC address from BLK0 of
EFUSE
I (475) LoRa: Got LoRa chip version 18
I (478) RC: Reconfigure input
I (482) RC: Starting bind
I (485) Output.Air.Bind: Start bind
I (676) phy: phy_version: 366.0, ba9923d, Dec 29 2017, 14:25:06, 1, 0
I (764) wifi: mode : null
I (765) wifi: ic_enable_sniffer
I (818) screen.i2c: u8g2_InitDisplay
I (818) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 1| Intr:
0
I (824) screen.i2c: u8g2_SetPowerSave
The Auto
setting for RSSI Channel
on the RX follows the setting's own enum values, not channel ones.
The battery capacity in the third telemetry screen is labeled as mAh
even if the fw is set to mWh
for flight time estimation purposes.
iNav's CLI settings to refer to are battery_capacity
& battery_capacity_unit
.
hi developer
Can you show me a video test it work or a flight ? i real impressive with your work .
In schematic modul TX , i not see pin connect to pin number one Taranis ,??
Hi,
kindly upload the instruction as soon as possible,
thanks
The RSSI value does not get injected in RC channels, neither when set to Auto nor when to a specific channel.
Tested on MSP/CRSF/FPort.
Telemetry works but not all iNav sensors are reported: most of the ones needed for the LUA script are not discovered/sent. Tested on MSP/CRSF/FPort.
References:
Is the project dead? Maybe it would make sense to communicate the current state of the project.
please close topic Thanks
When I try to disable "Auto Craft Name" using the "crossfire.lua" script my receiver crashes with the following log:
I (46576) STORAGE_HAL: Setting rx.auto_craft_name with size 1 to
I (46583) STORAGE_HAL: 00
ESP_ERROR_CHECK failed: esp_err_t 0x1109 at 0x4016923a
0x4016923a: storage_hal_set_blob at /home/kevin/Dokumente/Projekte/Github/raven/components/hal-esp32/./storage.c:35 (discriminator 1)
file: "/home/kevin/Dokumente/Projekte/Github/raven/components/hal-esp32/./storage.c" line 35
func: storage_hal_set_blob
expression: nvs_set_blob(storage_hal->nvs_handle, key, buf, size)
Backtrace: 0x4008cdac:0x3ffe1040 0x4008d119:0x3ffe1060 0x4016923a:0x3ffe1080 0x4010ee41:0x3ffe10b0 0x4010bdf9:0x3ffe10e0 0x4010be5a:0x3ffe1100 0x4010c496:0x3ffe1120 0x4010ca9d:0x3ffe1140 0x40111161:0x3ffe12d0 0x4010e905:0x3ffe1330 0x40168ec5:0x3ffe1370 0x400e99e1:0x3ffe1390 0x400ec552:0x3ffe13b0
0x4008cdac: invoke_abort at /home/kevin/Dokumente/Projekte/esp32/esp-idf/components/esp32/./panic.c:572
0x4008d119: _esp_error_check_failed at /home/kevin/Dokumente/Projekte/esp32/esp-idf/components/esp32/./panic.c:584
0x4016923a: storage_hal_set_blob at /home/kevin/Dokumente/Projekte/Github/raven/components/hal-esp32/./storage.c:35 (discriminator 1)
0x4010ee41: storage_set_u8 at /home/kevin/Dokumente/Projekte/Github/raven/main/platform/storage.c:103
0x4010bdf9: setting_save at /home/kevin/Dokumente/Projekte/Github/raven/main/config/settings.c:1027
0x4010be5a: setting_changed at /home/kevin/Dokumente/Projekte/Github/raven/main/config/settings.c:1027
0x4010c496: setting_set_u8 at /home/kevin/Dokumente/Projekte/Github/raven/main/config/settings.c:1027
0x4010ca9d: settings_rmp_handler at /home/kevin/Dokumente/Projekte/Github/raven/main/config/settings_rmp.c:389
0x40111161: rmp_process_message at /home/kevin/Dokumente/Projekte/Github/raven/main/rmp/rmp.c:507
0x4010e905: p2p_hal_callback at /home/kevin/Dokumente/Projekte/Github/raven/main/p2p/p2p.c:110
0x40168ec5: promiscuous_rx_packet_handler at /home/kevin/Dokumente/Projekte/Github/raven/components/hal-esp32/./p2p.c:121 (discriminator 1)
0x400e99e1: ppProcessRxPktHdr at ??:?
0x400ec552: ppTask at ??:?
Same for "FPort/SBUS/S.Port Inverted"
I (286845) STORAGE_HAL: Setting rx.fport_inverted with size 1 to
I (286852) Output.FPort: Open
I (286856) STORAGE_HAL: 01
ESP_ERROR_CHECK failed: esp_err_t 0x1109 at 0x4016923a
0x4016923a: storage_hal_set_blob at /home/kevin/Dokumente/Projekte/Github/raven/components/hal-esp32/./storage.c:35 (discriminator 1)
file: "/home/kevin/Dokumente/Projekte/Github/raven/components/hal-esp32/./storage.c" line 35
func: storage_hal_set_blob
expression: nvs_set_blob(storage_hal->nvs_handle, key, buf, size)
Backtrace: 0x4008cdac:0x3ffdf9c0 0x4008d119:0x3ffdf9e0 0x4016923a:0x3ffdfa00 0x4010ee41:0x3ffdfa30 0x4010bdf9:0x3ffdfa60 0x4010be5a:0x3ffdfa80 0x4010c496:0x3ffdfaa0 0x4010ca9d:0x3ffdfac0 0x40111161:0x3ffdfc50 0x4010e905:0x3ffdfcb0 0x40168ec5:0x3ffdfcf0 0x400e99e1:0x3ffdfd10 0x400ec552:0x3ffdfd30
0x4008cdac: invoke_abort at /home/kevin/Dokumente/Projekte/esp32/esp-idf/components/esp32/./panic.c:572
0x4008d119: _esp_error_check_failed at /home/kevin/Dokumente/Projekte/esp32/esp-idf/components/esp32/./panic.c:584
0x4016923a: storage_hal_set_blob at /home/kevin/Dokumente/Projekte/Github/raven/components/hal-esp32/./storage.c:35 (discriminator 1)
0x4010ee41: storage_set_u8 at /home/kevin/Dokumente/Projekte/Github/raven/main/platform/storage.c:103
0x4010bdf9: setting_save at /home/kevin/Dokumente/Projekte/Github/raven/main/config/settings.c:1027
0x4010be5a: setting_changed at /home/kevin/Dokumente/Projekte/Github/raven/main/config/settings.c:1027
0x4010c496: setting_set_u8 at /home/kevin/Dokumente/Projekte/Github/raven/main/config/settings.c:1027
0x4010ca9d: settings_rmp_handler at /home/kevin/Dokumente/Projekte/Github/raven/main/config/settings_rmp.c:389
0x40111161: rmp_process_message at /home/kevin/Dokumente/Projekte/Github/raven/main/rmp/rmp.c:507
0x4010e905: p2p_hal_callback at /home/kevin/Dokumente/Projekte/Github/raven/main/p2p/p2p.c:110
0x40168ec5: promiscuous_rx_packet_handler at /home/kevin/Dokumente/Projekte/Github/raven/components/hal-esp32/./p2p.c:121 (discriminator 1)
0x400e99e1: ppProcessRxPktHdr at ??:?
0x400ec552: ppTask at ??:?
I've added this log output right before the error
ESP_LOGI("STORAGE_HAL", "Setting %s with size %d to", key, size);
ESP_LOG_BUFFER_HEX_LEVEL("STORAGE_HAL", buf, size, ESP_LOG_INFO);
I am using the TTGO V1 module without a display and flashed both with
make TARGET=esp32_lora_ttgo_v1_868_915_tx PORT=/dev/ttyUSB0 erase flash monitor
make TARGET=esp32_lora_ttgo_v1_868_915_rx PORT=/dev/ttyUSB1 erase flash monitor
I already swapped the modules with each other and writing other settings is working fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.