Hi Linotte, Thanks for testing our tutorials, it is important to validate and find issues.
I followed the tutorial here (this is the first time I do it) and it worked fine (although copying the text from page removes the comments #) I compressed by CustomApps and shared it: https://u.pcloud.link/publink/show?code=XZPzJP0Zh3fACWyHaOHTdsEA8Glg5VmGFwy7 Extract it and use some diff tool like meld to compare files and to discover what you did wrong. BR, Alan On Thu, Jul 18, 2024 at 3:01 PM Linotte Justin ... <lutinjisno...@gmail.com> wrote: > hello, i hope my question doesn't bother you, i'm an amateur, not a pro > with 40y of experience so it may be dumb for you. i'm also an amateur in > english btw > > when i do make like advised here : > > https://nuttx.apache.org/docs/latest/quickstart/compiling_make.html#build-nuttx > i get this : > > :~/pico/nuttx/nuttx$ make > Create version.h > LN: platform/board to /home/default/pico/nuttx/apps/platform/dummy > Register: custom_hello > Register: hello > Register: nsh > Register: sh > Register: getprime > Register: ostest > CPP: > /home/default/pico/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/scripts/raspberrypi-pico-flash.ld-> > > /home/default/pico/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/scrLD: > nuttx > arm-none-eabi-ld: > /home/default/pico/nuttx/nuttx/staging/libapps.a(builtin_list.c.home.default.pico.nuttx.apps.builtin_1.o):(.rodata.g_builtins+0xc): > > undefined reference to `custom_hello_main' > make[1]: *** [Makefile:197: nuttx] Error 1 > make: *** [tools/Unix.mk:546: nuttx] Error 2 > > i try to "Extend the apps/ directory to include a new custom directory" > to use my own code into nuttx : > > https://nuttx.apache.org/docs/latest/guides/customapps.html#extend-the-apps-directory-to-include-a-new-custom-directory > > i've configured with menuconfig > rtos features>tasks and scheduling>application entry point to > custom_hello (not custom_hello_main) > application configuration>Custom Apps>[*]Custom Hello App > >program Name is set to custom_hello > > I don't know how i can know the real name of the entrypoint and also how > i can resolve the error when building withmake. i also followed that : > > https://nuttx.apache.org/docs/latest/faq/index.html#how-to-start-directly-my-application-instead-starting-nsh > this doesn't explain how you know the ENTRYPOINT name > i'm a bit confused on what to do (maybe you are too because of how i write) > thank you if you can help ! > >