28 Commits

Author SHA1 Message Date
Michael Ossmann
04614c616a blinky: support platform detection 2022-09-23 15:08:22 -04:00
Michael Ossmann
06b9d7bee0 Clean up source code copyright notices. 2022-09-23 14:46:52 -04:00
Dominic Spill
9da826e9ef Add Windows build art(e|i)facts (#561)
This includes:
 * Cmake clean up - thanks @Qyriad
 * Windows binaries saved after each appveyor build
 * A bump to the Visual Studio version that we use to build it
 * An appveyor cygwin script for building firmware, it doesn't work but it seems like someone might pick it up and make it work, or blow it away if we switch to Travis firmware artefacts
2018-12-05 18:45:26 -07:00
Arnout Vandecappelle (Essensium/Mind)
a6284cb9ed Don't require a C++ compiler
By default, CMake assumes that the project is using both C and C++.  By
explicitly passing 'C' as argument of the project() macro, we tell CMake
that only C is used, which prevents CMake from erroring out if a C++
compiler doesn't exist.
2018-03-31 22:50:37 +02:00
Michael Ossmann
4dae32fb1b fixed unused variable warning in blinky 2017-01-26 23:39:41 -07:00
Mike Davis
47ea4326e9 Used delay instead of equivalent code 2016-07-08 23:36:03 +02:00
Dominic Spill
b985d9c899 Merge branch 'abstract_buses' of https://github.com/jboone/hackrf into jboone-abstract_buses 2015-12-18 12:24:43 +00:00
Michael Ossmann
017a80604a removed .svn directory that never should have been there 2014-12-03 14:01:35 -07:00
Jared Boone
5363ec3672 Use new GPIO API to abstract GPIO in various drivers.
Had to do it all at once due to name conflicts with API exposed in libopencm3.
Quite invasive patch! Also precipitated an LED API...
2014-11-15 16:26:59 -08:00
Michael Ossmann
dbf43bb06b resolved conflicts and merged jboone:firmware_cmake 2014-11-04 17:53:42 -07:00
Jared Boone
9e95d235b4 Create separate CMake toolchain file. Add references to toolchain file in each firmware CMakeLists.txt. I suspect this can be simpler still, just not sure how, yet... 2014-08-11 16:43:58 -07:00
Jared Boone
2a7ed069c7 Firmware build system is now CMake, and seems much more sane on the whole. 2014-08-11 16:37:14 -07:00
Jared Boone
fe9b4b8ca8 Remove RF power enable from blinky -- it's not necessary. 2014-08-11 16:08:18 -07:00
Jared Boone
fb5dc6d5e0 Merge remote-tracking branch 'mossmann/master' into jboone_refactor_20130906
Conflicts:
	firmware/common/si5351c.c

Preferred Si5351C configuration that drives 40MHz into the LPC43xx GP_CLKIN.
Added HACKRF_ONE qualifier for CPLD TMS/TDI swap.
2014-01-07 16:48:52 -08:00
Jared Boone
574056c495 Fix long-standing example projects breakage due to tuning and SGPIO API and dependency changes. 2014-01-02 18:24:55 -08:00
Michael Ossmann
040aafc399 blinky update for HackRF One 2013-11-27 02:33:45 -07:00
Jared Boone
552dbe4a6d Add sgpio.c to C files, now required for pin initialization. 2013-11-20 15:23:26 -08:00
Ben Gamari
3dbe817b09 firmware/: Use uint32_t instead of u32 2013-07-07 17:48:54 -04:00
Michael Ossmann
190d8fb8e7 Makefile fixes for bad max2837_set_lpf_bandwidth references 2012-11-05 08:43:07 -07:00
Jared Boone
c02bf358d1 Added license/copyright to several Makefiles. 2012-10-10 15:50:31 -07:00
Jared Boone
79d352f17f Fixed Makefile breakage in blinky and blinky_rom_to_ram. 2012-07-31 21:39:43 -07:00
Jared Boone
72ee83eda9 Moving gpio_setup() / pin_setup() functions in separate projects to hackrf_core.h/c.
Moved enable_1v8_power() and release_cpld_jtag_pins() to hackrf_core.h/c.
2012-07-31 21:38:57 -07:00
TitanMKD
ba13c79a37 Added ROM to RAM code copy & exec => Warning requires latest version of libopencm3 !! 2012-06-10 11:46:55 +02:00
Jared Boone
7501238ec2 Change use of Makefile BINARY to TARGET. 2012-06-07 16:55:06 -07:00
Michael Ossmann
6ec040698c Makefile fixes 2012-06-07 10:25:42 -06:00
Michael Ossmann
afdcd3f37e migrated blinky.c to new libopencm3 stuff (copied from libopencm3 miniblink example) 2012-06-07 08:15:22 -06:00
TitanMKD
acc806d5ce * Add PIN_EN1V8 (1V8 work fine 1V8 LED is set to ON), and PIN_BOOT0, 1, 2 & 3(read only).
* Fixed wait() by using volatile else the loop was removed by GCC.
Tested it with SPIFI work fine:
SPIFI tested with LPCXpresso+NXP LPC Link (from LPCXpresso Board LPC1769 Debugger)
 -> Program Flash with Flash Driver LPC1850A_4350A_SPIFI.cfx
     -> Select file: firmware\blinky\blinky.bin
     -> Base address 0x14000000 & option Erase only required pages
2012-05-28 00:02:48 +02:00
Michael Ossmann
a748e31328 started firmware directory with some basic stuff 2012-05-21 11:33:46 -06:00