Development help

Post Reply
ea3ihi
Posts: 65
Joined: Fri Jan 10, 2020 9:28 pm
Location: Barcelona, Spain

Development help

Post by ea3ihi » Sat Jan 18, 2020 4:55 pm

Hello, is there a place where developers can ask for help or advise?

I am lost with the lack of DMR audio problem in my new channel scan code. I have removed most of the code, so the scanning does actually nothing but still there is no audio. I have reached a point where doing a simple assignment to an dummy integer variable not used makes a difference, if I comment out the line then audio works fine. Maybe a compiler/linker problem?

David
EA3IHI - David

VK3KYY
Posts: 1961
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Development help

Post by VK3KYY » Sat Jan 18, 2020 9:09 pm

There is no specific place for this as there are only a few devs.

VK3KYY
Posts: 1961
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Development help

Post by VK3KYY » Sat Jan 18, 2020 10:19 pm

ea3ihi wrote:
Sat Jan 18, 2020 4:55 pm
Hello, is there a place where developers can ask for help or advise?

I am lost with the lack of DMR audio problem in my new channel scan code. I have removed most of the code, so the scanning does actually nothing but still there is no audio. I have reached a point where doing a simple assignment to an dummy integer variable not used makes a difference, if I comment out the line then audio works fine. Maybe a compiler/linker problem?

David
Create a new local branch for your changes, and then push that branch back to github, so that other people can take a look at the problem

ea3ihi
Posts: 65
Joined: Fri Jan 10, 2020 9:28 pm
Location: Barcelona, Spain

Re: Development help

Post by ea3ihi » Mon Jan 20, 2020 10:48 am

EA3IHI - David

VK3KYY
Posts: 1961
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Development help

Post by VK3KYY » Mon Jan 20, 2020 9:41 pm

FYI

I changed the .cproject file.

fw_sound.c is no longer optimised. This should fix your problem, without needing to turn off optimisation on lots of files, like in the version from the 14th Jan.

ea3ihi
Posts: 65
Joined: Fri Jan 10, 2020 9:28 pm
Location: Barcelona, Spain

Re: Development help

Post by ea3ihi » Tue Jan 21, 2020 6:22 pm

Done, .cproject updated and audio working! Should I create a pull request with my update to the scan code? Publish the version in the custom builds section so people can try it?
EA3IHI - David

VK3KYY
Posts: 1961
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Development help

Post by VK3KYY » Tue Jan 21, 2020 9:44 pm

Doing a PR is good because the other developers can then check your code, if they have time...

But you can also put the firmware sgl on the forum for people to test as an experimental version

ea3ihi
Posts: 65
Joined: Fri Jan 10, 2020 9:28 pm
Location: Barcelona, Spain

Re: Development help

Post by ea3ihi » Wed Jan 22, 2020 9:07 am

Done, PR created and build available in the custom builds section.
EA3IHI - David

Post Reply