This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
001:018:000:DESCRIPTOR 1520104058.029510 | |
05 0D 09 04 A1 01 85 04 09 55 15 00 25 FF 75 08 | |
95 01 B1 02 85 03 09 54 81 02 09 56 27 FF FF 00 | |
00 75 10 55 0C 66 01 10 81 02 09 22 A1 02 09 42 | |
25 01 75 01 95 01 81 02 09 51 25 7F 75 07 95 01 | |
81 02 05 01 09 30 27 FF FF 00 00 75 10 95 01 81 | |
02 09 31 81 02 05 0D 55 0E 65 11 09 48 09 49 95 | |
02 81 02 C0 09 22 A1 02 09 42 25 01 75 01 95 01 | |
81 02 09 51 25 7F 75 07 95 01 81 02 05 01 09 30 | |
27 FF FF 00 00 75 10 95 01 81 02 09 31 81 02 05 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <avr/io.h> | |
#include <avr/sleep.h> | |
#include <avr/power.h> | |
#include <avr/wdt.h> | |
#include <avr/interrupt.h> | |
#include <util/delay.h> | |
#define LED PB4 | |
#define LED_DDR DDRB | |
#define LED_PORT PORTB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import shutil | |
import glob | |
## List of the STM32 chips supported by OpenCM3 | |
chips = ["f0", "f1", "f3", "f4", "f2", "l0", "l1"] | |
## Representative projects for each chip | |
## These really only vary in their linker files and peripherals | |
## Look at the examples (below) for specifics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Cross-compilation commands | |
CC = arm-none-eabi-gcc | |
LD = arm-none-eabi-gcc | |
AR = arm-none-eabi-ar | |
AS = arm-none-eabi-as | |
OBJCOPY = arm-none-eabi-objcopy | |
OBJDUMP = arm-none-eabi-objdump | |
SIZE = arm-none-eabi-size | |
# our code |
NewerOlder