beckus / stm32_p103_demos Goto Github PK
View Code? Open in Web Editor NEWA suite of demo applications for the Olimex STM32 P103 Development Kit
A suite of demo applications for the Olimex STM32 P103 Development Kit
At present, the source tree contains mixed CRLF-ending lines, that is quite unfriendly to UNIX users.
Using the text attribute in the .gitattributes
might help, but I would wish the converting to UNIX style ending lines.
There are several new contributed demos that have not been documented yet. I need to check which of these work properly with QEMU STM32, and also if any of them require specialized hardware.
hello
The demo code can be run, but it seems that uart output info are not showm in the console.
How to fix it?
thanks
The current source tree consists of STMicro's old firmware library, which is not released under the open source compatible terms. However, the latest STM32CubeF1 reimplements the peripheral routines and releases them under BSD 3-Clause ("BSD New" or "BSD Simplified") license as following:
/* COPYRIGHT(c) 2014 STMicroelectronics
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*/
After my initial work of migration to stm32cubef1
, both demos/blink_flash
and demos/button
work as expected.
I can see LED "blinking" but how to emulate a button press?
I try to follow the installation instruction. However when I make
, the compiler can't find Cocoa/Cocoa.h
header. Following is the error message.
OBJC ui/cocoa.o
ui/cocoa.m:25:9: fatal error: 'Cocoa/Cocoa.h' file not found
#import <Cocoa/Cocoa.h>
^~~~~~~~~~~~~~~
1 error generated.
make: *** [ui/cocoa.o] Error 1
I wonder if I miss some dependency to install?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.