Search
Setup for Free
DIIS
DevHeads IoT Integration Server
β’
14mo ago
ZacckOsiemo
Amazing to see the UK making stuff again π
Amazing to see the UK making stuff again
DevHeads IoT Integration Server
Join
The DevHeads IoT Integration Server accelerates technology engineering by helping pro devs learn, share and collaborate.
2,938
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
N
nour_oud
β’
11/8/24, 2:40 PM
@here
20 minutes until our event
:
Looking for Work
? How to Beat an Applicant Tracking System
See you there
!
https://discord.gg/FePxxTwt?event=1303567249113747516
N
nour_oud
β’
11/8/24, 2:42 PM
Event Link
:
https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1/
Z
ZacckOsiemo
Amazing to see the UK making stuff again π
M
Ming
β’
11/8/24, 2:50 PM
Nope
- we just have the concept of a plan
Z
ZacckOsiemo
OP
β’
11/8/24, 3:08 PM
@accur4te we have the event now and lots of space to help with CVs
Z
ZacckOsiemo
@accur4te we have the event now and lots of space to help with CVs
A
Accur4te
β’
11/8/24, 3:10 PM
yeah mate
, i am in the audience
. Looking forward to a great session
.
N
nour_oud
@here 20 minutes until our event: ** Looking for Work? How to Beat an Applicant ...
N
nour_oud
β’
11/8/24, 4:50 PM
*Thank you for your participation
!
*
If you
're on the job hunt
, be sure to explore exciting opportunities in our Jobs section here
:
jobs
Also
, don
βt miss this week
's
Engineering Hour session
: AI with FreeRTOS
.
https://discord.gg/FePxxTwt?event=1270584392628043787
S
segfaultdev.elf
the error mostprobably some ISR thing
T
Techist
β’
11/8/24, 7:25 PM
Are you using any interrupt service routine for any other peripheral in your project
? Say UART
?
T
Techist
Are you using any interrupt service routine for any other peripheral in your pro...
S
segfaultdev.elf
β’
11/8/24, 7:26 PM
Now it is working fine and I am using uart for debugging
S
segfaultdev.elf
Now it is working fine and I am using uart for debugging
T
Techist
β’
11/8/24, 7:27 PM
Ok
, mind to share how you fixed it
?
T
Techist
Ok, mind to share how you fixed it?
S
segfaultdev.elf
β’
11/8/24, 7:27 PM
the issue was how I treated FreeRTOS
S
segfaultdev.elf
β’
11/8/24, 7:27 PM
i added rtos as a library to my project
S
segfaultdev.elf
β’
11/8/24, 7:28 PM
for that reason when compiling ISRs weren
βt linked perfectly
S
segfaultdev.elf
β’
11/8/24, 7:29 PM
since ISR
βs are weekly declared so if my linker found them first their symbols are resolved and it won
βt look for strongly implemented ISR
βs which were implemented by FreeRTOS
S
segfaultdev.elf
β’
11/8/24, 7:30 PM
for that I added FreeRTOS as a source to my code
T
Techist
β’
11/8/24, 7:30 PM
Ohhhhh
, that makes much sense
.
S
segfaultdev.elf
β’
11/8/24, 7:30 PM
and everything working just fine
T
Techist
β’
11/8/24, 7:31 PM
You could use Cubemx next time to avoid such problem
.
T
Techist
You could use Cubemx next time to avoid such problem.
S
segfaultdev.elf
β’
11/8/24, 7:31 PM
To be honest I am more comfortable in this way
S
segfaultdev.elf
β’
11/8/24, 7:31 PM
Every time I face some issues like this
S
segfaultdev.elf
β’
11/8/24, 7:31 PM
it teaches me a lot
T
Techist
β’
11/8/24, 7:32 PM
It
's fine
, then
.
That
's how I learnt FreeRTOS my self
.
S
segfaultdev.elf
since ISRβs are weekly declared so if my linker found them first their symbols a...
S
segfaultdev.elf
β’
11/8/24, 7:32 PM
For example I learned this because of the issue
T
Techist
β’
11/8/24, 7:32 PM
I only suggested using cubemx because it
's more easier to use
.
And it does all configurations underhood for you
.
T
Techist
I only suggested using cubemx because it's more easier to use. And it does all ...
S
segfaultdev.elf
β’
11/8/24, 7:33 PM
I know that maybe for rapid development I will use it but i am still learning
S
segfaultdev.elf
β’
11/8/24, 7:33 PM
so for now I will give it a try
S
segfaultdev.elf
β’
11/8/24, 7:34 PM
https://github.com/undefined2001/FreeRTOS-BlackPill.git
GitHub
GitHub - undefined2001/FreeRTOS-BlackPill: This repository contains...
This repository contains the necessary code to operate a STM32F411CEU6
- undefined2001
/FreeRTOS
-BlackPill
S
segfaultdev.elf
β’
11/8/24, 7:34 PM
in case if you want to share some of your words in this
S
segfaultdev.elf
I know that maybe for rapid development I will use it but i am still learning
T
Techist
β’
11/8/24, 7:34 PM
Perfect
.
Been awhile I worked on freeRTOS though
.
T
Techist
Perfect. Been awhile I worked on freeRTOS though.
S
segfaultdev.elf
β’
11/8/24, 7:38 PM
even though it doesn
βt make much sense but I love to write my own driver
S
segfaultdev.elf
https://github.com/undefined2001/FreeRTOS-BlackPill.git
T
Techist
β’
11/8/24, 7:38 PM
I see you are using uart for logging purpose right
?
Where are you calling the uart write function
?
_io
_puts private function
?
S
segfaultdev.elf
β’
11/8/24, 7:39 PM
no
S
segfaultdev.elf
β’
11/8/24, 7:39 PM
you can check debug
.c
S
segfaultdev.elf
β’
11/8/24, 7:39 PM
for better information
S
segfaultdev.elf
β’
11/8/24, 7:40 PM
_io
_puts is called by a system call which is
_write that is kinda overhead to what i exactly need
S
segfaultdev.elf
β’
11/8/24, 7:40 PM
so I just wrote my printk to do the job
S
segfaultdev.elf
even though it doesnβt make much sense but I love to write my own driver
T
Techist
β’
11/8/24, 7:41 PM
Yeah
, I get you
.
That
's fine
.
You should define your mask values and bit positions as macros too
.
You
'd have a hard time understanding that code in months to come
.
T
Techist
Yeah, I get you. That's fine. You should define your mask values and bit posit...
S
segfaultdev.elf
β’
11/8/24, 7:41 PM
in which file
?
S
segfaultdev.elf
β’
11/8/24, 7:42 PM
in main
.c those configurations I did it was for rapid testing
S
segfaultdev.elf
β’
11/8/24, 7:42 PM
I usually use CMSIS so those are already defined
S
segfaultdev.elf
_io_puts is called by a system call which is _write that is kinda overhead to wh...
T
Techist
β’
11/8/24, 7:43 PM
Placing your uart write in io
_puts should be able to achieve the same result
.
I think so
.
T
Techist
Placing your uart write in io_puts should be able to achieve the same result. ...
S
segfaultdev.elf
β’
11/8/24, 7:43 PM
yeah no doubt about it
S
segfaultdev.elf
I usually use CMSIS so those are already defined
T
Techist
β’
11/8/24, 7:43 PM
Ooh
, makes much sense
.
Yeah
, I saw you your cmsis lib
.
T
Techist
β’
11/8/24, 7:43 PM
Kudos
S
segfaultdev.elf
β’
11/8/24, 7:44 PM
but printf is invoking some system call which is more resource hungry so I get the functionality I need but a bit less cost
S
segfaultdev.elf
β’
11/8/24, 7:45 PM
in the past I used to call my uart
_send
_char inside
_io
_putchar
S
segfaultdev.elf
β’
11/8/24, 7:46 PM
also printf might use a larger buffer to store data i only made my buffer for 100 characters
S
segfaultdev.elf
β’
11/8/24, 7:46 PM
which is more than enough to logging data
T
Techist
β’
11/8/24, 7:48 PM
Well
, the printk implementation is fine anyways
.
It
's justiable if you are using it for learning purpose
.
S
segfaultdev.elf
β’
11/8/24, 7:48 PM
also i thought it would better rather than sending character by character in each
_io
_putchar call
S
segfaultdev.elf
β’
11/8/24, 7:49 PM
I am sending it as a buffer
Next page
Similar Threads
THE AMAZING $1 MICROCONTROLLER
DIIS
DevHeads IoT Integration Server / devheads-feed
3y ago
Need help making the shift from bare-metal to RTOS
DIIS
DevHeads IoT Integration Server / π¦-middleware-and-os
2y ago
Is it the right community to newbie like me to learn esp8266 and iot stuff?
DIIS
DevHeads IoT Integration Server / πͺ²-firmware-and-baremetal
13mo ago
Neuromorphic Computing: Making Space Smart
DIIS
DevHeads IoT Integration Server / devheads-feed
2y ago