Sming Framework API
()
Toggle main menu visibility
Sming
Components
FlashString
src
include
FlashString
config.hpp
Go to the documentation of this file.
1
/****
2
* config.hpp - System-specific configuration
3
*
4
* Copyright 2019 mikee47 <mike@sillyhouse.net>
5
*
6
* This file is part of the FlashString Library
7
*
8
* This library is free software: you can redistribute it and/or modify it under the terms of the
9
* GNU General Public License as published by the Free Software Foundation, version 3 or later.
10
*
11
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
12
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
* See the GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along with this library.
16
* If not, see <https://www.gnu.org/licenses/>.
17
*
18
* @author: 2018 - Mikee47 <mike@sillyhouse.net>
19
*
20
****/
21
22
#pragma once
23
24
#include <
FakePgmSpace.h
>
25
#include <cassert>
26
#include <
stringutil.h
>
27
28
#define FSTR_INLINE __attribute__((always_inline)) inline
29
#define FSTR_ALIGNED __attribute__((aligned(4)))
30
#define FSTR_PACKED __attribute__((packed))
31
32
#ifndef ALIGNUP4
33
36
#define ALIGNUP4(n) (((n) + 3) & ~3)
37
#endif
FakePgmSpace.h
stringutil.h
Generated by
1.8.17