pico-tracker icon indicating copy to clipboard operation
pico-tracker copied to clipboard

New SDK

Open willqyu opened this issue 4 years ago • 7 comments

Hi,

In trying to build your repo, I found that many functions have been changed in newer versions of the SDK.

I changed the following to match the new SDK:

  • gpio_funcsel() -> gpio_set_function()
  • uart_readable -> uart_is_readable()
  • adc_enable_temp_sensor() -> adc_set_temp_sensor_enabled()
  • adc_input_select() -> adc_select_input()
  • gpio_dir() -> gpio_set_dir()

Additionally, GPIO_FUNC_PROC was removed and instead pins initialised with gpio_init(PIN)

Not sure if you're already adapting the code, but I can submit a pull request with your permissions since I've rewritten it to build correctly.

willqyu avatar Feb 15 '21 19:02 willqyu

Yes, please do that. The code was written with a pre-release SDK and, add I'm busy with other projects, I want planning on working on this project anytime soon.

Dave

On Mon, 15 Feb 2021, 19:30 ObjectionTheory, [email protected] wrote:

Hi,

In trying to build your repo, I found that many functions have been changed in newer versions of the SDK.

I changed the following to match the new SDK:

  • gpio_funcsel() -> gpio_set_function()
  • uart_readable -> uart_is_readable()
  • adc_enable_temp_sensor() -> adc_set_temp_sensor_enabled()
  • adc_input_select() -> adc_select_input()
  • gpio_dir() -> gpio_set_dir()

Additionally, GPIO_FUNC_PROC was removed and instead pins initialised with gpio_init(PIN)

Not sure if you're already adapting the code, but I can submit a pull request with your permissions since I've rewritten it to build correctly.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/daveake/pico-tracker/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIGQ5EYFEC7CYPQFGEOI4TS7FY5JANCNFSM4XVGP26A .

daveake avatar Feb 15 '21 19:02 daveake

Great, I've submitted the pull request: https://github.com/daveake/pico-tracker/pull/2

willqyu avatar Feb 15 '21 19:02 willqyu

Great, I'll accept that tomorrow morning when I'm back at my pc.

Dave

On Mon, 15 Feb 2021, 19:56 ObjectionTheory, [email protected] wrote:

Great, I've submitted the pull request: #2 https://github.com/daveake/pico-tracker/pull/2

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/daveake/pico-tracker/issues/1#issuecomment-779422456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIGQ5FKK32NBX2NTRW2MHLS7F36LANCNFSM4XVGP26A .

daveake avatar Feb 15 '21 20:02 daveake

I would appreciate it if you could combine the codes on a single page and add a practical picture or video of how to send the code to the Ardiuno program.

systematak avatar Oct 06 '23 20:10 systematak

This repo is obsolete as it was based on beta libraries.

It’s for the pi pico not arduino.

It’s modular for a reason; combining to a monolithic single source file would be opposite to good practice.

On Fri, 6 Oct 2023 at 21:24, systematak @.***> wrote:

I would appreciate it if you could combine the codes on a single page and add a practical picture or video of how to send the code to the Ardiuno program.

— Reply to this email directly, view it on GitHub https://github.com/daveake/pico-tracker/issues/1#issuecomment-1751363990, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIGQ5EUIJWRDOLP6QOGFKDX6BSG5AVCNFSM4XVGP26KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZVGEZTMMZZHEYA . You are receiving this because you commented.Message ID: @.***>

daveake avatar Oct 07 '23 01:10 daveake

Well, can you give me some information on how to install pico?

systematak avatar Oct 07 '23 10:10 systematak

www.raspberrypi.com/news/raspberry-pi-pico-balloon-tracker I collected the electronic parts in the link given, but I couldn't figure out how to transfer the files to the card.

systematak avatar Oct 07 '23 10:10 systematak