early 15c. in a literal sense, from flat (adj.) + -ly (2). Meaning "in a plain manner" is from 1560s; sense of "in a dull manner" is from 1640s.
Entries linking to flatly
flat adj.
c. 1300, "stretched out (on a surface), prostrate, lying the whole length on the ground;" mid-14c., "level, all in one plane; even, smooth;" of a roof, "low-pitched," from Old Norse flatr "flat," from Proto-Germanic *flata- (source also of Old Saxon flat "flat, shallow," Old High German flaz "flat, level," Old High German flezzi "floor"), from PIE root *plat- "to spread."
From c. 1400 as "without curvature or projection." Sense of "prosaic, dull" is from 1570s, on the notion of "featureless, lacking contrast." Used of drink from c. 1600; of women's bosoms by 1864. Of musical notes from 1590s, because the tone is "lower" than a given or intended pitch. As the B of the modern diatonic scale was the first tone to be so modified, the "flat" sign as well as the "natural" sign in music notation are modified forms of the letter b (rounded or square).
Flat tire or flat tyre is from 1908. Flat-screen (adj.) in reference to television is from 1969 as a potential technology. Flat-earth (adj.) in reference to refusal to accept evidence of a global earth, is from 1876.
-ly 2
common adverbial suffix, forming from adjectives adverbs signifying "in a manner denoted by" the adjective, Middle English, from Old English -lice, from Proto-Germanic *-liko- (cognates: Old Frisian -like, Old Saxon -liko, Dutch -lijk, Old High German -licho, German -lich, Old Norse -liga, Gothic -leiko); see -ly (1). Cognate with lich, and identical with like (adj.).
Weekley notes as "curious" that Germanic uses a word essentially meaning "body" for the adverbial formation, while Romanic uses one meaning "mind" (as in French constamment from Latin constanti mente). The modern English form emerged in late Middle English, probably from influence of Old Norse -liga.