Skip to content

New SDK #1

Description

@willqyu

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions