Comments (11)
from circle.
How it seems, this text comes from the git-shell. Because I do not know your setup, I do not have an explanation for this. Perhaps it is not triggered from the Circle application?
You can absolutely remove the m_Screen
member and the related initialization, if you don't need it. You also don't need the SCREEN_HEADLESS
option any more then, because it only implements CScreenDevice
in a way, that all output operations are ignored. When there isn't a screen, you cannot write to it, and nothing need to be ignored.
logdev=ttyS1
redirects the logger output to the (first) serial device. In case there is no screen, you can also change the code to this:
if (bOK)
{
bOK = m_Logger.Initialize (&m_Serial);
}
from circle.
from circle.
Good, that it works now. If you want to remove these lines, you have to edit lib/logger.cpp. An other way is not supported and not intended. ;)
from circle.
from circle.
It is very scary that each time on error / exception, different documentation-like text comes out :P
I have tried to remove CLogger but you are right i need it for debugging somehow, as long as the debugging text is managable. However, can i remove CScreenDevice m_Screen;
? my application is running in SCREEN_HEADLESS
mode and i really want to get rid of all the things related to (HDMI) screen, making the following code in samples suspicious XD
if (bOK)
{
CDevice *pTarget = m_DeviceNameService.GetDevice (m_Options.GetLogDevice (), FALSE);
if (pTarget == 0)
{
pTarget = &m_Screen;
}
bOK = m_Logger.Initialize (pTarget);
}
and cmdline
logdev=ttyS1
Can this line redirecting Screen output to serial?
Thank you so much!
from circle.
Thank you so much, going to edit the code.
The terminal i use is Tera Term. I tried serial plotting from Arduino IDE too.
from circle.
It seems i have found the trigger for unknown text printing.
My application is just a modified version of addon/SDCard/sample, in the kernel.cpp#L154, i changed the buffer size to 1024 and read large file. It seems large file will randomly fail (EXCEPTION_SYNCHRONOUS
). Reading config.txt
as small file always works.
May i know will you have the same effect when you read the attached large file?
sf_56.csv
from circle.
OMG indeed my card is corrupted haahaha, it works so good now after using another SD card. However, may i also know how to also disable this text, please? I want to format the logger message so customized plotter can distinguish logger message and ADC values. Once again thank you so much!
from circle.
I see! Will there be an enable / disable option 🤣?
from circle.
Ok hahahaha
from circle.
Related Issues (20)
- release-45.2 usb samples compile with errors HOT 2
- TCP Connection in Interrupt HOT 2
- I2C feature request: add support for repeated start HOT 6
- USB CDC/ACM gadget HOT 19
- GetClockTicks without wrap HOT 3
- GPU support on Raspi 4 HOT 4
- Circle linker failure with softfp HOT 2
- Make USB gadget vendor and device strings configurable HOT 2
- Support for touchscreens with additional reports in HID descriptor HOT 7
- Question about log when testing with Qemu HOT 2
- Help with setting PREFIX HOT 4
- Question: Waveshare 5'' DSI display support? HOT 2
- Waveshare 15.6inch Capacitive Touch Screen HOT 2
- Can I run OpenCV? HOT 2
- Sample "07-usbstorage" fails with Pi5 HOT 8
- Unsuportted USB touch screen driver - Big Tree Tech HDMI7 HOT 10
- How to do GPIOPin button Interrupt correctly HOT 23
- FIQ support on RPI Zero 2 HOT 3
- Ability to set HDMI output refresh rate HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circle.