Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    WIPY on ESP32-WROOM Procedure

    Scheduled Pinned Locked Moved Firmware
    11 Posts 3 Posters 4.0k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bucknall
      last edited by

      Thanks for writing this up! Hopefully, it'll be useful to the community!

      Thanks! :)

      Developer Evangelist - Pycom

      1 Reply Last reply Reply Quote 0
      • J Offline
        jack Pybytes Beta
        last edited by

        I wonder how it should be configured?--pins.csv
        What does each column mean?

        C 1 Reply Last reply Reply Quote 0
        • J Offline
          jack Pybytes Beta
          last edited by

          When i excute “make BOARD=WIPY -j4 TARGET=boot”
          export error "make: *** No rule to make target 'GNUmakefile'。"

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            crankshaft @jack
            last edited by

            @jack - I think that the first columns is an alias, can be anything you want, I just renamed mine to be the same as the gpio id, the second column is the gpio and the 3rd is the wipy P number.

            J 1 Reply Last reply Reply Quote 0
            • C Offline
              crankshaft @jack
              last edited by

              @jack - Check that you have setup the SYSTEM PATHS to xtensa and pycom-esp-idf correctly.

              1 Reply Last reply Reply Quote 0
              • J Offline
                jack Pybytes Beta @crankshaft
                last edited by

                @crankshaft
                Can you help me?
                When I modify the pins.csv file, the compiler error:

                mods/pybadc.c:68:85: error: 'PIN_MODULE_P20' undeclared here (not in a function)
                {.pin = &PIN_MODULE_P20, .channel = ADC1_CHANNEL_5, .enabled = false},
                ^
                CC mods/pybdac.c
                ../py/mkrules.mk:47: recipe for target 'build/WIPY/release/mods/pybadc.o' failed
                make: *** [build/WIPY/release/mods/pybadc.o] Error 1

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jack Pybytes Beta @jack
                  last edited by

                  @jack
                  This is the content of the pins.csv file:
                  0_1497542366375_upload-b95ebc08-2e28-4f74-be3e-3410cdc9e9ea G36 GPIO36 P36
                  G39 GPIO39 P39
                  G34 GPIO34 P34
                  G35 GPIO35 P35
                  G32 GPIO32 P32
                  G33 GPIO33 P33
                  G25 GPIO25 P25
                  G26 GPIO26 P26
                  G27 GPIO27 P27
                  G14 GPIO14 P14
                  G12 GPIO12 P12
                  G13 GPIO13 P13
                  G9 GPIO9 P9
                  G10 GPIO10 P10
                  G11 GPIO11 P11
                  G6 GPIO6 P6
                  G7 GPIO7 P7
                  G8 GPIO8 P8
                  G15 GPIO15 P15
                  G2 GPIO2 P2
                  G0 GPIO0 P0
                  G4 GPIO4 P4
                  G16 GPIO16 P16
                  G17 GPIO17 P17
                  G5 GPIO5 P5
                  G18 GPIO18 P18
                  G19 GPIO19 P19
                  G21 GPIO21 P21
                  G3 GPIO3 P3
                  G1 GPIO1 P1
                  G22 GPIO22 P22
                  G23 GPIO23 P23

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    crankshaft @jack
                    last edited by

                    @jack - look at my note # 3:

                    "Renumber the Pins so that there are no gaps,"

                    The error message you received tells you the problem: "PIN_MODULE_P20' undeclared here"

                    You have not declared P20, you must renumber the pins, see my example pins.csv

                    J 2 Replies Last reply Reply Quote 0
                    • J Offline
                      jack Pybytes Beta @crankshaft
                      last edited by

                      @crankshaft
                      In fact, I don't have p20.
                      In addition, I found that the pins.c files generated by the compilation process are not consistent with the pins.csv I defined.
                      {
                      Create build/WIPY/release/pins.c
                      CC build/WIPY/release/pins.c
                      }
                      Please check your files.

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jack Pybytes Beta @crankshaft
                        last edited by

                        @crankshaft
                        0_1497577114115_QQ图片20170616093413.png

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post

                        Pycom on Twitter

                        Pycom