Thanks, checked for stray spaces but did not find anything amiss.
The evtimer.c file is in the list but is not getting built. I worked around the issue by adding the file to the board list, and it builds now.
Search found 12 matches
- Fri Nov 30, 2018 2:48 pm
- Forum: ChibiOS/RT
- Topic: migrating from v2 to v3
- Replies: 19
- Views: 15253
- Thu Nov 29, 2018 10:28 pm
- Forum: ChibiOS/RT
- Topic: migrating from v2 to v3
- Replies: 19
- Views: 15253
Re: migrating from v2 to v3
Thanks, I did not have that enabled and enabling it fixed the thread issue.
Any thoughts on the lwip issues:
ChibiOS_18.2.1/os/various/lwip_bindings/lwipthread.c:351: undefined reference to `evtObjectInit'
ChibiOS_18.2.1/os/various/lwip_bindings/lwipthread.c:352 ...
Any thoughts on the lwip issues:
ChibiOS_18.2.1/os/various/lwip_bindings/lwipthread.c:351: undefined reference to `evtObjectInit'
ChibiOS_18.2.1/os/various/lwip_bindings/lwipthread.c:352 ...
- Thu Nov 29, 2018 8:14 pm
- Forum: ChibiOS/RT
- Topic: migrating from v2 to v3
- Replies: 19
- Views: 15253
Re: migrating from v2 to v3
This is curious:
evtimer.c is listed in the makefile:
CHIBI_CSRC = $(STARTUPSRC) \
$(KERNSRC) \
$(PORTSRC) \
$(OSALSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(LWSRC) \
$(CHIBIOS)/os/various/evtimer.c \
$(CHIBIOS)/os/various/syscalls.c \
$(BOARDSRC) \
$(TESTSRC) \
and I verified it is ...
evtimer.c is listed in the makefile:
CHIBI_CSRC = $(STARTUPSRC) \
$(KERNSRC) \
$(PORTSRC) \
$(OSALSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(LWSRC) \
$(CHIBIOS)/os/various/evtimer.c \
$(CHIBIOS)/os/various/syscalls.c \
$(BOARDSRC) \
$(TESTSRC) \
and I verified it is ...
- Thu Nov 29, 2018 7:46 pm
- Forum: ChibiOS/RT
- Topic: migrating from v2 to v3
- Replies: 19
- Views: 15253
Re: migrating from v2 to v3
Somehow the old makefile was picking up main.cpp but the new one was not. Adding main.cpp to the source list fixed that.
Getting close, now just a few link error related to Chibios:
build/obj/lwipthread.o: In function `lwip_thread':
/ChibiOS_18.2.1/os/various/lwip_bindings ...
Getting close, now just a few link error related to Chibios:
build/obj/lwipthread.o: In function `lwip_thread':
/ChibiOS_18.2.1/os/various/lwip_bindings ...
- Wed Nov 28, 2018 5:34 pm
- Forum: ChibiOS/RT
- Topic: migrating from v2 to v3
- Replies: 19
- Views: 15253
Re: migrating from v2 to v3
I'm getting close, but now it is not finding main. Main is defined in main.cpp:
Code: Select all
build/obj/crt0_v7m.o: In function `endinitloop':
/home/ralph/hebi-firmware/ext/ChibiOS_18.2.1/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S:330: undefined reference to `main'- Wed Nov 28, 2018 5:33 pm
- Forum: ChibiOS/RT
- Topic: migrating from v2 to v3
- Replies: 19
- Views: 15253
Re: migrating from v2 to v3
To fix this I added explicit library includes to the compile options:
Code: Select all
-lgcc -lc -lrdimon -lstdc++- Mon Nov 26, 2018 9:05 pm
- Forum: ChibiOS/RT
- Topic: migrating from v2 to v3
- Replies: 19
- Views: 15253
Re: migrating from v2 to v5.0.0
Thanks, that's helpful.
Making good progress, I'm getting link errors now
Any simple/easy/known fix to C++11 system call issues? Read the thread on the wrapper, but it sounds like that was rolled into the current version.
undefined reference to `std::__cxx11::basic_string<char ...
Making good progress, I'm getting link errors now
Any simple/easy/known fix to C++11 system call issues? Read the thread on the wrapper, but it sounds like that was rolled into the current version.
undefined reference to `std::__cxx11::basic_string<char ...
- Mon Nov 19, 2018 10:06 pm
- Forum: ChibiOS/RT
- Topic: migrating from v2 to v3
- Replies: 19
- Views: 15253
Re: migrating from v2 to v3
Where are the board files generated? Maybe I fixed a symptom rather than the root cause.
I should also note I am using a custom designed board, it is not one of the standard demo boards.
The current issue is that I am getting errors from hal_lld.h such as:
#error "STM32_PLLVCO outside acceptable ...
I should also note I am using a custom designed board, it is not one of the standard demo boards.
The current issue is that I am getting errors from hal_lld.h such as:
#error "STM32_PLLVCO outside acceptable ...
- Mon Nov 19, 2018 7:53 pm
- Forum: ChibiOS/RT
- Topic: migrating from v2 to v3
- Replies: 19
- Views: 15253
Re: migrating from v2 to v3
For those who may find this thread in the future or are having similar issues:
The crt0_v7m.S,vectors.S and chcoreasm_v7m.S files were not building because the processor type variable was not updated to comply with Chibios5.0.0 requirements. I needed to add to my board.h file.
The crt0_v7m.S,vectors.S and chcoreasm_v7m.S files were not building because the processor type variable was not updated to comply with Chibios5.0.0 requirements. I needed to add
Code: Select all
#define STM32F427xx- Mon Nov 19, 2018 2:30 pm
- Forum: ChibiOS/RT
- Topic: migrating from v2 to v3
- Replies: 19
- Views: 15253
Re: migrating from v2 to v3
I started over with the closest example, verified that built, then added back in my project specific paths, etc. Unfortunately I am still having the same issue. Output from running make with the debug option suggests that these files do build after this error, but not correctly, it keeps retrying ...