Comments (9)
Are you using the GCC arm cross-compiler and the configure script in the package? How are you setting up and building wolfSSL/wolfCrypt?
from wolfssh.
I have started up with the wolfCrypt test building with the reference to video posted on youtube link provided https://www.youtube.com/watch?v=FG6jvINvls0
But I got stuck as its configuring the STM32F4 device and I'm using STM32F1
from wolfssh.
Which toolchain or IDE are you using? The YouTube video you refer to uses the Atollic TrueSTUDIO IDE, which is Eclipse based.
To build the libwolfssl.a library archive for the STM32F103C8, I opened the IDE/TRUESTUDIO/wolfssl directory as the project. I right-clicked on the the "wolfssl" in the Project Explorer pane and selected "Properties". In the project properties, I opened the "C/C++ Build:Settings" panel, and then selected the "Target Settings" tab. In the search field on the Target Settings I entered "STM32F103" and STM32F103C8 was listed under STM32F1:MCUs. I selected it and clicked "OK" at the bottom.
Next I added the following options to the file user_settings.h:
#define WOLFSSL_PUBLIC_MP
#define WOLFSSL_SHA512
#define WOLFSSL_SHA384
#define HAVE_AESGCM
#define WOLFCRYPT_ONLY
Last I built the project by first right-clicking on "wolfssl" in the Project Explorer pane and selected "Build Project". It finished successfully and in the debug folder in the Project Explorer was the file "libwolfssl.a". That would be used in wolfSSH.
from wolfssh.
Thanks!! That really helped.
Its there any easiest way to run the echoserver on STM32F103C8T6 device and connect it from outside ?
That would be simplest implementation of it.
from wolfssh.
The example echoserver can be embedded in another application. If you set the define flag "NO_MAIN_DRIVER" it doesn't build the main() function in echoserver.c. Then you can include echo server.c in another program and call echoserver_test(). You will need to make up your own argv and argc variables to pass to the function.
from wolfssh.
Were you able to get the echoserver running?
from wolfssh.
Nope. :(
..\src\wolfssh\examples\echoserver\echoserver.c:25:33: fatal error: wolfssl/options.h: No such file or directory
#include <wolfssl/options.h>
even when I have added the
libwolfssl.a
file.
from wolfssh.
Did you add the wolfSSL header directory in your IDE's header search path? In the Atollic TRUEStudio, you select "Build Settings..." from the Project menu. Select "C/C++ General:Paths and Symbols" from the list box on the left of the properties window. On the "Includes" tab, you'll need to add the path to the wolfSSL header files.
from wolfssh.
Were you able to get the project to build?
from wolfssh.
Related Issues (20)
- Build fails
- error: Libtool library used but 'LIBTOOL' is undefined HOT 3
- Update Espressif SSH examples to use new "no setup" CMakeFiles.txt HOT 1
- wolfssh on STM32U5 HOT 4
- Does the SFTP server support IPV6? HOT 2
- Implement remote port forwarding with lwip HOT 1
- OpenSSH sftp cannot connect with v1.4.14-stable, whilst it could with v1.4.13-stable HOT 11
- Enhancing portability and error handling in wolfSSH
- diffie-hellman-group-exchange-sha256 broken since v1.4.12-stable HOT 2
- non blocking mode does not work : infinte lines of "client would read block" in offical test client program HOT 8
- make fail with sftp HOT 2
- wolfSSH Espressif ESP32 Managed Component Support HOT 1
- wolfSSL GitHooks pre-commit: incompatible on Visual Studio Windows WSL
- Double Free or Corruption on 1.4.13 and master branch HOT 5
- Rekeying doesn't work in certain cases HOT 1
- If the client is suspended, the server enters a busy loop with WS_WINDOW_FULL HOT 6
- DoReiceive() does not update the input buffer after DoPacket(), when it has to. HOT 1
- Espressif fixes: MISC_WARNING not expanded, vars not initialized, not used
- Missing wolfssl/options.h in esp-idf managed component version "1.4.15-stable-preview5"
- Runtime configurability of key signature algorithms for KEX HOT 7
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 wolfssh.