First, some implicit function errors
unable to find _pal_lld_writegroup
(and similar), though I had defined this function in pal_lld.c in my os/hal/ports/STELLARIS directory. I'm able to circumvent this by adding extern statements, but I know this is the wrong thing to do -- because it would mean modifying pal.c for example. So it's probably something incorrect or missing in a makefile?
Second, even after adding such extern statements to see what would happen, the make of a demo fails with
make:
*** No rule to make target `build/ch.elf', needed by `all'. Stop.
An example of the attempted make is shown below
user@dhcp:/arm/home/user/ChibiOS-3.0.0/demos/STELLARIS$ make clean
Cleaning
rm -fR .dep build
Done
user@dhcp:/arm/home/user/ChibiOS-3.0.0/demos/STELLARIS$ make
Compiler Options
arm-none-eabi-gcc -c -mcpu=cortex-m4 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -flto -Wall -Wextra -Wstrict-prototypes -Wa,-alms=build/lst/ -DCORTEX_USE_FPU=FALSE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/build.d -I. -I../../os/common/ports/ARMCMx/devices/STELLARIS -I../../os/ext/CMSIS/include -I../../os/ext/CMSIS/STELLARIS -I../../os/rt/include -I../../os/rt/ports/ARMCMx -I../../os/rt/ports/ARMCMx/compilers/GCC -I../../os/hal/osal/rt -I../../os/hal/include -I../../os/hal/ports/common/ARMCMx -I../../os/hal/ports/STELLARIS -I../../os/hal/boards/STELLARIS -I../../test/rt -I../../os/various main.c -o main.o
Compiling crt0_v7m.s
Compiling chcoreasm_v7m.s
Compiling crt1.c
Compiling vectors.c
Compiling chsys.c
Compiling chdebug.c
Compiling chvt.c
Compiling chschd.c
Compiling chthreads.c
Compiling chdynamic.c
Compiling chregistry.c
Compiling chsem.c
Compiling chmtx.c
Compiling chcond.c
Compiling chevents.c
Compiling chmsg.c
Compiling chmboxes.c
Compiling chqueues.c
Compiling chmemcore.c
Compiling chheap.c
Compiling chmempools.c
Compiling chcore.c
Compiling chcore_v7m.c
Compiling osal.c
Compiling hal.c
Compiling st.c
Compiling hal_queues.c
Compiling hal_mmcsd.c
Compiling pal.c
../../os/hal/src/pal.c: In function 'palWriteBus':
../../os/hal/src/pal.c:99:3: warning: implicit declaration of function '_pal_lld_writegroup' [-Wimplicit-function-declaration]
palWriteGroup(bus->portid, bus->mask, bus->offset, bits);
^
Compiling nvic.c
Compiling hal_lld.c
Compiling pal_lld.c
Compiling board.c
Compiling test.c
Compiling testthd.c
Compiling testsem.c
Compiling testmtx.c
Compiling testmsg.c
Compiling testmbox.c
Compiling testevt.c
Compiling testheap.c
Compiling testpools.c
Compiling testdyn.c
Compiling testqueues.c
Compiling testsys.c
Compiling testbmk.c
Compiling main.c
main.c: In function 'Thread1':
main.c:31:7: warning: implicit declaration of function '_pal_lld_writepad' [-Wimplicit-function-declaration]
palClearPad(GPIOF, GPIOF_LED_RED);
^
make: *** No rule to make target `build/ch.elf', needed by `all'. Stop.