Skip to content

Instantly share code, notes, and snippets.

"""STM32 MCU serial firmware loader"""
# Mycropython test >> Should return :DEV_ID: 0410
#import stm32flasher
#address = 0x00
#size = 1
#stm32bl = stm32flasher.Stm32flasher(1, 115200,5)
import time
-- (c)EMARD
-- License=BSD
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
library ecp5u;
use ecp5u.components.all;
/* Stream musing from I2S to Bluetooth
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include <string.h>
#include "freertos/FreeRTOS.h"
/* Stream musing from I2S to Bluetooth
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include <string.h>
#include "freertos/FreeRTOS.h"
--
-- AUTHOR=Goran
-- LICENSE=BSD
--
-- VHDL Wrapper for Verilog
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company: Team Honey Badger
// Engineer: Sean Kennedy
//
// Create Date: 18:03:03 03/09/2015
// Design Name:
// Module Name: LVDS_Output
// Project Name: LVDS_Implementation_v2
// Target Devices: Atyls - Spartan6
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
library ecp5u;
use ecp5u.components.all;
entity top_testbench is
Port
(
// Working with generator
module top_vgatest_envox
(
input clk_25mhz,
output [7:0] led,
// output [3:0] gpdi_dp, gpdi_dn,
input gp_i_clk_p,
output gp_o_clk_p,
input [11:9] gp_i,
module top_vgatest_640x480
(
input clk_25mhz,
input [6:0] btn,
output [7:0] led,
output [3:0] gpdi_dp,
input [12:9] gp_i,
output wifi_gpio0
);
-- (c)EMARD
-- License=BSD
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
library ecp5u;
use ecp5u.components.all;