Skip to content

led_on and led_off #2

@mahesh2000

Description

@mahesh2000

hi, i don't see led_on and led_off being used anywhere. do you have an example of where they work? i want the ulp to wake every 2 seconds, flash the led, get an adc reading and go to sleep. it shouldn't wake up the main core(s).

also, by merely including the led_on and led_off code sections, i get the following compilation errors:

C:\Users\mahes\Documents\ArduinoData\packages\esp32\tools\ulptool\src/esp32ulp-elf-binutils/bin/esp32ulp-elf-as -al=adc.ulp.lst -W -o adc.ulp.o adc.ulp.pS
config/tc-esp32ulp.c:1042:Unknown node expression found during arithmetic relocation generationconfig/tc-esp32ulp.c:1042:Unknown node expression found during arithmetic relocation generationconfig/tc-esp32ulp.c:1042:Unknown node expression found during arithmetic relocation generationconfig/tc-esp32ulp.c:1042:Unknown node expression found during arithmetic relocation generationconfig/tc-esp32ulp.c:1042:Unknown node expression found during arithmetic relocation generationconfig/tc-esp32ulp.c:1042:Unknown node expression found during arithmetic relocation generation

exit status 1
Error compiling for board ESP32 Dev Module.

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