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
# CMakeLists.txt for multi-project STM32H7Sxx MCUs and CLion IDE | |
# | |
# DISCLAIMER: Experimental version, based on undocumented assumptions how STM32CubeMX works | |
# DISCLAIMER: THIS FILE IS PROVIDED UNDER "The Unlicense" LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND | |
# | |
# Requirements: | |
# Toolchain binaries have to be in system path | |
# STM32CubeMX field "Project Manager | Code Generator | Target IDE" must be set to "STM32CubeIDE" | |
# | |
# Tested under environment: |
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
# CMakeLists.txt for dual-core STM32L5xx MCUs and CLion IDE | |
# | |
# DISCLAIMER: Experimental version, based on undocumented assumptions how STM32CubeMX works | |
# DISCLAIMER: THIS FILE IS PROVIDED UNDER "The Unlicense" LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND | |
# | |
# Requirements: | |
# Toolchain binaries have to be in system path | |
# STM32CubeMX field "Project Manager | Code Generator | Target IDE" must be set to "STM32CubeIDE" | |
# | |
# Tested under environment: |
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
# CMakeLists.txt for dual-core STM32H7xx MCUs and CLion IDE | |
# | |
# DISCLAIMER: Experimental version, based on undocumented assumptions how STM32CubeMX works | |
# DISCLAIMER: THIS FILE IS PROVIDED UNDER "The Unlicense" LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND | |
# | |
# Requirements: | |
# Toolchain binaries have to be in system path | |
# STM32CubeMX field "Project Manager | Code Generator | Target IDE" must be set to "STM32CubeIDE" | |
# | |
# Tested under environment: |
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
cmake_minimum_required(VERSION 3.17) | |
set(CMAKE_SYSTEM_NAME Generic) | |
set(CMAKE_SYSTEM_VERSION 1) | |
# specify cross compilers and tools | |
set(CMAKE_C_COMPILER arm-none-eabi-gcc) | |
set(CMAKE_CXX_COMPILER arm-none-eabi-g++) | |
set(CMAKE_ASM_COMPILER arm-none-eabi-gcc) | |
set(CMAKE_AR arm-none-eabi-ar) | |
set(CMAKE_OBJCOPY arm-none-eabi-objcopy) | |
set(CMAKE_OBJDUMP arm-none-eabi-objdump) |
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
package com.vaadin.tests; | |
import com.vaadin.data.Binder; | |
import com.vaadin.data.ErrorMessageProvider; | |
import com.vaadin.data.HasValue; | |
import com.vaadin.data.ValueContext; | |
import com.vaadin.data.converter.StringToIntegerConverter; | |
import com.vaadin.server.VaadinRequest; | |
import com.vaadin.tests.data.bean.Person; | |
import com.vaadin.ui.Button; |
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 javax.servlet.*; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import java.io.IOException; | |
public class HttpsFilter implements Filter { | |
@Override | |
public void init(FilterConfig filterConfig) throws ServletException { | |
} |
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 javax.servlet.Filter; | |
import javax.servlet.FilterChain; | |
import javax.servlet.FilterConfig; | |
import javax.servlet.ServletException; | |
import javax.servlet.ServletRequest; | |
import javax.servlet.ServletResponse; | |
import javax.servlet.annotation.WebFilter; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import java.io.IOException; |