For sure these last link error messages are chinese for me.
What does "defined in discarded section `.text'" mean ?
Notice that commenting out the localtime_r() call solved the problem only when I'm using version 4.9. The same problem remains with version 4.7.
Search found 10 matches
- Thu Sep 24, 2015 4:20 pm
- Forum: General Support
- Topic: Link problem in ChibiStudio
- Replies: 6
- Views: 7600
- Wed Sep 23, 2015 4:09 pm
- Forum: General Support
- Topic: Link problem in ChibiStudio
- Replies: 6
- Views: 7600
Re: Link problem in ChibiStudio
Thank you for the advice, but I had already tried this.
_exit, _kill and _getpid symbols are defined in /os/various/cpp_wrappers/syscalls_cpp.cpp
Adding $(CHIBIOS)/os/various/cpp_wrappers/syscalls_cpp.cpp \ to CPPSRC in Makefile gives this error, for 4.7 and 4.9 versions :
`_exit' referenced in ...
_exit, _kill and _getpid symbols are defined in /os/various/cpp_wrappers/syscalls_cpp.cpp
Adding $(CHIBIOS)/os/various/cpp_wrappers/syscalls_cpp.cpp \ to CPPSRC in Makefile gives this error, for 4.7 and 4.9 versions :
`_exit' referenced in ...
- Tue Sep 22, 2015 6:05 pm
- Forum: General Support
- Topic: Link problem in ChibiStudio
- Replies: 6
- Views: 7600
Re: Link problem in ChibiStudio
I found out how to compile my code, but I still don't understand the link problem. And I have to give up the setTime() functionnality :
I had to comment out one line in one of my hook functions, the one used to set the RTC time :
void sndTimestamp() {
struct tm tim;
struct tm *canary;
time_t ...
I had to comment out one line in one of my hook functions, the one used to set the RTC time :
void sndTimestamp() {
struct tm tim;
struct tm *canary;
time_t ...
- Tue Sep 22, 2015 5:48 pm
- Forum: General Support
- Topic: Link problem in ChibiStudio
- Replies: 6
- Views: 7600
Link problem in ChibiStudio
Hi,
I'm experiencing a weird link problem which has already been mentionned in other posts, but without any solution.
Problem is (almost) the same with 4.7 2014q2\arm-none-eabi and 4.9 2015q2\arm-none-eabi
I'm coding in C/C++. Most of my code is in C++. I'm using RT/HAL with the last version of ...
I'm experiencing a weird link problem which has already been mentionned in other posts, but without any solution.
Problem is (almost) the same with 4.7 2014q2\arm-none-eabi and 4.9 2015q2\arm-none-eabi
I'm coding in C/C++. Most of my code is in C++. I'm using RT/HAL with the last version of ...
- Mon Aug 24, 2015 10:54 am
- Forum: ChibiOS/HAL
- Topic: 1-Wire. Hardware abstracted
- Replies: 47
- Views: 37237
Re: 1-Wire. Hardware abstracted
Hi,
I didn't find the sources of the 1Wire Master mentionned in this discussion.
My question is : How can a 1wire driver be optimised using PWM and/or ICU drivers ? (master and slave should have almost the same constraints)
The approach I was thinking about (for 1Wire slave) requires interrupts and ...
I didn't find the sources of the 1Wire Master mentionned in this discussion.
My question is : How can a 1wire driver be optimised using PWM and/or ICU drivers ? (master and slave should have almost the same constraints)
The approach I was thinking about (for 1Wire slave) requires interrupts and ...
- Thu Aug 20, 2015 2:55 pm
- Forum: ChibiOS/HAL
- Topic: 1-Wire. Hardware abstracted
- Replies: 47
- Views: 37237
Re: 1-Wire. Hardware abstracted
Hi,
I'm using 1Wire stuff and very interested in a STM32 port.
I didn't find the 1Wire master mentionned below, but I'm very interested in how to make it work using µC resources, such as PWM, in order to increase performance and lower jitter.
1Wire masters are a lot : I'm already using the DS2482 ...
I'm using 1Wire stuff and very interested in a STM32 port.
I didn't find the 1Wire master mentionned below, but I'm very interested in how to make it work using µC resources, such as PWM, in order to increase performance and lower jitter.
1Wire masters are a lot : I'm already using the DS2482 ...
- Sun Mar 22, 2015 8:58 pm
- Forum: General Support
- Topic: I2C Slave mode support?
- Replies: 116
- Views: 138402
Re: I2C Slave mode support?
Thank you for the quick reply.
I'm actually trying to use the i2cSlave with ChibiOS V3.0, as mentioned by steved. I'm running on 32F401.
The examples you're providing genosensor will run only under V2.6. I guess they won't help me a lot with 3.0.
Porting them to V3.0 would be a good idea, but I ...
I'm actually trying to use the i2cSlave with ChibiOS V3.0, as mentioned by steved. I'm running on 32F401.
The examples you're providing genosensor will run only under V2.6. I guess they won't help me a lot with 3.0.
Porting them to V3.0 would be a good idea, but I ...
- Sun Mar 22, 2015 5:47 pm
- Forum: General Support
- Topic: I2C Slave mode support?
- Replies: 116
- Views: 138402
Re: I2C Slave mode support?
Hi,
I'm getting i2c working, but i2cSlave mode remains a bit confusing to me, despite of the comments embedded in the code.
Would anyone have some lines of example on how to setup and use I2CSlaveMsg & callbacks for receiving & replying ?
This would be of great help ...
Thank you,
NB
I'm getting i2c working, but i2cSlave mode remains a bit confusing to me, despite of the comments embedded in the code.
Would anyone have some lines of example on how to setup and use I2CSlaveMsg & callbacks for receiving & replying ?
This would be of great help ...
Thank you,
NB
- Fri Jan 23, 2015 11:46 pm
- Forum: ChibiStudio
- Topic: [HELP] iNemo M1 debug
- Replies: 6
- Views: 8382
Re: [HELP] iNemo M1 debug
Sorry but I'm not familiar with OpenOCD ... How do I load C:\ChibiStudio\tools\openocd\scripts\target\stm32f4x_stlink.cfg ?
Using command line ? But how do I tell ChibiStudio to use it ?
Thank you for the help.
Using command line ? But how do I tell ChibiStudio to use it ?
Thank you for the help.
- Fri Jan 23, 2015 3:14 pm
- Forum: General Support
- Topic: I2C Slave mode support?
- Replies: 116
- Views: 138402
Re: I2C Slave mode support?
Hello folks,
I've followed this post with attention.
I'm working on STM32F401 and very interested in ChibiOS, which seems to fit exactly my needs.
I have to use both I2C Master and I2C Slave on the same board.
What I understood is that I2C Slave isn't supported yet in official release (2.6.6).
I've ...
I've followed this post with attention.
I'm working on STM32F401 and very interested in ChibiOS, which seems to fit exactly my needs.
I have to use both I2C Master and I2C Slave on the same board.
What I understood is that I2C Slave isn't supported yet in official release (2.6.6).
I've ...