Commit Graph

34 Commits

Author SHA1 Message Date
myrtle c7cfb0aa4b
Remove use of boost system and filesystem (#1591)
Signed-off-by: gatecat <gatecat@ds0.me>
2025-10-22 15:01:21 +02:00
Miodrag Milanović 0bbe031a4b
set CXX standard for bba and remove boost lib (#1485) 2025-05-14 13:42:47 +02:00
Catherine 7a821623f0 bba: use `std::filesystem` instead of `boost::filesystem`.
Also, convert paths to UTF-8 for Windows builds. See #1479.
2025-05-14 05:38:30 +01:00
Gabriel Somlo e4115e85f7 Prevent chipdb array type narrowing conversion issues
When -Wnarrowing is enabled, compilation of generated
chipdb*.bin.cc files produces a large number of messages:

  "narrowing conversion of ... from ‘int’ to ‘const char’ [-Wnarrowing]"

Explicitly using uint8_t instead of char when referencing
embedded chipdb arrays resolves these issues.

Suggested-by: Catherine <whitequark@whitequark.org>
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
2025-02-01 05:28:29 +00:00
Catherine bb2336ad73 Fix `#embed` support in bbasm and use it when available.
This removes the atomic rename for bbasm outputs because it embeds
the resulting paths into the `.cc` files in embed mode. In any case
the write should be fast enough to not be a big risk for interrupted
builds.

This was tested with Clang 19 only (gcc hasn't had a release that
supports `#embed` yet).
2025-01-21 17:13:03 +00:00
Patrick Dähne f085950383 Fixed header files for boost 1.85.0 2024-04-30 12:13:11 +02:00
Miodrag Milanovic d7c2eb3fae Fix warning 2023-05-04 14:23:08 +02:00
gatecat 2ffb081442 Fixing old emails and names in copyrights
Signed-off-by: gatecat <gatecat@ds0.me>
2021-06-12 13:22:38 +01:00
whitequark bf8d4c428e CMake: require at least version 3.5 (Ubuntu 16.04). 2020-06-25 14:03:37 +00:00
whitequark 23d19a254d CMake: only request a CXX compiler. 2020-06-24 13:22:49 +00:00
whitequark 4c7aedcf4e CMake: promote bba to a true subproject. 2020-06-23 10:47:18 +00:00
Miodrag Milanovic 7220f456ef proper formating 2019-12-06 20:39:35 +01:00
Miodrag Milanovic a28786097d Fix for bba to make it portable 2019-12-06 20:26:49 +01:00
Clifford Wolf 5897a6a963 Switch to #embed_str for shorter compile time
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-12-01 17:22:47 -08:00
Clifford Wolf 0392cd3a5b Add bba #embed support
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-12-01 00:44:07 +01:00
Marcus Comstedt 3d9ce8836c bba: Require explicit endianness flag, and supply it
Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
2019-09-15 12:30:03 +02:00
Marcus Comstedt dd40c41ffc bba: Default to native endian in bbasm
Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
2019-09-15 09:43:40 +02:00
David Shah 1839a3a770 Major Property improvements for common and iCE40
Signed-off-by: David Shah <dave@ds0.me>
2019-08-05 14:52:15 +01:00
Clifford Wolf 6f38731009 Improvements in bbasm
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-06-27 08:24:32 +02:00
Marcin Kościelnicki b1d345c233 bba: Fix str with empty string.
Signed-off-by: Marcin Kościelnicki <marcin@symbioticeda.com>
2019-03-12 18:18:56 +01:00
Clifford Wolf 863432d350 Fix bba typo
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-26 18:02:50 +02:00
Clifford Wolf 03f92948d1 clangformat and GraphicElement::style comments
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-26 17:14:56 +02:00
Clifford Wolf 7f1075cb88 Update README.md 2018-07-26 13:33:48 +00:00
Clifford Wolf 10305db43f Update README.md 2018-07-26 13:30:33 +00:00
Clifford Wolf a86c4f2f5d Improvements in bbasm
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-26 15:22:52 +02:00
Clifford Wolf 171d00ee37 Update README.md 2018-07-26 12:33:46 +00:00
Eddie Hung 950f33c1bb clangformat 2018-07-25 17:53:01 -07:00
Clifford Wolf 1e71621f65 Add bba README
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-25 13:06:21 +02:00
Miodrag Milanovic 8a498c501f just Boost_PROGRAM_OPTIONS_LIBRARY 2018-07-25 12:08:13 +02:00
Miodrag Milanovic 8b60ed5fd1 Fix bba to compile on windows (no unistd there) 2018-07-25 09:31:44 +02:00
Clifford Wolf c3859072d4 Use bbasm to create iCE40 chipdb
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-24 21:10:42 +02:00
Clifford Wolf 1b7b4ece06 Add bba parser
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-24 17:59:20 +02:00
David Shah 942c552e07 Add bbasm target, use as passthru in iCE40 builder
Signed-off-by: David Shah <davey1576@gmail.com>
2018-07-24 15:31:00 +02:00
Clifford Wolf c06bca0713 Add dummy bba main
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-24 12:27:41 +02:00