- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone ,
I use puart.h in hello_client.c , the uart can work and print any !
but when I copy puart_write() function and add header into blecen.c ,it can work !
the code like this:
How do I solve ?
Solved! Go to Solution.
- Labels:
-
Debug
-
Peripherhal UART
-
SDK 2.X
- Tags:
- bcm2073x overview
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello yaocing,
1. Please confirm that you are modifying blecen.c
2. If you have modified this code, then it won’t change anything.
3. This code is in the ROM and is provided for reference.
4. Any code that you modify outside of the <SDK>/Apps directory will not work
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It may be best here to start with a known application from the SDK which uses the PUART, then modify it to fit your application.
Two examples we provide are puart_control and uart_firmware_upgrade.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can I add other function in SOURCE File ?
I try add testPrint() in blecen.h ,
and implement it in blecen.c.
I call testPrint() in my application ,
it appear error "undefined reference to testPrint" :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello yaocing,
1. Please confirm that you are modifying blecen.c
2. If you have modified this code, then it won’t change anything.
3. This code is in the ROM and is provided for reference.
4. Any code that you modify outside of the <SDK>/Apps directory will not work
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello JT
Thank you for the detailed answer.
Now I know can't modify code outside of the <SDK>/Apps directory , because it in ROM .