inav icon indicating copy to clipboard operation
inav copied to clipboard

INAV 1.2RC1 LED page

Open khomouda opened this issue 10 years ago • 20 comments

In the last commits, there is a problem accessing the LED strip page in configurators and increasing packet errors, which will need disconnecting and reconnecting without accessing the LED strip page board is SPRACINGF3

khomouda avatar Aug 11 '16 18:08 khomouda

Did you try opening Configuration and Failsafe tabs as well? Do they work in 1.2 RC1?

chemmex avatar Aug 13 '16 08:08 chemmex

yes I tried and they are all working. I am using always the last commit, the LED page is working in Naze targetonly if the LED strip is undefined, but if it is it will not work

khomouda avatar Aug 13 '16 10:08 khomouda

Latest configurator as well ?

gaelj avatar Aug 13 '16 12:08 gaelj

yes

khomouda avatar Aug 14 '16 14:08 khomouda

I can't configure led strip on Naze on both configurators. Option for ordering simply doesn't work for Naze. Led comand is not available on CLI too.

bazyl78 avatar Aug 17 '16 08:08 bazyl78

I will check this evening after work.

On Wed, 17 Aug 2016 at 10:58, bazyl78 [email protected] wrote:

I can't configure led strip on Naze on both configurators. Option for ordering simply doesn't work for Naze. Led comand is not available on CLI too.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/457#issuecomment-240354052, or mute the thread https://github.com/notifications/unsubscribe-auth/AIeRmP92V8pSnVvoL5EVnDiTKHJUo2ZZks5qgs1DgaJpZM4JibMZ .

gaelj avatar Aug 17 '16 09:08 gaelj

The culprit is in \src\main\target\NAZE.target.h line 189 : //#define LED_STRIP (got commented)

This came from 0489eb8b0840719277450a8d15bb6f1d5e6f62be. It was done to save on memory. Re-enabling it and compiling brings this error: /arm-none-eabi/bin/ld.exe: regionFLASH' overflowed by 4600 bytes`

gaelj avatar Aug 17 '16 22:08 gaelj

Anyway .... how many other features are disabled for Naze?

bazyl78 avatar Aug 20 '16 18:08 bazyl78

https://github.com/iNavFlight/inav/wiki/1.-Getting-started-with-iNav

On Sat, Aug 20, 2016 at 8:27 PM, bazyl78 [email protected] wrote:

Anyway .... how many other features are disabled for Naze?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/457#issuecomment-241215804, or mute the thread https://github.com/notifications/unsubscribe-auth/AFaHNgQi1ZhGrHZ61z7F9sa0h3P8gdt7ks5qh0cDgaJpZM4JibMZ .

Ole-P

oleost avatar Aug 20 '16 18:08 oleost

If someone needs it it is possible to compile without telemetryband serial_rrx (ppm only) an then led strip works :)

bazyl78 avatar Aug 23 '16 05:08 bazyl78

This is what I am doing but still the page is not working. I have to restore led commands from backup

On Aug 23, 2016 8:21 AM, "bazyl78" [email protected] wrote:

If someone needs it it is possible to compile without telemetryband serial_rrx (ppm only) an then led strip works :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/457#issuecomment-241629808, or mute the thread https://github.com/notifications/unsubscribe-auth/AOfiOwody05U__SRIyYkya6itq7DaYbRks5qioNEgaJpZM4JibMZ .

khomouda avatar Aug 23 '16 06:08 khomouda

For me worked thankfully.

bazyl78 avatar Aug 23 '16 16:08 bazyl78

Can you please help me how to compile the Naze version of iNav without telemetryband serial_rrx? I could use the "make TARGET=NAZE" command without a problem and the hex file was created also but I don't know how to exclude the telemetryband from the build. I would like to enable LED strip function on Flip32+ board but on both GUI's it is showing 0 LED remaining to configure.

luxoid1 avatar Sep 12 '16 12:09 luxoid1

src/main/target/NAZE/target.h

There, you can enable LED by uncommenting #define LED_STRIP Serial RX can be disabled in src/main/target/common.h

DzikuVx avatar Sep 12 '16 12:09 DzikuVx

Thank you very much for you fast reply and help! I will try it now.

luxoid1 avatar Sep 12 '16 12:09 luxoid1

You have to edit the target file in Targets/Naze folder and compile yourself

On Sep 12, 2016 3:10 PM, "luxoid1" [email protected] wrote:

Can you please help me how to compile the Naze version of iNav without telemetryband serial_rrx? I could use the "make TARGET=NAZE" command without a problem and the hex file was created also but I don't know how to exclude the telemetryband from the build. I would like to enable LED strip function on Flip32+ board but on both GUI's it is showing 0 LED remaining to configure.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/457#issuecomment-246328100, or mute the thread https://github.com/notifications/unsubscribe-auth/AOfiO-DMdtaXl8lFlRgJ-zXJuZsF2WiNks5qpUEZgaJpZM4JibMZ .

khomouda avatar Sep 12 '16 12:09 khomouda

Compile returned with an error about region "FLASH" overflowed by 264 bytes. Can you please recommend anything else to disable to make it fit?

luxoid1 avatar Sep 12 '16 12:09 luxoid1

Yes if you are exceeding the flash limit, you have to keep removing features. I had to remove even all compasses and barometers which are not in the Naze

On Sep 12, 2016 3:43 PM, "luxoid1" [email protected] wrote:

Compile returned with an error about region "FLASH" overflowed by 264 bytes. Can you please recommend anything else to disable to make it fit?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/457#issuecomment-246335298, or mute the thread https://github.com/notifications/unsubscribe-auth/AOfiO0YSi4JCSSaAGuOmslkNg1YYAKZuks5qpUjmgaJpZM4JibMZ .

khomouda avatar Sep 12 '16 12:09 khomouda

I have removed each accelerometer, gyroscope, baro and magnetometers except those what are existing on the flip32+. The LED Strip and the rest are working now perfectly! Thanks for your help!

luxoid1 avatar Sep 12 '16 13:09 luxoid1

Welcome

On Sep 12, 2016 4:52 PM, "luxoid1" [email protected] wrote:

I have removed each accelerometer, gyroscope, baro and magnetometers except those what are existing on the flip32+. The LED Strip and the rest are working now perfectly! Thanks for your help!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/457#issuecomment-246353716, or mute the thread https://github.com/notifications/unsubscribe-auth/AOfiO5Wkli11Dm11lgG61zsnBQYANLD2ks5qpVk0gaJpZM4JibMZ .

khomouda avatar Sep 12 '16 13:09 khomouda