mqtt_client project in CC3100 SDK gives linker errors - msp430

I am trying to build the mqtt_client project in the CC3100SDK_1.2.0, so that later I can integrate it into the getting_started_with_wlan_station project for further work.
As suggested in the mqtt_client.pdf document, I built the osi_lib.lib and mqtt.a from cc3100-sdk\platform\msp430f5529lp\library_project_ccs.
On building the mqtt_client project, I get multiple linker errors as shown below
<Linking>
error #16019-D: file
"C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
/osi_lib/Debug/osi_lib.lib<osi_freertos.obj>" specifies small data memory
model, which is not compatible with restricted large data memory model
specified in a previous file or on the command line
error #16019-D: file
"C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
/osi_lib/Debug/osi_lib.lib<queue.obj>" specifies small data memory model,
which is not compatible with restricted large data memory model specified in
a previous file or on the command line
error #16019-D: file
"C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
/osi_lib/Debug/osi_lib.lib<tasks.obj>" specifies small data memory model,
which is not compatible with restricted large data memory model specified in
a previous file or on the command line
error #16019-D: file
"C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
/osi_lib/Debug/osi_lib.lib<port.obj>" specifies small data memory model,
which is not compatible with restricted large data memory model specified in
a previous file or on the command line
error #16019-D: file
"C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
/osi_lib/Debug/osi_lib.lib<portext.obj>" specifies small data memory model,
which is not compatible with restricted large data memory model specified in
a previous file or on the command line
error #16019-D: file
"C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
/osi_lib/Debug/osi_lib.lib<heap_3.obj>" specifies small data memory model,
which is not compatible with restricted large data memory model specified in
a previous file or on the command line
error #16019-D: file
"C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
/osi_lib/Debug/osi_lib.lib<list.obj>" specifies small data memory model,
which is not compatible with restricted large data memory model specified in
a previous file or on the command line
error #10010: errors encountered during linking; "mqtt_client.out" not built
I did the build for all of them using the same compiler TIv16.12.0.STS with Output format as eabi(ELF).
I tried changing the linker's File Search Path for the two libraries in the project for something like "{PROJECT_LOC}/../osi_lib/Debug/osi_lib.lib". However it gave some other errors.
I would really appreciate answers to the following questions:
Please let me know if I am missing something or if this is a known issue.
I am using a free version of Code Composer Studio Version: 6.2.0.00050. Is it even possible to run the mqtt_client project, since the document mentions Code footprint: Uses 44.4 KB of Flash?
If its not possible, then is there some other "lighter" and/or open source mqtt client for code composer studio that I could use?

Related

FileNotFoundError: and driver_scaling_report.html

I am having trouble debugging my openmdao model with the ScipyOptimizeDriver.
The model inputs are a vector of design variables and the scalar output is calculated in a separate flow solver. This does involve a setting up directories to save the results from the flow solver but this is separate from where the openmdao python file is located, which I think could be part of the problem. The error is shown below:
FileNotFoundError: [Errno 2] No such file or directory: 'reports/problem1/driver_scaling_report.html'
The file is evidently missing from the current directory but I am not sure why, when I run the actuator disk example problem this file is automatically generated in the correct place.

How to solve "bad restore file magic number" when trying to load data?

I tried to load data to my R working directory and receive this error:
Error: bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message:
file ‘classize.RData’ has magic number 'RDX3'
Use of save versions prior to 2 is deprecated
I googled it and tried many options, unsuccessfully.
My Rstudio version is: 1.2.5033 (The error was happening before updating as well)
I create a new project, in the new directory, I put the data file
The data file is "classize.RData"
I have another alternative which is "classize.RDS" with the sugesstion to use readRDS(file = "classize.RDS"). When using this command, I receive that error:
cannot read workspace version 3 written by R 3.6.1; need R 3.5.0 or newer
This is in the context of a statistical course at university and my teacher assistant is unable to help me out, and whitout resolving this issue, I cannot move forward in the resolution of the needed exrecices. So please, couly you help me resolve that problem.
ps: all the students have access to the same data, It's just for me that it's not working, therefore the file should not be corrupted.

Error when trying to load .RData information

I have been trying to save my R environment to load in later sessions (my environment has about 12 data frames).
save.image(file = 'tests.RData')
if I look in my directory, my file looks like data has been saved since the .RData file is about 40MB in size.
Now when I try to load the file in the directory...
load('test.RData')
I get this error:
Error: bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message:
file 'tests.RData' has magic number ''
Use of save versions prior to 2 is deprecated
I tried looking at previous issues with this, and the only advice was to try load() and source(). However, I believe load() is for .rda/.RData files.
Is there anyway to save my environment and load it properly? What is causing my issue exactly?

Getting Error in config.txt file of NetSim Simulator

When I open NetSim's Config.txt file after Simulation I get the following error:
Error in config file ---
1) Unknown xml tag "UPDATE_TIMER" in line number 166.
Tag path: TETCOS_NETSIM/NETWORK_CONFIGURATION/DEVICE_CONFIGURATION/DEVICE
[3] /LAYER [2]/ROUTING_PROTOCOL/PROTOCOL_PROPERTY
However, Simulation runs Successfully. What does this mean?
You need to specify the missing parameters in the Configuration file which are mentioned in the "ConfigLog.txt". Since, NetSim will crash if all the required parameters are not configured, NetSim addresses this issue by enabling default values where ever required. Error produced in the "ConfigLog.txt" because the value for the "UPDATE_TIMER" for "ROUTING_PROTOCOL" is not specified in the Configuration file. In order to obtain accurate metrics for the desired scenario you need to update your Configuration.xml file.

Installing product 'collective.examples.userdata' gives "error: docs/HISTORY.txt: No such file or directory"

I am trying to try out collective.examples.userdata (by adding collective.examples.userdata to the eggs section of my buildout) but it's giving an error:
Getting distribution for 'collective.examples.userdata'.
error: docs/HISTORY.txt: No such file or directory
I have looked at the git repo and there is a docs/HISTORY.txt, so I am not sure why this would happen.
Because the release is broken.
Often times due to the complexity of releasing a package, mistakes are made. To avoid errors like this one, release managers can use the check-manifest utility which matches files in the sdist to files in the MANIFEST.in file and reports the results.

Resources