Backport auf gcc 4.6
[hackover2013-badge-firmware.git] / ChangeLog.txt
1 v1.1.2 - ongoing
2 ==============================================================================
3 NEW FEATURES
4 ------------------------------------------------------------------------------
5 - Added drivers/sensors/ina219/ina219.c (work in progress!)
6 - Added drivers/displays/tft/hw/hx8347d.C (courtesy tauonteilchen again)
7 - Added drivers/dac/mcp4901 (courtesy tauonteilchen, thanks!)
8 - Cleaned up /tools/testfirmware to include more recent blinky, etc.
9 - Added basic TEA5767 drive
10 - Added core/cmd/ansi.h (rediscover the joy of ANSI graphics codes :)
11 - Added fastHLine and fastVLine to lcdProperties_t for all lcd drivers (to
12 known whether an accelerated vertical or horizontal line drawing function
13 is present in the driver or not)
14 - Updated all LCD drivers to include the fastHLine and fastVLine flags
15 - Added PWM command to CLI (thanks Miceuz)
16 - Added optional callback in 32-bit timer ISR (thanks again Miceuz)
17
18 BUG FIXES/OPTIMISATIONS/ETC.
19 ------------------------------------------------------------------------------
20 - Minor accuracy improvement to pwm.c (off by 1 error)
21 - Fixed typos in cmd_pwm.c and cmd_tbl.h
22 - Changed I2C default speed to 400kHz (from 100kHz)
23
24 v1.1.1 - 14 April 2012
25 ==============================================================================
26 NEW FEATURES
27 ------------------------------------------------------------------------------
28 - Added drawRoundedRectangle to drawing.c
29 - Added ability to select filled or empty rounded rectangles to the 'R' CLI
30 command
31 BUG FIXES/OPTIMISATION/ETC.
32 ------------------------------------------------------------------------------
33 - Fixed Crossworks Project (missing dependencies)
34
35
36 v1.1.0 - 9 April 2012
37 ==============================================================================
38 BREAKING CHANGES
39 ------------------------------------------------------------------------------
40 - Rewrote corner and rounded rectangle code. Only one corner enum is now used
41 (drawCorners_t)
42 - Renamed drawRectangleRounded to drawRoundedRectangleFilled
43 - Removed drawProgressBar and drawButton from drawing.c, since drawing should
44 only contain drawing primitives
45 - Reorganised a lot of the TFT drawing library to support external controls,
46 and dynamically switch between bitmap and anti-aliased fonts. In the future
47 everything that isn't a basic drawing primitive will be placed in it's own
48 control. The main benefit of this is that it's much easier to customize the
49 look and feel of your UI without having to modify drawing.c and the basic
50 drawing primitives, and to be able to switch from bitmap to anti-aliased
51 fonts depending on how much flash space you have free, etc.
52 - Removed bmp_error_t drawBitmapImage(uint16_t x, uint16_t y, char *filename)
53 to keep better seperation of primitives and more complex features, and
54 reduce external dependencies in drawing.c. Call bmpDrawImage (bmp.c)
55 directly instead.
56
57 NEW FEATURES
58 ------------------------------------------------------------------------------
59 - Added drawCorner to drawing.c
60 - Added new 'controls/' folder to the GFX library, and added a number of
61 controls that will render correctly with the theme settings, as well as
62 using bitmap or anti-aliased fonts, depending on projectconfig.h
63 - New controls:
64 - button
65 - hsbchart (Hue/saturation/brightness chart for color pickers)
66 - huechart (Hue selection gradient for color pickers)
67 - label
68 - labelcentered
69 - progressbar
70 - Added theme.h to try to define all of the color and font settings used by
71 the controls in one location to make it easier to update or modify
72 - Added aafontsCenterString to aafonts.c
73
74 BUG FIXES/OPTIMISATION/ETC.
75 ------------------------------------------------------------------------------
76 - Updated Crossworks Project to use LPC1000 Lib 1.19 (uses CMSIS 3.0)
77 - Some performance improvements to core/gpio/gpio.c (thanks Tom for the
78 suggestion)
79 - Fixed alpha blending when alpha = 100%
80 - Change gpioSetValue to be inline (should optimise to a single operation)
81
82 v1.0.0 - 23 March 2012
83 ===========================================================
84 - Added support for LPCXpresso IDE
85 - *** Moved '/drivers/chibi' to '/drivers/rf/chibi' ***
86 - *** Moved '/drivers/sensors/pn532' to '/drivers/rf/pn532' ***
87 - *** Renamed '/drivers/spiflash' to '/drivers/storage/spiflash' ***
88 - *** Renamed '/drivers/eeprom' to '/drivers/storage/eeprom' ***
89 - *** Renamed '/drivers/lcd' to '/drivers/display' ***
90 - Added I2C support to the SSD1306 driver
91 - Moved all color conversion and manipulation functions
92 to '/drivers/displays/tft/colors.c', and added a
93 few new functions: colorsDim(), etc.
94 - Added code to render antialiased fonts, based on
95 lookup tables (fast) or alpha-blending (mixed color
96 backgrounds). Support for AA2 (2-bit) and AA4
97 (4-bit) anti-aliased fonts included. Alpha-blending
98 only possible on displays where pixels can be read
99 back.
100 - Added drawGradient() to drawing.c
101 - Removed height parameter from drawButton. It's now
102 calculated based on the font height, and centered.
103 - Added bell to CLI when backspace is pressed beyond
104 the starting position (cosmetic, but still useful)
105 - Removed dependency on /core/libc files in Crossworks
106 when redirecting printf (added printf replacement
107 to sysinit.c instead)
108 - Added basic AS1115 driver for segment displays
109 - Added driver for HX8340-B based LCDs
110 - Added flag to projectconfig.h to disable the default
111 GPIO IRQ Handler functions in code/gpio/gpio.c (in
112 case you want to make your own ISR elsewhere)
113 - Added driver for Samsung VFD displays from Adafruit
114 - Added ADC average sampling option to projectconfig.h.
115 This allows you to take several readings from the
116 ADC and return the average. Helps reduces peaks and
117 valleys in the ADC due to noisen but at the expense
118 of slower reads.
119 See: "tools/validation/adctest" for more info
120 - Added I2C driver for PN532
121 - Updated and added PN532 examples to
122 /tools/examples/sensors/PN532
123 - updated touchscreen.h to be a bit clearer during
124 calibration, though it can still be much better
125 organised
126 - Had to add "__asm volatile("nop");" after pin writes
127 in the ILI9328 driver since some LCDs couldn't
128 keep up with the high-speed writes with bit-banding
129 - Fixed I2C clock duty cycle registers
130 - Changed I2C buffer size from 32 to 64 bytes (i2c.h)
131 - Added CFG_BRD_LPC1343_OLIMEX_P to board selection
132 in projectconfig.h (courtesy PHK)
133 - Added SSD1331_COLORORDER_RGB flag to SSD1331.h to
134 select between RGB and BGR color order
135 - Added 128x32 support to ssd1306.c and rewrote
136 initialize sequence for 128x32 and 128x64 displays
137 - Added driver for Sharp Memory Display
138 /drivers/lcd/bitmap/sharpmem
139 - Added SPI Flash example
140 /tools/examples/spiflash/*
141 - Added write function to SPI Flash driver
142 /drivers/spiflash/*
143 - Added CFG_BRD_LPC1343_REFDESIGN_MINIMAL as a board
144 option in projectconfig.h. Tries to keep the flash
145 use as small as possible by initialising less
146 peripherals in systemInit().
147 - Changed CodeLite project files to support real
148 debugging with a Segger J-Link and GDB Server.
149 - Fixed issue with USB CDC instantiation for
150 FreeBSD (courtesy PHK)
151 - Added experimental SSD1351 OLED driver to
152 /drivers/lcd/tft/hw
153
154 v0.9.5 - 3 August 2011
155 ======================
156
157 - Redid the font rendering code to use DotFactory
158 generated fonts, and update to the latest binary
159 in the /tools folder. All fonts have been
160 re-rendered to accomodate the updated code.
161 - Updated clock values in cpu.c for PLL to match FCCO
162 range of 156-320MHz
163 - Changed SCB_PLLCTRL_MULT_* to SCB_PLLCTRL_MSEL_* in
164 lpc111x.h to match usermanual
165 - Changed SCB_PLLCTRL_DIV_* SCB_PLLCTRL_PSEL_* in
166 lpc111x.h to match usermanual
167 - Added inline version of key functions in ili9328.c,
168 which increases the code size ~1.3KB but more than
169 doubles the drawing speed for most drawing functions
170 by avoiding branch operations and pushing and popping
171 the stack multiple times. Inline methods can be
172 toggled with 'ILI9238_USE_INLINE_METHODS'.
173 - Fixed IOCON_SWDIO_PIO1_3_FUNC_CT32B1_MAT2 in lpc134x.h
174 - Added drawCornerFilled() to drawing.c and LCD CLI
175 - Fixed a nasty bug with 'gpioInterruptEvent' in the
176 gpioSetInterrupt function (core/gpio/gpio.c)
177 - Add drawTriangle() and drawTriangleFilled() to
178 drawing.c and LCD CLI
179 - Added cpuReset() to reset the board via AIRCR
180 - Removed text input dialogue from LCD CLI ('T') to
181 save a few KB. Command file still exists, just no
182 longer included in cmd_tbl.h by default.
183
184 v0.9.2 - 14 June 2011
185 =====================
186
187 - Added ISL12022M RTC Driver (/drivers/rtc/isl12022m)
188 - Fixed a bug drawing filled circles with lcdDrawVLine
189 - Added CLI command to toggle LCD backlight
190 - Added rounded rectangle command to CLI
191 - Added CFG_INTERFACE_DROPCR to projectconfig.h to
192 ignore CR (\r) characters in incoming data for
193 the CLI
194 - Added CFG_INTERFACE_SHORTERRORS to projectconfig.h
195 to only send short (1 char + new line) CLI error
196 messages rather than something verbose
197 - Added CFG_INTERFACE_CONFIRMREADY to projectconfig.h
198 to provide a character to indicate when a command
199 is complete in case the IRQ pin
200 (CFG_INTERFACE_ENABLEIRQ) can't be used
201 - Fixed a bug with reversed R and B bits when reading
202 a pixel from the LCD in CLI mode
203 - Added lcdDrawPixels() to lcd.h and the current lcd
204 drivers to render rows of raw lcd data much quicker
205 than addressing consecutive pixels individually.
206 Can be used with windowing in future for fast
207 animation, continuously writing raw pixels in a
208 32x32 pixel frame, etc.
209 - Fixed ili9328SetWindow() and ili9325SetWindow().
210 They can now be used for fast screen paints of
211 restricted areas of the screen, such as animations
212 where raw pixel data is constantly fed to the LCD.
213 - Fixed pixel overflow bugs in drawCircleFilled(). Any
214 pixels that exceed screen limits will now be dropped,
215 though at the expense of slightly slower code.
216 - Added drawLineDotted() to drawing.c to draw lines with
217 a fixed pattern of empty and solid pixels
218 - Added __resetBootloader() macro to lpc134x.h to
219 reset and enter the USB bootloader (LPC1343 Reference
220 Design Base Board only since this depends on the
221 existance of the RC combination on the ISP pin).
222 To reset and executre code normally, the watchdog
223 time can be used (see "core/wdt").
224 - Added AIRCR register to lpc134x.h (Application Interrupt
225 and Reset Control Register).
226 - Added drawIcon16() to drawing.c to render monochrome
227 16x16 pixel icons from a byte array.
228 - Added a handful of common 16x16 icon definitions in
229 /drivers/lcd/icons16.h ... adapted from Gentleface
230 Toolbar Icon Set. For license terms see
231 http://www.gentleface.com/free_icon_set.html
232 - Added a few basic RGB565 color schemes to colors.h and
233 an image file showing the colors in /tools/colors_h.png
234 - Updated alphanumeric dialogue form to use new buttons.
235 - Rewrote drawButton() to use rounded rectangle and
236 all colors are now passed in as parameters. Also
237 modified the button command in the CLI to match this.
238 - Rewrote drawProgressBar() to take advantage of the
239 new rounded rectangle function (below). Also
240 modified the progress bar command in the CLI to
241 allow more colors to be indicated when rendering.
242 - Added drawRectangleRounded() to drawing.c (filled
243 rectangle with configurable rounded corners).
244 - Added drawArrow() to drawing.c to make small rectangles
245 for left/right menu items, etc.
246 - Completely rewrote the touch screen calibration code to
247 be much more accurate.
248
249 v0.9.0 - 28 March 2011
250 ======================
251
252 - Calibration process no longer starts automatically when
253 calibration data is not found in EEPROM. tsCalibrate()
254 now needs to called manually or from the CLI.
255 - Fixed a bug in cmd_tswait.c when no delay was passed.
256 - Added CLI command to set touch screen threshold
257 to register a touch event (since this can vary from
258 screen to screen). Type 'x' at the CLI to get/set
259 the value. The setting is persisted to EEPROM, and if
260 no value is found on EEPROM CFG_TFTLCD_TS_DEFAULTTHRESHOLD
261 from projectconfig.h is used.
262 - Adjusted touch screen code to check ADC values twice
263 and compare. If mismatch occurs, and error is returned.
264 This provides far more consistent TS values at the
265 expense of having to check the error results. See
266 'alphanumeric.c' for an example of doing this
267 correctly.
268 - Added seperate driver for ILI9328 based displays, even
269 though it seems to be identical to the ILI9325. Files
270 were seperated in case the initialisation needs to be
271 tweeked later or if incompatibilities are found.
272 - Added the ability to write the contents of the LCD
273 to a bitmap image, though it's very slow reading data
274 pixel by pixel and converting it to 24-bit RGB values.
275 Performance can definately be improved.
276 - Added 'drawRGB565toBGRA32' to drawing.c to convert
277 RGB565 colors back to the canonical BGRA32 format
278 - Added gain controls to TSL2561 driver to increase or
279 decrease sensitivity. Should be easy to implement
280 auto-gain functionality now.
281 - Changed USB VID to a valid value. Source files and
282 lpc134x-vcom.inf updated accordingly.
283 - Moved USB VID and PID to projectconfig.h
284 - Added '-mcpu' flag to the linker in Makefile (the wrong
285 libm was being linked because of this).
286
287 WARNING
288 --------------------------------------------------------
289 - Some config settings in EEPROM were relocated in v0.90+
290 of the LPC1343 Code Base to take into account the new
291 touch screen calibration code. See projectconfig.h
292 for more details of the new EEPROM layout.
293
294 v0.8.6 - 21 March 2011
295 ======================
296
297 - Added DWT section to LPC134x.h (see Cortex-M3
298 Technical Reference Manual section 8.3)
299 - Added CPU_RESET_CYCLECOUNTER to cpu.c to do rough
300 in-code performance checks (counts CPU cycles)
301 - Added '-lm' to linker in Makefile for math.c support
302 - Increased MAX_STRING_SIZE from 100 to 255 in stdio.c
303 - Added driver for the TCS3414 RGB color sensor
304 - Added driver for the TSL2561 digital light sensor
305 - Added CFG_USBCDC_BUFFERSIZE to projectconfig.h
306 instead of cdc_buf.h.
307 - Added a PWM example using a piezo buzzer (see
308 'tools/examples/basics/pwm_piezobuzzer' for details)
309 - Added ctype.c to 'core/libc'
310 - Changed Crossworks project to use libc files from
311 'core/libc' and modified the USB CDC printf to be
312 much faster by redirecting inside 'puts' rather than
313 '__putchar' (see 'sysinit.c').
314 - Fixed a bug in LPC134x.h ... USB_CMDCODE write and read
315 masks were reversed
316 - Added a simple example of reading the card ID from an
317 ISO14443A (Mifare Classic, etc.) card using the PN532
318 ('/tools/examples/sensors/pn532/ISO14443A_ID').
319 - Added an 'lcd' folder to 'tools/examples' showing how to use
320 the generic lcd drawing routines, the touch-screen, etc.
321 - Rewrote part of the touch screen calibration code to get more
322 accurate results. Each point is now tested twice and the
323 results are averaged. Values beyond a certain limit are also
324 rejected to ignore wacky readings.
325 - Added a preliminary PN532 (NFC/RFID) driver. Currently UART
326 only, and only allows simple commands to be sent and received.
327 By default, all data is fed out to the console via printf.
328 Will be elaborated and expanded in future releases.
329 - Cleaned up the ILI9325 TFT LCD driver a bit, adding a proper
330 enum for the commands, etc.
331
332
333 v0.8.5 - 7 March 2011
334 =====================
335
336 - Fixed a problem with GDB script when deploying firmware
337 with Segger J-Link in CodeLite. Code will now deploy
338 and start executing properly when F5 is pressed (assuming
339 the Segger GDB Server software is running in the background).
340 - Interrupts are now disabled while feeding the watchdog as per
341 a warning in the usermanual.
342 - Changed fonts for TTF LCDs. DejaVu Sans 9 is now used by default
343 in the LPC1343 Code Base. The following open source fonts have
344 been converted using The Dot Factory (see '/tools/dotfactory') and
345 can be found in '/drivers/lcd/tft/fonts':
346
347 FONT NAME WIDTH
348 ------------------------------- ----------
349 - Bitstream Vera Mono 9 Fixed (8)
350 - Bitstream Vera Mono 9 Bold Fixed (8)
351 - Bitstream Vera Mono 11 Fixed (9)
352 - Bitstream Vera Mono 11 Bold Fixed (9)
353 - DejaVu Sans 9 Variable
354 - DejaVu Sans 9 Bold Variable
355 - DejaVu Sans Condensed 9 Variable
356 - DejaVu Sans Mono 8 Fixed (8)
357 - DejaVu Sans Mono 8 Bold Fixed (8)
358
359 - Modified projectconfig.h to select the target board and configure
360 the project accordingly. This isn't ideal, but it's a lot more
361 maintainable than have a seperate code base for every board since
362 they share 95% of the same code.
363 - Modified WDT code to use the WDT oscillator (rather than the
364 external crystal)
365 - Fixed a bug when waking up from sleep in Chibi. Removed systick
366 delay when toggling reset and slptr pins since this was causing
367 a blocking condition with the wakeup ISR.
368 - Added an example of how to retrieve the MCU's unique
369 128-bit serial number using IAP (core/iap)
370 - Added an option to projectconfig.h to select which pin to use for
371 SCK on SSP0, since the QFN33 package doesn't have all the same
372 pins.
373 - Updated Chibi to v0.91 (adds sleep method and promiscuous mode to allow
374 Chibi to act as an 802.15.4 packet sniffer, etc.).
375 - Added lcdProperties_t to lcd.h to indicate the properties of different
376 LCDs (to determine if there is a touch screen present, whether the
377 screen orientation can be changed, etc.)
378 - Added basic ST7735 LCD driver (128x160 pixel TFT LCD using 6-pin
379 SPI-esque interface). Work in progress (no orientation support, etc.).
380 - Added some simple examples in the 'tools/examples' folder.
381
382 v0.80 - 27 Jan 2011
383 ===================
384
385 - Added optimised lcdDrawVLine using orientation
386 though this should only be used on lines
387 greate than 20 pixels or so to see any real
388 advantage
389 - Added cmd_uart to allow the HW UART speed
390 to be set in EEPROM (between 9600 and
391 115200). Use the 'U' command.
392 - Updated Crossworks projects files to use
393 custom printf in 'core/libc' (gains about
394 1.3KB in release mode)
395 - Added driver for SSD1306 OLED displays
396 to '/drivers/bitmap/ssd1306'
397 - Changed commands in the CLI to single
398 characters and shortened descriptions
399 to save flash space (~0.7KB)
400 - Updated ILI9325 to allow the screen
401 orientation to be changed to portrait
402 of landscape mode.
403 - Added cmd_orientation to change the LCD
404 orientation from the CLI
405 - Fixed a bug in the PMU Wakeup interrupt
406 handler
407 - Added a circular buffer for outgoing CDC
408 data (cdc_buf.c) since you can only feed one
409 frame per ms (max 64 bytes). The speed needs
410 to be improved finding the right balance
411 between caching data and sending it to the EP,
412 but this should avoid any dropped characters.
413 More testing will be needed to improve this.
414 - Fixed a bug with the USB CDC buffer
415 - Added SILENTMODE to the CLI to disable the
416 command prompt and echo of input characters
417 (see CFG_INTERFACE_SILENTMODE). Useful
418 when another MCU is use the CLI rather than
419 a human.
420 - Added IRQ pin to the CLI to indicate when a
421 command is being processed (pin = low) and
422 when it has completed or a new command can
423 be processed (pin = high).
424 - Added 'cmd_tswait' to wait for a touch event
425 - Removed 'drivers/nfc/pn532' until proper drivers
426 can be written
427 - Added 'cmd_text' and 'cmd_textw' to the CLI to
428 render text on the LCD and get the width in
429 pixels of the specified text before rendering.
430
431 v0.70 - 18 Dec 2010
432 ===================
433
434 - Added 'calibrate' and 'gettext' commands to the CLI
435 - Added a dialogue box for the TFT LCD/Touchscreen
436 to input alpha-numeric data and return the
437 results as a string ('drivers/lcd/tft/dialogues/*')
438 - Added touch screen calibration code and UI
439 ('drivers/lcd/tft/touchscreen.c')
440 - Fixed a bug in ILI9325.c to make sure that the LCD
441 is reset during initialisation
442 - ** IMPORTANT ** Changed 'core/i2c/*' to fix a number
443 of bugs (thanks Rob65!) ... though this means all
444 i2c peripherals and drivers will need to be tested.
445 - Added 'colorscheme_t' to drawing.h to try to use a
446 standard color palette across GUI controls and make
447 it easy to change later. Currently only the button
448 and progress bar make use of this.
449 - Added 'lcdBacklightOn()' and 'lcdBacklightOff()' to
450 lcd.h
451 - Added 'CFG_TFTLCD_TS_THRESHOLD' to projectconfig.h
452 to configure touch-screen sensitivity when waiting
453 for a touch event
454 - Modified 'core/gpio/gpio.c' to reduce the compiled code
455 size. Repetitive switches where only the registers
456 change were modified to use temporary registers and
457 execute the code only once.
458 - Added the source and binaries for TheDotFactory to
459 'tools/dotfactory' for convenience sake. See:
460 http://www.pavius.net/downloads/tools/53-the-dot-factory
461 - Removed 'drivers/lcd/tft/tscalibration.c' and moved
462 the relevant code to touchscreen.c
463 - Removed the imgconv tool from 'tools/imgconv' (see
464 point below for more information)
465 - Removed the previous custom image code and replaced
466 it with 24-bit Windows bitmap files. This is a bit
467 slower (since 24-bit data needs to be converted to
468 RGB565 for each pixel and rows are rendered bottom
469 up making pixel drawing harder to optimise) but
470 converting and eventually saving images is easier.
471 The current code is functional but needs to be
472 heavily optimised.
473 - Made some minor optimisations to the data and cmd
474 functions in the ILI9325 driver. Other functions
475 need to be optimised as well, but these two should
476 be close to optimal now. Currently 25 cycles
477 compiled with -Os, 36 cycles with no optimisation.
478 - Added 'projects/command/drawing/cmd_bmp.c' to load
479 24-bit Windows bitmap images from the SD card and
480 display them on the TFT LCD.
481 - Added some schematics to '/tools/schematics' to
482 show the assumed pin configurations
483
484 v0.60 - 8 December 2010
485 =======================
486
487 - Added a number of CLI commands for the TFT LCD
488 (see 'project/commands/drawing')
489 - Modified FCLK_FAST() in 'drivers/fatfs/mmc.c' to set
490 the max speed to 6.0MHz for improved reliability.
491 Tested with a 4GB microSD card, 300KB/s can be read
492 using a 512 byte read buffer.
493 - Modified Chibi to use 16-bit timer 0 for us delays
494 (more accurate)
495 - Added a number of commands to
496 '/projects/commands/drawing' for basic TFT LCD
497 operations. Removed 'lcd-test.c' and 'lcd-fill.c'.
498 - Added a flag to projectconfig.h to make FATFS read-only
499 (to save a couple KB when space is tight).
500 - Moved 'project/eeprom.*' to 'drivers/eeprom' to add a
501 level of abstraction to eeprom access throughout the code
502 - Added a table to projectconfig.h to manage eeprom
503 addresses. First 256 byte of eeprom should be reserved
504 for this.
505 - Added 'drivers/lcd/tft/colors.h' to keep all common
506 16-bit RGB565 color definitions in one location
507 - Added some sample images to 'tools/imgconv' that can
508 be used to render a basic clock on a TFT LCD screen
509 (using drawImageFromFile in 'drivers/lcd/tft/drawing.c')
510 - Modified the makefile to automatically run './lpcrc'
511 post-build
512 - Added drawButton() to 'drivers/lcd/tft/drawing.c'
513 - Updated 'drivers/lcd/tft/touchscreen.c' to do basic
514 debouncing. tsReadZ() was added to detect pressure on
515 the touch screen, and tsWaitForEvent() will only exit
516 when the pressure passes a minimum threshold. (Thanks
517 to Limor for pointing out some code by Rossum for this.)
518 - Fixed some off-by-one pixel errors in cmd-test and
519 elsewhere
520
521 v0.51 - 27 November 2010
522 ========================
523
524 - Added simple RSA encryption/decryption driver. Currently limited to
525 using 64-bit and 32-bit numbers in key pairs, which isn't terribly secure,
526 but allows much smaller code size than if huge number support was included.
527 - Added a driver for the MCP4725 I2C DAC (see "drivers/dac/mcp4725").
528 - Moved 'rom_drivers.h' from 'core/usbhid-rom' to 'core' since it can be used
529 for usbmsd-rom as well if it is implemented at a later date.
530 - ili9325ReadData() added to ili9325.c by Adafruit Industries (thanks!)
531 - Modified FCLK_FAST() in 'drivers/fatfs/mmc.c' to set fast SPI speed
532 to 18MHz instead of the previous 4MHz. This allows for slightly faster
533 rendering of bitmap images from SD cards, amongst other things.
534 - Fixed ILI9325 driver to use 0,0 based pixels and not 1x1, meaning the
535 pixel co-ordinates are 0..239 for X and 0..319 for Y. There may still be
536 some off-by-one pixel issues that need to be further tested.
537
538 v0.50 - 26 October 2010
539 =======================
540
541 - Moved command.c and cmd_tbl.h to /project to try to keep all
542 project-specific files in one location to improve code-sharing and make
543 upgrading easier
544 - Created seperate .c files for every command for the command-line interface
545 to make it easier to maintain and share code between projects. All commands
546 listed in cmd_tbl.h are now stored in their own files in /project/commands
547 (ex.: "/project/commands/cmd_hello.c", etc.)
548 - Added a CLI command to demonstrate how to draw to the ILI9325 TFT LCD
549 - Added a CLI command to show the contents of any directory from the SD card
550 (/project/commmands/cmd_sd_dir.c)
551 - Added a CLI command showing how to enter deep-sleep and exit with a SW
552 wakeup (/project/commands/cmd_deepsleep.c). Please note that the wakeup
553 will not work if you are using USB for the CLI. To see the wakeup message,
554 you must use UART for the CLI, which is selected by uncommenting
555 CFG_PRINTF_UART in projectconfig.h
556 - Fixed pmu.c to set the core clock back to an appropriate state after wakeup
557 - Added simple wrapper for eeprom access (projects/eeprom.c)
558 - Reorganised drivers/lcd to take into account non TFT LCD displays.
559 - Added a preliminary (experimental) driver for 128x64 pixel ST7565-based
560 bitmap LCDs (ex: Adafruit Industries - http://bit.ly/9xj5vw) ... based on a
561 driver from Limor Fried at Adafruit
562 - Numerous bug fixes added by Roel Verdult (Linux compatibility, GCC warnings, etc.)
563 - Added stub files for PN532 driver (/drivers/nfc/pn532), and added CFG_PN532 to
564 projectconfig.h as an option
565 - Added a simple pwm example using 16-bit timer 1 and p1.9 (MAT0) for the output. PWM can be used
566 to drive stepper motors, or to dim LEDs by adjusting the duty-cycle, etc. The example can be
567 found in "/core/pwm"
568 - Added a bi-polar stepper motor driver based on the Arduino library. Basic position data was added
569 to detece deviation from the 'Home' position and to retrieve the spindle's current angle. See
570 "drivers/motor/stepper" for more information.
571 - Added test firmware for the UART and USBCDC CLI (tools/testfirmware)
572 - Added a table to projectconfig.h to try to keep track of pin and peripherals
573 usage by drivers and the included SW examples.
574 - Reorganised some pins used by drivers to avoid pin conflicts.
575 - Modified core/timer16/timer16.c to allow PWM output to be stopped after a
576 certain number of pulses have been sent out.
577
578 KNOWN ISSUES
579
580 - The SPI code needs to be modified to allow several SPI devices to be safely
581 connected on the same bus. At present, this has not been tested since the
582 SSP/SPI blocks are used exclusively in the current drivers.
583
This page took 0.07178 seconds and 5 git commands to generate.